SolvedWth is going on here?

Posts 1–4 of 4 · Page 1 of 1
Wth is going on here?
Hey guys, i have a problem with my gamestatus (?)

Code:
bool inGame()
{
	if(*(int*)ADDR_GAMESTATUS == 1)
		return true;
	else return false;
}
^that is the code i am using for gamestatus.

Code:
if (inGame())
{
     Base.ToggleHacks();
     Base.MemoryHacks();
}
^ 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.
Code:
	if(*(int*)ADDR_GAMESTATUS == 1)
	{
		PrintText(225,3,Cyan,"| GameStatus :: In Game |",pDevice);
    }
	else
	{
		PrintText(225,3,Cyan,"| GameStatus :: In Lobby |",pDevice);
	}
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?
you have'nt replaced the original bytes of the hack address when NOT in game
Aw haha thanks i realized that eventually <3 ty man.
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us