Skocz do zawartości

Dołącz do społeczności!

👋 Witaj na MPCForum!

Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

  • ✅ Pełny dostęp do działów i ukrytych treści
  • ✅ Możliwość pisania i odpowiadania w tematach
  • ✅ System prywatnych wiadomości
  • ✅ Zbieranie reputacji i rozwijanie swojego profilu
  • ✅ Członkostwo w jednej z największych społeczności graczy

👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

Zarejestruj się teraz

[Source Code] Do Cheatów D3D

Rekomendowane odpowiedzi

Opublikowano

Przedstawiam Wam Source do hacków D3D:

 

Zakaz wrzucania na inne Forum!!!

 

D3D:

 

 

All bright:

 

if (CH_All_Bright==1)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,0,0));
}
if (CH_All_Bright==2)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,0,0,255));
}
if (CH_All_Bright==3)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,0,255,0));
}
if (CH_All_Bright==4)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,255,0));
}
if (CH_All_Bright==5)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,0,255,255));
}
if (CH_All_Bright==6)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,125,0));
}
if (CH_All_Bright==7)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,128,128,128));
}
if (CH_All_Bright==8)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,255,50,250));
}
if (CH_All_Bright==9)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255,255,255));
}
if (CH_All_Bright==10)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255,125,0,255));
}
if (CH_All_Bright==11)
{
pDevice->SetRenderState(D3DRS_LIGHTING, true);
pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(150,0,0,0));
}

 

lub

 

if(BrightColor)
{
if(m_Stride == 36||m_Stride == 32)
{
{
if(BrightColor==1)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 000, 000));//Red
if(BrightColor==2)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 000, 255));//blue
if(BrightColor==3)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 255, 000));//green
if(BrightColor==4)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 000));//yellow
if(BrightColor==5)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 125, 000));//orange
if(BrightColor==6)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 125, 000, 255));//purple
if(BrightColor==7)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 255));//white
if(BrightColor==8)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(150, 000, 000, 000));//black
}							  
}
}

 

Crosshair:

 

if (Crosshair==1)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 6, y, x + 6, y + 1};
D3DRECT rec2 = { x, y - 6, x + 1, y + 6};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, RED, 0, 0);
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, RED, 0, 0);
}
if (Crosshair==2)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 6, y, x + 6, y + 1};
D3DRECT rec2 = { x, y - 6, x + 1, y + 6};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, BLUE, 0, 0);
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, BLUE, 0, 0);
}
if (Crosshair==3)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 6, y, x + 6, y + 1};
D3DRECT rec2 = { x, y - 6, x + 1, y + 6};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, GREEN, 0, 0);
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, GREEN, 0, 0);
}
if (Crosshair==4)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 6, y, x + 6, y + 1};
D3DRECT rec2 = { x, y - 6, x + 1, y + 6};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, YELLOW, 0, 0);
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, YELLOW, 0, 0);
}
if (Crosshair==5)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 6, y, x + 6, y + 1};
D3DRECT rec2 = { x, y - 6, x + 1, y + 6};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, BLACK, 0, 0);
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, BLACK, 0, 0);
}
if (Crosshair==6)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 6, y, x + 6, y + 1};
D3DRECT rec2 = { x, y - 6, x + 1, y + 6};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, PURPLE, 0, 0);
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, PURPLE, 0, 0);
}
if (Crosshair==7)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 6, y, x + 6, y + 1};
D3DRECT rec2 = { x, y - 6, x + 1, y + 6};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, ORANGE, 0, 0);
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, ORANGE, 0, 0);
}
if (Crosshair==8)
{
int x = ( GetSystemMetrics( 0 ) / 2);
int y = ( GetSystemMetrics( 1 ) / 2);
D3DRECT rec = { x - 6, y, x + 6, y + 1};
D3DRECT rec2 = { x, y - 6, x + 1, y + 6};
pDevice->Clear(1, &rec, D3DCLEAR_TARGET, WHITE, 0, 0);
pDevice->Clear(1, &rec2, D3DCLEAR_TARGET, WHITE, 0, 0);
}

 

lub

 

int x = GetSystemMetrics(SM_CXSCREEN)/2+1;
int y = GetSystemMetrics(SM_CYSCREEN)/2+1;
if (CROSSH)
{
int x = GetSystemMetrics(SM_CXSCREEN)/2+1;
int y = GetSystemMetrics(SM_CYSCREEN)/2+1;
D3DRECT rec1 = { x - 10, y - 0.5, x + 10, y + 0.5};
D3DRECT rec2 = { x - 0.5, y - 10, x + 0.5, y + 10};
{
if(CROSSH==1)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,RED, 0, 0);//red
if(CROSSH==1)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,RED, 0, 0);//red
if(CROSSH==2)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,BLUE, 0, 0);//blue
if(CROSSH==2)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,BLUE, 0, 0);//blue
if(CROSSH==3)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,GREEN, 0, 0);//green
if(CROSSH==3)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,GREEN, 0, 0);//green
if(CROSSH==4)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,YELLOW, 0, 0);//yellow
if(CROSSH==4)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,YELLOW, 0, 0);//yellow
if(CROSSH==5)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,ORANGE, 0, 0);//orange
if(CROSSH==5)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,ORANGE, 0, 0);//orange
if(CROSSH==6)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,PURPLE, 0, 0);//purple
if(CROSSH==6)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,PURPLE, 0, 0);//purple
if(CROSSH==7)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,WHITE, 0, 0);//white
if(CROSSH==7)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,WHITE, 0, 0);//white
if(CROSSH==8)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,BLACK, 0, 0);//black
if(CROSSH==8)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,BLACK, 0, 0);//black
}
}

 

AlwaysCross:

 

 

if(CH_AlwaysCross== 1)
{
*(BYTE*)ADR_CrossHair_Mem = 0x14;
}

 

 

Chams (potrzebny HookDip):

 

if(Stride==36 && chams)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
if(chams1==1)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,0,0));//red
if(chams1==2)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,0,255));//blue
if(chams1==3)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,255,0));//grren
if(chams1==4)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,255,0));//yellow
if(chams1==5)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,255,255));//cyan
if(chams1==6)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,255,255));//white
pDrawIndexedPrimitive(pDevice,pType D3DparamvalX,nMinIndex,nNumVertices,nStartIndex,nPrimitiveCount);
pDevice->SetRenderState(D3DRS_ZENABLE,true);
if(chamsm==1)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,0,0));
if(chamsm==2)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,0,255));
if(chamsm==3)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,255,0));
if(chamsm==4)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,255,0));
if(chamsm==5)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,0,255,255));
if(chamsm==6)pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,255,255));//white
}

 

Nade Chams (potrzebny HookDip):

 

if(Nadechams == 1)
{
if(Stride == 44)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetRenderState(D3DRS_LIGHTING,true);
pDevice->SetRenderState(D3DRS_FOGENABLE,true);
pDevice->SetRenderState(D3DRS_SHADEMODE,D3DSHADE_FLAT);
pDevice->SetRenderState(D3DRS_AMBIENT,RED);
}
}

 if(Nadechams == 2)
{
if(Stride == 44)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetRenderState(D3DRS_LIGHTING,true);
pDevice->SetRenderState(D3DRS_FOGENABLE,true);
pDevice->SetRenderState(D3DRS_SHADEMODE,D3DSHADE_FLAT);
pDevice->SetRenderState(D3DRS_AMBIENT,BLUE);
}
}


  if(Nadechams == 3)
{
if(Stride == 44)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetRenderState(D3DRS_LIGHTING,true);
pDevice->SetRenderState(D3DRS_FOGENABLE,true);
pDevice->SetRenderState(D3DRS_SHADEMODE,D3DSHADE_FLAT);
pDevice->SetRenderState(D3DRS_AMBIENT,GREEN);
}
}


if(Nadechams == 4)
{
if(Stride == 44)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetRenderState(D3DRS_LIGHTING,true);
pDevice->SetRenderState(D3DRS_FOGENABLE,true);
pDevice->SetRenderState(D3DRS_SHADEMODE,D3DSHADE_FLAT);
pDevice->SetRenderState(D3DRS_AMBIENT,YELLOW);
}
}


if(Nadechams == 5)
{
if(Stride == 44)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetRenderState(D3DRS_LIGHTING,true);
pDevice->SetRenderState(D3DRS_FOGENABLE,true);
pDevice->SetRenderState(D3DRS_SHADEMODE,D3DSHADE_FLAT);
pDevice->SetRenderState(D3DRS_AMBIENT,CYAN);
}
}


if(Nadechams == 6)
{
if(Stride == 44)
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
pDevice->SetRenderState(D3DRS_LIGHTING,true);
pDevice->SetRenderState(D3DRS_FOGENABLE,true);
pDevice->SetRenderState(D3DRS_SHADEMODE,D3DSHADE_FLAT);
pDevice->SetRenderState(D3DRS_AMBIENT,WHITE);
}
}

 

lub

 

if(chamsn)
{
if(m_Stride == 44 )
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
if(chamsn==1)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 000, 000));//Red
if(chamsn==2)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 000, 255));//blue
if(chamsn==3)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 255, 000));//green
if(chamsn==4)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 000));//yellow
if(chamsn==5)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 125, 000));//orange
if(chamsn==6)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 125, 000, 255));//purple
if(chamsn==7)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 255));//white
if(chamsn==8)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(150, 000, 000, 000));//black
}
}

 

FullBright (potrzebny HookDip):

 

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

 

WallColor (potrzebny HookDip):

 

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

 

lub

 

if(WallColor==1)
{
if(m_Stride == 40)
{
if(WallColor==1)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 000, 000));//Red
if(WallColor==2)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 000, 255));//blue
if(WallColor==3)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 255, 000));//green
if(WallColor==4)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 000));//yellow
if(WallColor==5)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 125, 000));//orange
if(WallColor==6)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 125, 000, 255));//purple
if(WallColor==7)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 255));//white
if(WallColor==8)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(150, 000, 000, 000));//black
}
}

 

GlassWalls (potrzebny HookDip):

 

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

lub

 

#define Stride5 40

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

 

PointMode:

 

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

 

WireFrame:

 

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

 

WallHack:

 

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

 

NoFog (potrzebny HookDip):

 

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

 

AsusWallHack (potrzebny HookDip):

 

#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);
 }
}

 

M14 i Flash Color:

 

if (flashcolor)
{
		if(NumVertices == 103)
		{
						if(flashcolor)pDevice->SetRenderState(D3DRS_ZENABLE,false);
						if(flashcolor)pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
						if(flashcolor==1)pDevice->SetTexture(0, aRed);
						if(flashcolor==2)pDevice->SetTexture(0, aYellow);
						if(flashcolor==3)pDevice->SetTexture(0, aOrange);
						if(flashcolor==4)pDevice->SetTexture(0, aGreen);
						if(flashcolor==5)pDevice->SetTexture(0, aBlue);
						if(flashcolor==6)pDevice->SetTexture(0, aPurple);
						if(flashcolor==7)pDevice->SetTexture(0, aPink);
						if(flashcolor==8)pDevice->SetTexture(0, aBlack);
						if(flashcolor==9)pDevice->SetTexture(0, aGrey);
						if(flashcolor==10)pDevice->SetTexture(0, aCyan);
		}
}

 

if (m14color)
{
		if(NumVertices == 101)
		{
						if(m14color)pDevice->SetRenderState(D3DRS_ZENABLE,false);
						if(m14color)pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
						if(m14color==1)pDevice->SetTexture(0, aRed);
						if(m14color==2)pDevice->SetTexture(0, aYellow);
						if(m14color==3)pDevice->SetTexture(0, aOrange);
						if(m14color==4)pDevice->SetTexture(0, aGreen);
						if(m14color==5)pDevice->SetTexture(0, aBlue);
						if(m14color==6)pDevice->SetTexture(0, aPurple);
						if(m14color==7)pDevice->SetTexture(0, aPink);
						if(m14color==8)pDevice->SetTexture(0, aBlack);
						if(m14color==9)pDevice->SetTexture(0, aGrey);
						if(m14color==10)pDevice->SetTexture(0, aCyan);
		}
}

 

 

 

PlayerHack:

 

 

TelePort:

 

if(Teleport)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
if (GetAsyncKeyState(VK_F5)) //Zapis
{
posiX = *(float*)(dwPlayerPtr + Ofs_X);
posiY = *(float*)(dwPlayerPtr + Ofs_Y);
posiZ = *(float*)(dwPlayerPtr + OFS_Z);
}
if (GetAsyncKeyState(VK_F6)) //Teleport
{
*(float*)(dwPlayerPtr + Ofs_X) = posiX;
*(float*)(dwPlayerPtr + Ofs_Y) = posiY;
*(float*)(dwPlayerPtr + OFS_Z) = posiZ;
}
}
}

ZombieFreeze:

 

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

}

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

}

 

SuperMan:

 

#define VK_W 0x57
#define VK_S 0x53

double stgr = 0;
if (GetAsyncKeyState(VK_W)) stgr = -1200 * (double)(*(float*)0x09ecaf4);
if (GetAsyncKeyState(VK_S)) stgr = 1200 * (double)(*(float*)0x09ecaf4);
*(double*)0x84B320 = stgr;

 

NoFallDamage:

 

if(CH_NFD_Player)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr + OFS_NFD) = -9900;
}
}

 

SelfKill (Suicide):

 

if(CH_NFD_Player)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr + OFS_NFD) = 9900;
}
}

 

Glitcher:

 

if(glitch == 1)
{
if( GetAsyncKeyState('D')&1 )
{
*(float*)(Playerx+OFS_X) = (*(float*)(Playerx+OFS_X) +10);
}

if( GetAsyncKeyState('A')&1 )
{
*(float*)(Playerx+OFS_X) = (*(float*)(Playerx+OFS_X) -10);
}


if( GetAsyncKeyState('W')&1 )
{
*(float*)(Playerx+OFS_Y) = (*(float*)(Playerx+OFS_Y) +10);
}

if( GetAsyncKeyState('S')&1 )
{
*(float*)(Playerx+OFS_Y) = (*(float*)(Playerx+OFS_Y) -10);
}

SmothJump:

 

if(scalarejump == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
if(GetAsyncKeyState(VK_CONTROL) &0x8000)
{
*(float*)(dwPlayerPtr +OFS_Z) = *(float*)(dwPlayerPtr +OFS_Z) +70;
}
}

 

SuperJump:

 

if (SuperJump==1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
if(GetAsyncKeyState(VK_CONTROL)&1)
{
*(float*)(dwPlayerPtr+OFS_Z) = 500;
}
}
if (SuperJump==2)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
if(GetAsyncKeyState(VK_CONTROL)&1)
{
*(float*)(dwPlayerPtr+OFS_Z) = 1000;
}
}
if (SuperJump==3)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
if(GetAsyncKeyState(VK_CONTROL)&1)
{
*(float*)(dwPlayerPtr+OFS_Z) = 1500;
}
}
if (SuperJump==4)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
if(GetAsyncKeyState(VK_CONTROL)&1)
{
*(float*)(dwPlayerPtr+OFS_Z) = 2000;
}
}

CQCProne (umnie laguje):

 

if(CH_Prone == 0)
{
*(int*)ADR_ProneCqc = 0;
}
if (CH_Prone==1)
{
*(int*)ADR_ProneCqc = 0;
}

 

PlantAnyWhere:

 

if (PlantAnyWhere==1)
{
*(BYTE*)PLANTANYWHERE_MEM = 0x1;
}

 

lub

 

if(Plant == 1)
			{
					*(BYTE*) PlantAnyWhere = 100.0f;
			}
			if(Plant == 0)
			{
					*(BYTE*) PlantAnyWhere = 5.0f;
			}

 

DefuseAnyWhere:

 

if(DefuseAnyWhere==1)
{
*(BYTE*)ADR_DEFUSEANYWHERE =0x1;
}

 

TiggerBot:

 

bool triggerstop=true;
void TriggerBot(){
DWORD ActivePL = *(DWORD*)ADR_TRIGGERBOT;
if( ActivePL == 0x2){
mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
triggerstop=true;
}else{
if (triggerstop){
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );
triggerstop=false;}
if (GetAsyncKeyState(VK_LBUTTON)&0x8000){
if (triggerstop){
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );
triggerstop=false;}
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 );
}else{
if (triggerstop){
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );
triggerstop=false;}
mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );}}
}

lub

 

void Trigger()
{
POINT curs;
GetCursorPos(&curs);
CPlayer* pPlayer = pBase->player[i];
if(!pPlayer && ADR_PLAYERPOINTER != 0)
{
D3DXVECTOR3 g_pPlayer(pPlayer->pos1, pPlayer->pos2, pPlayer->pos3),g_vView;?
if(GetScreenCoordFromWorld(pDevice, g_vView, g_pPlayer) )
{
if(curs.x == g_vView.x && curs.y == g_vView.y)
{
mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
}
else
{
mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
}
}
}
}void Trigger()
{
POINT curs;
GetCursorPos(&curs);
CPlayer* pPlayer = pBase->player[i];
if(!pPlayer && ADR_PLAYERPOINTER != 0)
{
D3DXVECTOR3 g_pPlayer(pPlayer->pos1, pPlayer->pos2, pPlayer->pos3),g_vView;?
if(GetScreenCoordFromWorld(pDevice, g_vView, g_pPlayer) )
{
if(curs.x == g_vView.x && curs.y == g_vView.y)
{
mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
}
else
{
mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
}
}
}
}

SkyWalk:

 

if (CH_SkyWalk)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 500;
*(float*)(dwPlayerPtr+OFS_Z) = 1000;
*(float*)(dwPlayerPtr+OFS_Z) = 1500;
*(float*)(dwPlayerPtr+OFS_Z) = 2000;
*(float*)(dwPlayerPtr+OFS_Z) = 2500;
*(float*)(dwPlayerPtr+OFS_Z) = 3000;
}
}

lub

 

if (CH_SkyWalk==0)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
if (CH_SkyWalk==1)   *(float*)(dwPlayerPtr+OFS_Z) = 500;
if (CH_SkyWalk==2)   *(float*)(dwPlayerPtr+OFS_Z) = 1000;
if (CH_SkyWalk==3) *(float*)(dwPlayerPtr+OFS_Z) = 1500;
if (CH_SkyWalk==4)  *(float*)(dwPlayerPtr+OFS_Z) = 2000;
if (CH_SkyWalk==5)   *(float*)(dwPlayerPtr+OFS_Z) = 2500;
if (CH_SkyWalk==6)   *(float*)(dwPlayerPtr+OFS_Z) = 3000;
}
}

FullBright (na adresy):

 

if (CH_FULLBRIGHT==1)
{
*(int*)(ADR_FULLBRIGHT1) = 1092779973;
*(int*)(ADR_FULLBRIGHT2) = 1092779973;
*(int*)(ADR_FULLBRIGHT3) = 1092779973;
}
if (CH_FULLBRIGHT==0)
{
*(int*)(ADR_FULLBRIGHT1) = 1048378624;
*(int*)(ADR_FULLBRIGHT2) = 1044694208;
*(int*)(ADR_FULLBRIGHT3) = 1041799360;
}

 

BlackBright:

 

if(CH_BLACK_Bright==1)

{
*(int*)(Full_Bright_1) = 2343444;
*(int*)(Full_Bright_2) = 2343444;
*(int*)(Full_Bright_3) = 2343444;
}

 

Dig:

 

if (CH_DIG==1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
if(GetAsyncKeyState(VK_MENU)&1)
{
*(float*)(dwPlayerPtr+OFS_Z) = -500;
}
}
if (CH_DIG==2)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
if(GetAsyncKeyState(VK_MENU)&1)
{
*(float*)(dwPlayerPtr+OFS_Z) = -1000;
}
}
if (CH_DIG==3)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
if(GetAsyncKeyState(VK_MENU)&1)
{
*(float*)(dwPlayerPtr+OFS_Z) = -1500;
}
}
if (CH_DIG==4)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
if(GetAsyncKeyState(VK_MENU)&1)
{
*(float*)(dwPlayerPtr+OFS_Z) = -2000;
}
}

NoSpawnWait:

 

if (CH_Quick_Spawn==1)
{
*(int*)(No_Spawn_1) = 0;
*(int*)(No_Spawn_2) = 0;
*(int*)(No_Spawn_3) = 0;
}

 

SpeedHack:

 

if(CH_speed==1)
{

*(double*)(Speed) = 100.0f;
}

if(CH_speed==2)
{

*(double*)(Speed) = 200.0f;
}


if (CH_speed==3)
{

*(double*)(Speed) = 300.0f;

}

if (CH_speed==4)
{

*(double*)(Speed) = 400.0f;

}
if (CH_speed==5)
{

*(double*)(Speed) = 500.0f;

}

if(CH_speed==6)
{

*(double*)(Speed) = 600.0f;
}

if(CH_speed==7)
{

*(double*)(Speed) = 700.0f;
}


if (CH_speed==8)
{

*(double*)(Speed) = 800.0f;

}

if (CH_speed==9)
{

*(double*)(Speed) = 900.0f;

}
if (CH_speed==10)
{

*(double*)(Speed) = 1000.0f;

}
if (CH_speed==11)
{

*(double*)(Speed) = 10000.0f;

}

 

FullStamina:

 

if (CH_Stamina==1)
{
 DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
 if (dwPlayerPtr != 0)
 {
*(float*)ADR_STAMINA1 = 1000;  
*(float*)ADR_STAMINA2 = 1000;
*(float*)ADR_STAMINA3 = 0;
*(float*)ADR_STAMINA4 = 0;
*(float*)ADR_STAMINA5 = 0;
 }
}

NullGravity:

 

if (CH_NULL_GRAVITY==1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
  *(float*)(dwPlayerPtr+ OFS_GRAVITY_Z) = 1000;   ////Tutaj wskazujemy wysokosc
}
}

WTW (na Cadoro):

 

if (CH_WTWM==1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
if(GetAsyncKeyState(VK_CONTROL)&1)
{
*(float*)(dwPlayerPtr+OffSet_Z) = 110;
}
}

 

WTW:

 

if (CH_WTW)
{
*(float*)(Mem_WTW) = -999;
}
else
{
*(float*)(Mem_WTW) = 6;  
}

 

UserFinder:

 

DWORD MrChurch = *(DWORD*)WHA_ServerPointer;

int WHC_UserFind=0;


char UserID[100],UserIP[100];



if(WHC_UserFind==1)
{
int IValuve = (WHC_UserFind-1);
if(MrChurch != 0)
{
DWORD wFunc_A = (WHA_D3D_UserName + (WHO_PlayerSize * IValuve));
DWORD wFunc_B = (WHA_D3D_UserIP + (WHO_PlayerSize * IValuve));
sprintf(UserID," %s",(void*)wFunc_A);
sprintf(UserIP," %s",(void*)wFunc_ ;
}else{
sprintf(UserID, " Enter Room");
sprintf(UserIP, " Enter Room");
}
}

VirtualJump:

 

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

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

 

STW:

 

if (CH_STW)
{
*(float*)(MEM_STW) = 999;
}
else
{
*(float*)(MEM_STW) = 0;
}

 

 

OPK i TelleKill (potrzebna dobra struktura):

 

 

TelleKill:

 

if(telekill)
{
if(GetAsyncKeyState(VK_F5))
{
 DWORD dwPlayerPointer = *(DWORD*)(PTR_PLAYERPOINTER);
 if(dwPlayerPointer != 0)
 {
  for(int i = 0; i < 32; i++)
  {
CPlayer* pPlayerA = g_pBase->player[i];  
CPlayerInfo *pLocalInfoA = (CPlayerInfo*)((DWORD)(ADR_BASEPOINTER) + (g_pBase->local->index * OFS_STRUCT_SIZE));
CPlayerInfo *pInfoA = (CPlayerInfo*) ((DWORD)(ADR_BASEPOINTER ) + (i*OFS_STRUCT_SIZE));

if(pPlayerA && pInfoA)
{
if(pInfoA->team != pLocalInfoA->team && pInfoA->health > 0)
{
g_pBase->local->pos1 = pPlayerA->pos1;
g_pBase->local->pos2 = pPlayerA->pos2;
g_pBase->local->pos3 = pPlayerA->pos3;
}
}
  }
 }
}
}

OPK Zombie:

 

if(CH_ZoombieOPK==1)
 {

  for(int i = 4;  i < 32; i++)
  {
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
CPlayer* pPlayerA = g_pBase->player[i];
*(float*)(dwPlayerPtr + OFS_X) = 50050;
*(float*)(dwPlayerPtr + OFS_Y) = 50050;
*(float*)(dwPlayerPtr + OFS_Z) = 0;
pPlayerA->x= 50000;//x
pPlayerA->y= 50000;//y
pPlayerA->z= 0;//z

}
  }
}

OPK Player:

 

if (CH_OPK == 1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
DWORD dwServerPointer = *(DWORD*)ADR_SERVERPOINTER;
if (dwPlayerPtr != 0 && dwServerPointer != 0)
for(int i = 0; i < 32; i++)
{
CPlayer* pPlayerA = g_pBase->player[i];
*(float*)(dwPlayerPtr+OFS_Y) = 0;
*(float*)(dwPlayerPtr+OFS_X) = 0;
*(float*)(dwPlayerPtr+OFS_Z) = 0;
pPlayerA->x=0;
pPlayerA->y=0;
pPlayerA->z=0;
}
}

 

lub

 

DWORD randomAdr, myAdr, randomPos, myPos;
float X, Y, Z;
bool isOPK = false;

void OPK(void)
{
while(1){
if(GetModuleHandle("ClientFX.fxd") != NULL){
myAdr = (DWORD)GetModuleHandleA("ClientFX.fxd") + 0x66F34;
randomAdr = 0x377CD640;
memcpy(&myPos,(void *)(myAdr),4);
memcpy(&randomPos,(void *)(randomAdr),4);

if(GetAsyncKeyState(VK_NUMPAD0)&1){
isOPK = !isOPK;
X = *(float*)(myPos + 0xC8);
Y = *(float*)(myPos + 0xCC);
Z = *(float*)(myPos + 0xD0);
}

if( isOPK )
{
*(float*)(randomPos + 0xC8) = X;
*(float*)(randomPos + 0xCC) = Y;
*(float*)(randomPos + 0xD0) = Z;
}
}
}
}

 

lub

 

 

INT CH_PlayerOPK;
VOID cPlayerHacks()
{
if ( CH_PlayerOPK )
{//I dont have the Asm OPK Addys!
		memcpy((VOID*)(ADR_ASM_OPK_1),(PBYTE)"\x90\x90\x90\x90\x90\x90",6);//Asm OPK 1
		memcpy((VOID*)(ADR_ASM_OPK_2),(PBYTE)"\x90\x90\x90\x90\x90\x90",6);//Asm OPK 2
		memcpy((VOID*)(ADR_ASM_OPK_3),(PBYTE)"\x90\x90\x90\x90\x90\x90",6);//Asm OPK 3
}
}

 

SVP Player:

void SvP()
{
if (SVP)
{
 for (int i=0;i<32;i++)
 {
  CBase* pBase = (CBase*)ADR_PlayerPointer;
  CPlayer* pPlayerA = pBase->player[i];
  pPlayerA->pos1=(i*50);
  pPlayerA->pos2=0;
  pPlayerA->pos3=0;
 }
}
}

 

 

 

ServerHack:

 

 

5 Slot:

 

if(CH_5Slot==1)
{
DWORD Serverptr = *(DWORD*)ADR_SERVERPOINTER;
if(Serverptr != 0)
{
*(long*)(Serverptr + OFS_SLOT5 ) = 1;
}
}
if(CH_5Slot==0)
{
DWORD Serverptr = *(DWORD*)ADR_SERVERPOINTER;
if(Serverptr != 0)
{
*(long*)(Serverptr + OFS_SLOT5 ) = 0;
}
}

GmCrash:

 

if (GmWarning == 1)
{
char *gmname=(char*)(OFS_GmWarn);
if (strlen(gmname)>2)
{
ExitProcess(0);
}
}

FastAll:

 

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

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

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

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

 

FastLockOn:

 

if (FastLockOn==1)
{
*(int*)ADR_FastLockOn = 1;
}
if (FastLockOn==0)
{
*(int*)ADR_FastLockOn = 0;
}

GlassWalls (na adres):

 

if (CH_GlassWalls==1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)

*(int*)ADR_GLASSWALLS = 1;
}
if (CH_GlassWalls==0)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)

*(int*)ADR_GLASSWALLS = 0;
}

 

GreenPing (dobry adres trzeba):

 

if (CH_GreenPING==1)
{
DWORD dwServerPointer = *(DWORD*)ADR_SERVERPTR;
if(dwServerPointer != 0)
{
*(long*)(dwServerPointer+0x7DA4D0) = 1;
}
}

 

PanicKey:

 

if (CH_panic==1)
{
if( GetAsyncKeyState( VK_CONTROL))
{
if( GetAsyncKeyState( VK_SPACE))
{
ExitProcess(0);

}
}
}

 

NoBounds:

 

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

 

HawkMode:

 

if (Hawkmode)
{
*(int*)ADR_HAWKMODE = 1073741824;
}

 

HideWeapon(AntiMute):

 

if (HideWeapon)
{
*(float*)(ADR_HIDEWEAPON) = 0;
}
else
{
*(float*)(ADR_HIDEWEAPON) = 1.5e1;
}

 

 

 

WeaponHack:

 

 

NoSpread:

 

if (CH_spread)
{
*(int*)(ADR_SPREAD)=0;
}

 

SuperNoSpread:

 

if(SuperNoSpread == 0) *(double*)ADR_SuperNoSpread = 5;
if(SuperNoSpread == 1) *(double*)ADR_SuperNoSpread = 0;

NoRecoil:

 

if(CH_No_Recoil)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr + OFS_NORECOIL1) = 0;
*(float*)(dwPlayerPtr + OFS_NORECOIL2) = 0;
*(float*)(dwPlayerPtr + OFS_NORECOIL3) = 0;
}
}

 

VisualWeapone:

 

if (CH_VISUAL_GUN==1)

{
DWORD dwPlayerPtr = *(DWORD*)Playerpointer;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+0x00000168) = (49); //w miejsce 49 wpisz id broni 49=CX4STORM //
}
}

 

Scoup:

 

if (CH_Scoup==1)
{
if(GetAsyncKeyState(VK_RBUTTON) &1)
SCOPE = !SCOPE;  
if(SCOPE)
{
*(int*)(ADR_SCOPE) = (int)1;
}
if(!SCOPE)
{
*(int*)(ADR_SCOPE) = (int)5;
}
}

 

WeaponHackVisual:

 

if (weaponh == 1)
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)OFS_WEAPON1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)OFS_WEAPON2, &t , sizeof(t));
VirtualProtect((void*)OFS_WEAPON3, sizeof(t), Protection, 0);
*(long*)(dwPlayerPtr+OFS_WEAPON1) = 1;
{
*(long*)(dwPlayerPtr+OFS_WEAPON2) = 1;
{
*(long*)(dwPlayerPtr+OFS_WEAPON3) = 1;
}}}

if (weaponh == 2)
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)OFS_WEAPON1, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)OFS_WEAPON2, &t , sizeof(t));
VirtualProtect((void*)OFS_WEAPON3, sizeof(t), Protection, 0);
*(long*)(dwPlayerPtr+OFS_WEAPON1) = 2;
{
*(long*)(dwPlayerPtr+OFS_WEAPON2) = 2;
{
*(long*)(dwPlayerPtr+OFS_WEAPON3) = 2;
}}}

 

WeaponGravity:

 

if(WeaponGravity==1)
{
*(float*)(ADR_WEAPONGRAVITY) = 0;
}
else
{
*(float*)(ADR_WEAPONGRAVITY) = 1.5e-3;
}

 

 

PXHack:

 

 

ExtraAmmo:

 

if (CH_Ammo1==1 )
{
*(int*)(Ammo1) = 10;
}

 

Bandage:

 

if (CH_BANDAGE==1 )
{
*(int*)(Ammo1) = 100;
}

 

SuperMaster:

 

 

if (CH_Supermaster==0)
{
DWORD dwSrvrPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwSrvrPtr != 0){
*(int*)(dwSrvrPtr+OFS_SUPERMASTER) = 0;
}
}
if (CH_Supermaster==1)
{
DWORD dwSrvrPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwSrvrPtr != 0){
*(int*)(dwSrvrPtr+OFS_SUPERMASTER) = 1;
}
}

 

Premium:

 

if (CH_PREMIUM==1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
  *(long*)(dwPlayerPtr+OFS_PREMIUM1) = 3;  
}

 

lub

 

if(premium==1) // Bronz
{
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM1) = 1;
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM2) = 1;
}
if(premium==2) // Silver
{
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM1) = 2;
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM2) = 2;
}
if(premium==3) // Gold
{
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM1) = 3;
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM2) = 3;
}
if(premium==4) // Platin
{
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM1) = 4;
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM2) = 4;
}

 

lub

 

void Premium(int p,int m,int h,int d)
{
int minute,hour,day,time;
minute = m*60;
hour = h*3600;
day = d*86400;
time = (minute + hour + day );
DWORD dwSrvrPtr = *(DWORD*)ADR_ServerPointer;
	*(int*)(dwSrvrPtr+OFS_Premium) = p;
*(int*)(dwSrvrPtr+OFS_PremiumTime) = time;
}

 

Dinar:

 

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

 

 

 

ASM (potrzeba Bypass'a):

 

 

AutoMedic:

 

  if(CH_AutoMedic==1)
{
WriteProcessMemory((void *)ADR_AUTOMEDIC,(void*)(PBYTE)"\x90\x90\x90\x90\x90\x90",6);
}
if(CH_AutoMedic==0)
{
WriteMEM((void *)ADR_AUTOMEDIC,(void*)(PBYTE)"\x0F\x85\xA6\x00\x00\x00",6);
}

 

AutoAmmo:

 

if(CH_AutoAmmo==1)
{
WriteMEM((void *)ADR_AUTOAMMO,(void*)(PBYTE)"\x90\x90\x90\x90\x90\x90",6);
}
if(CH_AutoAmmo==0)
{
WriteMEM((void *)ADR_AUTOAMMO,(void*)(PBYTE)"\x0F\x85\xA2\x00\x00\x00",6);
}

 

NoReload:

 

if (Ch_FastReload==1)
  {
MemEditing((void*)ADR_NORELOAD, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
  }
  else
  {
MemEditing((void*)ADR_NORELOAD, (BYTE *)"\x0F\x84\x21\x01\x00\x00",6);
  }

 

SuperMan (z Bypass'em):

 

#define VK_W 0x57
#define VK_S 0x53

double stgr = 0;
if (GetAsyncKeyState(VK_W)) stgr = -1200 * (double)(*(float*)0x09ecaf4);
if (GetAsyncKeyState(VK_S)) stgr = 1200 * (double)(*(float*)0x09ecaf4);
*(double*)0x84B320 = stgr;
*(__int64*)0x4C5977 = 0x45D9909090909090; //ASM

 

Różne:

 

if(AlwaysCross==1)
{
BypassDetour((void*)ADR_AlwaysCrossASM,(BYTE *)"\x90\x90",2);
}
else
{
BypassDetour((void*)ADR_AlwaysCrossASM,(BYTE *)"\x75\x18",2);
}
if(UnlAmmo==1)
{
BypassDetour((void*)ASM_UNLAMMO,(BYTE*)"\xC3",1);
}
if(UnlAmmo==0)
{
BypassDetour((void*)ASM_UNLAMMO,(BYTE*)"\x56",1);
}
if (RadarGPS== 1)
{
BypassDetour((void*)(ASM_RADAR), (PBYTE)"\xEB",1);
}
if (RadarGPS == 0)
{
BypassDetour((void*)(ASM_RADAR), (PBYTE)"\x75\x15",2);
}
if (ProneCqC== 1)
{
BypassDetour((void*)(ASM_CQCProne), (PBYTE)"\x90\x90", 2);
}
if (ProneCqC == 0)
{
BypassDetour((void*)(ASM_CQCProne), (PBYTE)"\x68\x01", 2);
}
if (Escalator == 1)
{
BypassDetour((void*)(ASM_ESCALATOR1),(PBYTE)"\x90\x90\x90",3);
BypassDetour((void*)(ASM_ESCALATOR2),(PBYTE)"\x90\x90\x90",3);
}
if (Escalator == 0)
{
BypassDetour((void*)(ASM_ESCALATOR1),(PBYTE)"\x89\x5D\x08",3);
BypassDetour((void*)(ASM_ESCALATOR2),(PBYTE)"\x89\x45\x08",3);
}
if(Automedic)
{
BypassDetour((void*)ADR_AutoMedic1, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
BypassDetour((void*)ADR_AutoMedic2, (BYTE *)"\x90\xE9",2);
}
else
{
BypassDetour((void*)ADR_AutoMedic1, (BYTE *)"\x75\x15",6);
BypassDetour((void*)ADR_AutoMedic2, (BYTE *)"\x0F\x8A\xAD\x00\x00\x00",6);
}
if (NoReload==1)
{
BypassDetour((void*)ADR_NoReload, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
}
else
{
BypassDetour((void*)ADR_NoReload, (BYTE *)"\x0F\x84\x8E\x01\x00\x00",6);
}
if(MineViewer)
{
BypassDetour((void*)ADR_MineView1, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
BypassDetour((void*)ADR_MineView2, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
}
else
{
BypassDetour((void*)ADR_MineView1, (BYTE *)"\x0F\x85\xD6\x03\x00\x00",6);
BypassDetour((void*)ADR_MineView2, (BYTE *)"\x0F\x85\x95\x00\x00\x00",6);
}
if(AntiM14)
{
BypassDetour((void*)ADR_AntiM14Mine, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
}
else
{
BypassDetour((void*)ADR_AntiM14Mine, (BYTE *)"\xC7\x44\x24\30\x00\x00",6);
}
if(AntiFlash)
{
BypassDetour((void*)ADR_AntiFlash, (BYTE *)"\x90\x90",2);
}
else
{
BypassDetour((void*)ADR_AntiFlash, (BYTE *)"\x85\xC0",2);
}
if(FastMedic)
{
BypassDetour((void*)(0x4C9497), (PBYTE)"\x90\x90\x90\x90\x90\x90", 6);
}
if(FastRepair)
{
BypassDetour((void*)(0x421D31), (PBYTE)"\x90\x90\x90\x90\x90\x90", 6);
}
if(Opk == 1)
{
BypassDetour((void*)ADR_OPK,(PBYTE)"\x8B\x7C\x24\x04", 4);
}
if(Opk == 0)
{
BypassDetour((void*)ADR_OPK,(PBYTE)"\x8B\x7C\x24\x10", 4);
}
if(Svp == 1)
{
BypassDetour((void*)(ADR_OPK+0x18),(PBYTE)"\x83\xC7\x0 4",3);
}
if(Svp == 0)
{
BypassDetour((void*)(ADR_OPK+0x18),(PBYTE)"\x83\xC7\x0 8",3);
}

 

 

 

 

Dodatkowe:

 

 

Otwieranie strony:

 

if(stronka==1)
{
ShellExecute(0, "open","www.forum.egc.MPCForum.plmember.php?action=register", NULL, NULL, SW_SHOWNORMAL);
stronka=0;
}

 

 

Masz jakis kod? Wrzuc go tutaj a dodam go do spisu!

 

 

Przykład jak wrzucać source:

 

Source:

 

Poddział (czyli D3D itd.):

 

Credits:

 

 

Zakaz wrzucania na inne Forum!!!

 

 

********************************************************************************************************************************************

hackerX: Każdy post który nie będzie zawierał kodu źródłowego (source code) będzie warnowany!

********************************************************************************************************************************************

 

W tym temacie zakaz jest zadawania pytań. Można wstawiać jedynie source według wzoru. Temat od pytań jest tutaj:

http://www.mpcforum.pl/topic/438179-problemy-z-cheatem/

 

PS. Na temat mam zgode od hackerX

 

Dodano:

@DefuseAnyWhere by xxBarcAxx

@Dinar by xxBarcAxx

@M14 i Flash Color by xxBarcAxx

@WepaonGravity by Epean

@AlwaysCross by s1wykamil

@OPK ASM by RaVneS

@Auto F itp. by CODER_BEST

@CrossHair by 1234567654321

@Color Bright by 1234567654321

@NadeChams by 1234567654321

@WallColor by 1234567654321

@VisualPremium by 1234567654321

@SVP by AdrenalinaPL

@VisualPremium by AdrenalinaPL

@HawkMode by AdrenalinaPL

@Różne na ASM by AdrenalinaPL

@HideWeapon by Epean

@PlantAnyWhere by b4rt4z

@WTW by GraFixPL

@STW by GraFixPL

@Speed by GraFixPL

 

 

Welcome back

Opublikowano

Według wzoru.. A ty czemu nie napisałeś kto jaki kod napisał? Nie chodzi mi tu o jakieś No Fog lub temu podobne np. Superman kto napisał? Bo raczej nie ty.

 

 

Po za tym all skopiowane z innego forum, a tamto forum skopiowało z mpc ;D

 

Ale oprócz tego jest dobrze. Przyda się nowym.

 

@Edit

Fajne kody ;]

 

@Edit

Nom. Zapomniałem dać kod.

 


 if(WeaponGravity==1)
{
*(float*)(ADR_WEAPONGRAVITY) = 0;
}
else
{
*(float*)(ADR_WEAPONGRAVITY) = 1.5e-3;
}

Me

 

Na tamtym forum twoje? Sam te kody napisałeś? ;|

 

@Edit

Podałem Ci kod, to mógłbyś napisać przy nazwie tak jak CODER_BEST kto napisał, lub podał.

1393461645-U349224.png

Opublikowano

fajnie że znowu zrobiłeś ten temat przyda się

Masz Lubie :D

 

Ale jeszcze jak byś dodał Hook-a to byłbym uradowany :D

 

A przy okazji Kodzik :D


if(CH_AlwaysCross== 1)
{
*(BYTE*)ADR_CrossHair_Mem = 0x14;
}

Opublikowano

OPK na ASM:

 

INT CH_PlayerOPK;
VOID cPlayerHacks()
{
   if ( CH_PlayerOPK )
   {//I dont have the Asm OPK Addys!
    memcpy((VOID*)(ADR_ASM_OPK_1),(PBYTE)"\x90\x90\x90\x90\x90\x90",6);//Asm OPK 1
    memcpy((VOID*)(ADR_ASM_OPK_2),(PBYTE)"\x90\x90\x90\x90\x90\x90",6);//Asm OPK 2
    memcpy((VOID*)(ADR_ASM_OPK_3),(PBYTE)"\x90\x90\x90\x90\x90\x90",6);//Asm OPK 3
   }
}

1393619387-U339575.png

 

 

 

Opublikowano

Więc moja standardowa wiadomość!

Każdy post który nie będzie zawierał kodu źródłowego (source code) będzie warnowany!

 

Bardzo proszę o stosowanie się do mojej wiadomości!

 

PS. Jak możesz to zmniejsz czcionkę ;D

1365881062-U68160.png

Opublikowano

Ktoś ci dał moje całe source code które sobie z kopiowałem... I ja już się dowiem kto.... Wszystko jest tak jak u mnie było... No ale dobra se rób ten temat... Albo skopiowałeś że swojego Forum bo tam też widziałem zerżnięte z mojego wszytko po kolei.....

 

I żeby nie było

 

if (AutoF)
{
		    keybd_event(0x46, 0, 0, 0);
}
if (AutoW)
{
		    keybd_event(0x57, 0, 0, 0);
}
if (AutoA)
{
		    keybd_event(0x41, 0, 0, 0);
}
if (AutoS)
{
		    keybd_event(0x53, 0, 0, 0);
}
if (AutoD)
{
		    keybd_event(0x44, 0, 0, 0);
}
if (AutoEnter)
{
		    keybd_event(0x0D, 0, 0, 0);
}
if (AutoSpace)
{
		    keybd_event(0x20, 0, 0, 0);
}
if (AutoShot)
{
		    keybd_event(0x01, 0, 0, 0);
}
if (AutoF5)
{
		    keybd_event(0x74, 0, 0, 0);
}
if(AutoStart)
{
		    {
						    SetCursorPos(450,90);
						    Sleep(30);
						    mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0);
						    Sleep(30);
						    mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0);
						    Sleep(30);
						    keybd_event(0x11, 0, 0, 0);
						    keybd_event(0x11, 0, 0, 0);
						    keybd_event(0x0D, 0, 0, 0);
		    }
		    Sleep(666);
}

O co chodzi z tym programowaniem? Gdy programujesz, uczysz najprawdopodobniej najgłupszą rzecz na świecie, czyli komputer, jak ma coś zrobić.

Opublikowano

Cross Hair DIP

 

 

 

 

 

Source:

int x = GetSystemMetrics(SM_CXSCREEN)/2+1;
int y = GetSystemMetrics(SM_CYSCREEN)/2+1;

if (CROSSH)
{
int x = GetSystemMetrics(SM_CXSCREEN)/2+1;
int y = GetSystemMetrics(SM_CYSCREEN)/2+1;
D3DRECT rec1 = { x - 10, y - 0.5, x + 10, y + 0.5};
D3DRECT rec2 = { x - 0.5, y - 10, x + 0.5, y + 10};
{
if(CROSSH==1)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,RED, 0, 0);//red
if(CROSSH==1)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,RED, 0, 0);//red
if(CROSSH==2)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,BLUE, 0, 0);//blue
if(CROSSH==2)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,BLUE, 0, 0);//blue
if(CROSSH==3)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,GREEN, 0, 0);//green
if(CROSSH==3)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,GREEN, 0, 0);//green
if(CROSSH==4)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,YELLOW, 0, 0);//yellow
if(CROSSH==4)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,YELLOW, 0, 0);//yellow
if(CROSSH==5)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,ORANGE, 0, 0);//orange
if(CROSSH==5)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,ORANGE, 0, 0);//orange
if(CROSSH==6)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,PURPLE, 0, 0);//purple
if(CROSSH==6)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,PURPLE, 0, 0);//purple
if(CROSSH==7)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,WHITE, 0, 0);//white
if(CROSSH==7)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,WHITE, 0, 0);//white
if(CROSSH==8)pDevice->Clear(1, &rec1, D3DCLEAR_TARGET,BLACK, 0, 0);//black
if(CROSSH==8)pDevice->Clear(1, &rec2, D3DCLEAR_TARGET,BLACK, 0, 0);//black
}
}

 

char:

char *MenuCross[] = {"OFF", "RED", "BLUE", "GREEN", "YELLOW", "ORANGE", "PURPLE", "WHITE", "BLACK"};

 

int:

 

int CROSSH=0;

 

Wklejamy go tam gdzie inne opcje DIP.

 

 

 

 

@edit

 

Color Bright (All Bright) DIP

 

 

 

 

Source:


if(BrightColor)
{
if(m_Stride == 36||m_Stride == 32)
{
{
if(BrightColor==1)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 000, 000));//Red
if(BrightColor==2)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 000, 255));//blue
if(BrightColor==3)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 255, 000));//green
if(BrightColor==4)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 000));//yellow
if(BrightColor==5)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 125, 000));//orange
if(BrightColor==6)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 125, 000, 255));//purple
if(BrightColor==7)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 255));//white
if(BrightColor==8)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(150, 000, 000, 000));//black
}				
}
}

 

char:

char *MenuColor[] = {"OFF", "RED", "BLUE", "GREEN", "YELLOW", "ORANGE", "PURPLE", "WHITE", "BLACK"};

 

int:

 

int BrightColor=0;

 

Wklejamy go tam gdzie inne opcje DIP.

 

 

 

 

@2edit

 

Nade Chams DIP

 

 

 

 

Source:

if(chamsn)
{
if(m_Stride == 44 )
{
pDevice->SetRenderState(D3DRS_ZENABLE,false);
if(chamsn==1)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 000, 000));//Red
if(chamsn==2)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 000, 255));//blue
if(chamsn==3)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 255, 000));//green
if(chamsn==4)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 000));//yellow
if(chamsn==5)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 125, 000));//orange
if(chamsn==6)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 125, 000, 255));//purple
if(chamsn==7)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 255));//white
if(chamsn==8)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(150, 000, 000, 000));//black
}
}

 

char:

char *MenuNade[] = {"OFF", "RED", "BLUE", "GREEN", "YELLOW", "ORANGE", "PURPLE", "WHITE", "BLACK"};

 

int:

int chamsn=0;

 

Wklejamy go tam gdzie inne opcje DIP.

 

 

 

 

@3edit

 

WallColor DIP

 

 

 

 

Source:

if(WallColor==1)
{
if(m_Stride == 40)
{
if(WallColor==1)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 000, 000));//Red
if(WallColor==2)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 000, 255));//blue
if(WallColor==3)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 000, 255, 000));//green
if(WallColor==4)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 000));//yellow
if(WallColor==5)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 125, 000));//orange
if(WallColor==6)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 125, 000, 255));//purple
if(WallColor==7)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(255, 255, 255, 255));//white
if(WallColor==8)pDevice->SetRenderState(D3DRS_AMBIENT,D3DCOLOR_ARGB(150, 000, 000, 000));//black
}
}

 

char:

char *MenuWall[] = {"OFF", "RED", "BLUE", "GREEN", "YELLOW", "ORANGE", "PURPLE", "WHITE", "BLACK"};

 

int:

int WallColor=0;

 

Wklejamy go tam gdzie inne opcje DIP.

 

 

 

 

 

@4edit

 

Visual Premium

 

 

 

 

Source:

if(premium==1) // Bronz
{
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM1) = 1;
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM2) = 1;
}
if(premium==2) // Silver
{
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM1) = 2;
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM2) = 2;
}
if(premium==3) // Gold
{
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM1) = 3;
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM2) = 3;
}
if(premium==4) // Platin
{
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM1) = 4;
*(int*)(ADR_SERVERPOINTER+OFS_PREMIUM2) = 4;
}

 

 

char:

char *Menuprem[] = {"OFF", "Bronz", "Silver", "Gold", "Platinium"};

 

int:

int premium=0;

 

 

 

 

Dopisz by 1234567654321

"Jesteśmy ludźmi, bo popełniamy błędy i na nich się uczymy."

Opublikowano

@CODER_BEST

I żeby nie było to

Credits: AdrenalinaPL

Jest przecież napisane, żeby creditsy podawać ;x

A gdy był jeszcze Twój spis to dodałem te source.

 

@GraFixPL

Popraw te błędy co Ci pisałem na gadu.

 

@top

A tu kilka source code ode mnie

 

void SvP()
{
if (SVP)
{
 for (int i=0;i<32;i++)
 {
  CBase* pBase = (CBase*)ADR_PlayerPointer;
  CPlayer* pPlayerA = pBase->player[i];
  pPlayerA->pos1=(i*50);
  pPlayerA->pos2=0;
  pPlayerA->pos3=0;
 }
}
}

void Premium(int p,int m,int h,int d)
{  
int minute,hour,day,time;
minute = m*60;
hour = h*3600;
day = d*86400;
time = (minute + hour + day );
DWORD dwSrvrPtr = *(DWORD*)ADR_ServerPointer;
*(int*)(dwSrvrPtr+OFS_Premium) = p;
*(int*)(dwSrvrPtr+OFS_PremiumTime) = time;
}

if (Hawkmode)
{
*(int*)ADR_HAWKMODE = 1073741824;
}

 

A tu tylko opcje ASM !

 

if(AlwaysCross==1)
{
BypassDetour((void*)ADR_AlwaysCrossASM,(BYTE *)"\x90\x90",2);
}
else
{
BypassDetour((void*)ADR_AlwaysCrossASM,(BYTE *)"\x75\x18",2);
}

if(UnlAmmo==1)
{
BypassDetour((void*)ASM_UNLAMMO,(BYTE*)"\xC3",1);
}
if(UnlAmmo==0)
{
BypassDetour((void*)ASM_UNLAMMO,(BYTE*)"\x56",1);
}

if (RadarGPS== 1)
{
BypassDetour((void*)(ASM_RADAR), (PBYTE)"\xEB",1);
}
if (RadarGPS == 0)
{
BypassDetour((void*)(ASM_RADAR), (PBYTE)"\x75\x15",2);
}

if (ProneCqC== 1)
{
BypassDetour((void*)(ASM_CQCProne), (PBYTE)"\x90\x90", 2);
}
if (ProneCqC == 0)
{
BypassDetour((void*)(ASM_CQCProne), (PBYTE)"\x68\x01", 2);
}

if (Escalator == 1)
{
BypassDetour((void*)(ASM_ESCALATOR1),(PBYTE)"\x90\x90\x90",3);
BypassDetour((void*)(ASM_ESCALATOR2),(PBYTE)"\x90\x90\x90",3);
}
if (Escalator == 0)
{
BypassDetour((void*)(ASM_ESCALATOR1),(PBYTE)"\x89\x5D\x08",3);
BypassDetour((void*)(ASM_ESCALATOR2),(PBYTE)"\x89\x45\x08",3);
}

