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 


[VB.NET] Get Base Address of process ("THREADSTACK0)

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

Joined: 12 Feb 2014
Posts: 8

PostPosted: Sun Feb 23, 2014 11:45 am    Post subject: [VB.NET] Get Base Address of process ("THREADSTACK0) Reply with quote

I'm trying to get a base address of a process because my pointer in CE is:
""THREADSTACK0"-00000D74". As much as I figured from other posts - this THREADSTACK0 is just process base address.

I'm trying to go this way:

Code:

  Dim Proc As Process() = Process.GetProcessesByName("Game")
        Dim base_address As IntPtr = Proc(0).MainModule.BaseAddress

but it just doesnt work - the returned value is not even close to what I'm looking for - any ideas?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25823
Location: The netherlands

PostPosted: Sun Feb 23, 2014 4:07 pm    Post subject: Reply with quote

Threadstack is special as it's not a common thing that windows exposes.(it's not a module base)

You need to port this code to visual basic:
http://code.google.com/p/cheat-engine/source/browse/trunk/Cheat%20Engine/CEFuncProc.pas#3768

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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