CA Haxo Base
So for example:
Code:
if(NORECOIL_ACTIVE)
switch(*(int*)GameStatus){
case 1://in game
break;
//////////////////
// Do no recoil code here?
/////////////////
default://loading game
break;
@teehee15
Ahh ok I see. What is the current GameStatus for the NA client?
Added you on msn, but just be forewarned I don't use it a lot anymore lol. Havn't been on it in ages. @teehee15
Added you on msn, but just be forewarned I don't use it a lot anymore lol. Havn't been on it in ages. @teehee15
Ahh got it working! Thank you much! I don't suppose you could go to http://www.mpgh.net/forum/334-combat...questions.html and answer my other couple noob questions for me? It would be a huge help
. Sorry, very new to the whole hack coding business, done a lot with c++ and assembly, but mainly only college work.
I've got to step out for a bit, but if you could help that would be awesome.
@teehee15
. Sorry, very new to the whole hack coding business, done a lot with c++ and assembly, but mainly only college work.I've got to step out for a bit, but if you could help that would be awesome.
@teehee15
for people how dont understand how hack function works !
this an example about super bullets !
now im calling it in doMemory Function as you see
[HTML]void cHacks:
oMemory(bool Flag)// again normal Function with some parameter this parameter will be gamestatus
{
if(Flag)
{
Hacks.hSuperBullets(Menu.mOpt[2][4].noptv /* If you see here its menu val if its on ....or not ...*/);
Hacks.....
}else
{ // lol i notice that i can make it in another way like
Hacks.hSuperBullets(0);// im calling superbuttels function with zero parameter so its gonna make it off
//Tools.PatchMemory((PBYTE)Addresses.Address[SuperBullet].Value,(PBYTE)"\x0F\x94\xC0", 3 ); and this is the old way
}
}[/HTML]
i hope you understand now how it work
and for people how ask about game status , the function is ok ( afffffffff) just check out ur address , and call all you memoryHacks in you render as
[HTML]
.....Render
DoMemory(Settings.InGame()); // This will be more easy than wat u r doing
[/HTML]
this an example about super bullets !
Code:
void cHacks::hSuperBullets(int Flag)// Normal Function with some parameter
{
if(Flag) // if is on do Patch
Tools.PatchMemory((PBYTE)Addresses.Address[SuperBullet].Value ,(PBYTE)"\x33\xC0\x90", 3);
else // not rest it
Tools.PatchMemory((PBYTE)Addresses.Address[SuperBullet].Value,(PBYTE)"\x0F\x94\xC0", 3 );
}
now im calling it in doMemory Function as you see
[HTML]void cHacks:
oMemory(bool Flag)// again normal Function with some parameter this parameter will be gamestatus{
if(Flag)
{
Hacks.hSuperBullets(Menu.mOpt[2][4].noptv /* If you see here its menu val if its on ....or not ...*/);
Hacks.....
}else
{ // lol i notice that i can make it in another way like
Hacks.hSuperBullets(0);// im calling superbuttels function with zero parameter so its gonna make it off
//Tools.PatchMemory((PBYTE)Addresses.Address[SuperBullet].Value,(PBYTE)"\x0F\x94\xC0", 3 ); and this is the old way
}
}[/HTML]
i hope you understand now how it work
and for people how ask about game status , the function is ok ( afffffffff) just check out ur address , and call all you memoryHacks in you render as
[HTML]
.....Render
DoMemory(Settings.InGame()); // This will be more easy than wat u r doing
[/HTML]
Epic base dude , good work , works like a charm 

This thread is closed for replies.



