Benvenuto! Per postare e godere delle funzionalità del forum registrati, occorrono pochi secondi ed è gratis!

Source Funzioni No Menu Hacks

Iscritto
Messaggi: 891
Discussioni: 58
Registrato: 03-2011
Mix: 0
Codice:
void Teleport ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
if (GetAsyncKeyState(VK_F2))
{
posiX = *(float*)(dwPlayerPtr + OFS_X);
posiY = *(float*)(dwPlayerPtr + OFS_Y);
posiZ = *(float*)(dwPlayerPtr + OFS_Z);
}
if (GetAsyncKeyState(VK_F3))
{
*(float*)(dwPlayerPtr + OFS_X) = posiX;
*(float*)(dwPlayerPtr + OFS_Y) = posiY;
*(float*)(dwPlayerPtr + OFS_Z) = posiZ;
}
}
}
void Dinar ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_DINAR) = 999999999;
}
}
void speedon0 ()
{
if(GetAsyncKeyState(VK_NUMPAD0) &1<< 0xF)
{
*(float*)(OFS_Speed) = 97.0f;
}

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

}
void speedon2 ()
{
if(GetAsyncKeyState(VK_NUMPAD2) &1<< 0xF)
{
*(float*)(OFS_Speed) = 300.0f;
}

}

void speedon3 ()
{
if(GetAsyncKeyState(VK_NUMPAD3) &1<< 0xF)
{
*(float*)(OFS_Speed) = 400.0f;
}

}

void speedon4 ()
{
if(GetAsyncKeyState(VK_NUMPAD4) &1<< 0xF)
{
*(float*)(OFS_Speed) = 500.0f;
}

}

void speedon5 ()
{
if(GetAsyncKeyState(VK_NUMPAD5) &1<< 0xF)
{
*(float*)(OFS_Speed) = 600.0f;
}

}
void speedon6 ()
{
if(GetAsyncKeyState(VK_NUMPAD6) &1<< 0xF)
{
*(float*)(OFS_Speed) = 700.0f;
}

}


void speedon7 ()
{
if(GetAsyncKeyState(VK_NUMPAD7) &1<< 0xF)
{
*(float*)(OFS_Speed) = 800.0f;
}

}
void speedon8 ()
{
if(GetAsyncKeyState(VK_NUMPAD8) &1<< 0xF)
{
*(float*)(OFS_Speed) = 900.0f;
}

}
void lowgravity ()
{
if (GetAsyncKeyState(VK_MBUTTON))
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_GRAV) = 100.0f;
}
}
}
void Slots5 ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_5SLOT) = 1;
}
}
void NoSpread ()
{
*(float*) OFS_NOSPREAD = 0;
}
void SniperPX ()
{
*(int*)(ADR_PX_SNIPER) = 0;
}
void SP ()
{
*(int*)(ADR_SP_5) = 0;
}
void SP2 ()
{
*(int*)(ADR_SP_10) = 0;
}

void ExtraAmmo ()
{
*(int*)(ADR_EXTRA_AMMO_1) = 1;
}

void ExtraAmmo2 ()
{
*(int*)(ADR_EXTRA_AMMO_2) = 1;
}


void Dig()
{
if(GetAsyncKeyState(VK_MENU) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = -2000;
}
}
}
void nowater ()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_NOWATER, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_NOWATER, &t , sizeof(t));
VirtualProtect((void*)ADR_NOWATER, sizeof(t), Protection, 0);
}

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

VirtualProtect((void*)ADR_QUICKSPAWN2, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_QUICKSPAWN2, &t , sizeof(t));
VirtualProtect((void*)ADR_QUICKSPAWN2, sizeof(t), Protection, 0);
}
void Scope ()
{
if(GetAsyncKeyState(VK_RBUTTON))
{
*(int*)(ADR_SCOPE) = (int)1;
}
else
{
*(int*)(ADR_SCOPE) = (int)7;
}
}

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

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

void nfd ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NFD) = -20000;
}
}
void norecoil ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NORECOIL1) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL2) = 0;
*(float*)(dwPlayerPtr+OFS_NORECOIL3) = 0;
}
}
void jump ()
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 2500;
}
}
}
void FFASpawn ()
{
long t=0;
unsigned long Protection;
VirtualProtect((void*)ADR_FFASPAWN, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_FFASPAWN, &t , sizeof(t));
VirtualProtect((void*)ADR_FFASPAWN, sizeof(t), Protection, 0);

VirtualProtect((void*)ADR_FFASPAWN, sizeof(t), PAGE_READWRITE, &Protection);
memcpy((void*)ADR_FFASPAWN, &t , sizeof(t));
VirtualProtect((void*)ADR_FFASPAWN, sizeof(t), Protection, 0);
}
void Supermaster ()
{
DWORD dwSrvrPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwSrvrPtr != 0){
*(int*)(dwSrvrPtr+OFS_SUPERMASTER) = 1;
}
}
void platinum ()
{
DWORD dwSrvrPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwSrvrPtr != 0)
{
*(long*)(dwSrvrPtr+OFS_PREMIUM1) = 4, 10;
{
*(float*)(dwSrvrPtr+OFS_PREMIUM2) = 1, 1;
}}}

