Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help With Pointers with client.dll

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
XQuantumForceX
How do I cheat?
Reputation: 0

Joined: 25 Jul 2014
Posts: 4

PostPosted: Fri Jul 25, 2014 3:37 pm    Post subject: Help With Pointers with client.dll Reply with quote

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
View user's profile Send private message
NullBy7e
Cheater
Reputation: 0

Joined: 23 Jul 2014
Posts: 47

PostPosted: Fri Jul 25, 2014 5:00 pm    Post subject: Reply with quote

Ill write you the code in C# if you tell me the address and offset(s).
Back to top
View user's profile Send private message
XQuantumForceX
How do I cheat?
Reputation: 0

Joined: 25 Jul 2014
Posts: 4

PostPosted: Fri Jul 25, 2014 7:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
661089799107
Expert Cheater
Reputation: 3

Joined: 25 Jan 2009
Posts: 186

PostPosted: Fri Jul 25, 2014 9:27 pm    Post subject: Re: Help With Pointers with client.dll Reply with quote

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
View user's profile Send private message
XQuantumForceX
How do I cheat?
Reputation: 0

Joined: 25 Jul 2014
Posts: 4

PostPosted: Fri Jul 25, 2014 10:14 pm    Post subject: Reply with quote

But the address shows as green so im like yay static address and then when i relaunch it changes
Back to top
View user's profile Send private message
661089799107
Expert Cheater
Reputation: 3

Joined: 25 Jan 2009
Posts: 186

PostPosted: Sat Jul 26, 2014 12:01 am    Post subject: Reply with quote

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
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Jul 27, 2014 9:17 pm    Post subject: Re: Help With Pointers with client.dll Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites