Some basic Source Code hacks For WarRock PH

Posts 1–8 of 8 · Page 1 of 1
Some basic Source Code hacks For WarRock PH
Some basic Source Code hacks For WarRock PH
Enjoy This Source Codes



Superjump

Code:

int x = 1000; //beliebige Höhe
void Superjump()
{
*(float*)(ADR_PLAYERPOINTER + OFFSET_Z) = x;
}No Falldamage

Code:

void NFD()
{
*(int*)ADR_NFD = -25000;
}Speedhack

Code:

void Speedhack()
{
//speed x2
if(GetAsyncKeyState(VK_NUMPAD1)
{
*(float*)ADR_SPEED = (97.0 * 2);
}
/speedhack off
if(GetAsyncKeyState(VK_NUMPAD0)
{
*(float*)ADR_SPEED = 97.0;
}
}

Quick Ladderup by Red_L!n3

Code:

ADR_Ladderquickly 0x00858200

if (LadderQuickly==1)
{
*(double*)(ADR_Ladderquickly) = /*SpeedVal*/300;
}
else
{
*(double*)(ADR_Ladderquickly) = /*OrginalVal*/40;
}

GM Warning by .Crasy

Code:

if(CH_GMW==1) // Was an sein Muss
{
#define COLOR_ADM_WARNING D3DCOLOR_ARGB(255, 0,255, 0)
char *gmname=(char *) (GM_Warning);
if (strlen(gmname)>2) {
char gmwarn[333];
sprintf(gmwarn, "Warning: %s » is in this Room.", GM_Warning);
}
}

Wallclimb by xflick13

Code:

#define WallClimb_Int 0x8AC784
#define WallClimb_Phi 0x816FAC

-> international : flt_8AC784 dd 5.0e1
-> Philippines : flt_816FAC dd 5.0e1

NoMenu just convert to menu if you have a base for it!

void WallClimb()
{
if(GetAsyncKeyState(VK_NUMPAD1)&1)
{
*(float*)(WallClimb_Int) = 999;
}
if(GetAsyncKeyState(VK_NUMPAD2)&1)
{
*(float*)(WallClimb_Int) = 5.0e1;
}}

GM Warning by Cαlιgσ

Code:

void gmwarning()
{
char *gmname=(char*)(ADR_ADMIN_WARNING);
if (strlen(gmname)>2)
{
ExitProcess(0);
}
}

Deadspinner by AeroMan

Code:

if ( Deadspinner )
{
*(float*)(MEM_DEADSPINNER) = 400.0f;
}else{
*(float*)(MEM_DEADSPINNER) = 2.0e-2;
}

Fog Color by .Crasy

Code:

if(FogColor==1) pDevice->SetRenderState(D3DRS_FOGCOLOR,XCOL);
if(FogColor==2) pDevice->SetRenderState(D3DRS_FOGCOLOR,WHITE);
if(FogColor==3) pDevice->SetRenderState(D3DRS_FOGCOLOR,RED);
if(FogColor==4) pDevice->SetRenderState(D3DRS_FOGCOLOR,ORANGE);
if(FogColor==5) pDevice->SetRenderState(D3DRS_FOGCOLOR,BLACK);
if(FogColor==6) pDevice->SetRenderState(D3DRS_FOGCOLOR,YELLOW);
if(FogColor==7) pDevice->SetRenderState(D3DRS_FOGCOLOR,GREEN);Anwendungsbe ispiel:

#define FARBE D3DCOLOR_ARGB(255,255,255,255)
#define FARBE2 D3DCOLOR_ARGB(255,100,60,60)
if(Funktion==1)pDevice->SetRenderState(D3DRS_FOGCOLOR,FARBE)
if(Funktion==2)pDevice->SetRenderState(D3DRS_FOGCOLOR, FARBE2)

Asus Wallhack by .Crasy

Code:

#define Stride1 36
#define Stride2 32

if(WallHack==1)
{
if(m_Stride == Stride1 && Stride2 )
{
pDevice->SetRenderState( D3DRS_SRCBLEND, 3 );
pDevice->SetRenderState( D3DRS_DESTBLEND, 4 );
pDevice->SetRenderState( D3DRS_ALPHABLENDENABLE, true );
pDevice->SetRenderState( D3DRS_ZENABLE,false);
}
}

Nofog by .Crasy

Code:

if(NoFog==1)
{
pDevice->SetRenderState(D3DRS_FOGENABLE,false);
}

Level hack(Visual) by CyberPasci™ & CyberRazzer

Code:

void Level()
#define OFS_LEVEL *Level Addy*


{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr + OFS_LEVEL)=37.500.000;//irgendwas bei 99/100
}
}

Virtual Jump(ON/OFF) by HackTec

Code:

void VirtualJumpon()
{
if(GetAsyncKeyState(VK_UP) &1)
{
posiX = *(float*)(dwPlayerPtr + OFS_X);
posiY = *(float*)(dwPlayerPtr + OFS_Y);
posiZ = *(float*)(dwPlayerPtr + OFS_Z);
*(float*)(ADR_VIRTUALJUMP) = 1000;
}
}

void VirtualJumpoff()
{
if(GetAsyncKeyState(VK_DOWN) &1)
{
*(float*)(dwPlayerPtr + OFS_X) = posiX;
*(float*)(dwPlayerPtr + OFS_Y) = posiY;
*(float*)(dwPlayerPtr + OFS_Z) = posiZ;
*(float*)(ADR_VIRTUALJUMP) = 43;
}
}

Glasswalls by Nice~Man

Code:

void Glasswalls ()
{
*(int*)ADR_GLASSWALLS = 4;
}

Glasswalls D3D by .Crasy


Code:

#define Stride5 40

if(GlassWall)
{
if(m_Stride==Stride5)
{
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
}
}

Wallhack mit Khali Bug by CyberRazzer

Code:
Code:

if(CH_WallHack==1)
{
if(m_Stride == 36 && 32)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
}
}

SuperExplosion by AeroMan

Code:

if( SuperExplosion == 1 )
{
*(float*)(ADR_SuperExplosion) = 400.0f;
}else{
*(float*)(ADR_SuperExplosion) = 3.7e-1;
}

Memory Boneshot by CyberRazzer, IDK, Trademark

Code:
Code:

if( BoneShot )
{
if(IsPlayerShooting())
{
*(double*)(MEM_BONESHOT) = 1235;
}
else
{
*(double*)(MEM_BONESHOT) = 1.237e3;
}
}

Platin Prem by xxfabbelxx

Code:

void Platin()
{
*(int*)(Server+OFS_PREMIUM) = 4;
}

Menü Prem by .Crasy

Code:

if(premium==1) // Bronze
*(int*)(Server+OFS_PREMIUM) = 1;

if(premium==2) // Silber
*(int*)(Server+OFS_PREMIUM) = 2;

if(premium==3) // Gold
*(int*)(Server+OFS_PREMIUM) = 3;

if(premium==4) // Platin
*(int*)(Server+OFS_PREMIUM) = 4;

Scalare Jump(Smooth) by .Crasy

Code:

{
if(GetAsyncKeyState(VK_CONTROL) &0x8000)
{
*(float*)(Player Addy +Z Addy) = *(float*)(Player Addy +Z Addy) +70;
}
}

Zombie Freeze by CyberPasci™

Code:

void speedon0 ()
{
if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF)
{
*(float*)(ADR_SPEED) = 0.0f;
}

}

void speedon1 ()
{
if(GetAsyncKeyState(VK_NUMPAD1) &1<< 0xF)
{
*(float*)(ADR_SPEED) = 97.0f;
}
}

NoSpawnWait by _-Jimmy-_

Code:

void Spawn()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOSPAWNWAIT1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT1, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT1, sizeof(t), Protection, 0);

VirtualProtect((void*)ADR_NOSPAWNWAIT2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT2, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT2, sizeof(t), Protection, 0);

VirtualProtect((void*)ADR_NOSPAWNWAIT3, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOSPAWNWAIT3, &t , sizeof(t));
VirtualProtect((void*)ADR_NOSPAWNWAIT3, sizeof(t), Protection, 0);
}

NoFog(no Menue) by _-Jimmy-_

Code:

void nofog()
{
*(float*)ADR_FARFOG = 116612500;
*(float*)ADR_NEARFOG = 0;
}

Exit Warrock by _-Jimmy-_

Code:
Code:

void exit()
{
if(GetAsyncKeyState(VK_DELETE) &1<< 0xF)
{
ExitProcess(0);
}
}

CrossHair by CyberRazzer

Code:

if (CH_cross==1)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 10, y, x + 10, y + 1};
D3DRECT rec2 = { x, y - 10, x + 1, y + 10};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, D3DCOLOR_ARGB(255, 255, 0, 0), 0, 0); //Red
}

Fullbright by CyberRazzer

Code:

if (CH_FullBright==1)
{
pDevice->SetRenderState(D3DRS_LIGHTING, false);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255,255,255));
}

NoFog by CyberRazzer

Code:

if(CH_NoFog==1)
{
pDevice->SetRenderState(D3DRS_FOGENABLE,false);
}

Wallhack by CyberRazzer

Code:

if(CH_WallHack==1)
{
if(m_Stride == 36)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
}
}

Wireframe by CyberRazzer

Code:

if(CH_WireFrame==1)
{
if(m_Stride == 36)
{
pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);
}
}

PointFrame by CyberRazzer

Code:

if(CH_PointMode==1)
{
if(m_Stride == 36)
{
pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_POINT);
}
}

Glasswalls by CyberRazzer

Code:

if(CH_GlassWalls==1)
{
if(m_Stride == 40)
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
}
}

Chams(ohne Khali Bug) by CyberRazzer

Code:

pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetTexture(0,Red);
pDrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
pDevice->SetRenderState(D3DRS_ZENABLE,true);
pDevice->SetTexture(0, Green);
Chams(mit Khali Bug) by CyberRazzer

pDevice->SetRenderState(D3DRS_AMBIENT,YELLOW);
pDevice->SetRenderState(D3DRS_ZENABLE,false);

Wall Color by CyberRazzer

Code:

if(WallColor==1)
{
if(m_Stride == 40)
{
pDevice->SetRenderState(D3DRS_ZENABLE,true);
pDevice->SetTexture( 0, Red);
}
}

Nobounds by Eragon5555

Code:

void nobounds ()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOBOUNDS1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOBOUNDS1, &t , sizeof(t));
VirtualProtect((void*)ADR_NOBOUNDS1, sizeof(t), Protection, 0);

VirtualProtect((void*)ADR_NOBOUNDS2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOBOUNDS2, &t , sizeof(t));
VirtualProtect((void*)ADR_NOBOUNDS2, sizeof(t), Protection, 0);
}

Scope Hack(menü) by *fabirulez*

Code:

if(CH_SCOPE==1)
{
*(int*)(ADR_SCOPE) = (int)1;
}
else
{
*(int*)(ADR_SCOPE) = (int)0;
}
}

I'm Drunk by BlackLegend

Code:
Code:

if(CH_DRUNK == 1)
{
*(DWORD*)ADR_IMDRUNK = 1;
}
if(CH_DRUNK == 0)
{
*(DWORD*)ADR_IMDRUNK = 0;
}
@Credits
Mayion
Jhem
DaneCoder
Please give credits. These codes came from another forum. Which I will not mention as I will receive infractions if I do.
sorry im just sharing
We don't need useless thread here.
And give some credits. @Mayion
can someone tell me where i can get warrock hacks please !
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