WarRock Hack Syndycate

WarRock Hack Syndycate

WarRock Hack Syndycate
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Supreme WarRock Hackers
Close

Share | 
 

 Source codes ( ASM )

Go down 
AuthorMessage
Guest
Guest



PostSubject: Source codes ( ASM )   Thu Mar 15, 2012 6:29 pm

A.S.M Shit:

#define ASM_NODELAY 0x004D874C
#define ASM_RADAR 0x0053CB22
#define ASM_WTW 0x006FE325
#define ADR_MINEVIEW1 0x00443A97
#define ADR_MINEVIEW2 0x00443B15
#define Radar_FFA_Asm 0x0053CB40
#define ASM_QUICKDEFUSE 0x004CC653
#define ASM_QUICKPLANT 0x004D00AA
#define ASM_NORELOAD 0x004D8A0F
#define ASM_CQCPRONE 0x004B6B30
#define ASM_UNLAMMO 0x004D0B87

if(RadarGPS == 0){MEMwrite((void*)ASM_RADAR,(void*)"\x75\x15",2); }

if(RadarGPS == 1){MEMwrite((void*)ASM_RADAR,(void*)"\xEB",1);}


if(nNoDelay == 1){MEMwrite((void*)ASM_NODELAY,(void*)"\x90\x90",2 );}

if(nNoDelay == 0){MEMwrite((void*)ASM_NODELAY,(void*)"\x74\x2E",2 );}


if(nUnlAmmo == 1){MEMwrite((void*)ASM_UNLAMMO,(void*)"\xC3",1);}

if(nUnlAmmo == 0){MEMwrite((void*)ASM_UNLAMMO,(void*)"\x56",1);}


if(WTW == 1){MEMwrite((void*)ASM_WTW,(void*)"\x90\x90\x90",3 );}

if(WTW == 0){MEMwrite((void*)ASM_WTW,(void*)"\xD8\x4E\x0C",3 );}


if(RadarGPSFFA == 1){MEMwrite((void*)Radar_FFA_Asm,(void*)"\xEB",1); }

if(RadarGPSFFA == 0){MEMwrite((void*)Radar_FFA_Asm,(void*)"\x75\x16" ,2);}


if(QuickPlant == 1){MEMwrite((void*)ASM_QUICKPLANT,(void*)"\xEB\x18 ",2);}

if(QuickPlant == 0){MEMwrite((void*)ASM_QUICKPLANT,(void*)"\x7D\x16 ",2);}

if(QuickDefuse == 1){MEMwrite((void*)ASM_QUICKDEFUSE,(void*)"\xEB\x0 9",2);}

if(QuickDefuse == 0){MEMwrite((void*)ASM_QUICKDEFUSE,(void*)"\x7D\x0 7",2);}

if(MineView == 0)
{
MEMwrite((void *)(ADR_MINEVIEW1), (PBYTE)"\x0F\x85\x13\x01\x00\x00",6);
MEMwrite((void *)(ADR_MINEVIEW2), (PBYTE)"\x0F\x85\x95\x00\x00\x00",6);
}
if(MineView == 1)
{
MEMwrite((void *)(ADR_MINEVIEW1), (PBYTE)"\x90\x90\x90\x90\x90\x90",6);
MEMwrite((void *)(ADR_MINEVIEW2), (PBYTE)"\x90\x90\x90\x90\x90\x90",6);
}

if(NoReload == 0){MEMwrite((void *)(ASM_NORELOAD) , (PBYTE)"\x0F\x84\x8E\x01\x00\x00",6);}
if(NoReload == 1){MEMwrite((void *)(ASM_NORELOAD) , (PBYTE)"\x90\x90\x90\x90\x90\x90",6);}

if(CQCProne == 0){MEMwrite((void *)(ASM_CQCPRONE),(PBYTE)"\x74\x0C",2);}
if(CQCProne == 0){MEMwrite((void *)(ASM_CQCPRONE),(PBYTE)"\x90\x90",2);}

Some Shit:
Stamina Addys:
#define ADR_STAMINA1 0x813CCC
#define ADR_STAMINA2 0x813CD0
#define ADR_STAMINA3 0x813CD4
#define ADR_STAMINA4 0x813CD8
#define ADR_STAMINA5 0x813CDC

