PostWarRock Public Source Codes & Bytes

Posts 1–8 of 8 · Page 1 of 1
WarRock Public Source Codes & Bytes
Hey,
im releasing some of my "Old" source codes & bytes.
Bytes are probably outdated, just update em.

More sources & hotkeys can be finded here!

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+0x7DA4D0) = 0;
}
}
Code:
if(CH_Ping == 1)
{
if(ADR_SERVERPOINTER != 0)
{
*(long*)(ADR_SERVERPOINTER+OFS_PLAYERSOLOT) = 1;
}
}
Code:
if(CH_Ping == 2)
{
if(ADR_SERVERPOINTER != 0)
{
*(long*)(ADR_SERVERPOINTER+OFS_PLAYERSOLOT) = 2;
}
Code:
if(CH_Ping == 3)
{
if(ADR_SERVERPOINTER != 0)
{
*(long*)(ADR_SERVERPOINTER+OFS_PLAYERSOLOT) = 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;
}
Code:
if(CH_ImDrunk == 1)
*(DWORD*)(ADR_IMDRUNK) = 1;
Code:
f(CH_AntiAfk == 1)
   *(int*)(ADR_ANTIAFK  ) = 1;
Bytes:

Code:
BYTE MINEOFF[] = {0x0F,0x84,0x49,0x06,0x00,0x00};
BYTE NOPS[] = {0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90,0x90};
BYTE NOPS1[] = {0x90,0x90,0x90};
BYTE STWOFF[] = {0x8b, 0x51, 0x34};
BYTE WTWOFF[] = {0xD8, 0x4A, 0x08};
BYTE ONOPK1 [] = {0x89, 0xA1};
BYTE ONOPK2 [] = {0x89, 0xA1};
BYTE ONOPK3 [] = {0x89, 0xA1};
BYTE OPKOFF1[] = {0x89,0x91,0x58,0x02,0x00,0x00};
BYTE OPKOFF2[] = {0x89,0x81,0x5C,0x02,0x00,0x00};
BYTE OPKOFF3[] = {0x89,0x91,0x60,0x02,0x00,0x00};
BYTE VEHCINVON[] = {0xEB,0x4E,0x0C};
BYTE VEHCINVOFF[] = {0x89,0x4E,0x0C};
BYTE CARDMGON[] = {0x85,0x24,0x01,0x00,0x00};
BYTE CARDMGOFF[] = {0x84,0x24,0x01,0x00,0x00};
BYTE SUPERCAROFF[] = {0x75,0x33};
BYTE VECJUMP1OFF[] = {0x74,0x14};
BYTE VECJUMP2OFF[] = {0x0F,0x85,0xCC,0x04,0x00,0x00};
BYTE PRONEOFF[] = {0x74,0x0C};
BYTE SVPOFF [] = {0x8B, 0x54, 0x24, 0x04};
BYTE ESPHEALTHOFF[] = {0x75,0x21};
BYTE ESPNAMEOFF[] = {0x8B,0x81,0x68,0xF6,0xC2,0x00};
BYTE rapidoff[7] = {0x0F,0xBF,0xAE,0x7A,0x01,0x00,0x00};
Thats all im going to release, rest is private, else tere will no more "VIP Hacks", because everyone is then able to make one.

Thanks me if you like it, or if you want more thanks me also!
Also Reply xD
Thanks man, really appreciate it

A few more coders are starting to hang around here lately and new coders that are willing to learn, I would love to rebuild this section and have a great coding community once again. Some mpgh coders are also working on mods and hacks, WarhacK is on the comeback..

/yea
Quote Originally Posted by reaper View Post
Thanks man, really appreciate it

A few more coders are starting to hang around here lately and new coders that are willing to learn, I would love to rebuild this section and have a great coding community once again. Some mpgh coders are also working on mods and hacks, WarhacK is on the comeback..

/yea
it'll be soon
im planning to come back in about 6-12 months, with full publics & vips /me
Yeah, i got inspired by creating hacks and bought a book of C++!
Quote Originally Posted by Pagn View Post
Yeah, i got inspired by creating hacks and bought a book of C++!
goodluck, i hope this codes will help you xD
It inspired me also
Quote Originally Posted by AeroMan View Post
goodluck, i hope this codes will help you xD
It inspired me also
This sources works great, but i need update addies.
Thanks man :P
i have a question - the winchester hack with a damage or not?
Quote Originally Posted by TheCamels8 View Post
Thanks man :P
i have a question - the winchester hack with a damage or not?
No sorry, its patched a while ago
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us