Help! Help

BeginnerBR

Solid & Active Platinian
I did esp in some games, but there is one that I'm not getting, every time I put the offset that indicates the entity's life, the game crashes, I've already checked the player update but it still doesn't work
 
provide example
when I put field offset referring to the life of entities in the game, it crashes but if I put any other random offset, the game does not crash but nothing happens

float GetPlayerHealth(void* player) {
return *(float *)((uint64_t)player + 0x84);
}

bool PlayerAlive(void *player) {
return player != NULL && GetPlayerHealth(player) > 0;
}

bool IsPlayerDead(void *player) {
return player == NULL && GetPlayerHealth(player) < 1;
}
 
when I put field offset referring to the life of entities in the game, it crashes but if I put any other random offset, the game does not crash but nothing happens

float GetPlayerHealth(void* player) {
return *(float *)((uint64_t)player + 0x84);
}

bool PlayerAlive(void *player) {
return player != NULL && GetPlayerHealth(player) > 0;
}

bool IsPlayerDead(void *player) {
return player == NULL && GetPlayerHealth(player) < 1;
}
this function is correct, what is wrong is the camera and worldtoposition function, try to fix it yourself
 
Back
Top Bottom