![]() code from here till the end of the code will be used to disable the cheat Newmem: //this is allocated memory, you have read,write,execute access code from here to '' will be used to enable the cheatĪlloc(newmem,2048) //2kb should be enough Now you can use the 'special float type' variable and scan and work with values that are stored in civ5 (tech progress is one of them)Īlso, this aa script will give you the address goldaddress which will get the address of gold: everything is back to what it was, so exit ![]() Mul ecx //multiply eax and put the results into edx:eax (edx is ignored for this routine) ![]() at this point edx contains the address to write the value to function declared as: stdcall void ConvertBackRoutine(int i, unsigned char *output) The convert back routine should hold a routine that converts the given integer back to a row of bytes (e.g when the user wats to write a new value) Mov eax, //second fun fact, addressing with 32-bit registers doesn't work in 64-bit, it becomes a 64-bit automatically (most of the time)ĭiv ebx //divide eax by 100 and put the result in eax (and leftover in edx) Push edx //fun fact about ce's assembler, because push ebx does not exist in 64-bit it becomes the 64-bit push rdx automatically at this point ecx contains the address where the bytes are stored Note: Keep in mind that this routine can be called by multiple threads at the same time. function declared as: stdcall int ConvertRoutine(unsigned char *input) The convert routine should hold a routine that converts the data to an nteger (in eax) Start a new scan, rightclick the type and select custom auto assembler type Use 4 byte values and look for values in the range of yourmoney*100 and yourmoney*199 (6.1:you can just type that like that.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |