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

[In costruzione...] Code: le funzioni delle hack!
(Questo messaggio è stato modificato l'ultima volta il: 21/03/2011, 23:02 da ZioPaperino.)

ZioPaperino VIP
Messaggi: 2,350
Discussioni: 667
Registrato: 03-2011
Mix: 0
Player Functions

No Fall Damage
    C++ Programming
  1. if (NFD==1)
  2. {
  3. DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
  4. if(dwPlayerPtr != 0)
  5. {
  6. *(float*)(dwPlayerPtr+OFS_NFD) = -20000; //Fall Height
  7. }
  8. }


Speed
    C++ Programming
  1. if(CH_Speed=0)
  2. {
  3. *(float*)ADR_SPEED = 89; //normal speed
  4. }
  5. if(CH_Speed=1)
  6. {
  7. *(float*)ADR_SPEED = 160; //normal speed
  8. }


NoRecoil
    C++ Programming
  1. if (CH_NoRecoil==1) ()
  2. {
  3. DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
  4. if(dwPlayerPtr != 0)
  5. {
  6. *(float*)(dwPlayerPtr+OFS_NORECOIL1) = 0;
  7. *(float*)(dwPlayerPtr+OFS_NORECOIL2) = 0;
  8. *(float*)(dwPlayerPtr+OFS_NORECOIL3) = 0;
  9. }
  10. }


NoSpawn
    C++ Programming
  1. If(CH_NoSpawn==1)
  2. {
  3. *(int*)ADR_NOSPAWN1 = 0;
  4. *(int*)ADR_NOSPAWN2 = 0;
  5. }


Scope
    C++ Programming
  1. if(CH_Scope==1)
  2. {
  3. if(GetAsyncKeyState(VK_RBUTTON))
  4. {
  5. *(int*)(ADR_SCOPE) = (int)1;
  6. }
  7. else
  8. {
  9. *(int*)(ADR_SCOPE) = (int)0;
  10. }
  11. }


NoSpread
    C++ Programming
  1. if (CH_NoSpread)
  2. {
  3. *(int*)ADR_NOSPREAD = 0;
  4. }


NoBounds
    C++ Programming
  1. if(CH_NoBounds)
  2. {
  3. *(int*)ADR_NOBOUNDS1 = 0;
  4. *(int*)ADR_NOBOUNDS2 = 0;
  5. }


NoWater
    C++ Programming
  1. void NoWater ()
  2. {
  3. *(int*)(ADR_NOWATER) = 0;
  4. }


NoFog
    C++ Programming
  1. if(CH_NoFog==1) pDevice->SetRenderState(D3DRS_FOGENABLE, false);


SuperJump
    C++ Programming
  1. if (CH_SuperJump==1)
  2. {
  3. if(GetAsyncKeyState(VK_CONTROL)&1) //VK_CONTROL = CTRL, cambiarlo con il tasto che si desidera =)
  4. {
  5. DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPTR;
  6. if(dwPlayerPtr != 0)
  7. {
  8. *(float*)(dwPlayerPtr+OFS_Z) = 1000; //Height of Jump
  9. }
  10. }
  11. }


FullBright
    C++ Programming
  1. if (CH_FullBright==1){
  2. pDevice->SetRenderState(D3DRS_LIGHTING, false);
  3. pDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255,255,255,255));
  4. }else{
  5. pDevice->SetRenderState(D3DRS_AMBIENT, false);}


SpeedRoll
    C++ Programming
  1. if(CH_Speedroll==1)
  2. {
  3. DWORD dwADR_PLAYERPTR = *(DWORD*) ADR_PLAYERPOINTER;
  4.  
  5. if(dwADR_PLAYERPTR!=0)
  6. {
  7. switch(CH_Speedroll)
  8. {
  9. case 1:*(float*)ADR_SPEEDROLL = 7.0f;break;
  10. }
  11. }
  12. }


Im Drunk
    C++ Programming
  1. if(CH_ImDrunk==1)
  2. {
  3. *(DWORD*)(ADR_IMDRUNK) = 1;
  4. }


Fast Ammo

    C++ Programming
  1. if(CH_FastAmmo==1)
  2. {
  3. *(float*)(ADR_FASTAMMO) = 10.0f;
  4. }


Fast Health
    C++ Programming
  1. if(CH_FastHealth==1)
  2. {
  3. *(float*)(ADR_FASTHEALTH) = 10.0f;
  4.  
  5. }


Fast Repair
    C++ Programming
  1. if(CH_FastRepair==1)
  2. {
  3. //*(float*)(ADR_FASTREPAIR) = 5.0f;
  4. }


Fast Flag
    C++ Programming
  1. if(CH_FastFlag==1)
  2. {
  3. *(float*)(ADR_FASTFLAG) = 10.0f;
  4. }


AntiAfk
    C++ Programming
  1. if(CH_AntiAfk==1)
  2. {
  3. *(int*)(ADR_ANTIAFK) = 1;
  4. }


Teleport
    C++ Programming
  1. if(CH_Teleport==1){
  2. if (GetAsyncKeyState(VK_F8))//F8 Save PosiTion
  3. {
  4. posiX = *(float*)(dwPlayerPointer + OFS_X);
  5. posiY = *(float*)(dwPlayerPointer + OFS_Y);
  6. posiZ = *(float*)(dwPlayerPointer + OFS_Z);
  7. }
  8. if (GetAsyncKeyState(VK_F9))//Teleport to Position
  9. {
  10. *(float*)(dwPlayerPointer + OFS_X) = posiX;
  11. *(float*)(dwPlayerPointer + OFS_Y) = posiY;
  12. *(float*)(dwPlayerPointer + OFS_Z) = posiZ;
  13. }
  14. }
  15. if(CH_Teleport==2){
  16. *(float*)(dwPlayerPointer + OFS_X) = posiX;
  17. *(float*)(dwPlayerPointer + OFS_Y) = posiY;
  18. *(float*)(dwPlayerPointer + OFS_Z) = posiZ;
  19. }



Server Hacks


Premium
    C++ Programming
  1. if(CH_Premium!=0)
  2. {
  3.  
  4. switch(CH_Premium)
  5. {
  6. case 1: *(int*)(dwServerPointer+OFFSET_PREM) = 1;
  7. *(float*)(dwServerPointer+OFFSET_PREM2) = 1;break;
  8. case 2: *(int*)(dwServerPointer+OFFSET_PREM) = 2;
  9. *(float*)(dwServerPointer+OFFSET_PREM2) = 2;break;
  10. case 3: *(int*)(dwServerPointer+OFFSET_PREM) = 3;
  11. *(float*)(dwServerPointer+OFFSET_PREM2) = 3;break;
  12. case 4: *(int*)(dwServerPointer+OFFSET_PREM) = 4;
  13. *(float*)(dwServerPointer+OFFSET_PREM2) = 4;break;
  14. }
  15. }
  16. }


5th Slot
    C++ Programming
  1. if(CH_Slot5==1)
  2. {
  3. *(long*)(dwServerPointer+OFS_5SLOT) = 1;
  4. }


SuperMaster
    C++ Programming
  1. if(CH_SuperMaster==1)
  2. {
  3. DWORD dwServerPtr = *(DWORD*)ADR_SERVERPTR;
  4. if(dwServerPtr != 0)
  5. {
  6. *(int*)(dwServerPtr+OFS_SUPERMASTER) = 1;
  7. }
  8. }


Dinar
    C++ Programming
  1. if(CH_Dinar==1)
  2. {
  3. DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPTR;
  4. if(dwPlayerPtr != 0)
  5. {
  6. *(long*)(dwPlayerPtr + OFS_DINAR) = 999999999;
  7. }
  8. }


Livello 100
    C++ Programming
  1. if(CH_Level==1)
  2. {
  3. DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPTR;
  4. if(dwPlayerPtr != 0)
  5. {
  6. *(long*)(dwPlayerPtr + OFS_LEVEL) = 999999999;
  7. }
  8. }


Sp 5%-10%
    C++ Programming
  1. if(CH_SP==1)
  2. {
  3. *(int*)(ADR_SP_5) = 1;
  4. }
  5. if(CH_SP2==1)
  6. {
  7. *(int*)(ADR_SP_10) = 1;
  8. }


ExtraAmmo1
    C++ Programming
  1. if(CH_ExtraAmmo1==1)
  2. {
  3. *(int*)(ADR_EXTRAAMMO1) = 1;
  4. }


ExtraAmmo2
    C++ Programming
  1. if(CH_ExtraAmmo2==1)
  2. {
  3. *(int*)(ADR_EXTRAAMMO2) = 1;
  4. }


NoRoom Restriction
    C++ Programming
  1. if(CH_NoRoomRestriction==1)
  2. {
  3. WriteMEM((void *)ADR_NOROOMRESTRICTION,(void*)(PBYTE)"\xEB\x68",2 );
  4. }
  5. if(CH_NoRoomRestriction==0)
  6. {
  7. WriteMEM((void *)ADR_NOROOMRESTRICTION,(void*)(PBYTE)"\x75\x68",2 );
  8. }


Sniper 2X
    C++ Programming
  1. if(CH_Sniper2X==1)
  2. {
  3. *(int*)(ADR_SNIPER2X) = 1;
  4. }