void MakeFloat(int adr , float x)
{
unsigned long size;
VirtualProtect((void*)adr, sizeof(x), PAGE_READWRITE, &size);
memcpy((void*)adr, &x , sizeof(x));
VirtualProtect((void*)adr, sizeof(x), size, 0);
}

if (NoSpread == 1)
{
*(int*)ADR_NOSPREAD = 0;
}

if (NoWater ==1)
{
*(float*)ADR_NOWATER = 0;
}

if(nSelfKill == 1)
{
if(GetAsyncKeyState(VK_F4) &1)
{
*(float*)(Playerx+OFS_NFD) = 2000000;
}
}

if(GetAsyncKeyState(VK_F5))
{
if(BrokenTeleportAmmo == 1)
{
*(float*)(dwPlayerPtr + OFS_X) = 3089.783447;
*(float*)(dwPlayerPtr + OFS_Y) = 3076.724854;
*(float*)(dwPlayerPtr + OFS_Z) = 619.959839;
BrokenTeleportAmmo = 0;
}
}

if(GetAsyncKeyState(VK_F6))
{
if(BrokenTeleportMedic == 1)
{
*(float*)(dwPlayerPtr + OFS_X) = 3507.846924;
*(float*)(dwPlayerPtr + OFS_Y) = 3352.669922;
*(float*)(dwPlayerPtr + OFS_Z) = 485.238129;
BrokenTeleportMedic = 0;
}
}

if (ZFreez ==1)
{
*(double*)(ADR_SPEED) = 0.0f;
}

if(ZFreez == 0)
{
*(double*)ADR_SPEED = 96.0f;
}

if (GMMODE==1)
{
DWORD v = *(DWORD*)Serverpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr + GameMode_Ofs) = 5;
}
}

if (CQCProne == 1)
{
if(dwPlayerPtr != 0 && dwSrvrPtr != 0)
{
if (GetAsyncKeyState('C'))
{
*(float*)ADR_CQCPRONE=2;
}
}

if(Plantanywhere == 1)
{
if(dwPlayerPtr != 0 && dwSrvrPtr != 0)
{
*(BYTE*)ADR_MEMPLANTANYWHERE = 0x1;
}
}

if(Defuseanywhere == 1)
{
if(dwPlayerPtr != 0 && dwSrvrPtr != 0)
{
*(BYTE*)ADR_MEMDEFUSEANYWHERE = 0x1;
}
}

if (Dig ==1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr!= 0)
{
*(float*)(dwPlayerPtr+ OFS_Z) = -20000;
}
}

if (Fastnadeblast ==1)
{
*(float*) (dwPlayerPtr + 0x100FC) = -9.99e2;
}


if (closewr ==1)
{
if(GetAsyncKeyState(VK_DELETE) &1<< 0xF)
{
ExitProcess(0);
}
}

if(Drunk == 1)
{
*(DWORD*)ADR_IMDRUNK = 1;
}
if(Drunk == 0)
{
*(DWORD*)ADR_IMDRUNK = 0;
}

switch(nSkywalk)
{
case 1: MakeFloat(Playerx+OFS_Z,50);break;
case 2: MakeFloat(Playerx+OFS_Z,100);break;
case 3: MakeFloat(Playerx+OFS_Z,300);break;
case 4: MakeFloat(Playerx+OFS_Z,500);break;
case 5: MakeFloat(Playerx+OFS_Z,800);break;
case 6: MakeFloat(Playerx+OFS_Z,1000);break;
case 7: MakeFloat(Playerx+OFS_Z,2000);break;
case 8: MakeFloat(Playerx+OFS_Z,3500);break;
}

if (QUIICKSPAWN==1)
{
*(float*)ADR_NOSPAWNWAIT1 = 0;
*(float*)ADR_NOSPAWNWAIT1 = 0;
*(float*)ADR_NOSPAWNWAIT1= 0;
}

if (jump ==1)
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
*(float*)(dwPlayerPtr + OFS_Z) +=165;
}
}

if (SuperNooSpread ==1)
{
*(double*) ADR_SUPERNOSPREAD =0;
}
else
{
*(double*) ADR_SUPERNOSPREAD =5;
}

if (SniperPX==1)

{
*(int*)(PX_SNIPERAMMO)=1;
}
if (AssaultPX==1)
{
*(int*)(PX_ASSAULTAMMO)=1;
}
if (Extraammo1 ==1)
{
*(float*)PX_EXTRAAMMO1 = 1;
}


