Posted: Thu Sep 22, 2016 1:31 pm Post subject: how to find display value?
I made a trainer for a game with a feature called "add gold". What it does is add gold to the current amount. The value changes but the display value doesn't. I tried to find the display value so people see how much they have after adding but cant, every time I search for it and then change the amount I cant find it again so for example if I had 150750 gold and search for it, if I change the amount by either collecting gold or spending it all the addresses I found get the value 0 and if I try to search for the new amount example 150200 it will come up with nothing. How would it be found?
Posted: Thu Sep 22, 2016 2:14 pm Post subject: Re: how to find display value?
rog9001 wrote:
I made a trainer for a game with a feature called "add gold". What it does is add gold to the current amount. The value changes but the display value doesn't. I tried to find the display value so people see how much they have after adding but cant, every time I search for it and then change the amount I cant find it again so for example if I had 150750 gold and search for it, if I change the amount by either collecting gold or spending it all the addresses I found get the value 0 and if I try to search for the new amount example 150200 it will come up with nothing. How would it be found?
Not every game has a memory allocated for the visual value. It could just get updated by the game graphical engine when the function for modifying the value gets called.
There's 2 ways you can fix this:
The simplest way is to show that value on another window, like your hack console or whatever you are using to distribute your programs.
The other way much more complex but with a neater result would be to hook the game's Graphical Engine and either update the score yourself (if you find the right function to do that) or outputting it on screen somewhere comfortable to see.
The function to be hooked are Present() for DirectX and wglSwapBuffers() for OpenGL. _________________
Posted: Thu Sep 22, 2016 3:03 pm Post subject: Re: how to find display value?
mgostIH wrote:
Not every game has a memory allocated for the visual value. It could just get updated by the game graphical engine when the function for modifying the value gets called.
There's 2 ways you can fix this:
The simplest way is to show that value on another window, like your hack console or whatever you are using to distribute your programs.
The other way much more complex but with a neater result would be to hook the game's Graphical Engine and either update the score yourself (if you find the right function to do that) or outputting it on screen somewhere comfortable to see.
The function to be hooked are Present() for DirectX and wglSwapBuffers() for OpenGL.
Oh I see... well then I really can not be bothered to find it. Instead I will just make a box in my trainer where the user will insert their current amount and when they add gold the number in that box will increase by the amount they add.
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