Fail on me

Posts 1–15 of 15 · Page 1 of 1
Fail on me
OK so i was trying to mod the basic source AeroMans nomenu generator makes with a few extra hacks.

i injected it to warrock and got an abnormal gameplay error and then the game shut down.

i know i messed something up and that im probly gonna get flamed for being a noob at this but i wanted to give it a shot here is what i got anyhow.

so anyone wanna tell me how bad i messed it up lol

Code:
#include <windows.h>
#pragma message("[NG] >> Created with Nomenu Generator")


/*Developed with Nomenu Generator*/
/*Pointers*/
#define PlayerPtr 0x00ABD750
#define ServerPtr 0x009B7EA8

/*Memory*/
#define Stamina1  0x007EAE08
#define Stamina2  0x007EAE14
#define Stamina3  0x007EAE10
#define Stamina4  0x007EAE0C
#define Stamina5  0x007EAE1C
#define Extra1    0x0093DF3C
#define Extra2    0x0093DF3D
#define Glasswall 0x00943D90
#define Nobounds1 0x00968558
#define Nobounds2 0x0096855C
#define Nobounds3 0x00968554
#define Spawn1    0x00971638
#define Spawn2    0x0097163C
#define Spawn3    0x00971640
#define UNLAMMO   0x00976320
#define SuperNS   0x007ECF00
#define ANTIAFK   0x0093DF70
#define PlantAW   0x0093DEF1



/*Offset*/
#define OFS_Z     0x000102E4
#define OFS_NFD   0x000102C4
#define OFS_Perm1 0x0000057C
#define OFS_Perm2 0x00000580
#define OFS_SLOT5 0x001021A4
#define OFS_SLOT6 0x001021A5
#define OFS_SLOT7 0x001021A6
#define OFS_SLOT8 0x001021A7

void Hacks()
{
if(PlayerPtr != 0)
{

/*Stamina*/
*(float*)(Stamina1) = 0;
*(float*)(Stamina2) = 0;
*(float*)(Stamina3) = 0;
*(float*)(Stamina4) = 0;
*(float*)(Stamina5) = 0;

/*Extra Ammo1*/
*(int*)(Extra1) = 1;

/*Extra Ammo2*/
*(int*)(Extra2) = 1;

/*Glasswall | F11 ON - F12 OFF*/
if(GetAsyncKeyState(VK_F11)&1){ *(int*)(Glasswall) = 1; }
if(GetAsyncKeyState(VK_F12)&1){ *(int*)(Glasswall) = 0; }

/*No Bounds*/
*(float*)(Nobounds1) = 0;
*(float*)(Nobounds2) = 0;
*(float*)(Nobounds3) = 0;

/*QuickSpawn*/
*(float*)(Spawn1) = 0;
*(float*)(Spawn2) = 0;
*(float*)(Spawn3) = 0;


/*Super Jump Control - Jump*/
if(GetAsyncKeyState(VK_CONTROL)&1){
*(float*)(PlayerPtr+OFS_Z) = 2000; //2000 - Hight
}

/*No fall damage*/
*(float*)(PlayerPtr+OFS_NFD) =- 13948; // 13948 - Hight

/*Slot unlock*/
*(float*)(OFS_SLOT5) = 1;
*(float*)(OFS_SLOT6) = 1;
*(float*)(OFS_SLOT7) = 1;
*(float*)(OFS_SLOT8) = 1;

/*Premium unlock*/
*(float*)(OFS_Perm1) = 1;
*(float*)(OFS_Perm2) = 1;

/*Unlimited Ammo Numpad 8 = ON Numpad 9 = OFF*/
if(GetAsyncKeyState(VK_NUMPAD8)&1){ *(int*)(UNLAMMO) = 1; }
if(GetAsyncKeyState(VK_NUMPAD9)&1){ *(int*)(UNLAMMO) = 0; }

/*AntiAFK*/
*(float*)(ANTIAFK) = 1;

/* Plant Anywhere*/
*(float*)(PlantAW) = 1;

/* Super No Spread 6 = on 7 = off*/
if(GetAsyncKeyState(VK_NUMPAD6)&1){ *(int*)(SuperNS) = 1; }
if(GetAsyncKeyState(VK_NUMPAD7)&1){ *(int*)(SuperNS) = 0; }


}
}//End of hacks