void fullbright ()
{
*(int*)(Full_Bright_1) = 1092779973;
*(int*)(Full_Bright_2) = 1092779973;
*(int*)(Full_Bright_3) = 1092779973;
}
void nofog ()
{
*(float*)Near_Fog = 0;
}

void FastAll ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(float*)ADR_FAST_REPAIR = 10.0f;
*(float*)ADR_FAST_HEATLH = 5.0f;
*(float*)ADR_FAST_FLAG = 10.0f;
*(float*)ADR_FAST_AMMO = 5.0f;
}}
void Glasswalls ()
{
*(int*)ADR_GLASSWALLS = 4;
}
void RoomMaster ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(int*)(dwPlayerPtr+OFS_ROOMMASTER) = 0;
}
}

void Level ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_LEVEL) = 999999999;
}
}
void Bandage ()
{
*(int*)(ADR_BANDAGE) = 0;
}


void speedon9 ()
{
if(GetAsyncKeyState(VK_NUMPAD9) &1<< 0xF)
{
*(float*)(OFS_Speed) = 1000.0f;
}

}
void Hacks()
{
for(;; )
{
speedon0();
speedon1();
speedon2();
speedon3();
speedon4();
speedon5();
speedon6();
speedon7();
speedon8();
speedon9();
lowgravity();
Slots5();
NoSpread();
ExtraAmmo();
ExtraAmmo2();
Dig();
nowater();
nobounds();
nfd();
norecoil();
Bandage();
jump();
fullbright();
Spawn();
Supermaster();
platinum();
nofog();
Scope();
Glasswalls();
FastAll();
Teleport();
Level();
Dinar();
RoomMaster();
SniperPX();
SP();
SP2();
FFASpawn();


21/03/2011, 19:56
#1
Cerca

ZioPaperino VIP
Messaggi: 2,350
Discussioni: 667
Registrato: 03-2011
Mix: 0
Grazie ....... dividere le funzioni no? Tounge

21/03/2011, 20:01
#2
Cerca

Iscritto
Messaggi: 891
Discussioni: 58
Registrato: 03-2011
Mix: 0
troppo tempo... =)

21/03/2011, 20:02
#3
Cerca

ZioPaperino VIP
Messaggi: 2,350
Discussioni: 667
Registrato: 03-2011
Mix: 0
Quasi quasi ti warno per non aver aiutato lo zio =D

21/03/2011, 20:10
#4
Cerca

Il criceto mannaro
Messaggi: 3,536
Discussioni: 201
Registrato: 03-2011
Mix: 3,737
visto zio? adesso hai quello che ti serve grazie a luxor...

solo un paio di appunti per fare il solito cagacaxx... attenzione che nel ciclo for manca lo sleep, non è una buona idea a meno di avere un pc molto performante, l'altra cosa tutti quei VirtualProtect non servono a niente consiglio di toglierli perchè rallentano parecchio la hack e rischiano di far laggare


digger
21/03/2011, 20:27
#5
Cerca

ZioPaperino VIP
Messaggi: 2,350
Discussioni: 667
Registrato: 03-2011
Mix: 0
Lo so ......... ora sistemo =D
Poi vi posto _|+_+|_ ZioPaperino v1.0 _|+_+|_ source code Wink

21/03/2011, 20:30
#6
Cerca

Il criceto mannaro
Messaggi: 3,536
Discussioni: 201
Registrato: 03-2011
Mix: 3,737
dimenticavo, togli anche i memcpy non servono a niente nemmeno quelli, praticamente introduci un overhead continuo (ripetuto migliaia di volte) per niente dato che lo puoi sostituire con il solito

*(int*)puntatore=valore;

oppure

*(float)puntatore=valore;


digger
21/03/2011, 20:34
#7
Cerca

ZioPaperino VIP
Messaggi: 2,350
Discussioni: 667
Registrato: 03-2011
Mix: 0
digger, c'è discussione fatta bene da me -.-

Parliamone qua, queste chiedo di chiudere Wink

21/03/2011, 20:47
#8
Cerca


Discussioni simili
Discussione Autore Risposte Letto Ultimo messaggio
  Source clientlessbot catoplepas 1 1,399 21/03/2014, 0:04
Ultimo messaggio: digger
  QUAKE2 - source - digger 6 2,277 11/11/2013, 0:48
Ultimo messaggio: digger
  [Source]WarRock Bypass Cyanstack 15 4,769 24/10/2013, 14:29
Ultimo messaggio: catoplepas



Utenti che stanno guardando questa discussione: 2 Ospite(i)