Bandage
    C++ Programming
  1. if(CH_Bandage==1)
  2. {
  3. *(int*)(ADR_BANDAGE) = 1;
  4. }



Asm Hacks


Walk Under Water
    ASM Programming
  1. if(CH_WUW==1)
  2. {
  3. WriteMEM((void *)ADR_WUW,(void*)(PBYTE)"\x90\x90",2);
  4. }
  5.  
  6. if(CH_WUW==0)
  7. {
  8. WriteMEM((void *)ADR_WUW,(void*)(PBYTE)"\x74\x13",2);
  9. }


Walk Trought Wall
    ASM Programming
  1. if(CH_WTW==1)
  2. {
  3. WriteMEM((void *)ADR_WTW,(void*)(PBYTE)"\x90\x90\x90",3);
  4. }
  5. if(CH_WTW==0)
  6. {
  7. WriteMEM((void *)ADR_WTW,(void*)(PBYTE)"\xD8\x4A\x08",3);
  8. }


Shoot Trought Wall
    ASM Programming
  1. if(CH_STW==1)
  2. {
  3. WriteMEM((void *)ADR_STW,(void*)(PBYTE)"\x90\x90\x90",3);
  4. }
  5. if(CH_STW==0)
  6. {
  7. WriteMEM((void *)ADR_STW,(void*)(PBYTE)"\x8B\x51\x34",3);
  8. }


CQC Prone
    ASM Programming
  1. if(CH_Cqcprone==1)
  2. {
  3. WriteMEM((void *)ADR_PRONE,(void*)(PBYTE)"\x90\x90",2);
  4. }
  5. if(CH_Cqcprone==0)
  6. {
  7. WriteMEM((void *)ADR_PRONE,(void*)(PBYTE)"\x74\x0C",2);
  8. }


AutoMedic
    ASM Programming
  1. if(CH_AutoMedic==1)
  2. {
  3. WriteMEM((void *)ADR_AUTOMEDIC,(void*)(PBYTE)"\x90\x90\x90\x90\x9 0\x90",6);
  4. }
  5. if(CH_AutoMedic==0)
  6. {
  7. WriteMEM((void *)ADR_AUTOMEDIC,(void*)(PBYTE)"\x0F\x85\xA6\x00\x0 0\x00",6);
  8. }


AutoAmmo
    ASM Programming
  1. if(CH_AutoAmmo==1)
  2. {
  3. WriteMEM((void *)ADR_AUTOAMMO,(void*)(PBYTE)"\x90\x90\x90\x90\x90 \x90",6);
  4. }
  5. if(CH_AutoAmmo==0)
  6. {
  7. WriteMEM((void *)ADR_AUTOAMMO,(void*)(PBYTE)"\x0F\x85\xA2\x00\x00 \x00",6);
  8. }



Fonte: web
Original post: Luxor
Ripostato &edit by: ZioPaperino

21/03/2011, 20:42
#1
Cerca


Messaggi in questa discussione
[In costruzione...] Code: le funzioni delle hack! - da ZioPaperino - 21/03/2011, 20:42
[Nessun oggetto] - da Luxor - 21/03/2011, 20:48
[Nessun oggetto] - da 4l3ghi - 21/03/2011, 20:49
[Nessun oggetto] - da ZioPaperino - 21/03/2011, 21:47
[Nessun oggetto] - da ZioPaperino - 21/03/2011, 20:49
[Nessun oggetto] - da Luxor - 21/03/2011, 20:51
[Nessun oggetto] - da digger - 21/03/2011, 21:08
[Nessun oggetto] - da digger - 21/03/2011, 22:58
[Nessun oggetto] - da Skyline@69 - 24/04/2011, 22:47
[Nessun oggetto] - da orochimaru - 25/04/2011, 8:45
[Nessun oggetto] - da Luxor - 25/04/2011, 13:09
[Nessun oggetto] - da ZioPaperino - 25/04/2011, 21:47
[Nessun oggetto] - da Luxor - 25/04/2011, 21:52
[Nessun oggetto] - da ZioPaperino - 29/04/2011, 21:51
[Nessun oggetto] - da Luxor - 29/04/2011, 22:03
[Nessun oggetto] - da digger - 29/04/2011, 23:11

Discussioni simili
Discussione Autore Risposte Letto Ultimo messaggio
  Problema crezione hack nomenu warrock Dimax 15 6,471 05/04/2013, 18:05
Ultimo messaggio: Dimax
  [Guida] Guida passo-passo: C++ Hack Nomenu digger 70 19,835 26/01/2013, 17:58
Ultimo messaggio: digger
  Aiuto hack autoshoot e wallhack warrock particino01 9 2,980 20/12/2012, 21:03
Ultimo messaggio: Pocciox



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