if (Extraammo2 ==1)
{
*(float*)PX_EXTRAAMMO2 = 1;
}

if(NoRecoil == 1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
{
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr + OFS_NORECOIL1) = 0;
*(float*)(dwPlayerPtr + OFS_NORECOIL2) = 0;
*(float*)(dwPlayerPtr + OFS_NORECOIL3) = 0;
}
}
}


if (STAMINA ==1)
{
*(float*)Stamina1 = 1000;
*(double*)Stamina2 = 1000;//Updated Stamina
*(double*)Stamina3 = 0;
*(float*)Stamina4 = 0;
}

if (NoBounds ==1)
{
DWORD dwPlayerPtr = * (DWORD*)Playerpointer;
if (dwPlayerPtr != 0)
{
*(int*)ADR_NOBOUNDS1 = 0;
*(int*)ADR_NOBOUNDS2 = 0;
*(int*)ADR_NOBOUNDS3 = 0;
}
}

switch(nPremium)
{
case 1: *(int*)(Serverx+OFS_PREMIUM)=1;
case 2: *(int*)(Serverx+OFS_PREMIUM)=2;
case 3: *(int*)(Serverx+OFS_PREMIUM)=3;
case 4: *(int*)(Serverx+OFS_PREMIUM)=4;
}

if (Slot5 ==1)
{
DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
if(dwPlayerPtr != 0)
{
*(int*)(dwPlayerPtr + OFS_SLOTS5)= 1;
}
}
if(Slot6==1)
{
*(int*)(dwSrvrPtr + OFS_SLOTS6) = 1;
}
if(Slot7==1)
{
*(int*)(dwSrvrPtr + OFS_SLOTS7) = 1;
}
if(Slot8==1)
{
*(int*)(dwSrvrPtr + OFS_SLOTS8) = 1;
}

if (AllSlot ==1)
{
DWORD dwPlayerPtr = *(DWORD*)Serverpointer;
if(dwPlayerPtr != 0)
{

*(int*) (dwSrvrPtr + OFS_SLOTS5) = 1;
*(int*) (dwSrvrPtr + OFS_SLOTS6) = 1;
*(int*) (dwSrvrPtr + OFS_SLOTS7) = 1.;
*(int*) (dwSrvrPtr + OFS_SLOTS8) = 1;
}
}

switch (nWalkSpeed)
{
default: *(double*)WalkSpeed = 96; break;
case 1: *(double*)WalkSpeed = 96*2; break;
case 2: *(double*)WalkSpeed = 96*3; break;
case 3: *(double*)WalkSpeed = 96*4; break;
case 4: *(double*)WalkSpeed = 96*5; break;
case 5: *(double*)WalkSpeed = 96*6; break;
case 6: *(double*)WalkSpeed = 96*7; break;
case 7: *(double*)WalkSpeed = 96*8; break;
case 8: *(double*)WalkSpeed = 96*9; break;
case 9: *(double*)WalkSpeed = 96*10; break;
}

if (NFD==1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NFD) = -200000;

if(FastAmmo==1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)ADR_FASTAMMO = 99.0f;
}}

if(FastHealth==1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)ADR_FASTHEALTH = 99.0f;
}}

if(FastRepair==1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)ADR_FASTREPAIR = 99.0f;
}}

if(FastFlag==1)
{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(float*)ADR_FASTFLAG = 99.0f;
}}

if (GMWARN ==1) // Was an sein Muss
{
#define COLOR_ADM_WARNING D3DCOLOR_ARGB(255, 0,255, 0) // Farbe im mom: Rot
char *gmname=(char *) (GM_Warning);
if (strlen(gmname)>2) {
char gmwarn[333];
sprintf(gmwarn, "Warning: A GM is watching you!.", GM_Warning); // MSG
}
}
}


if(Ready==1)
{
SetCursorPos(452,84);
Sleep(300);
mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
Sleep(300);
mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
Sleep(300);
}

if(Enter == 1)
{
keybd_event(VK_RETURN,0,0,0);
Sleep(250);
}

if(Fpress == 1)
{
keybd_event(0x46,0,0,0);
Sleep(250);
}

if(Leer == 1)
{
keybd_event(VK_SPACE,0,0,0);
Sleep(250);
}
Back to top Go down
 
Source codes ( ASM )
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: