FileForums

FileForums (https://fileforums.com/index.php)
-   Game Coders (https://fileforums.com/forumdisplay.php?f=36)
-   -   changing values within trainer. (https://fileforums.com/showthread.php?t=91303)

princerouge 22-03-2011 08:03

changing values within trainer.
 
Again i need some advice from the best about trainers.

I have a basic knowledge about making trainer like finding what write/read to an adress and have changing it for something that will change it value automaticly from the code itself or from a code code when the new code is too big.

How you can just change the value one time, like, i dont know adding money. I see that in some trainer. How to read from a register or to write to a register (adress) from the trainer itself..

Thank you!

Joe Forster/STA 23-03-2011 11:42

I don't code trainers but I do code stuff that hacks into other processes. See the Windows API functions OpenProcess, VirtualAlloc(Ex), VirtualFree(Ex), ReadProcessMemory and WriteProcessMemory.

princerouge 31-03-2011 11:13

That i know, i made some trainer in c++ like this. My question was that if it is possible to write into a register of another process. Like if the adress i want to write is in, for example in dsi[+040039d0] or found the value of a register from another process. I know though how to write new code in memory so it will alter the value all time but if i wanted just to change it one time.

Thank you for taking the time to give me the info though. :)

Joe Forster/STA 31-03-2011 12:04

Never done this before but see this for an example: http://www.codeproject.com/KB/threads/pausep.aspx.


All times are GMT -7. The time now is 01:11.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com