Results 1 to 3 of 3
  1. #1
    khm9's Avatar
    Join Date
    Apr 2015
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0

    Simple steps for making an external triggerbot?

    Hi all,
    Well I have decided to take a project for fun, and i thought I could give a try in making a simple external triggerbot hack.

    I do C language for a year now and I am doing C++ for almost 7 months now so I am not a beginner and I am not experienced either, more like an amateur

    Roughly I know what I need to do in order to make one, but I still cannot connect all of the dots.

    I will not ask you to send me examples of a code, since that won't do any good.

    I would ask you to write few simple steps in order for me, example,
    1.Accessing adresses
    2.
    3.
    etc.

  2. #2
    gabrielalbin0's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    0
    1 -> Read Crosshair offset (u can get offsets in offset topic, somewhere in this forum, just search "csgo offsets");
    2 -> if Crosshair offset greater than 0 and less or equal 65 (thats the id of the player that is in your crosshair), then read id base by
    Code:
    readProcessMemory(handle, LPVOID(clientdll + entitylistoffset + ((chrosshair -1) * 0x10), &address, sizeof(DWORD), null);
    the reason of (chrosshair -1) its becuz the crosshair offset aways adds 1 to playerID, and the reason of the 0x10 its because each entity is 0x10 away from another..
    >then read player team
    Code:
    readProcessMemory(handle, LPVOID(address+iTeamNumOffset), &Enemyteam, sizeof(int), null);
    >read your playerbase
    Code:
    readProcessMemory(handle, LPVOID(clientdll+localplayerOffset), &LocalPlayer, sizeof(DWORD), null);
    then read your team
    Code:
    readProcessMemory(handle, LPVOID(LocalPlayer+iTeamNumOffset), &PlayerTeam, sizeof(int), null);
    compare if (Enemyteam != PlayerTeam)
    if true
    Code:
    			WriteProcessMemory(gHandle, LPVOID(modAddress + forceAttack), &jump, sizeof(int), NULL);
    			Sleep(10);
    			WriteProcessMemory(gHandle, LPVOID(modAddress + forceAttack), &dJump, sizeof(int), NULL);
    			Sleep(10);
    That's my shit codded external trigger:

    in main():

    Code:
    bool legit = 0;
    while(1){
         if (GetAsyncKeyState(VK_F1) & 1) legit = !legit //toggle legit mode pressing f1
         if (GetAsyncKeyState(VK_MENU) & 0x8000) //while alt is pressed
         {
              TriggerBot(gHandle, legit)
         }
    }
    Code:
    void lerDadosLocPlayer(HANDLE gHandle){
    	ReadProcessMemory(gHandle, LPVOID(PlayerBase + teamNum), &playerTeam, sizeof(playerTeam), NULL);
    	ReadProcessMemory(gHandle, LPVOID(PlayerBase + crosshairId), &enemyinCH, sizeof(enemyinCH), NULL);
    }
    Code:
    void TriggerBot(HANDLE gHandle, bool legit){
    	lerDadosLocPlayer(gHandle);
    	if (enemyinCH > 0 && enemyinCH < 65){
    		ReadProcessMemory(gHandle, LPVOID(modAddress + entityListO + ((enemyinCH - 1) * 0x10)), &enemyBase, sizeof(enemyBase), NULL);
    		ReadProcessMemory(gHandle, LPVOID(enemyBase + teamNum), &EnemyTeam, sizeof(EnemyTeam), NULL);
    		if (EnemyTeam != playerTeam){
    			if (legit) Sleep(150); //if legit option = true, sleep 150ms before shoots!
    			WriteProcessMemory(gHandle, LPVOID(modAddress + forceAttack), &jump, sizeof(int), NULL);
    			Sleep(50);
    			WriteProcessMemory(gHandle, LPVOID(modAddress + forceAttack), &dJump, sizeof(int), NULL);
    			Sleep(20);
    		}
    	}
    }
    Last edited by gabrielalbin0; 10-12-2016 at 01:59 PM.

  3. #3
    Smoke's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Posts
    11,899
    Reputation
    2661
    Thanks
    4,610
    My Mood
    Amazed
    Been over a week since last update/bump after answers, assuming solved.

    /Closed.


    CLICK TO BUY NOW!!


    Quote Originally Posted by Liz View Post
    This is my first vouch, ever. Rapidgator account worked perfectly. Would buy in the future.

Similar Threads

  1. [Release] How To Make Your Own Simple Skin For CS 1.6
    By XownageX in forum CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    Replies: 21
    Last Post: 07-10-2018, 04:25 PM
  2. Problem for make triggerbot
    By benreben in forum All Points Bulletin Reloaded Hacks
    Replies: 1
    Last Post: 05-31-2013, 11:10 AM
  3. [Request] I need a very simple hack for some iOS games plz make it for me
    By TheInfinityFM in forum iOS Game Hacks
    Replies: 1
    Last Post: 10-08-2012, 05:28 PM
  4. [Source Code] How to make a simple detour for hacks [TeknoMW3]
    By Kenshin13 in forum Call of Duty Modern Warfare 3 Private Server Hacks
    Replies: 6
    Last Post: 09-30-2012, 09:56 PM
  5. For make an external hack
    By broken in forum Call of Duty Modern Warfare Help
    Replies: 2
    Last Post: 03-28-2011, 07:48 AM