i am trying to read the Target ID for the object you currently clicked on. i mapped it out to 0x00BBC9CC + 0x34 + 0xC20
and in cheat engine i can successfully grab the ID, but here is the twist I can also grab it successfully in my C application as well but after it shows the correct ID for a second it reverts to 0 forcing you to select another to change the value to an ID again, then it reverts to 0 yet again.
this code was working for the decent patch before this private server released the Sirens of war patch (although i had to find the new location of the targetID).
so i guess my question is, is anyone else who grabs the Target ID notice that it shows the correct data when you first click on something, and then reverts back to 0 instead of keeping the last target id value you clicked on stored?
if i can get this working i might release my hack which hooks directx8/9 functions and injects its own drawable content into the game.
[Only registered and activated users can see links. Click Here To Register...]
if you wish to see my code just ask. essentially i just made a readpointer function which you supply a base address, number of levels of pointers to follow, and offset in bytes to add to each pointer level, and i am assigning that address to a structure which aligns all the structures variables with the ones in game so you can simply do for example:
in case anyones wondering, this hack simply displays details about your currently selected target for now, level, current/max HP and MP. I havent implemented the auto potter yet. eventually i will properly code color outputs for your own health/hp and such so you can visibly tell what your hp is at without reading the number. (ex red would mean below 5k hp or something.)
and in cheat engine i can successfully grab the ID, but here is the twist I can also grab it successfully in my C application as well but after it shows the correct ID for a second it reverts to 0 forcing you to select another to change the value to an ID again, then it reverts to 0 yet again.
this code was working for the decent patch before this private server released the Sirens of war patch (although i had to find the new location of the targetID).
so i guess my question is, is anyone else who grabs the Target ID notice that it shows the correct data when you first click on something, and then reverts back to 0 instead of keeping the last target id value you clicked on stored?
if i can get this working i might release my hack which hooks directx8/9 functions and injects its own drawable content into the game.
[Only registered and activated users can see links. Click Here To Register...]
if you wish to see my code just ask. essentially i just made a readpointer function which you supply a base address, number of levels of pointers to follow, and offset in bytes to add to each pointer level, and i am assigning that address to a structure which aligns all the structures variables with the ones in game so you can simply do for example:
Code:
PLAYER *player_struct = (PLAYER*)ReadPointer((void*)BASEPOINTER, 1, 0x34);
char output_text[256];
PrintText("Your Stats", FormX, FormY, GREEN, pFont);
sprintf_s(output_text, sizeof(output_text), "Physical Attack: %d - %d", player_struct->Min_Attack_Damage, player_struct->Max_Attack_Damage);
PrintText(output_text, FormX, 15+FormY, GREEN, pFont);