WarRock Hack Syndycate

WarRock Hack Syndycate

WarRock Hack Syndycate
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Supreme WarRock Hackers
Close

Share | 
 

 Over 100 code snippets!

Go down 
AuthorMessage
Guest
Guest



PostSubject: Over 100 code snippets!   Thu Mar 15, 2012 6:40 pm

Code:

if(OPK==0){
WriteAsm((void*)ADR_OPK1,OPKOFF1,/*Value*/6);
WriteAsm((void*)ADR_OPK2,OPKOFF2,/*Value*/6);
WriteAsm((void*)ADR_OPK3,OPKOFF3,/*Value*/6);}

Code:

if(OPK==1){
WriteAsm((void*)ADR_OPK1,OPKON1,/*Value*/5);
WriteAsm((void*)ADR_OPK2,OPKON2,/*Value*/5);
WriteAsm((void*)ADR_OPK3,OPKON3,/*Value*/5);}

Code:

if (CH_PanicKey == 1){if( GetAsyncKeyState(VK_DELETE)&1){
ExitGame(0);}}

Code:

if(CH_teleport == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
float PositionY = 0.0; float PositionX = 0.0;float PositionZ = 0.0;
PositionX = *(float*)(dwPlayerPtr + OFS_X);
PositionY = *(float*)(dwPlayerPtr + OFS_Y);
PositionZ = *(float*)(dwPlayerPtr + OFS_Z);
if(GetAsyncKeyState(VK_F10)&1){
Telx = PositionX;
Tely = PositionY;
Telz = PositionZ;}
if(GetAsyncKeyState(VK_F11)&1){
*(float*)(dwPlayerPtr + OFS_X) = Telx;
*(float*)(dwPlayerPtr + OFS_Y) = Tely;
*(float*)(dwPlayerPtr + OFS_Z) = Telz;
}}}

Code:

if (CH_SP==1)
{
*(int*)(ADR_STAM5) = 1;
}

Code:

if (CH_SP==2)
{
*(int*)(ADR_STAM10) = 1;
}

Code:

if(CH_WeaponHack == 1)
{
if(GetAsyncKeyState(VK_F7) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_WEAPON1) = 114;}}}

Code:

if(CH_Fog == 0){
*(float*)OFS_NOFOG = 1166127104;//far fog address
*(float*)OFS_NEARFOG = 1166127104; //nerfog addres}

Code:

if(CH_RollSpeed == 1){
*(float*)(ADR_SPEEDROLL)= 250;}

Code:

if(CH_Dig == 1){
if(GetAsyncKeyState(VK_HOME) &1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
*(float*)(dwPlayerPtr+OFS_Z) = -2000;}}

Code:

if(CH_Gravity == 1){{
*(float*)(ADR_PLAYERPOINTER+OFS_GRAVITY) = 800.0f;}}

Code:

if(CH_Fastrepair == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTREPAIR = 5000000;}}

Code:

if(CH_Fasthealt == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTHEALTH = 5000000;}}

Code:

if(CH_Fastflag == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTFLAG = 5000000;}}

Code:

if(CH_Fastammo == 1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)ADR_FASTAMMO = 5000000;}}

Code:

if(CH_fullbright == 1){
*(int*)(ADR_FULLBRIGHT1) = 1092779973;
*(int*)(ADR_FULLBRIGHT2) = 1092779973;
*(int*)(ADR_FULLBRIGHT3) = 1092779973;}

Code:

if(CH_Nospawn ==1){
*(float*) ADR_NOSPAWN1 = 0;
*(float*) ADR_NOSPAWN2 = 0;
*(float*) ADR_NOSPAWN3 = 0;}

Code:

if(CH_Speed == 1){
*(float*) ADR_SPEED = 250;}

Code:

if(CH_Superjump == 1){
if(GetAsyncKeyState(VK_CONTROL) &1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0){
*(float*)(dwPlayerPtr+OFS_Z) = 500;}}}

Code:

if(NoBounds){
*(float*)NoBounds1 = 0;
*(float*)NoBounds2 = 0;
*(float*)NoBounds3 = 0;}

Code:

if (CH_WTW==1){
DWORD dwPlayerPointer = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPointer != 0){
WriteAsm((void *)ADR_WTW,NOPS,3);}
}else {
if (CH_WTW==0){
WriteAsm((void *)ADR_WTW,WTWOFF,3);}}

Code:

if(CH_slot5 == 1){*(long*)(dwPlayerPtr+OFS_5SLOT) = 1;}

Code:

if(CH_slot6 == 1){*(long*)(dwPlayerPtr+OFS_6SLOT) = 1;}

Code:

if(CH_slot7 == 1){*(long*)(dwPlayerPtr+OFS_7SLOT) = 1;}

Code:

if(CH_slot8 == 1){*(long*)(dwPlayerPtr+OFS_8SLOT) = 1;}

Code:

if(CH_level == 1)
{if(dwPlayerPtr != 0){
*(long*)(dwPlayerPtr+OFS_LEVEL) = 1400000;}}

Code:

if(CH_dinar == 1)
{if(dwPlayerPtr != 0){
*(long*)(dwPlayerPtr+OFS_DINAR) = 0;}}

Code:

if(CH_Prone == 0)
{
WriteAsm((void *)ADR_PRONE,PRONEOFF,2);
}
if (CH_Prone==1)
{
WriteAsm((void *)ADR_PRONE,NOPS,2);
}

Code:

if(CH_nowater == 1){
*(int*)ADR_NOWATER = 0;
}else{
*(int*)ADR_NOWATER = 1;}

Code:

if(CH_AutoAmmo == 1)
if(GetAsyncKeyState(VK_END) &1)
{
DWORD dwProtect;
const BYTE nop[6] = {0x90,0x90,0x90,0x90,0x90,0x90};
VirtualProtect((void*)(ADR_AUTOAMMO), 6, PAGE_EXECUTE_READWRITE, &dwProtect);
memcpy((void*)ADR_AUTOAMMO, &nop, 6);
VirtualProtect((void*)(ADR_AUTOAMMO), 6, dwProtect, NULL);
}

Code:

if(CH_WeaponHack == 1) //Winchester
if(GetAsyncKeyState(VK_F9) &1)
{
*(long*)(ADR_PLAYERPOINTER+ADR_WEAPONPOINTER) = 70;
}

Code:

if(CH_Bandage == 1)
{
*(int*)(ADR_BANDAGE) = 1;
}

Code:

if(CH_SuperMaster == 0)
{
*(int*)(ADR_SERVERPOINTER + OFS_SUPERMASTER) = 0;
}else{
*(int*)(ADR_SERVERPOINTER + OFS_SUPERMASTER) = 1;
}

Code:

if(CH_RoomMaster == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
*(int*)(dwPlayerPtr+OFS_ROOMMASTER) = 1;
}

Code:

if(CH_Spectator == 1)
{
*(long*)(ADR_SERVERPOINTER + ADR_SPECTATOR ) = 5;
}else{
*(long*)(ADR_SERVERPOINTER + ADR_SPECTATOR ) = 0;
}

Code:

if(CH_Ping == 0){
if(ADR_SERVERPOINTER != 0){
*(long*)(ADR_SERVERPOINTER+ADR_Ping) = 0;}}

Code:

if(CH_Ping == 1){
if(ADR_SERVERPOINTER != 0){
*(long*)(ADR_SERVERPOINTER+ADR_Ping) = 1;}}

Code:

if(CH_Ping == 2){
if(ADR_SERVERPOINTER != 0){
*(long*)(ADR_SERVERPOINTER+ADR_Ping) = 2;}}

Code:

