Sorry For This Post But I Was Thinking in it many times long time ago
But IF We are going to make a auto update can we use FindPattern for auto update ?????
You can probably update most of your offsets using FindPattern(), but you cant auto update your structs this way.
mmmmmm so is there anyway to auto update structs ?
Originally Posted by sobasoba13
mmmmmm so is there anyway to auto update structs ?
The problem is you don't even know why to use Classes
The problem is you don't even know why to use Classes
Yes i don't know much about classes and that what i am working about
Originally Posted by sobasoba13
mmmmmm so is there anyway to auto update structs ?
The only way i know is simply not to use any hardcoded struct. But that will force you to address all the struct members with seperate offsets. I do that for crossfires weapon list struct, too, simply because i just need a few attributes and im way too lazy to rebuild the whole struct everytime it got changed.
Im not a big fan of pattern based auto updates in anyways, because they can be very inconsistent and it will be a pain in ur ass to find wrong offsets if your hack just crashes. Better write some kind of pattern based "address logger" that gets you the new offsets after a patch. This way you can always double check them manually before using them in your actual hack.
Originally Posted by Zacherl
The only way i know is simply not to use any hardcoded struct. But that will force you to address all the struct members with seperate offsets. I do that for crossfires weapon list struct, too, simply because i just need a few attributes and im way too lazy to rebuild the whole struct everytime it got changed.
Im not a big fan of pattern based auto updates in anyways, because they can be very inconsistent and it will be a pain in ur ass to find wrong offsets if your hack just crashes. Better write some kind of pattern based "address logger" that gets you the new offsets after a patch. This way you can always double check them manually before using them in your actual hack.
But I think address logger is using findpattern to get the addys and the pointers !!!
Originally Posted by sobasoba13
But I think address logger is using findpattern to get the addys and the pointers !!!
Thats correct. The difference is, that the address logger ist not included in the hack dll itself. If you distribute a hack with inbuild pattern based auto update, some of the patterns will fail at some point (due to big changes in the game eg). The address logger on the other hand, is just a little help tool for yourself. You can "try" to find the new offsets, but you can always manually correct them, if they turn out wrong while testing. This way the actually distributed hack will 100% work for the game version you are releasing it for.
In my hack i went even further and added a hash check for the crossfire.exe and cshell.dll. If one of the hashs change, i display an error message and tell any user to download the newest version.
Originally Posted by Zacherl
Thats correct. The difference is, that the address logger ist not included in the hack dll itself. If you distribute a hack with inbuild pattern based auto update, some of the patterns will fail at some point (due to big changes in the game eg). The address logger on the other hand, is just a little help tool for yourself. You can "try" to find the new offsets, but you can always manually correct them, if they turn out wrong while testing. This way the actually distributed hack will 100% work for the game version you are releasing it for.
In my hack i went even further and added a hash check for the crossfire.exe and cshell.dll. If one of the hashs change, i display an error message and tell any user to download the newest version.
mmmmm okay i will try it cuz i tryed so much to create an addy logger but fails !!!!