void HackThread()
{
for(;;)
{
Hacks();
}
Sleep(200);
}

BOOL WINAPI DllMain(HINSTANCE hDll,DWORD Generator,LPVOID lpvReserved)
{
if(Generator == DLL_PROCESS_ATTACH)
{
CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)HackThread,NULL,NULL,NULL);
}
return TRUE;
}
it only happens when warrock/hackshield detects something, check if all your addies are up-to-date
Your missing stamina 6.

Code:
#define STAMINA6 0x007EAE04
if anyone is board im at work and cant test the changes i made to this to see if it will run heres is the source if someone wants to test and report back that would be awsome. or if you see something wrong let me know \

.Double checked addy's
.removed and added things

Code:
#include <windows.h>
#pragma message("[NG] >> Created with Nomenu Generator")


/*Developed with Nomenu Generator*/
/*Pointers*/
#define PlayerPtr 0x00ABD750
#define ServerPtr 0x00943D98

/*Memory*/
#define Stamina1  0x007EAE08
#define Stamina2  0x007EAE14
#define Stamina3  0x007EAE10
#define Stamina4  0x007EAE0C
#define Stamina5  0x007EAE1C
#define Stamina6  0x007EAE04
#define Extra1    0x0093DF3C
#define Extra2    0x0093DF3D
#define Glasswall 0x00943D90
#define Nobounds1 0x00968558
#define Nobounds2 0x0096855C
#define Nobounds3 0x00968554
#define Spawn1    0x00971638
#define Spawn2    0x0097163C
#define Spawn3    0x00971640
#define ANTIAFK   0x0093DF70 
#define PLANTANYW 0x0093DEF1 
#define GMWARNING 0x009E4450 
#define WEPGRAV   0x007ECE40 
#define HIDEWEAP  0x007ECED8 
#define SUPERFIRE 0x007EC3C8 
#define UNLAMMO   0x00976320 
#define SUPERNOS  0x007ECF00 
#define FastAmmo  0x0094140C 
#define FastHeal  0x00941414 
#define FastRep   0x00941414 
#define FastFlag  0x00941418 



/*Offset*/
#define OFS_Z     0x000102E4
#define OFS_NFD   0x000102C4
#define OFS_SLOT5 0x001021A4
#define OFS_SLOT6 0x001021A5
#define OFS_SLOT7 0x001021A6
#define OFS_SLOT8 0x001021A7
#define OFS_PREM1 0x0000057C
#define OFS_PREM2 0x00000580



void Hacks()
{
if(PlayerPtr != 0)
{

/*Stamina*/
*(float*)(Stamina1) = 0;
*(float*)(Stamina2) = 0;
*(float*)(Stamina3) = 0;
*(float*)(Stamina4) = 0;
*(float*)(Stamina5) = 0;
*(float*)(Stamina6) = 0;

/*Extra Ammo1*/
*(int*)(Extra1) = 1;

/*Extra Ammo2*/
*(int*)(Extra2) = 1;

/*Glasswall | F11 ON - F12 OFF*/
if(GetAsyncKeyState(VK_F11)&1){ *(int*)(Glasswall) = 1; }
if(GetAsyncKeyState(VK_F12)&1){ *(int*)(Glasswall) = 0; }

/*No Bounds*/
*(float*)(Nobounds1) = 0;
*(float*)(Nobounds2) = 0;
*(float*)(Nobounds3) = 0;

/*QuickSpawn*/
*(float*)(Spawn1) = 0;
*(float*)(Spawn2) = 0;
*(float*)(Spawn3) = 0;

/*Super Jump Control - Jump*/
if(GetAsyncKeyState(VK_CONTROL)&1){
*(float*)(PlayerPtr+OFS_Z) = 2000; //2000 - Hight
}

/*No fall damage*/
*(float*)(PlayerPtr+OFS_NFD) =- 13948; // 13948 - Hight

/*Slot hacks*/
*(float*)(OFS_SLOT5) = 1;
*(float*)(OFS_SLOT6) = 1;
*(float*)(OFS_SLOT7) = 1;
*(float*)(OFS_SLOT8) = 1;

/*Premium hack*/
*(float*)(OFS_PREM1) = 1;
*(float*)(OFS_PREM2) = 1;

/*Anti AFK*/
*(float*)(ANTIAFK) = 1;

/* Plant anywhere*/
*(float*)(PLANTANYW) = 1;

/*GM Warning*/
*(float*)(GMWARNING) = 1;

/*Fast health, Repair, Ammo, Flag*/
*(float*)(FastAmmo) = 1;
*(float*)(FastHeal) = 1;
*(float*)(FastRep) = 1;
*(float*)(FastFlag) = 1;

/*Unlimited Ammo*/
if(GetAsyncKeyState(VK_NUMPAD8)&1){ *(int*)(UNLAMMO) = 1; }
if(GetAsyncKeyState(VK_NUMPAD9)&1){ *(int*)(UNLAMMO) = 0; }

/*SuperFire*/
if(GetAsyncKeyState(VK_NUMPAD6)&1){ *(int*)(SUPERFIRE) = 1; }
if(GetAsyncKeyState(VK_NUMPAD7)&1){ *(int*)(SUPERFIRE) = 0; }

/*Hide Weapon*/
if(GetAsyncKeyState(VK_NUMPAD4)&1){ *(int*)(HIDEWEAP) = 1; }
if(GetAsyncKeyState(VK_NUMPAD5)&1){ *(int*)(HIDEWEAP) = 0; }

/*Weapon Gravity*/
if(GetAsyncKeyState(VK_NUMPAD2)&1){ *(int*)(WEPGRAV) = 1; }
if(GetAsyncKeyState(VK_NUMPAD3)&1){ *(int*)(WEPGRAV) = 0; }

/*Super No Spread*/
if(GetAsyncKeyState(VK_NUMPAD0)&1){ *(int*)(SUPERNOS) = 1; }
if(GetAsyncKeyState(VK_NUMPAD1)&1){ *(int*)(SUPERNOS) = 0; }


}
}//End of hacks

