• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Page 1 of 2 12 LastLast
    Results 1 to 10 of 17
    1. #1
      Coder
      so I herd u liek codenz...
       
      Lurking
       
      BeesKnees's Avatar
      Join Date
      Jul 2013
      Posts
      121
      Thanks (-->)
      56
      Thanks (<--)
      59

      TriggerBot help?

      Silent VPN
      Hello, Long time lurker, first time poster.
      I was wondering if i could get some help for my external triggerbot.

      It works fine and all, it's just that sometimes it doesn't recognize certain people on the server and ignores them when it'll work like a charm on any other player.
      I'm not sure if it's in the player check or what, but some help would really be appreciated.

      [PHP]#include <Windows.h>
      #include <iostream>
      #include "HackProcess.h"
      #include <math.h>


      using namespace std;

      #define F6_KEY 0x75
      CHackProcess fProcess;
      const DWORD Player_Base = 0x55DB34;
      const DWORD dw_teamOffset = 0x98;
      const DWORD dw_PlayerCount = 0x5A24E0;
      const DWORD dw_crosshairOffs = 0x14D4;
      const DWORD dw_entityBase = 0x56B3E4;
      const DWORD dw_EntityLoopDistance = 0x10;
      int NumOfPlayers = 64;

      /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

      struct MyPlayer
      {
      DWORD CLocalPlayer;
      DWORD BoneBase;
      int Team;
      int CrosshairEntityID;
      float Position[3];

      void ReadInformation()
      {
      ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordClient + Player_Base), &CLocalPlayer, sizeof(DWORD), 0);
      ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(CLocalPlayer+dw_teamOffset), &Team, sizeof(int), 0);
      ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(CLocalPlayer+dw_crosshairOffs), &CrosshairEntityID, sizeof(int), 0);
      ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordEngine+dw_PlayerCount), &NumOfPlayers, sizeof(int), 0);
      ReadProcessMemory (fProcess.__HandleProcess, (PBYTE*)(CLocalPlayer + 0x22C), &Position, sizeof(float[3]), 0);
      ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(CLocalPlayer + 0x570), &BoneBase, sizeof(DWORD), 0);
      }
      }MyPlayer;

      ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

      struct PlayerList
      {
      DWORD CBaseEntity;
      DWORD BoneBase;
      int Team;
      int Health;
      float Position[3];
      float m_vecStoreboneData[3][4];
      float Head[3];

      void ReadInformation(int Player)
      {
      ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordClient + dw_entityBase + (Player * dw_EntityLoopDistance)), &CBaseEntity, sizeof(DWORD), 0);
      ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(CBaseEntity+dw_teamOffset), &Team, sizeof(int), 0);
      ReadProcessMemory (fProcess.__HandleProcess, (PBYTE*)(CBaseEntity + 0x22C), &Position, sizeof(float[3]), 0);
      ReadProcessMemory (fProcess.__HandleProcess, (PBYTE*)(CBaseEntity + 0x90), &Health, sizeof(int), 0);
      ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(CBaseEntity + 0x570), &BoneBase, sizeof(DWORD), 0);
      }
      }PlayerList[64];

      ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

      void TriggerBot()
      {
      if(MyPlayer.CrosshairEntityID == 0)
      return;
      if(PlayerList[MyPlayer.CrosshairEntityID-1].Team == MyPlayer.Team)
      return;
      if(MyPlayer.CrosshairEntityID > NumOfPlayers)
      return;

      //bangbang
      if(MyPlayer.CrosshairEntityID != 0)
      {
      INPUT mouse;
      ZeroMemory(&mouse,sizeof(mouse));
      mouse.type = INPUT_MOUSE;
      mouse.mi.dwFlags = MOUSEEVENTF_LEFTDOWN;
      SendInput (1 , &mouse, sizeof(mouse));
      mouse.mi.dwFlags = MOUSEEVENTF_LEFTUP;
      SendInput (1 , &mouse, sizeof(mouse));
      Sleep(1);
      }
      }

      ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

      int main()
      {
      std::cout << "HL2.exe found." << std::endl;
      std::cout << "Monitoring Crosshair..." << std::endl;
      fProcess.RunProcess();

      while(!GetAsyncKeyState(F6_KEY))
      {
      while(GetAsyncKeyState(0x06))
      {
      MyPlayer.ReadInformation();
      for(int i = 0; i < NumOfPlayers; i++)
      {
      PlayerList[i].ReadInformation(i);
      }
      TriggerBot();
      }
      }
      }[/PHP]

    2. #2
      Jr.Hacker
      Haze-Productions
       
      Coding
       
      rN''s Avatar
      Join Date
      Jan 2014
      Posts
      340
      Thanks (-->)
      20
      Thanks (<--)
      126
      I'm pretty sure that you don't know what are you doing. Looks like c&p from fleep & adding EntityIndexInCrosshair. Start learning C++ and stop copy&paste.

    3. #3
      Coder
      so I herd u liek codenz...
       
      Lurking
       
      BeesKnees's Avatar
      Join Date
      Jul 2013
      Posts
      121
      Thanks (-->)
      56
      Thanks (<--)
      59
      I also updated the offsets and addresses on my own, replaced the WPM with hardware emulation.
      I have learned the basics of c++, there's nothing about looping through players on an online vidya server in any c++ basics book or c++ basics online tut.
      Oh and i thought this was "guidedhacking" and i thought maybe i was posting on the 'Help' board...
      Why are you even in this thread?
      It's people like you that prevent others from learning.
      Last edited by BeesKnees; 03-10-2014 at 03:13 PM.

    4. Thanks squeenie, GAFO666 thanked for this post
    5. #4
      Hacker
      Working, University, Coding ..
       
      Drinking
       
      GAFO666's Avatar
      Join Date
      Aug 2012
      Location
      if(PlayerBase << 16) return IdontKnow("yolo");
      Posts
      531
      Thanks (-->)
      33
      Thanks (<--)
      102
      Quote Originally Posted by BeesKnees View Post
      I also updated the offsets and addresses on my own, replaced the WPM with hardware emulation.
      I have learned the basics of c++, there's nothing about looping through players on an online vidya server in any c++ basics book or c++ basics online tut.
      Oh and i thought this was "guidedhacking" and i thought maybe i was posting on the 'Help' board...
      Why are you even in this thread?
      It's people like you that prevent others from learning.
      haha i like you xD
      so basicly its quite different on servers, you did not tell when exactly it ignores players for shooting but if enemys go out of your range they are dormand and so not reachable..
      here a breve examble that you can understand what I mean: (it has somehow may something todo with your problem, but just guesing)
      If you eg read out the player pos on a private match, the data gets red out nicely and you can eg draw boxes on it, but on servers its quite dirrerent, means if the enemys are
      dormant and you forgot to check that, the boxes will be drawn into nowhere cuz the pos does not get updated..

      So my gues it that sometimes your cross id does not get updated somehow, may you tell us when exactly it does not shoot (i mean if they far away or directly next to you)

      Leave a rep+ if I helped you with my answer
      Dont tell me to google something, first thing I do before asking is searching on my own.

    6. Thanks BeesKnees thanked for this post
    7. #5
      Coder
      so I herd u liek codenz...
       
      Lurking
       
      BeesKnees's Avatar
      Join Date
      Jul 2013
      Posts
      121
      Thanks (-->)
      56
      Thanks (<--)
      59
      Quote Originally Posted by GAFO666 View Post
      haha i like you xD
      so basicly its quite different on servers, you did not tell when exactly it ignores players for shooting but if enemys go out of your range they are dormand and so not reachable..
      here a breve examble that you can understand what I mean: (it has somehow may something todo with your problem, but just guesing)
      If you eg read out the player pos on a private match, the data gets red out nicely and you can eg draw boxes on it, but on servers its quite dirrerent, means if the enemys are
      dormant and you forgot to check that, the boxes will be drawn into nowhere cuz the pos does not get updated..

      So my gues it that sometimes your cross id does not get updated somehow, may you tell us when exactly it does not shoot (i mean if they far away or directly next to you)
      Thanks so much for your reply. It happens no matter the distance, completely depends on the player.
      thanks again for your time.

    8. #6
      Hacker
      Working, University, Coding ..
       
      Drinking
       
      GAFO666's Avatar
      Join Date
      Aug 2012
      Location
      if(PlayerBase << 16) return IdontKnow("yolo");
      Posts
      531
      Thanks (-->)
      33
      Thanks (<--)
      102
      hmm not matter which distance huh
      aaaah my rusty brain remembers something, you need to set the maxplayers manualy, means 32 otherwise it wont work on servers properly

      edit:

      do like

      int maxplayers = 32;
      if(numofplayers>maxplayers)
      maxplayers = numofplayers;

      to be sure, cuz there are server over 32 ppl also
      Last edited by GAFO666; 03-10-2014 at 06:42 PM.

      Leave a rep+ if I helped you with my answer
      Dont tell me to google something, first thing I do before asking is searching on my own.

    9. Thanks BeesKnees thanked for this post
    10. #7
      Coder
      so I herd u liek codenz...
       
      Lurking
       
      BeesKnees's Avatar
      Join Date
      Jul 2013
      Posts
      121
      Thanks (-->)
      56
      Thanks (<--)
      59
      Quote Originally Posted by GAFO666 View Post
      hmm not matter which distance huh
      aaaah my rusty brain remembers something, you need to set the maxplayers manualy, means 32 otherwise it wont work on servers properly

      edit:

      do like

      int maxplayers = 32;
      if(numofplayers>maxplayers)
      maxplayers = numofplayers;

      to be sure, cuz there are server over 32 ppl also
      that's in there and i used 64 for that reason
      edit:
      oh i think i see now, add a max aswell as keep numofplayers


      added that and fixed it here
      [PHP]if(MyPlayer.CrosshairEntityID > maxplayers)
      return;[/PHP]

      it works for everyone now, but even teammates lol
      Last edited by BeesKnees; 03-10-2014 at 07:15 PM.

    11. #8
      Hacker
      Working, University, Coding ..
       
      Drinking
       
      GAFO666's Avatar
      Join Date
      Aug 2012
      Location
      if(PlayerBase << 16) return IdontKnow("yolo");
      Posts
      531
      Thanks (-->)
      33
      Thanks (<--)
      102
      yeh

      *need at least 10 chars for sending message xD*

      Leave a rep+ if I helped you with my answer
      Dont tell me to google something, first thing I do before asking is searching on my own.

    12. Thanks BeesKnees thanked for this post
    13. #9
      Coder
      so I herd u liek codenz...
       
      Lurking
       
      BeesKnees's Avatar
      Join Date
      Jul 2013
      Posts
      121
      Thanks (-->)
      56
      Thanks (<--)
      59
      if you don't mind, why isnt my...

      if(PlayerList[MyPlayer.CrosshairEntityID-1].Team == MyPlayer.Team)
      return;

      ...working?

    14. #10
      Hacker
      Working, University, Coding ..
       
      Drinking
       
      GAFO666's Avatar
      Join Date
      Aug 2012
      Location
      if(PlayerBase << 16) return IdontKnow("yolo");
      Posts
      531
      Thanks (-->)
      33
      Thanks (<--)
      102
      Silent VPN
      did you do as my rusty brain said ?

      Code:
       #include <Windows.h> 
      #include <iostream> 
      #include "HackProcess.h" 
      #include <math.h>  
      
      
      using namespace std;   
      
      #define F6_KEY 0x75 
      CHackProcess fProcess;   
      const DWORD Player_Base =  0x55DB34; 
      const DWORD dw_teamOffset = 0x98; 
      const DWORD dw_PlayerCount = 0x5A24E0; 
      const DWORD dw_crosshairOffs = 0x14D4; 
      const DWORD dw_entityBase = 0x56B3E4; 
      const DWORD dw_EntityLoopDistance = 0x10; 
      int NumOfPlayers = 0; 
      int maxplayers = 32;
      
      ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
               
          struct MyPlayer 
              { 
              DWORD CLocalPlayer; 
              DWORD BoneBase; 
              int Team; 
              int CrosshairEntityID; 
              float Position[3]; 
      
              void ReadInformation() 
              { 
                  ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordClient + Player_Base), &CLocalPlayer, sizeof(DWORD), 0); 
                  ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(CLocalPlayer+dw_teamOffset), &Team, sizeof(int), 0); 
                  ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(CLocalPlayer+dw_crosshairOffs), &CrosshairEntityID, sizeof(int), 0); 
                  ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordEngine+dw_PlayerCount), &NumOfPlayers, sizeof(int), 0); 
                  ReadProcessMemory (fProcess.__HandleProcess, (PBYTE*)(CLocalPlayer + 0x22C), &Position, sizeof(float[3]), 0); 
                  ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(CLocalPlayer + 0x570), &BoneBase, sizeof(DWORD), 0); 
      			
      			if(NumOfPlayers > maxplayers)
      				maxplayers = NumOfPlayers;
              } 
          }MyPlayer; 
      
      //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
               
          struct PlayerList 
              { 
              DWORD CBaseEntity; 
              DWORD BoneBase; 
              int Team; 
              int Health; 
              float Position[3]; 
              float m_vecStoreboneData[3][4]; 
              float Head[3]; 
               
              void ReadInformation(int Player) 
                  { 
                  ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(fProcess.__dwordClient + dw_entityBase + (Player * dw_EntityLoopDistance)), &CBaseEntity, sizeof(DWORD), 0); 
                  ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(CBaseEntity+dw_teamOffset), &Team, sizeof(int), 0);          
                  ReadProcessMemory (fProcess.__HandleProcess, (PBYTE*)(CBaseEntity + 0x22C), &Position, sizeof(float[3]), 0); 
                  ReadProcessMemory (fProcess.__HandleProcess, (PBYTE*)(CBaseEntity + 0x90), &Health, sizeof(int), 0); 
                  ReadProcessMemory(fProcess.__HandleProcess, (PBYTE*)(CBaseEntity + 0x570), &BoneBase, sizeof(DWORD), 0); 
                  } 
              }PlayerList[64]; 
      
      //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
      
          void TriggerBot() 
              { 
                  if(MyPlayer.CrosshairEntityID == 0) 
                      return; 
                  if(PlayerList[MyPlayer.CrosshairEntityID-1].Team == MyPlayer.Team) 
                      return; 
                  if(MyPlayer.CrosshairEntityID > maxplayers) 
                      return; 
      
                  //bangbang 
                  if(MyPlayer.CrosshairEntityID != 0) 
                      { 
                      INPUT mouse; 
                      ZeroMemory(&mouse,sizeof(mouse)); 
                      mouse.type = INPUT_MOUSE; 
                      mouse.mi.dwFlags = MOUSEEVENTF_LEFTDOWN; 
                      SendInput (1 , &mouse, sizeof(mouse));  
                      mouse.mi.dwFlags = MOUSEEVENTF_LEFTUP; 
                      SendInput (1 , &mouse, sizeof(mouse));  
                      Sleep(1); 
                      } 
              } 
      
      //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
      
          int main() 
              { 
              std::cout << "HL2.exe found." << std::endl; 
              std::cout << "Monitoring Crosshair..." << std::endl; 
              fProcess.RunProcess(); 
           
              while(!GetAsyncKeyState(F6_KEY)) 
                  { 
                  while(GetAsyncKeyState(0x06)) 
                      { 
                      MyPlayer.ReadInformation(); 
                      for(int i = 0; i < maxplayers; i++) 
                          { 
                          PlayerList[i].ReadInformation(i); 
                          } 
                      TriggerBot(); 
                      } 
                  } 
              }

      Leave a rep+ if I helped you with my answer
      Dont tell me to google something, first thing I do before asking is searching on my own.

    15. Thanks BeesKnees thanked for this post
    Page 1 of 2 12 LastLast

    Similar Game Hacker Threads

    1. C# CS GO Triggerbot Only
      By Johnyx in forum CS:GO Hacks
      Replies: 12
      Last Post: 08-27-2017, 03:59 PM
    2. [Help] Triggerbot help.
      By gummy8unny in forum CS:GO Hacks
      Replies: 2
      Last Post: 12-28-2015, 03:53 AM
    3. [Help] CS:GO TriggerBot
      By maxownage01 in forum CS:GO Hacks
      Replies: 6
      Last Post: 09-20-2015, 04:51 AM
    4. Triggerbot help
      By nb81 in forum CS:GO Hacks Help
      Replies: 4
      Last Post: 05-13-2015, 07:51 AM
    5. Need Help [TriggerBot]
      By Danielkb in forum Visual Basic
      Replies: 8
      Last Post: 01-28-2014, 10:58 AM

    Tags for this Thread