| View previous topic :: View next topic |
| Author |
Message |
XQuantumForceX How do I cheat?
Reputation: 0
Joined: 25 Jul 2014 Posts: 4
|
Posted: Fri Jul 25, 2014 3:37 pm Post subject: Help With Pointers with client.dll |
|
|
Hello everyone, i need help with pointers. I have this static address that changes every time i relaunch the game and i was like okay ill just find the pointer so i found the pointer but the base address has client.dll+ADDRESS
and with the 1 offset but when i went into vb.net and tried to import it like this: WriteDMAInteger("GAME", client.dll+ADDRESS, Offsets:={&HOFFSET}, Value:=2, Level:=1, nsize:=4) it gave me an error so i tried so many ways but nothing works and i tried it on c# still nothing and if anyone can give me a memory class for c# that would be awesome.
|
|
| Back to top |
|
 |
NullBy7e Cheater
Reputation: 0
Joined: 23 Jul 2014 Posts: 47
|
Posted: Fri Jul 25, 2014 5:00 pm Post subject: |
|
|
| Ill write you the code in C# if you tell me the address and offset(s).
|
|
| Back to top |
|
 |
XQuantumForceX How do I cheat?
Reputation: 0
Joined: 25 Jul 2014 Posts: 4
|
Posted: Fri Jul 25, 2014 7:05 pm Post subject: |
|
|
the pointer is client.dll+5F7714 and the offset is 30. do i need a memory class?
EDIT: i mean the pointer as base address
|
|
| Back to top |
|
 |
661089799107 Expert Cheater
Reputation: 3
Joined: 25 Jan 2009 Posts: 186
|
Posted: Fri Jul 25, 2014 9:27 pm Post subject: Re: Help With Pointers with client.dll |
|
|
| XQuantumForceX wrote: |
I have this static address that changes every time i relaunch the game and i was like okay ill just find the pointer so i found the pointer but the base address has client.dll+ADDRESS |
Static addresses are static, and are in the form module+offset. Dynamic addresses change every time.
| Code: |
WriteDMAInteger("GAME", client.dll+ADDRESS, Offsets:={&HOFFSET}, Value:=2, Level:=1, nsize:=4)
|
C# has no idea what client.dll is.
You need to call CreateToolhelp32Snapshot and enumerate the processes modules until you find one with that name "client.dll". Then you grab the module base address.
There are plenty examples of this on google, and even on the forum.
|
|
| Back to top |
|
 |
XQuantumForceX How do I cheat?
Reputation: 0
Joined: 25 Jul 2014 Posts: 4
|
Posted: Fri Jul 25, 2014 10:14 pm Post subject: |
|
|
| But the address shows as green so im like yay static address and then when i relaunch it changes
|
|
| Back to top |
|
 |
661089799107 Expert Cheater
Reputation: 3
Joined: 25 Jan 2009 Posts: 186
|
Posted: Sat Jul 26, 2014 12:01 am Post subject: |
|
|
You need to make sure you are saving it in your table as client.dll+offset, and not just an address 0x12345678.
The base address of client.dll will change everytime you relaunch the game. However adding the base address and offset will give you the correct value.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sun Jul 27, 2014 9:17 pm Post subject: Re: Help With Pointers with client.dll |
|
|
| 661089799107 wrote: | | XQuantumForceX wrote: |
I have this static address that changes every time i relaunch the game and i was like okay ill just find the pointer so i found the pointer but the base address has client.dll+ADDRESS |
Static addresses are static, and are in the form module+offset. Dynamic addresses change every time.
| Code: |
WriteDMAInteger("GAME", client.dll+ADDRESS, Offsets:={&HOFFSET}, Value:=2, Level:=1, nsize:=4)
|
C# has no idea what client.dll is.
You need to call CreateToolhelp32Snapshot and enumerate the processes modules until you find one with that name "client.dll". Then you grab the module base address.
There are plenty examples of this on google, and even on the forum. |
In C# you do not need to use API to obtain process / module information. You can use the Process class instead which is a wrapper around the API that is built into the .NET framework.
http://msdn.microsoft.com/en-us/library/system.diagnostics.process(v=vs.110).aspx
_________________
- Retired. |
|
| Back to top |
|
 |
|