| View previous topic :: View next topic |
| Author |
Message |
Spub How do I cheat?
Reputation: 0
Joined: 10 Jul 2014 Posts: 9
|
Posted: Thu Jul 10, 2014 9:12 pm Post subject: Address Pointer |
|
|
Okay, I have been googling for about two days now, and I'm still unable to figure out why I'm having this problem. Sorry if this has already been answered, but I really did look.
I'm writing a program in C# that edits the memory values of a game. I'm using KryziK's library to edit the values.
I've successfully read and written to addresses and pointers, but I can't get it to read the correct value for a pointer that looks like this: DarkSoulsII.exe+FB3E3C offsets 74 and fc. As far as I know I have to add the base address 400000 and FB3E3C, which comes to 13B3E3C, and then put in the offsets.
I try
| Code: | | oMemory.ReadInt(0x13B3E3C, new int[] { 0x74 , 0xfc }) |
but all I get is 2213040636.
The answer is probably stupidly simple, I just can't figure it out. Any help is appreciated.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Jul 11, 2014 3:38 pm Post subject: |
|
|
Double check and make sure that the base address is correct. You can also use the Process class to obtain the main module base address to ensure that you are getting the proper address each time.
http://msdn.microsoft.com/en-us/library/system.diagnostics.process(v=vs.110).aspx
_________________
- Retired. |
|
| Back to top |
|
 |
Spub How do I cheat?
Reputation: 0
Joined: 10 Jul 2014 Posts: 9
|
Posted: Fri Jul 11, 2014 3:41 pm Post subject: |
|
|
I tried adding 13B3E3C as a pointer in cheat engine with the offsets, and it worked perfectly, so the base address is correct(I double checked though with oMemory.Hex(Omemory.BaseAddress()).
So if the address is correct, maybe I'm not entering the pointers correctly? Or maybe the lib is just messed up.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Jul 11, 2014 3:45 pm Post subject: |
|
|
Are you missing a pointer like +0 somewhere or something?
_________________
- Retired. |
|
| Back to top |
|
 |
Spub How do I cheat?
Reputation: 0
Joined: 10 Jul 2014 Posts: 9
|
Posted: Fri Jul 11, 2014 3:47 pm Post subject: |
|
|
I don't think so?
| Description: |
|
| Filesize: |
6.47 KB |
| Viewed: |
8297 Time(s) |

|
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Jul 11, 2014 3:52 pm Post subject: |
|
|
I don't use the lib you mentioned so not sure on the specifics of it. But perhaps try adding a +0 as the first offset, or a +0 as the last offset to see if it needs to read into the pointer once more or something.
_________________
- Retired. |
|
| Back to top |
|
 |
Spub How do I cheat?
Reputation: 0
Joined: 10 Jul 2014 Posts: 9
|
Posted: Fri Jul 11, 2014 3:54 pm Post subject: |
|
|
Nope, nothing.
Is there another lib that does the same thing?
I would write it myself but I am nub hacker and idk how.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Jul 11, 2014 4:00 pm Post subject: |
|
|
I write all my own stuff, so not sure. I don't use others libs and so on.
You could try going 1 by 1 with the pointer and seeing what the lib gets for each one to see if the values for each thing it should be reading match up properly.
_________________
- Retired. |
|
| Back to top |
|
 |
Spub How do I cheat?
Reputation: 0
Joined: 10 Jul 2014 Posts: 9
|
Posted: Fri Jul 11, 2014 4:08 pm Post subject: |
|
|
Ok, I made a pointer is CE with the address 13B3E3C, but no offsets. It points to the address 100A91C0, which has a value of decimal 18216292.
When I try and add that pointer in C#, it reads 2756545297, or A44D8B11 in hex. It seems like it is reading a completely different value than it should.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Fri Jul 11, 2014 6:04 pm Post subject: |
|
|
Sounds like it may be an issue with that lib or you are attaching to the wrong process.
_________________
- Retired. |
|
| Back to top |
|
 |
|