if(CH_Ping == 3){
if(ADR_SERVERPOINTER != 0){
*(long*)(ADR_SERVERPOINTER+ADR_Ping) = 3;}}

Code:

if(CH_G1Warn == 1)
{
#define COLOR_ADM_WARNING D3DCOLOR_ARGB(255,255,0,0)
char *gmname=(char *) (ADR_D3DGMWARNING );
if (strlen(gmname)>2) {
char gmwarn[333];
sprintf(gmwarn, "ADMIN: %s => SPECTATE IN THIS ROOM", ADR_D3DGMWARNING);}}

Code:

if(CH_SniperPx == 1)
{
*(int*)(ADR_SNIPER2X ) = 1;
}

Code:

if (CH_VehicleFall == 0)
{
WriteAsm((void *)ADR_NOVEHDMG,CARDMGOFF,5);
}
if (CH_VehicleFall == 1)
{
WriteAsm((void *)ADR_NOVEHDMG,CARDMGON,5);
}

Code:

if(CH_AntiMine == 0)
WriteAsm((void *)ADR_ANTIMINE,MINEOFF,6);

if (CH_AntiMine==1)
WriteAsm((void *)ADR_ANTIMINE,NOPS,6);

Code:

if(CH_Spawn == 1){
*(int*)(ADR_NOSPAWN1) = 0;
*(int*)(ADR_NOSPAWN2) = 0;
*(int*)(ADR_NOSPAWN3) = 0;}

Code:

if(CH_ImDrunk == 1)
*(DWORD*)(ADR_IMDRUNK) = 1;

Code:

if(CH_AntiAfk == 1)
*(int*)(ADR_ANTIAFK ) = 1;

Code:

if(Extra1){*(int*)ExtraAmmo1 = 1;}
if(Extra2){*(int*)ExtraAmmo2 = 1;}

Code:

if(FullFog){
*(float*)FarFog = 0;
*(float*)NearFog = 0;}

Code:

