Announcement

Collapse
No announcement yet.

Neverwinter Nights 2 hacking feats using cheat engine

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Neverwinter Nights 2 hacking feats using cheat engine

    Hey guys,

    I know, it is an old game, but I still play it and it is posing a challenge when it comes to hacking. I am using cheat engine 6.1 and easily could hack stats (such as strength, dexterity and so on), skills, hitpoints, but I can't add new feats to a character when creating one or when leveling up (moments when a feat can be normally added).

    Let's say for instance that I have 2 feats to add in character creation. I am able even to find the memory address that controls this number, but it can't be changed (it is black, not green, but the value changes back very fast). Also tried to remove the assembly function that keeps changing the address, but it demonstrated to be futile. A graphics error occurs that is easily corrected when the function is restored. I repeat, it is the correct address because the number of feats no longer changes, but with the graphics error I can't select the feats I want!!!

    Can anyone help me?

    My best regards,

    ssilencer

  • #2
    Why not hook into the function and have it write a different value?

    Comment


    • #3
      It's difficult to explain what happens in this case. I already tried different values and some other things but reached no useable solution.
      My biggest hope is to find someone who still plays the game that could see the issue for himself... so two heads might solve this little puzzle...

      Anyway, really thanks for the attention and willingness to help, Pyriel.

      Comment


      • #4
        Maybe post a clear picture of the screen with the break and assembly so we can try to see what it could be, then again I could never get the assembly in cheat engine but someone else might.
        Spoiler Alert! Click to view...

        THE BAD GUY!!!!!!

        Comment


        • #5
          Ok, I recorded a video. Hope someone can help me now...

          http://www.youtube.com/watch?v=MG81h...ature=youtu.be

          Comment


          • #6
            If possible, see the video in 720p HD...

            Comment


            • #7
              I sort of don't think you've found the right values. They change a couple of times when it doesn't look like you've done anything, and it seems odd for 50 to be 2 and 49 to be 1.

              That said, instead of NOPing the op code, try changing it to move some other register, like "mov [edx], bl" and see what you get. Since you've only got two bytes to work with, for all I know, you're kind of limited in what you can do to the operation, though. Ideally, I'd just change it to "mov [edx], 0Ah" or something, but if I remember right, that'll take 6 bytes.

              Comment


              • #8
                Then I don't know how to find the values. First I tried to find "exact values", using 2, 1 and 0 (since I have a max of 2 feat), but no value survived the scans (and I tried a lot of times).
                So I started looking for increments / decrements, and found these addresses I showed in the video.
                They might not be the correct ones, I agree with you, but they are related somehow. Wish I knew more...

                As for the code you recommended, it causes an error in the game like the picture attached...
                Attached Files

                Comment


                • #9
                  Oh, and really thanks guys for at least trying to help me. I have not a clue why changing feats is so hard in this game. As I said, stats, skills and other variables are easy, but feats are a puzzle to me.
                  Last edited by ssilencer; 03-03-2012, 07:17:26 PM.

                  Comment


                  • #10
                    From what I saw in the video it looks like you don't have the right address. Is possible that the value is using XOR encryption or the value is not being stored like is being displayed. Have you tried unknown searches?

                    Comment


                    • #11
                      Unfortunately yes... I also tried to look for an unknown variable at the beginning and then tried to find witch variables had increased / decreased. Found those two. Also tried to use 8 bytes and same variables were found.

                      Comment


                      • #12
                        You could try code injection and see if it works.

                        Comment


                        • #13
                          I tried to change a few things, but I don't know assembly that well...
                          Last edited by ssilencer; 03-03-2012, 08:11:05 PM.

                          Comment


                          • #14
                            Well, assuming the address I found was the correct one, I used the debugger to find the address that writes on the value I want to change. Here is a picture of the assembly code. Any clue?
                            Attached Files

                            Comment


                            • #15
                              I'm not 100% sure because I don't have the game but that value is protected making it very difficult to change.

                              Comment

                              Working...
                              X