if(Automedic)
{
BypassDetour((void*)ADR_AutoMedic1, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
BypassDetour((void*)ADR_AutoMedic2, (BYTE *)"\x90\xE9",2);
}
else
{
BypassDetour((void*)ADR_AutoMedic1, (BYTE *)"\x75\x15",6);
BypassDetour((void*)ADR_AutoMedic2, (BYTE *)"\x0F\x8A\xAD\x00\x00\x00",6);
}

if (NoReload==1)
{
BypassDetour((void*)ADR_NoReload, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
}
else
{
BypassDetour((void*)ADR_NoReload, (BYTE *)"\x0F\x84\x8E\x01\x00\x00",6);
}

if(MineViewer)
{
BypassDetour((void*)ADR_MineView1, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
BypassDetour((void*)ADR_MineView2, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
}
else
{
BypassDetour((void*)ADR_MineView1, (BYTE *)"\x0F\x85\xD6\x03\x00\x00",6);
BypassDetour((void*)ADR_MineView2, (BYTE *)"\x0F\x85\x95\x00\x00\x00",6);
}

if(AntiM14)
{
BypassDetour((void*)ADR_AntiM14Mine, (BYTE *)"\x90\x90\x90\x90\x90\x90",6);
}
else
{
BypassDetour((void*)ADR_AntiM14Mine, (BYTE *)"\xC7\x44\x24\30\x00\x00",6);
}

if(AntiFlash)
{
BypassDetour((void*)ADR_AntiFlash, (BYTE *)"\x90\x90",2);
}
else
{
BypassDetour((void*)ADR_AntiFlash, (BYTE *)"\x85\xC0",2);
}

if(FastMedic)
{
BypassDetour((void*)(0x4C9497), (PBYTE)"\x90\x90\x90\x90\x90\x90", 6);
}

if(FastRepair)
{
BypassDetour((void*)(0x421D31), (PBYTE)"\x90\x90\x90\x90\x90\x90", 6);
}

if(Opk == 1)
{
BypassDetour((void*)ADR_OPK,(PBYTE)"\x8B\x7C\x24\x04", 4);
}
if(Opk == 0)
{
BypassDetour((void*)ADR_OPK,(PBYTE)"\x8B\x7C\x24\x10", 4);
}

if(Svp == 1)
{
BypassDetour((void*)(ADR_OPK+0x18),(PBYTE)"\x83\xC7\x0 4",3);
}
if(Svp == 0)
{
BypassDetour((void*)(ADR_OPK+0x18),(PBYTE)"\x83\xC7\x0 8",3);
}

 

 

Credits: AdrenalinaPL

<3

 

PS. Dodaj source z tych tematów:

http://www.mpcforum.pl/topic/484542-source-stw-i-wtw/

http://www.mpcforum.pl/topic/485265-sourcebreak-limit-addys/

 

@down

Sprawdź ;x i się dowiesz..

Edytowane przez AdrenalinaPL

Opublikowano

/* WarRock International Structs */
/* Date: 09.11.2011 */
/* State: Fully Updated */
/* Made By: xBioK1ngz */
struct CPlayer
{
CHAR xJumpToAdress0[0xC43C];//0x00
FLOAT NoRecoilX;//0xC43C
FLOAT NoRecoilY;//0xC440
FLOAT NoRecoilZ;//0xC444
CHAR xJumpToAdress2[0x3CB0];//0xC448
FLOAT PlayerSpeed;//0x100F8
FLOAT NoSpread;//0x100FC
CHAR xJumpToAdress3[0xC0];//0x10100
FLOAT ViewX;//0x101C0
FLOAT ViewY;//0x101C4
FLOAT ViewZ;//0x101C8
CHAR xJumpToAdress4[0xFC];//0x101CC
FLOAT NoFallDamage;//0x102C8
CHAR xJumpToAdress5[0x14];//0x102CC
FLOAT PosX;//0x102E0
CHAR xJumpToAdress6[0x4];//0x102E4
FLOAT PosY;//0x102E8
CHAR xJumpToAdress7[0x4];//0x102EC
FLOAT PosZ;//0x102D0
CHAR xJumpToAdress8[0x10C];//0x102D4
};
struct CPlayerBase
{
CPlayer* p_Local;//0x9E57D4
CHAR xJumpToAdress0[0x11D9D0];//0x9E57D8
CPlayer** p_Global;//0xB031A8
}*p_Player = (CPlayerBase*)0x9E57D4;

Ta struktura jeszcze działa po update?

 

Więc moja standardowa wiadomość!

Każdy post który nie będzie zawierał kodu źródłowego (source code) będzie warnowany!

 

 

Bardzo proszę o stosowanie się do mojej wiado

mości!

 

 

PS. Jak możesz to zmniejsz czcionkę ;D

| RaVciO

(WARROCK_CODER) no i z czym do ludzi synek jak jest kod źródłowy ;) Ogarnij się

Edytowane przez WARROCK_CODER

s

Opublikowano
//-- HideWeapon --//

if (HideWeapon)
{
*(float*)(ADR_HIDEWEAPON) = 0;
}
else
{
*(float*)(ADR_HIDEWEAPON) = 1.5e1;
}

1393461645-U349224.png

Opublikowano

@UP

Co daje to HideWeapon :huh: ??

 

@Top

Zmien kod na PlantAnyWhere na ten :

 

if(Plant == 1)
	{
		*(BYTE*) PlantAnyWhere = 100.0f;
	}

	if(Plant == 0)
	{
		*(BYTE*) PlantAnyWhere = 5.0f;
	}

 

bo ten ktory jest obecnie (mi przynajmniej) nie dziala...

 

@down

e tam ten co ja podalem to tez jest dobry :P i dziala :) (a to jest najwazniejsze :D )

Edytowane przez b4rt4z

1379095800-U384748.png

ExMod | ExMentor | ExChampion | ExMoT | Blue Member | Tagger

Opublikowano

@UP

Co daje to HideWeapon :huh: ??

 

@Top

Zmien kod na PlantAnyWhere na ten :

 

if(Plant == 1)
	{
		*(BYTE*) PlantAnyWhere = 100.0f;
	}

	if(Plant == 0)
	{
		*(BYTE*) PlantAnyWhere = 5.0f;
	}

 

bo ten ktory jest obecnie (mi przynajmniej) nie dziala...

On działa, jak najbardziej :)

Widocznie musisz mieć zły adres :P

Sprawdź na tym:

#define MEM_PlantAnyWhere  0x9EB4D2

  • 3 tygodnie później...
Opublikowano

Dorzucę od siebie pare opcji... Nie jest to coś niesamowitego, ale zawszę coś :P

 

Jak jest plant to i DefuseAnyWhere:

 

 

if(DefuseAnyWhere==1)
{
*(BYTE*)ADR_DEFUSEANYWHERE =0x1;
}

 

 

Credits: xxBarcAxx

 

VisualDinar:

 

 

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

 

 

No i jeszcze dorzucę M14 i Flash Color ode mnie :D

 

FlashColor: (musicie sobie kolory zmienić, daje swoje nazwy,,,)

 

 

if (flashcolor)
{
    if(NumVertices == 103)
    {
		    if(flashcolor)pDevice->SetRenderState(D3DRS_ZENABLE,false);
		    if(flashcolor)pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
		    if(flashcolor==1)pDevice->SetTexture(0, aRed);
		    if(flashcolor==2)pDevice->SetTexture(0, aYellow);
		    if(flashcolor==3)pDevice->SetTexture(0, aOrange);
		    if(flashcolor==4)pDevice->SetTexture(0, aGreen);
		    if(flashcolor==5)pDevice->SetTexture(0, aBlue);
		    if(flashcolor==6)pDevice->SetTexture(0, aPurple);
		    if(flashcolor==7)pDevice->SetTexture(0, aPink);
		    if(flashcolor==8)pDevice->SetTexture(0, aBlack);
		    if(flashcolor==9)pDevice->SetTexture(0, aGrey);
		    if(flashcolor==10)pDevice->SetTexture(0, aCyan);
    }
}

 

 

M14 Color : (też kolory zmienić):

 

 

if (m14color)
{
    if(NumVertices == 101)
    {
		    if(m14color)pDevice->SetRenderState(D3DRS_ZENABLE,false);
		    if(m14color)pDevice->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
		    if(m14color==1)pDevice->SetTexture(0, aRed);
		    if(m14color==2)pDevice->SetTexture(0, aYellow);
		    if(m14color==3)pDevice->SetTexture(0, aOrange);
		    if(m14color==4)pDevice->SetTexture(0, aGreen);
		    if(m14color==5)pDevice->SetTexture(0, aBlue);
		    if(m14color==6)pDevice->SetTexture(0, aPurple);
		    if(m14color==7)pDevice->SetTexture(0, aPink);
		    if(m14color==8)pDevice->SetTexture(0, aBlack);
		    if(m14color==9)pDevice->SetTexture(0, aGrey);
		    if(m14color==10)pDevice->SetTexture(0, aCyan);
    }
}

 

 

Proszę :D

 

Pozdrawiam <3

Huehue

:)

 

1753048381.png

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.