Yazaki How do I cheat?
Reputation: 0
Joined: 23 May 2009 Posts: 2
|
Posted: Mon May 25, 2009 9:47 pm Post subject: Hard time making a trainer, pointer issues. |
|
|
Hello.
I've been trying to make a trainer for a Diablo 2 singleplayer mod called aftermath. Basically I'd be satisfied with either freezing a value in the game or replacing the code that modifies hitpoints.
Both of these options work well when I search manually for the addresses, but I'm unable to make a trainer that'd work without any manual searching.
If I use the built-in trainer maker the trainer works until I shut down the program completely, and next time I start the trainer it says not compatible with this version of the game.
I've tried many tutorials for finding a pointer for the addresses, but there seems to be a problem with the actual "Find out what writes to this address" bit. The line it finds affects many other things in addition to hit points, like monster speed, drop item durability, monster hitpoints, resistances, movement and attack speeds etc. Each and every of those values stop changing and new values, like new spawned monsters, have 0 hp and 0 durability on all drops.
I'm thinking there might be some bit of code the game uses to write to many different things, but if so, how will I find the right line of code that really modifies hit points and it's pointer?
|
|