| View previous topic :: View next topic |
| Author |
Message |
XDemonic How do I cheat?
Reputation: 0
Joined: 12 Jan 2014 Posts: 2
|
Posted: Sun Jan 12, 2014 2:51 pm Post subject: New To Cheat Engine, THREADSTACK problem. |
|
|
Ive been programming for about 10 years now... And I decided I wanted to Create a simple program that gets a couple a variables from a games process. It took me awhile to finally find some sort of STATIC address for the variables that I found, but It turns out CE is telling me its ["THREADSTACK1"-<some address>].
I have no idea what this means, But all I know is I dont think I can use this for my own Trainer thing im trying to program.
Whats the step process I need to do to get rid of this THREADSTACK so I can get a proper Static Address to use for my program? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Sun Jan 12, 2014 5:10 pm Post subject: |
|
|
Threadstack# is a semi-static variable that points to a place in the stack that has been deemed it's start (the ExitThread call specifically)
In your case i suggest you ditch that pointer and find one your trainer engine does support
you can sort the base address column, then close the .ptr file. Delete the .ptr file with a negative subindex, and then reopen it and you'll be rid of them
Also, when you do a scan you can tell cheat engine to not pick stack addresses as static
But keep in mind this code
| Code: |
int main(.....)
{
CMyGame game;
game->run()
}
|
The variable game would be in the stack, so you won't be able to find that as a base, and then have to hope for another weirder path. _________________
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 |
|
 |
XDemonic How do I cheat?
Reputation: 0
Joined: 12 Jan 2014 Posts: 2
|
Posted: Sun Jan 12, 2014 10:22 pm Post subject: |
|
|
| so what your saying, If the Game (or application) variable im trying to get to, Lies within from a Start of a thread, Im basically doomed to get a real Static Address for that variable? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25807 Location: The netherlands
|
Posted: Mon Jan 13, 2014 12:34 am Post subject: |
|
|
there may be other static variables you can use as an entry
E.g steamapi might contain a static pointer to the graphics device, which contains a pointer to the gui, which contains a pointer to the game _________________
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 |
|
 |
dharthoorn Advanced Cheater
Reputation: 1
Joined: 27 Nov 2008 Posts: 84
|
Posted: Fri Feb 21, 2014 6:25 am Post subject: |
|
|
I have the same problem ie. silly number of pointer hits (86 gigs of PTR files) and the majority being THREADSTACK0 and THREADSTACK1.
| Quote: | you can sort the base address column, then close the .ptr file. Delete the .ptr file with a negative subindex, and then reopen it and you'll be rid of them
Also, when you do a scan you can tell cheat engine to not pick stack addresses as static |
I don't understand. I sorted the column, closed the ptr file and browsed to the .prt files. What is a negative subindex and how do I recognise it? There are no minuses in the file names nor values that translate to negatives in hex so I'm confused. _________________
"If you could reason with religious people there would be no religious people" - House Md. (My Personal Life Coach) |
|
| Back to top |
|
 |
|