if(sp5){*(int*)(SP5) = 1;}
if(sp10){*(int*)(SP10) = 1;

Code:

if(Premium==1){*(long*)(ServerPTR+Adr_Premium) = 1 ;}
if(Premium==2){*(long*)(ServerPTR+Adr_Premium) = 2 ;}
if(Premium==3){*(long*)(ServerPTR+Adr_Premium) = 3 ;}
if(Premium==4){*(long*)(ServerPTR+Adr_Premium) = 4 ;}

Code:

if(PanicKey==1){if(GetAsyncKeyState(VK_DELETE)&1){ExitProcess(0);}}
if(PanicKey==2){if(GetAsyncKeyState(VK_ESCAPE)&1){ExitProcess(0);}}
if(PanicKey==3){if(GetAsyncKeyState(VK_HOME)&1){ExitProcess(0);}}
if(PanicKey==4){if(GetAsyncKeyState(VK_RETURN)&1){ExitProcess(0);}}
if(PanicKey==5){if(GetAsyncKeyState(VK_SPACE)&1){ExitProcess(0);}}

Code:

if(GlassWall == 0){*(int*)Glasswall = 0;}
if(GlassWall){*(int*)Glasswall = 1;}

Code:

if(RainPX==0){*(int*)OFS_Rain = 0;Sleep(20000);}
if(RainPX){*(int*)OFS_Rain = 1;}

Code:

if(MapCollor1==1){*(float*)MapCollors1 = 250;}
if(MapCollor1==2){*(float*)MapCollors1 = 500;}
if(MapCollor1==3){*(float*)MapCollors1 = 750;}
if(MapCollor1==4){*(float*)MapCollors1 = 1000;}
if(MapCollor1==5){*(float*)MapCollors1 = 1500;}
if(MapCollor1==6){*(float*)MapCollors1 = 2000;}
if(MapCollor1==7){*(float*)MapCollors1 = 2500;}
if(MapCollor1==Cool{*(float*)MapCollors1 = 3000;}
if(MapCollor1==9){*(float*)MapCollors1 = 5000;}

if(MapCollor2==1){*(float*)MapCollors2 = 250;}
if(MapCollor2==2){*(float*)MapCollors2 = 500;}
if(MapCollor2==3){*(float*)MapCollors2 = 750;}
if(MapCollor2==4){*(float*)MapCollors2 = 1000;}
if(MapCollor2==5){*(float*)MapCollors2 = 1500;}
if(MapCollor2==6){*(float*)MapCollors2 = 2000;}
if(MapCollor2==7){*(float*)MapCollors2 = 2500;}
if(MapCollor2==Cool{*(float*)MapCollors2 = 3000;}
if(MapCollor2==9){*(float*)MapCollors2 = 5000;}

if(MapCollor3==1){*(float*)MapCollors3 = 250;}
if(MapCollor3==2){*(float*)MapCollors3 = 500;}
if(MapCollor3==3){*(float*)MapCollors3 = 750;}
if(MapCollor3==4){*(float*)MapCollors3 = 1000;}
if(MapCollor3==5){*(float*)MapCollors3 = 1500;}
if(MapCollor3==6){*(float*)MapCollors3 = 2000;}
if(MapCollor3==7){*(float*)MapCollors3 = 2500;}
if(MapCollor3==Cool{*(float*)MapCollors3 = 3000;}
if(MapCollor3==9){*(float*)MapCollors3 = 5000;}

Code:

if(SkyWalk){*(float*)(dwPlayerPtr+OFS_Z) = 600;}

Code:

if(QuickPlant==0){WriteAsm(( void *)Adr_QPlant,QuickPlantOff,2);}
if(QuickPlant==1){WriteAsm(( void *)Adr_QPlant,QuickPlantOn,2);}

Code:

if(NoSpread){if(dwPlayerPtr!=0){*(float*)Nospread = 0;}}

Code:

if(NoRecoil){if(dwPlayerPtr!=0){
*(float*)NoRecoil1 = 0;
*(float*)NoRecoil2 = 0;
*(float*)NoRecoil3 = 0;}}
Menu -> CloseWarrock Instantly

Code:

if(closewr){ExitProcess(0);}

Code:

if(Fast_LockOn==1){*(int*)FastLock_on = 1;}

Code:

if(AutoDie){KB(VK_F4);}
if(AutoEnter){KB(VK_RETURN);}
if(AutoJump){KB(VK_SPACE);}
if(AutoF){KB('f');}
if(AutoTele){KB(VK_F11);}

Code:

////void __cdecl MsgBox(char* text){ //WarRock Style MSGBox
//// void* MsgF = (void*) 0x71BCE0;
//// void* MsgG = (void*) 0x43DD70;
//// _asm
//// {
//// push ecx
//// mov ecx, esp
//// mov [esp+8], esp
//// push text
//// call MsgF
//// call MsgG
//// add esp, 4
//// }
//// }

Code:

if(WaterCollor){
*(float*)WaterCollor1 = 33943;
*(float*)WaterCollor2 = 343;
*(float*)WaterCollor3 = 393; Rehook();}//Find 'Rehook' yourself

Code:

if(WaterCollor){
*(float*)WaterCollor1 = 33943;
*(float*)WaterCollor2 = 343;
*(float*)WaterCollor3 = 393; Rehook();}
if(Waterdeep){
*(float*)WaterDeep1 = 33943;
*(float*)WaterDeep2 = 343;
*(float*)WaterDeep3 = 393; Rehook();}//Find 'Rehook' yourself

//--[Bytes]--//
BYTE QuickPlantOn [] = { 0x7D,0x16 };
BYTE QuickPlantOff [] = { 0x7D,0x53 }
Back to top Go down
 
Over 100 code snippets!
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
WarRock Hack Syndycate :: WarRock Philippines Source Code-
Jump to: