Confused

Posts 1–8 of 8 · Page 1 of 1
Confused
Edit- Problem solved
easy

[php]if(Bullets.Enabled && Hack.Readys.IsIngame() && Hack.Misc.AddyCheck(Hack.Addresses.SuperBullet,"\x 0F\x94\xC0",3))
Hack.Misc.HEXMemory((void*)Hack.Addresses.SuperBul let,"\x90\x90\x90",3);
else if(!Hack.Readys.IsIngame())
Hack.Misc.HEXMemory((void*)Hack.Addresses.SuperBul let,"\x0F\x94\xC0",3);[/php]

i know u dont know about addycheck but the important part is "else if(!Hack.Readys.IsIngame())"

EDIT: i want to say: u must set it to default when u are in the lobby
Quote Originally Posted by kotentopf View Post
easy

[php]if(Bullets.Enabled && Hack.Readys.IsIngame() && Hack.Misc.AddyCheck(Hack.Addresses.SuperBullet,"\x 0F\x94\xC0",3))
Hack.Misc.HEXMemory((void*)Hack.Addresses.SuperBul let,"\x90\x90\x90",3);
else if(!Hack.Readys.IsIngame())
Hack.Misc.HEXMemory((void*)Hack.Addresses.SuperBul let,"\x0F\x94\xC0",3);[/php]

i know u dont know about addycheck but the important part is "else if(!Hack.Readys.IsIngame())"

EDIT: i want to say: u must set it to default when u are in the lobby
u just rephrased his code
Quote Originally Posted by GodHack2 View Post
u just rephrased his code
when u say..

Quote Originally Posted by _Fk127_ View Post
I dont quite know why i am disconnecting when using this-
Code:
	
if(Hack[10])
	{
if(IsIngame())
	{
memcpy((LPVOID)0x374B01B6 , "\x90\x90\x90", 3);
           }else{
 memcpy((LPVOID)0x374B01B6, "\x0F\x94\xC0", 3);
}
and my isingame function is-
Code:
typedef bool (*IsConnected_t)(void);
bool IsIngame()
{
    DWORD* LTBase = (DWORD*)0x3780CB90;
    IsConnected_t pConnected = *(IsConnected_t*)(*LTBase + 0x8C);

    return pConnected();//thanks kotentopf
}
i checked my offsets and they appear to be correct
Code:
CPU Disasm
Address   Hex dump          Command                                  Comments
374B01B6    0F94C0          SETE AL
Anyone have any idea?
I d/c when i join second game
Weird, i dont get dc. Same like your.
I changed it to this-
Code:
 if(Hack[10] && IsIngame())
	 {
    memcpy((LPVOID)0x374B01B6 , "\x90\x90\x90", 3);
	 }
else if(!IsIngame())
{
   memcpy((LPVOID)0x374B01B6, "\x0F\x94\xC0", 3);
	 }
Although it looks like the same to me.
I can join the fist game with it already on, it works, then I back out and rejoin, and it disconnects.
Quote Originally Posted by _Fk127_ View Post
I changed it to this-
Code:
 if(Hack[10] && IsIngame())
	 {
    memcpy((LPVOID)0x374B01B6 , "\x90\x90\x90", 3);
	 }
else if(!IsIngame())
{
   memcpy((LPVOID)0x374B01B6, "\x0F\x94\xC0", 3);
	 }
Although it looks like the same to me.
I can join the fist game with it already on, it works, then I back out and rejoin, and it disconnects.
Are you sure that is the right off bytes?
Haha my bad, stupid mistake. I had it in if(menu.open)
It didnt update to the off bytes when I left my game, because i didnt open the menu. works fine now. thanks for your help :P /facepalm
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us