This is the AMP version of this page.
If you want to load the real page instead, click this text.

Solved lib2cpp damage attack modding parity issue

Status
Not open for further replies.

@ProEjder

Platinian
Hello, the offsets are correct, but I found damage, when I change it, the damage of the other side is the same, I found god mode, but the opponent also becomes god mode

Could I be entering hex wrong? If this is true the only question on my mind

how about float hex ? how about integer?
 
Try looking for a function that checks if the player is yours, and set a pointer to it. Then call it with
C++:
if(isMine){
  if(toggleName){
  //return whatever
  }
}
In your hook, this should unlink the players

here is some pointer code if you dont know what I mean

iOS:
C++:
//put this under your import lines
bool (*isMine)(void *instance) = (bool (*)(void *))getRealOffset(0x1019F6604);

Android:
C++:
//put this where your toggle fields are, or under the import lines
bool (*isMine)(void *instance);

//put this where you call your hooks, example = HOOK(0x123446, Function, old_function);
isMine = (bool (*)(void *))getRealOffset(0x123456);
 
Last edited:
Status
Not open for further replies.