Page 1 of 8 123 ... LastLast
Results 1 to 15 of 113
  1. #1
    Fly3r's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not telling.
    Posts
    720
    Reputation
    18
    Thanks
    265
    My Mood
    Paranoid

    Hacking Requirements - Hack Information

    This tutorial will cover some of the most common things seen in Public bases.
    I'll also provide some useful links to get you started.


    What do i need to learn in order to be able to code hacks?
    - C++ (It sure covers a huge part in coding hacks so by learning this you're closer to achieving making your own hacks)
    - Assembly (Will help you understand Pointers and Offsets better
    - How to use IDA Pro & Olly Debug (These are the most common used debuggers in order to unpack cshell or search functions for the game)
    - Direct X (DirectX will be useful to you if you are planning to make a menu hack or functions like Wallhack / Chamms )


    I want to get started but i dont know from where to start!
    -Since you are a beginner , and dont know how to make your own base and stuff you can learn much from Bases that are public released.
    Although , most of them (Or better all of them since they are all basically the same (@Swiftdude 's base) will be patched or are already patched)
    In that case , you must understand the way the whole thing is working so that you can make your own one.


    Useful Links to get you started

    C++ :
    - LearnCpp
    - Cplusplus
    - C++ Tutorials
    - C , C++ Books & Resources

    Assembly
    - Windows Assembly Tutorial
    - Art of Assembly Language

    Direct X
    - Coming Soon

    Useful Things & Information

    Unpacking CShell.dll (Directory : C:/Program Files / Z8Games / Crossfire)
    - In cshell.dll you can find many useful things. Some of them are Pointers & Offsets for the functions that you will use in your hack.

    What do you need?
    - Olly Debugger ( Will be uploaded )
    - LoadLibrary.exe ( Will be uploaded )
    Steps on unpacking it
    :
    1)Put Loadlib.exe in Crossfire's Directory
    2)Open Loadlib.exe (You will see a meesage that says "Library has been loaded!")
    3)Open Olly Debugger
    4)Click on File > Attach (And find the Loadlib.exe process)
    5)After that , wait for Olly to load it
    6)Right Click > View > Module Cshell.dll ( or Module Cshell)
    7)Right Click > Search For > All referrenced text strings
    8)Then a new window will open
    9)Right Click > Search for text
    10) Your Done! Now all you have to do is to search for the functions you want to find (Will provide some names & use bellow)


    Public Base to learn frrom


    This base is detected , but you can learn from it in many ways.You can try making it undetected on your own

    Code:
    #include<windows.h>
           
           
    
    #define WeaponMgr       0xA0F338 // Weapon Pointer , Outdated
    #define NoReload        0x2420 // Our No Reload function offset
           
       
           
    DWORD WINAPI Hacks(LPVOID)
    {
    bool reload = false; // Make it true; if you want it to be auto on
           
    while(1)
    {
    DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll"); 
    DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr); 
           
           
           
    if(reload)
    {
    if (pWeaponMgr)
    {
    for(int i=0; i<445; i++) // Weapon Loop. 445 = the number of the weapons
    {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + NoReload) = 100; // 100 is the value for no reload
    }
    }
    }
           
    Sleep(100); 
    }
    }
           
    bool Ready2Hook() 
    {
    if(GetModuleHandleA("CShell.dll")   != NULL
    && GetModuleHandleA("ClientFx.fxd") != NULL)
    return 1;
    return 0;
    }
           
    DWORD WINAPI Wait(LPVOID)
    {
    while(!Ready2Hook()) Sleep(200);
    CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
    return 0;
    }
     
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
    {
    DisableThreadLibraryCalls(hDll);
             
    if ( dwReason == DLL_PROCESS_ATTACH )
    {
    //================================== OPTIONAL =========================================\\
    MessageBoxA(0, "Message Test","Message Title", 0); 
    system("start www.mpgh.net")
    \\====================================================================================//      
    CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0,0);
    }
       return 1;
    }
    String names of the most common functions


    Code:
    ReloadAnimRatio - Weapon Reload (No Reload)
    ChangeWeaponAnimRatio - Weapon change delay (No weapon change delay)
    AmmoDamage - Weapon Damage (One hit kill)
    LowerAnimRate - Weapon Recoil (Less Recoil not full No Recoil)
    CharacterHiddenAlpha - See Ghost
    CharacterHiddenWalkAlpha - See Ghost
    CharacterHiddenRunAlpha - See Ghost
    MovementHiddenRate - See Ghost
    C4PlantTime - Obviously C4 Plant time
    C4DefuseTime - Obviously C4 Defuse time
    MaxCanDefuseDistance - Distance that you can defuse the bomb
    Range -Weapon Range
    ShotsPerAmmo - Shotgun Spread
    EdgeShotEnabled - Shoot Through Wall
    WallShotEnabled - Shoot Through Wall
    PerfectWallShotEnabled - Shoot Through Wall
    
    More coming soon ...

    Useful Stuff / Base Tutorial

    How to make your own base ?
    - Thanks to @Brimir you can learn from his tutorial so that it will be easier to start with making your own base.
    (It maybe is detected or patched , i dont know but still its a great tutorial to learn from)

    -How to make a base
    NOTE : Things you have to know before reading his tutorial (To understand it easier)
    - How to use Classes
    - What Classes are


    Making some of the Common features

    Making No Reload

    Code:
    /* First define No Reload's Offset & Weapon Pointer */
    
    #define WeaponPointer 0x000000 (You have to find the Pointer)
    #define NoReload 0x0000 (You have to find the Offset)
    
    /*If you want to make your hack Auto On put this before it */
    
    bool noreload = true; // Dont make it the same name with the defined one.
    
    /* Then add these */
     
    DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll"); // When CShell word will be used , it will understand it is CShell.dll
    DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponPointer); // Wehn pWeaponMgr word will be used , it will understand that it is CShell with Weapon Pointer
    
    /* Then add this */
    
    if(noreload)
    {
    if (pWeaponMgr) // Look above if you dont remember what it is ;p
    {
    for(int i=0; i<445; i++) // Weapon Loop. 445 = the number of the weapons
    {
    if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) + NoReload) = 100; // 100 is the value for no reload
    }
    }
    }
    
    /* You are done. Add this to your base or you can simply make it on your own way */
    Making No Weapon change delay

    Code:
    /* First define No Weapon Change Delay's Offset & Weapon Pointer */
    
    #define WeaponPointer 0x000000 (You have to find the Pointer)
    #define WeaponChangeDelay 0x0000 (You have to find the Offset)
    
    /*If you want to make your hack Auto On put this before it */
    
    bool nochange = true; // Dont make it the same name with the defined one.
    
    /* Then add these */
     
    DWORD CShell     = (DWORD)GetModuleHandleA("CShell.dll"); // When CShell word will be used , it will understand it is CShell.dll
    DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponPointer); // Wehn pWeaponMgr word will be used , it will understand that it is CShell with Weapon Pointer
    
    /* Then add this */       
    
    if(nochange)
    {
    if (pWeaponMgr) // You already know what this is
    {
    for(int i=0; i<445; i++) // You already know what this is
    {
    if((*(DWORD*)((*(DWORD*)(CShell+pWeaponMgr))+(4*i))) != NULL)
    *(float*)((*(DWORD*)((*(DWORD*)(CShell+pWeaponMgr))+(4*i))) + WeaponChangeDelay) = 100; // You already know what this is
    }
    }
    }
    
    /* You are done. Add this to your base or you can simply make it on your own way */
    This is the end of the tutorial , i didnt have much time making it better ( Still , i think its good ).If you follow this tutorial , im sure that you will become a great Coder ( General )

    More Coming soon ..


    Credits :
    - @Brimir
    - @Swiftdude
    - @~FALLEN~
    - Will complete the list later , since i dont have much time. Thanks.
    Last edited by Fly3r; 01-27-2012 at 01:46 PM.
    Joined MPGH: 07/08/09


    i used to tell arrow to the knee jokes then i died due to blood loss from takeing tomany arrows to the knee at once
    A network problem caused by you? What did you do? Trip over the cable?




  2. The Following 98 Users Say Thank You to Fly3r For This Useful Post:

    *7oda* (12-13-2012),-iFaDy..* (03-19-2012),Frosty' (08-22-2013),6ixth (01-18-2013),A$IAN (01-27-2012),aa1000 (02-01-2012),aazsniper (10-25-2012),AhMaD FoX (07-29-2012),ahmeth (01-25-2013),akudewa (06-30-2013),amro3000 (05-14-2013),asdasdsad (03-28-2012),asdfg050 (08-15-2012),Assassin's Creed (01-27-2012),bagabags (07-08-2017),boyrapitiw (08-29-2012),Capevaldo (08-05-2012),CheatCreatorzz (01-28-2012),corazon- (02-17-2018),CrazyFrost (09-21-2012),cyberezpertz (08-08-2012),dabaixada54 (07-25-2021),dakr54 (03-19-2012),DarkPladin (12-10-2012),Dead(H)ell (09-06-2012),Dejavu10 (07-05-2012),Dexter43 (08-12-2018),dizzyeasy (08-19-2012),Endb0ss (08-05-2012),eprototype (03-18-2014),FandoSmoLL (12-05-2013),[MPGH]Flengo (07-31-2012),georgebike96 (03-24-2016),ghidexoa (08-07-2012),gibam761 (07-13-2013),grannycrazy (02-20-2012),GrymmReaper (08-05-2012),GTX970 (12-03-2014),healerspast (05-15-2018),Heterodon. (12-06-2012),HurrLeDurr (06-06-2013),Jake0047356 (07-12-2012),jmhmark (12-14-2014),Justifiable (08-02-2013),Katy (07-31-2012),kbasd46 (04-20-2014),KinKaray (09-16-2012),kirolous (07-11-2012),Lightning (08-20-2013),lilgeekboy (07-31-2013),LT[SNiPER] (02-12-2012),mamo007 (02-03-2013),Mansterfreak (10-14-2012),marwan20101 (06-27-2012),masmoesry (11-16-2012),mmark5 (06-12-2013),mpamias123 (09-20-2012),New Way (08-15-2012),nguyedi (11-06-2012),nishoo (10-25-2012),noadcud94 (03-05-2012),ntontos (02-10-2012),perfectplug (02-17-2013),prolife200 (05-23-2015),Pronome191 (07-27-2012),PzzyPwnR420 (09-27-2012),QuachGia (06-15-2020),quisde (07-26-2012),ranger35 (08-22-2016),rfmcjosh (05-29-2012),Royku (01-27-2012),rscaerzx (05-19-2012),Ryuzaki™ (01-28-2012),sawadawada (07-15-2020),shady75 (10-25-2017),Shartob1 (08-05-2012),ShekoHex (09-21-2016),simonsms1 (01-24-2014),Sirius Blac (01-08-2013),Sniper7even (01-12-2013),tasioydhs (09-07-2015),TH3SinZ (10-25-2012),THEBOYZRULE (07-13-2012),TheSnKGaming (02-02-2019),thetacoofpowerbitch (12-22-2012),Ticherhaz (08-15-2013),TJTJ2468 (12-03-2015),TopJoker (05-24-2013),ulquiorraj (05-19-2014),UpperTame (11-03-2012),white-g420 (07-05-2012),wu99090 (01-26-2013),x7gamingm (12-24-2014),XXkillerFin1 (06-12-2013),[Lori]Yagami (07-05-2012),[N.O]N.A.M.E (01-27-2012),[[SeXergy]] (02-04-2012),]V[iRuS-]H[ackeR* (02-09-2012)

  3. #2
    Hero's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    memes
    Posts
    40,134
    Reputation
    4764
    Thanks
    9,674
    Very useful thread. Stickied.
    [] [] [] [][]

    Editor from 06•14•2011 • 2014
    Donator since 09•16•2011
    Minion from 10•10•2011 • 01•06•2011
    Minion+ from 01•06•2012 • 08•08•2012
    Moderator from 08•08•2012 • 10•06•2012
    Global Moderator from 10•06•2012 • 12•05•2017
    Staff Administrator from 12•05•2017 • 05•01•2019
    Trusted Member since 07•13•2019
    Global Moderator since 09•11•2020




  4. The Following 5 Users Say Thank You to Hero For This Useful Post:

    dizzyeasy (08-19-2012),Fly3r (01-27-2012),hazami0209 (11-05-2012),mastertoamer (12-06-2012),tasioydhs (09-07-2015)

  5. #3
    Royku's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    G-Force.dll
    Posts
    3,015
    Reputation
    381
    Thanks
    3,308
    My Mood
    Devilish
    Nice Bro told you this get stickied

  6. The Following 3 Users Say Thank You to Royku For This Useful Post:

    Fly3r (01-27-2012),hazami0209 (11-05-2012),x7gamingm (12-24-2014)

  7. #4
    Fly3r's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not telling.
    Posts
    720
    Reputation
    18
    Thanks
    265
    My Mood
    Paranoid
    Thanks @Hero i'll try to update it from time to time , adding more things.
    Thanks @Royku this is my first ever tutorial / stickied tutorial !! Im excited!
    Joined MPGH: 07/08/09


    i used to tell arrow to the knee jokes then i died due to blood loss from takeing tomany arrows to the knee at once
    A network problem caused by you? What did you do? Trip over the cable?




  8. The Following User Says Thank You to Fly3r For This Useful Post:

    hazami0209 (11-05-2012)

  9. #5
    Assassin's Creed's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    1,210
    Reputation
    54
    Thanks
    1,408
    My Mood
    Worried
    Quote Originally Posted by Fly3r View Post
    Thanks @Hero i'll try to update it from time to time , adding more things.
    Thanks @Royku this is my first ever tutorial / stickied tutorial !! Im excited!
    I felt the same when mine got stickied ...have to admit...looks like mine though..
    Last edited by Assassin's Creed; 01-27-2012 at 10:56 AM.
     

    Contributer Since 20/2/2012
    MPGH Member Since December 2011

     





     

    offical thread> Assassin V15<

    To all People who thinks am a leecher,hate me,are jelly from me....
    Refer to this thread...
    https://www.mpgh.net/forum/232-crossf...stop-hate.html

  10. The Following User Says Thank You to Assassin's Creed For This Useful Post:

    hazami0209 (11-05-2012)

  11. #6
    Fly3r's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not telling.
    Posts
    720
    Reputation
    18
    Thanks
    265
    My Mood
    Paranoid
    Dont wanna seem offensive but yours isnt organised at all. Which makes it hard to read.
    Joined MPGH: 07/08/09


    i used to tell arrow to the knee jokes then i died due to blood loss from takeing tomany arrows to the knee at once
    A network problem caused by you? What did you do? Trip over the cable?




  12. The Following 4 Users Say Thank You to Fly3r For This Useful Post:

    hazami0209 (11-05-2012),Mic Cabrera (05-20-2012),PzzyPwnR420 (09-27-2012),Royku (01-27-2012)

  13. #7

  14. The Following 3 Users Say Thank You to [N.O]N.A.M.E For This Useful Post:

    Fly3r (01-27-2012),hazami0209 (11-05-2012),yositapchup (04-12-2019)

  15. #8
    Assassin's Creed's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Posts
    1,210
    Reputation
    54
    Thanks
    1,408
    My Mood
    Worried
    Quote Originally Posted by Fly3r View Post
    Dont wanna seem offensive but yours isnt organised at all. Which makes it hard to read.
    ya i know mine isnt organised...but it was posted 2 weeks ago...and just got stickied now so i cant edit ...@Hero said he was going to do it for me ..
     

    Contributer Since 20/2/2012
    MPGH Member Since December 2011

     





     

    offical thread> Assassin V15<

    To all People who thinks am a leecher,hate me,are jelly from me....
    Refer to this thread...
    https://www.mpgh.net/forum/232-crossf...stop-hate.html

  16. The Following 2 Users Say Thank You to Assassin's Creed For This Useful Post:

    hazami0209 (11-05-2012),nguyedi (11-06-2012)

  17. #9
    Fly3r's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not telling.
    Posts
    720
    Reputation
    18
    Thanks
    265
    My Mood
    Paranoid
    Mine got stickied after like 2mins. i was like wtf?
    Still i'll add more things but not now
    Joined MPGH: 07/08/09


    i used to tell arrow to the knee jokes then i died due to blood loss from takeing tomany arrows to the knee at once
    A network problem caused by you? What did you do? Trip over the cable?




  18. The Following User Says Thank You to Fly3r For This Useful Post:

    hazami0209 (11-05-2012)

  19. #10
    Reflex-'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    192.168.1.01
    Posts
    6,625
    Reputation
    584
    Thanks
    2,267
    My Mood
    Dead
    This is just awesome

  20. The Following 2 Users Say Thank You to Reflex- For This Useful Post:

    Fly3r (01-28-2012),hazami0209 (11-05-2012)

  21. #11
    Hero's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    memes
    Posts
    40,134
    Reputation
    4764
    Thanks
    9,674
    Quote Originally Posted by Assassin's Creed:5706513
    Quote Originally Posted by Fly3r View Post
    Dont wanna seem offensive but yours isnt organised at all. Which makes it hard to read.
    ya i know mine isnt organised...but it was posted 2 weeks ago...and just got stickied now so i cant edit ...@Hero said he was going to do it for me ..
    The thread is done...

    Also very nice thread, once again, Fly3r.
    [] [] [] [][]

    Editor from 06•14•2011 • 2014
    Donator since 09•16•2011
    Minion from 10•10•2011 • 01•06•2011
    Minion+ from 01•06•2012 • 08•08•2012
    Moderator from 08•08•2012 • 10•06•2012
    Global Moderator from 10•06•2012 • 12•05•2017
    Staff Administrator from 12•05•2017 • 05•01•2019
    Trusted Member since 07•13•2019
    Global Moderator since 09•11•2020




  22. The Following 3 Users Say Thank You to Hero For This Useful Post:

    Assassin's Creed (01-28-2012),Fly3r (01-28-2012),hazami0209 (11-05-2012)

  23. #12
    Ryuzaki™'s Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    At my headquarter, catching KIRA
    Posts
    1,671
    Reputation
    41
    Thanks
    6,252
    My Mood
    Lurking
    Nice tutorial

    The base/codes have comments to understand more.

    Thanks for this, Nice job!! I hope I can make my own hack this time



  24. The Following 2 Users Say Thank You to Ryuzaki™ For This Useful Post:

    Fly3r (01-28-2012),hazami0209 (11-05-2012)

  25. #13
    aa1000's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    u.s.a
    Posts
    9
    Reputation
    10
    Thanks
    1
    My Mood
    Cold
    thx
    good u but comments in the code cuz iam biggener in c++

  26. The Following User Says Thank You to aa1000 For This Useful Post:

    hazami0209 (11-05-2012)

  27. #14
    Fly3r's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Not telling.
    Posts
    720
    Reputation
    18
    Thanks
    265
    My Mood
    Paranoid
    I've already put comments in the base ..
    Read the Thread more carefully
    Joined MPGH: 07/08/09


    i used to tell arrow to the knee jokes then i died due to blood loss from takeing tomany arrows to the knee at once
    A network problem caused by you? What did you do? Trip over the cable?




  28. #15
    ]V[iRuS-]H[ackeR*'s Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    42
    Reputation
    10
    Thanks
    26
    My Mood
    Cheerful
    man i Need The perfect norecoil name in cshell ( i want search it after unpacking CSHell

Page 1 of 8 123 ... LastLast

Similar Threads

  1. MPGH dedicated APB Hack - REQUIRING HARDWORKING TESTERS
    By MrNeedHelp in forum All Points Bulletin Reloaded Hacks
    Replies: 17
    Last Post: 09-14-2011, 01:50 PM
  2. Window 7 64 bits hack requirement
    By hellboy999 in forum Combat Arms Help
    Replies: 10
    Last Post: 11-29-2010, 05:13 AM
  3. MPGH public hack (requires login info) help!
    By zeleet in forum Combat Arms Hacks & Cheats
    Replies: 4
    Last Post: 03-17-2010, 10:45 AM
  4. [Help] wall hack methods to inform a little?[xp]
    By gmlcjs1234 in forum Sudden Attack General
    Replies: 4
    Last Post: 02-18-2010, 07:56 PM
  5. Techniques ( No Hacking Required )
    By no0b in forum Gunz Hacks
    Replies: 4
    Last Post: 05-30-2006, 02:46 AM