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 


[SOLVED][VB.NET] Help with a pointer

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

Joined: 05 Sep 2009
Posts: 3

PostPosted: Mon Nov 29, 2010 4:39 am    Post subject: [SOLVED][VB.NET] Help with a pointer Reply with quote

SOLVED

Last edited by s0n1k on Thu Dec 02, 2010 5:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Mon Nov 29, 2010 6:40 am    Post subject: Reply with quote

nostalex.dat+00397148 is a base address.
_________________
CEF will always stay alive.
Back to top
View user's profile Send private message
s0n1k
How do I cheat?
Reputation: -1

Joined: 05 Sep 2009
Posts: 3

PostPosted: Mon Nov 29, 2010 1:04 pm    Post subject: Reply with quote

Code:
MsgBox(ReadLongPointer(nostalex.dat+003966A4, &HD0 + &HB0 + &H28 + &H8 + &H4C, 4))


= ERROR T__T
Back to top
View user's profile Send private message
Jorg hi
I post too much
Reputation: 7

Joined: 24 Dec 2007
Posts: 2276
Location: Minnesota

PostPosted: Mon Nov 29, 2010 3:24 pm    Post subject: Reply with quote

Well if the module nostalex.dat is found in the exe region, the value will not change, so it will be static.

If I examined the CE source correctly, it works like this
[module+offset]

And your process is the same thing as the module in this case?

MsgBox(ReadLongPointer(003966A4, &HD0 + &HB0 + &H28 + &H8 + &H4C, 4))


Here is an example I found to explain it to you.
Quote:
Correct me if i'm wrong, but i thought that any address could be transcribed in the [region+offset] format (e.g. something allocated at address X (say 73cab8) in a region R ("xxx.dll") whose allocbase is Y (700000) would be [R + X-Y] -> [xxx.dll + (73cab8 - 700000)] -> [xxx.dll + 3cab8]).

_________________
CEF will always stay alive.
Back to top
View user's profile Send private message
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