Page 1 of 3 123 LastLast
Results 1 to 15 of 44
  1. #1
    Brimir's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    357
    Reputation
    21
    Thanks
    281

    How to make a base

    Making the base
    First of all, make a DLL main. You need to creat a new thread from here. This is becouse you want to run the dll next to the game. This way you can make a "Realtime" hack!

    Do you want to know more about DLL main.. Just searth my other tuts.

    Code:
    //DLLmain Input:
    BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
    	DisableThreadLibraryCalls(hDll);
    	char msg[10] = {unic[5],unic[0],unic[6],unic[5],unic[4],unic[1],unic[3],unic[1],unic[2]};
    		CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
    	}
    	return true;
    }
    This is just a simple DLL Main. You can add a msg box and more.
    This wil creat the thread "runner".

    Cheak if Cshell is loaded
    First I wait a while till you know cshell.dll is loaded:

    Code:
    Sleep(9800);
    But it is posable that some one has as slow pc.. So I made a try catch structure to catch this:

    Code:
    BOOL WINAPI runner(LPVOID) {
    	Sleep(9800);
    	try {
    		DWORD dllfile = (DWORD)GetModuleHandleA("Cshell.dll");
    		if(dllfile == false) {
    			throw 1;
    		}
    	} 
    	catch (int error) {
    		switch(error) {
    		case 1:
    			CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
    			return false;
    		default:
    			//Unkown error!
    			return false;
    		}
    	}
    	Beep(1000,1000);
    	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)doyourstuffhere, NULL, NULL, NULL);
    	return true;
    }
    This will try to load Cshell.dll. It will continue till it is loaded. Why try catch? its a nice methode to solve bugs.
    This tries to load cshell.dll. If this doesn’t work then It will send an error to the catch. This will handle the error.

    If Cshell is loaded. It will lauche a new thread “doyourstuffhere”. The existing thread will finish. So you have a “clean start”.

    Hack thread

    Just define the thread:

    Code:
    DWORD WINAPI doyourstuffhere(LPVOID param) {
    
    }
    And do your stuff.

    How to change memory

    Load cshell:
    Code:
    DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll" );
    Make a pointer to a class
    Code:
    DWORD Wapenclass = *(PDWORD)(cshell + 0xA65EE8);
    Do your hacks. There is a possibility that you need to do other stuff. Like find the weapon location and more. I made for 4 classes a offset how to make it.

    Basic player:
    Code:
    if(Playerbasic) {
    	*(float*)(Playerbasic + 0x88) = (float)0;
    	*(float*)(Playerbasic + 0x8C) = (float)0;
    	*(float*)(Playerbasic + 0x90) = (float)0;
    	*(float*)(Playerbasic + 0x94) = (float)0;
    }
    Other player

    Code:
    if(Playercl) {
    	*(float*)(Playercl + 0x04) = (float)0;
    }
    Weapon array:
    Code:
    if(Wapenclass) {
         for(int i=0 ; i<533 ; i++) {
    		DWORD curwapen = *(DWORD*)(Wapenclass +(4*i));
    			if (curwapen)	{
    				*(float*)( curwapen + 0x2698) = (float)1; 
    				*(float*)( curwapen + 0x269c) = (float)1; 
    			}
    		}
    	}
    }
    Wall class:
    Code:
    if(Wallclass) {
    		for(int i = 0;i<64;i++)	{
    			*(float*)(Wallclass+(i*0x04F4)+0x04E8) = (float)1; //String is "EdgeShotEnabled" 
    			*(float*)(Wallclass+(i*0x04F4)+0x04EC) = (float)1; //String is "WallShotEnabled" 
    			*(float*)(Wallclass+(i*0x04F4)+0x04F0) = (float)1; //String is "PerfectWallShotEnabled"
    		}
    	}
    }
    You can make the pointer to the classes this way:
    Code:
    DWORD Wapenclass = *(PDWORD)(cshell + 0xA65EE8);
    DWORD Wallclass = *(PDWORD)(cshell + 0xA65ED4);
    DWORD Playerbasic = *(PDWORD)(cshell + 0x9FF160);
    DWORD Playercl = *(PDWORD)(cshell + 0xA65ECC);
    How does that pointing part work?
    You just make a pointer to the location you want to change. Then you make it what ever you want.
    That is all.

    GL all!
    Last edited by Royku; 01-04-2012 at 05:51 AM.
    Thanks @~FALLEN~ for helping me
    Thanks @Shakai for helping me

    Other nice ppl:
    @258456
    @giniyat101

    My usefull posts:
    Byte scanner
    How to make a logger
    Hook example
    How to make a memhack base
    How to use classes with memhacking
    Addie finder

  2. The Following 46 Users Say Thank You to Brimir For This Useful Post:

    -iFaDy..* (04-03-2012),al3xman (02-28-2012),arsenaal (05-11-2012),Assassin's Creed (02-03-2012),ayak (01-14-2012),BlackLite (11-15-2011),boody_snow (02-15-2012),CorrM (08-22-2013),CrossRaiders (11-13-2011),dizzyeasy (08-20-2012),Dragon(H)ell (11-28-2011),ErrorIndex (10-18-2018),Fly3r (11-13-2011),giniyat101 (11-13-2011),GunBoy120 (11-13-2011),himomax12 (10-30-2018),King Aldrin (05-03-2013),liuyitiger (07-28-2016),lokea333 (01-18-2017),maximus8011 (11-18-2011),Mitch Galatcha (05-29-2012),moathebest (12-03-2011),moustafapower (05-21-2012),mpamias123 (09-20-2012),mrnub (12-14-2011),newbiecrazy (02-02-2013),ninjastormns (07-29-2012),nomanis (07-14-2012),ranger35 (08-29-2016),rjj83 (11-15-2011),romeo002 (06-02-2012),Royku (11-13-2011),Ryuzaki™ (01-15-2012),ScrewYouCookie (03-11-2012),SteamAss (01-02-2012),Swag (11-13-2011),Swaggbro (05-17-2012),TheBeast13 (04-19-2012),THEBOYZRULE (08-12-2012),ToJaMleko (04-15-2012),VitorFoda (12-31-2011),willcpc2 (12-03-2011),zizomosad (07-17-2012),[[SeXergy]] (11-13-2011),]V[iRuS-]H[ackeR* (01-26-2012),_corn_ (12-11-2011)

  3. #2
    CrossRaiders's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    1,586
    Reputation
    29
    Thanks
    1,214
    Another Great Tut!

    Again Thanks!

    +Thanked.

  4. The Following 2 Users Say Thank You to CrossRaiders For This Useful Post:

    himomax12 (10-30-2018),ramo (02-02-2012)

  5. #3
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    Great tut.. but
    why not looping till CShell loads instead of creating the thread runner alot?


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  6. The Following User Says Thank You to giniyat101 For This Useful Post:

    stuno (01-18-2012)

  7. #4
    Swag's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Netherlands
    Posts
    1,619
    Reputation
    19
    Thanks
    1,865
    My Mood
    Amused
    great tut!
    i go make a base

    i have follow tut. and made a base but base don't work
    Last edited by Hero; 11-17-2011 at 03:18 PM. Reason: merged double post.

  8. #5
    kmanev073's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Bulgaria
    Posts
    2,400
    Reputation
    97
    Thanks
    2,537
    My Mood
    Cool
    @Brimir i am getting send error report on see ghost

  9. #6
    CrossRaiders's Avatar
    Join Date
    May 2009
    Gender
    male
    Posts
    1,586
    Reputation
    29
    Thanks
    1,214
    Quote Originally Posted by iiRageQ View Post
    Nice tut..This code is lecched??
    This is not leeched. And this code does work. You just need to know C++ to work it out

  10. The Following 2 Users Say Thank You to CrossRaiders For This Useful Post:

    Brimir (11-13-2011),mo6aA (11-28-2011)

  11. #7
    Brimir's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    357
    Reputation
    21
    Thanks
    281
    Quote Originally Posted by giniyat101 View Post
    Great tut.. but
    why not looping till CShell loads instead of creating the thread runner alot?
    Becouse it is easy to detect that way.
    And I don't create lots of threads... The max threads that are running is 2

    Quote Originally Posted by iiRageQ View Post
    Nice tut..This code is lecched??
    Nope, I don't leeche
    Thanks @~FALLEN~ for helping me
    Thanks @Shakai for helping me

    Other nice ppl:
    @258456
    @giniyat101

    My usefull posts:
    Byte scanner
    How to make a logger
    Hook example
    How to make a memhack base
    How to use classes with memhacking
    Addie finder

  12. #8
    [G-FORCEISDEADDONTASKWHY]'s Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    40
    Reputation
    11
    Thanks
    34
    My Mood
    Amazed
    Can add me? lolcookez@live.com

  13. #9
    giniyat101's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Not telling.
    Posts
    1,935
    Reputation
    130
    Thanks
    1,380
    My Mood
    Dead
    Quote Originally Posted by [G-FORCEISDEADDONTASKWHY] View Post
    Can add me? lolcookez@live.com
    your secret identity blown again


     



    [img]https://i43.photobucke*****m/albums/e367/DeteSting/Steam-update.gif[/img]

  14. #10
    Swag's Avatar
    Join Date
    Jul 2011
    Gender
    male
    Location
    Netherlands
    Posts
    1,619
    Reputation
    19
    Thanks
    1,865
    My Mood
    Amused
    msg box comes.. but in game is nothing happening..
    who can help me whith this problem?

  15. #11
    trismund's Avatar
    Join Date
    May 2010
    Gender
    male
    Posts
    19
    Reputation
    10
    Thanks
    8
    tnx for this info!

  16. #12
    badboy3's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Location
    Seattle , Washington, USA
    Posts
    839
    Reputation
    40
    Thanks
    88
    My Mood
    Tired
    Good one...Hey i'm having some troubles when I try to unpack Cshell.dll ......I search the no recoil code and it goes to pause....I'm a noob and C++ and unpacking Cshell.dll ....plz help

  17. #13
    Brimir's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    357
    Reputation
    21
    Thanks
    281
    Quote Originally Posted by badboy3 View Post
    Good one...Hey i'm having some troubles when I try to unpack Cshell.dll ......I search the no recoil code and it goes to pause....I'm a noob and C++ and unpacking Cshell.dll ....plz help
    Thanks @~FALLEN~ for helping me
    Thanks @Shakai for helping me

    Other nice ppl:
    @258456
    @giniyat101

    My usefull posts:
    Byte scanner
    How to make a logger
    Hook example
    How to make a memhack base
    How to use classes with memhacking
    Addie finder

  18. #14
    BlackLite's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Posts
    547
    Reputation
    58
    Thanks
    1,035
    My Mood
    Aggressive
    Loop Here : <533 , Change to Loop <560

  19. #15
    uNoobishAin'tU's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    Gym
    Posts
    503
    Reputation
    8
    Thanks
    70
    My Mood
    Doh
    Great job! Helped a lot!
    CF Eu IGN: u2N0obish4Me
    [IMG] GIFSoup[/IMG]

Page 1 of 3 123 LastLast

Similar Threads

  1. How to make a simple text based game in c++
    By VvITylerIvV in forum Programming Tutorials
    Replies: 13
    Last Post: 08-09-2010, 05:49 PM
  2. How to make Satellite Chams for Gellins Base!
    By Crash in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 25
    Last Post: 01-25-2010, 09:54 AM
  3. How to make Fog RGB Changer on Gellin's Base !
    By Crash in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 4
    Last Post: 01-20-2010, 06:58 PM
  4. How to make a Text-Based Maffia Game?
    By Ravallo in forum Suggestions, Requests & General Help
    Replies: 4
    Last Post: 12-09-2009, 06:47 AM
  5. How I make wallhack?
    By RaidenDXX in forum WarRock - International Hacks
    Replies: 6
    Last Post: 01-23-2006, 01:28 PM