Wth is going on here?
Hey guys, i have a problem with my gamestatus (?)
^that is the code i am using for gamestatus.
^ That is how i am using it in present.
Now my issue is, if i only hook 'togglehacks' (PTC Commands) my hack works 100% fine and i can play as many games as i like.
But when i want to use my memory hacks (nametags and superbullets) - the hacks work for one game and then when i try to join a second game the game freezes and crashes, and it acts as if gamestatus isnt working as all.
But i know it is working because, i hooked this.
And i was presented with 'in game, in lobby' during their respective times. It's just that whenever i try to hook memory hacks i can't get into that second game at all.
Can anyone help me with this issue?
Code:
bool inGame()
{
if(*(int*)ADDR_GAMESTATUS == 1)
return true;
else return false;
}
Code:
if (inGame())
{
Base.ToggleHacks();
Base.MemoryHacks();
}
Now my issue is, if i only hook 'togglehacks' (PTC Commands) my hack works 100% fine and i can play as many games as i like.
But when i want to use my memory hacks (nametags and superbullets) - the hacks work for one game and then when i try to join a second game the game freezes and crashes, and it acts as if gamestatus isnt working as all.
But i know it is working because, i hooked this.
Code:
if(*(int*)ADDR_GAMESTATUS == 1)
{
PrintText(225,3,Cyan,"| GameStatus :: In Game |",pDevice);
}
else
{
PrintText(225,3,Cyan,"| GameStatus :: In Lobby |",pDevice);
}
Can anyone help me with this issue?