void HackThread()
{
for(;;)
{
Hacks();
}
Sleep(200);
}

BOOL WINAPI DllMain(HINSTANCE hDll,DWORD Generator,LPVOID lpvReserved)
{
if(Generator == DLL_PROCESS_ATTACH)
{
CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)HackThread,NULL,NULL,NULL);
}
return TRUE;
}
Did you fix your error ?
thats just it i cant tell im at work on a mini laptop so i cant test it all i can do is work on it here.
Oh alright. Well when you get home try adding your Stamina6 like I said earlier and tell me how it goes
its been added just wont be home till 1:30am est thats why i posted the new code lol meh owell guess i can putts around with something else till then ill let you know how it goes tho thanks again.

Edit: ok so i was looking around and i guess im a nubcake about everything the premium code does nothing but visual? whats the point in that if you dont mind me asking. and my code would have been wrong then this is something like it should look like i think.

Code:
{*(long*)(dwSrvrPtr+OFS_PREM1) = 4, 10;{
*(float*)(dwSrvrPtr+OFS_PREM2) = 1, 1;}}
Well the Premium and Dinar hack are both visual .
ok see i knew the dinar was visual didnt know about the prem so ill just remove that sense theres no use in having it there
Well people just use it so they can feel nice that they actually have premium, I find it a bit useless too when your making a no menu, if a menu its a different story
pm me help me for korean warrock
ok so i got it working it was a few codes that i didnt know were asm and it was messing the whole thing up anyhow i wont be releasing anything as i was just using it to learn. used aeromans source gen and redline and camels addies just in case anyone wants to flame
thanks again to those who helped
anyhow
/req close
Quote Originally Posted by Maniac101 View Post
ok so i got it working it was a few codes that i didnt know were asm and it was messing the whole thing up anyhow i wont be releasing anything as i was just using it to learn. used aeromans source gen and redline and camels addies just in case anyone wants to flame
thanks again to those who helped
anyhow
/req close
Will i tell you something no one will flame or say something you just trying to learn and good thing u didn't lie u said u got addies from me and camls and aero base then you are fine i love ppl like you .

And here is something usefull when u face problem :
1_Check All addies
2_Check the source
3_Look if ther is errors or warning
4_Clear the base and test it now if it works then start to add function not all same time will 1 by 1 until you find the problem try to fix it or ask for help ofc after you try to fix it
well i was in the combat arms section for awhile before redownloading warrock and moving here and it didnt matter if someone said hey use this "*" you where flamed for leeching or C&P it gets old. anyways thanks for the tips now i just need to find out which codes are asm and which are mem only and keep trying new things.
Posts 1–15 of 15 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us