Ckeck this code pls

Posts 115 of 19 · Page 1 of 2
Ckeck this code pls
Code:
//Source Code by Krellooo!

#include <stdio.h>
#include <windows.h>


#define ADR_PLAYERPOINTER 0xCCA6A8
#define ADR_SERVERPOINTER 0xBD3B70


// [PUBLIC]
#define ADR_FASTAMMO 0xB099EC
#define ADR_FASTHEALT 0xB099F0
#define ADR_FASTREPAIR 0xB099F4
#define ADR_FASTFLAG 0xB099F8
#define ADR_NOSPREAD 0xB09A48
#define ADR_NOWATER 0xA2C018
#define ADR_NOFOG 0xB0F8DC
#define ADR_NOUBOUNDS1 0xB3A9B8
#define ADR_NOUBOUNDS2 0xB3A9BC
#define ADR_SPEED 0x9ABE5C
#define ADR_SCOPE 0xB099E0
#define ADR_SPAWN1 0xBB27FB8
#define ADR_SPAWN2 0xB891C4
#define ADR_GLASSWALS 0xB0F8E0
#define ADR_STAM10 0xB09A20
#define ADR_STAM5 0xBB09A21
#define ADR_BANDAGE 0xB09A2A
#define ADR_EXTRAAMMO1 0xB09A28
#define ADR_EXTRAAMMO2 0xB09A29

// [OFFSET]
#define OFF_NFD 0x320
#define OFF_X 0x258
#define OFF_Y 0x260
#define OFF_Z 0x25C
#define OFF_PREMIUM 0x374
#define OFF_RECOIL1 0x1C
#define OFF_RECOIL2 0x20
#define OFF_RECOIL3 0x24
#define OFF_STAMINA 0x2C
#define OFF_SLOT5 0xD11EC
#define OFF_SLOT6 0xD11ED
#define OFF_SLOT7 0xD11EE
#define OFF_SLOT8 0xD11EF
#define OFF_GRAVITY 0x8C
#define OFF_SUPERMASTER 0xCBD7C
#define OFF_ROOMMASTER 0xCC190
/*
==============
TeleportCoords
==============
*/

int Telx = 1;
int Tely = 1;
int Telz = 1;
int Telx2 = 1;
int Tely2 = 1;
int Telz2 = 1;

/*
=============
GlassWallsVar
=============
*/

bool an = false;


/*
============
=AllSlot====
============


void AllSlots()
{
 DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER; // Serverpointer
 if(dwPlayerPtr != 0)
 {    
  *(long*)(dwPlayerPtr+OFF_SLOT5) = 1; // Slot5
  *(long*)(dwPlayerPtr+OFF_SLOT6) = 1; // Slot6
  *(long*)(dwPlayerPtr+OFF_SLOT7) = 1; // Slot7
  *(long*)(dwPlayerPtr+OFF_SLOT8) = 1; // Slot8
 }
}

*/

/*
============
=NoSpread===
============
*/

void NoSpread()
{
 *(float*) ADR_NOSPREAD = 0; // NoSpread
}


/*
============
==Premium===
============
*/

void Premium()
{
 DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER; // Serverpointer
 if(dwPlayerPtr != 0)
 {
  *(long*)(dwPlayerPtr+OFF_PREMIUM) = 4, 10; // 1= Bronze 2= Silber 3= Gold 4= Plantinum Premium // Premium
 }
}


/*
============
=SuperJump==
============
*/

void SuperJump()
{
 if(GetAsyncKeyState(VK_CONTROL) &1)
 {
  DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER; // Playerpointer
  if(dwPlayerPtr != 0)
  {
   *(float*)(dwPlayerPtr+OFF_Z) = 1000; // Z-Offset
  }
 }
}


/*
============
=====NFD====
============
*/

void NFD()
{
 DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER; // Playerpointer
 if(dwPlayerPtr != 0)
 {
  *(float*)(dwPlayerPtr+OFF_NFD) = -99999; // NFD
 }
}


/*
============
==NoRecoil==
============
*/

void NoRecoil()
{
 DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER; // Playerpointer
 if(dwPlayerPtr != 0)
 {
  *(float*)(dwPlayerPtr+OFF_RECOIL1) = 0; // NoRecoil1
  *(float*)(dwPlayerPtr+OFF_RECOIL2) = 0; // NoRecoil2
  *(float*)(dwPlayerPtr+OFF_RECOIL3) = 0; // NoRecoil3
 }
}


/*
============
===Speed====
============
*/

void Speed()
{
    if(GetAsyncKeyState(VK_NUMPAD9) &1)
 {
  *(float*)(ADR_SPEED) = 300; // SPEED
 }

 if(GetAsyncKeyState(VK_NUMPAD6) &1)
 {
  *(float*)(ADR_SPEED) = 100; // SPEED
 }
}


/*
============
==FastAll===
============
*/

void FastAll()
{
 DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER; // Playerpointer
 if(dwPlayerPtr != 0)
 {
  *(float*)ADR_FASTREPAIR = 10; // FASTREPAIR
  *(float*)ADR_FASTHEALT = 5; // FASTHEALTH
  *(float*)ADR_FASTFLAG = 10; // FASTFLAG
  *(float*)ADR_FASTAMMO = 5; // FASTAMMO
 }
}


/*
============
==Stamina===
============
*/

void Stamina()
{
 DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER; // Playerpointer
    if(dwPlayerPtr != 0)
    {
        DWORD *stam = (DWORD*)ADR_PLAYERPOINTER; // Playerpointer
        DWORD *stam2 = ( DWORD* )((*stam) + OFF_STAMINA); // Stamina
        *(float*)stam2 = (float)100;
    }
}


/*
============
==Gravity===
============
*/

void Gravity()
{
 if(GetAsyncKeyState(VK_NUMPAD3))
 {
  DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER; // Playerpointer
  if(dwPlayerPtr != 0)
  {
   *(float*)(dwPlayerPtr+OFF_GRAVITY) = 500;  //Gravity
  }
 }
}


/*
============
=GlassWalls=
============
*/

void GlassWalls()
{
 DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER; // Playerpointer
 if(dwPlayerPtr != 0)
 {

  if(GetAsyncKeyState(VK_NUMPAD7)&1)
  {
   an = true;
  }
  if(GetAsyncKeyState(VK_NUMPAD8)&1)
  {
   an = false;
  }
  if(an)
  {
   *(long*)ADR_GLASSWALS =5000; // Glasswall
  }
  else
  {
   *(long*)ADR_GLASSWALS = 1168891904; // Glasswall
  }
 }
}


/*
============
SuperMaster=
============
*/

void SuperMaster()
{
 DWORD dwSrvrPtr = *(DWORD*)ADR_SERVERPOINTER; // Serverpointer
 if(dwSrvrPtr != 0)
 {
  *(long*)(dwSrvrPtr+OFF_SUPERMASTER) = 1; // Supermaster
 }
}


/*
============
==NoSpawn===
============
*/

void NoSpawn()
{
 long t=0;
 unsigned long Protection;
 VirtualProtect((void*)ADR_SPAWN1, sizeof(t), PAGE_READWRITE, &Protection); // QUICKSPAWN1
 memcpy((void*)ADR_SPAWN1, &t , sizeof(t)); // QUICKSPAWN1
 VirtualProtect((void*)ADR_SPAWN1, sizeof(t), Protection, 0); // QUICKSPAWN1

 VirtualProtect((void*)ADR_SPAWN2, sizeof(t), PAGE_READWRITE, &Protection); // QUICKSPAWN2
 memcpy((void*)ADR_SPAWN2, &t , sizeof(t)); // QUICKSPAWN2
 VirtualProtect((void*)ADR_SPAWN2, sizeof(t), Protection, 0); // QUICKSPAWN2
}


/*
============
===NoFog====
============
*/

void NoFog()
{
 *(float*)ADR_NOFOG = 0; //nearfog addres
}


/*
============
=ExtraAmmo1=
============
*/

void ExtraAmmo1()
{
 *(int*)(ADR_EXTRAAMMO1)   = 1; // ExtraAmmo1
}


/*
============
=ExtraAmmo2=
============
*/

void ExtraAmmo2()
{
 *(int*)(ADR_EXTRAAMMO2)   = 1; // ExtraAmmo2
}


/*
============
===D.I.G====
============
*/

void Dig()
{
 if(GetAsyncKeyState(VK_MENU) &1)
 {
  DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER; // Playerpointer
  if(dwPlayerPtr != 0)
  {
   *(float*)(dwPlayerPtr+OFF_Z) = -2000; // Z-Offset
  }
 }
}


/*
============
===PXSP2====
============
*/

void PXItemSP2()
{
 *(long*)(ADR_STAM10)   = 1; // STAM10
}//+ 10% hp


/*
============
==Teleport==
============
*/

void Teleport()
{
 DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;   /// Player Pointer Addie 
 if(dwPlayerPtr != 0)
 {
  float PositionY = 0.0; float PositionX = 0.0;float PositionZ = 0.0;
  PositionX = *(float*)(dwPlayerPtr + OFF_X);
  PositionY = *(float*)(dwPlayerPtr + OFF_Y);
  PositionZ = *(float*)(dwPlayerPtr + OFF_Z);
    if(GetAsyncKeyState(VK_NUMPAD1)&1)
  {
   Telx = PositionX;
   Tely = PositionY;
   Telz = PositionZ;
  }
    if(GetAsyncKeyState(VK_NUMPAD4)&1)
  {
   *(float*)(dwPlayerPtr + OFF_X) = Telx;
   *(float*)(dwPlayerPtr + OFF_Y) = Tely;
   *(float*)(dwPlayerPtr + OFF_Z) = Telz;
  }
  if(GetAsyncKeyState(VK_NUMPAD2)&1)
  {
   Telx2 = PositionX;
   Tely2 = PositionY;
   Telz2 = PositionZ;
  }
    if(GetAsyncKeyState(VK_NUMPAD5)&1)
  {
   *(float*)(dwPlayerPtr + OFF_X) = Telx2;
   *(float*)(dwPlayerPtr + OFF_Y) = Tely2;
   *(float*)(dwPlayerPtr + OFF_Z) = Telz2;
  }
 }
}



//Oben einfügen


void S1bv2gg18w()
{ 
    for(;;)
    {
  //AllSlots();
  NoSpread();
  Premium();
  SuperJump();
  NFD();
  NoRecoil();
  Speed();
  FastAll();
  Stamina();
  Gravity();
  GlassWalls();
  SuperMaster();
  NoSpawn();
  NoFog();
  ExtraAmmo1();
  ExtraAmmo2();
  Dig();
  PXItemSP2();
  Teleport();
  Sleep(21); 
    }
}

BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpReserved)
{
    if(dwReason == DLL_PROCESS_ATTACH)
    {
        
		DWORD dwID1 = 0;
HANDLE hArg1e22tt3 = CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)S1bv2gg18w, NULL, NULL,&dwID1 );
CloseHandle(hArg1e22tt3); 

    }

    return TRUE;
}
What's wrong with it?
i think nothing but a proCod3r should look at it..XD
Quote Originally Posted by Lukas59 View Post
i think nothing but a proCod3r should look at it..XD
Why is that?
Quote Originally Posted by why06 View Post
Why is that?
Lack of self confidence perhaps?
Or advice on how to make it better.
My bad, please forget this post.
what do u mean`?
No menu? You should make one. This is for warrock right?
He doesnt know how to make menus. P.S. Does this work?
Quote Originally Posted by Lolland View Post
He doesnt know how to make menus. P.S. Does this work?
He made one menu, but I think he doesn't know how to bypass the game anti-cheat so he can use his hacks.
warrock sucks.people copy and paste source codes and then claim they made the hacks when they did nothing.I saw more than 1 error in that code and I have seen that code before.
Quote Originally Posted by stevethehacker View Post
warrock sucks.people copy and paste source codes and then claim they made the hacks when they did nothing.I saw more than 1 error in that code and I have seen that code before.
+ 1
does it work, and if it does then what game?
It would be for warrock, but it doesnt work.
Posts 115 of 19 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

Need help?