Need Help [TriggerBot]

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat
Status
Not open for further replies.

Danielkb

Newbie
Silenced
Jan 25, 2014
3
101
0
Hey Guys,
I want to write a TriggerBot in vb.net, but I am a newbie.
Source:
C#:
Public Class Form1 
    Private Sub Schuss()
        Try
            TextBox2.Text = ReadInteger("csgo", &HA6BE2C)
            If TextBox2.Text = ("5") Then
                WriteInteger("csgo", &HA6BE2C, 4) 'client.dll+A6BE2C How can I load the client.dll?
            Else
                If TextBox2.Text = ("4") Then
                    WriteInteger("csgo", &HA6BE2C, 5)
                End If
            End If
        Catch ex As Exception
        End Try
    End Sub
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        TextBox1.Text = ReadInteger("csgo.exe", &H2370) '0x2370 
        If TextBox1.Text = ("1") Then
            Schuss()
        End If
    End Sub
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.Visible = False
        Me.ShowInTaskbar = False
        Me.Opacity = False
        Timer1.Interval = "1"
    End Sub
End Class
I hope somebody will explain me it.

Sincerely yours,
Daniel
 
Last edited:

Nether

The Angel Of Verdun
Meme Tier VIP
Dank Tier Donator
Dec 11, 2013
293
3,738
16
Hi Daniel,

You can use this memory class instead https://guidedhacking.com/showthread.php?4620-Nether-s-VB-Memory-Class for VB and to get the module base address you can use.

C#:
Dim Address As Integer = Mem._Module("client.dll+A6BE2C")
Mem.Write(Address, 5, GetType(integer))

TextBox1.Text = Mem.Read("csgo.exe+2370", GetType(integer))
Of course read what i have posted in the thread to use the memory class, let me know if you get any problems.
 
Last edited:

Danielkb

Newbie
Silenced
Jan 25, 2014
3
101
0
C#:
Public Class Form1
    Dim Mem As ProcMem = New ProcMem
    'Dim Address As Integer = Mem._Module("client.dll+A6BE2C")
    Private Sub Schuss()
        Mausklick(Windows.Forms.MouseButtons.Left)
    End Sub
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Try
            TextBox1.Text = Mem.Read("csgo.exe+2370", GetType(Integer)) '0x2370
            If TextBox1.Text = ("1") Then
                Schuss()
            End If
        Catch ex As Exception
        End Try
    End Sub
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.Visible = True
        Me.ShowInTaskbar = True
        Me.Opacity = True
        Timer1.Enabled = True
        Timer1.Interval = "1"
    End Sub
End Class
No Errors but it´s not working :(
 

Nether

The Angel Of Verdun
Meme Tier VIP
Dank Tier Donator
Dec 11, 2013
293
3,738
16
C#:
Public Class Form1
    Dim Mem As ProcMem = New ProcMem
    'Dim Address As Integer = Mem._Module("client.dll+A6BE2C")
    Private Sub Schuss()
        Mausklick(Windows.Forms.MouseButtons.Left)
    End Sub
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Try
            TextBox1.Text = Mem.Read("csgo.exe+2370", GetType(Integer)) '0x2370
            If TextBox1.Text = ("1") Then
                Schuss()
            End If
        Catch ex As Exception
        End Try
    End Sub
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Me.Visible = True
        Me.ShowInTaskbar = True
        Me.Opacity = True
        Timer1.Enabled = True
        Timer1.Interval = "1"
    End Sub
End Class
No Errors but it´s not working :(


C#:
TextBox1.Text = Mem.Read("csgo.exe+2370", GetType(Integer)) '0x2370
i wanted to ask, was this meant to be a pointer? like with offset 23 70? PM me your skype if you like.

also your
C#:
 'Dim Address As Integer = Mem._Module("client.dll+A6BE2C")
comment i thought you needed this, if you need to use it, use it inside a function.
 
Last edited:

Cyrion

Coder
Dank Tier Donator
Nobleman
Dec 31, 2013
107
998
7
CrossHair ID is (client.dll+A6BE2C) + 0x2370 , that's why reading csgo.exe+2370 doesnt work.

Also , if your crosshair ID is 1 , it means that you're aiming at yourself (It's impossible) , The id is 0 when you aim at nothing and > 1 , if you're aiming at someone.

After with that ID for the player, you will be able to loop into the entity list to retrieve the player team that you're aiming at to check if he is in your team or not.
 

till0sch

Respected Hacker
Dank Tier VIP
Dank Tier Donator
Oct 14, 2012
1,104
12,593
51
read the value in "client.dll+A6BE2C", to the value, add 0x2370 and read again. (Just for explanation and if the offsets and addresses posted are correct)
 

rN'

Jr.Hacker
Meme Tier VIP
Jan 19, 2014
340
6,268
41
Here is my pseudo sourcecode for an InCross (PlayerID) Triggerbot. You can transalte it easy to VB.NET :D PS: Ii prefer C++ to code Cheats :b

C++:
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow )
{
	if( Memory::Initialize( "Counter-Strike: Global Offensive" ) )
	{
		Memory::AddModule( "client", "client.dll" );
	}
	
	int iCrosshairID = 0;

	while( Memory::IsActive() ) // Check if Counter-Strike: Global Offensive is running
	{
		if( GetAsyncKeyState( 6 ) ) // If Triggerkey pressed
		{
			iCrosshairID = Memory::Read<int>( Memory::Read<DWORD>( Memory::GetModule( "client" ) + A6BE2C ) + 0x2370 ); // Read the InCrosshair ID
			
			if( iCrosshairID >= 0 && iCrosshairID <= 32 ) // If InCrosshair ID between 0 and 32
			{
				mouse_event( MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0 ); // Shoot
				Sleep( 10 );
				mouse_event( MOUSEEVENTF_LEFTUP, 0, 0, 0, 0 );
			}
		}
	}
	return 0;
}
 

Rake

I'm not your friend
Administrator
Jan 21, 2014
12,510
78,998
2,419
Thread closed on OP's request.
 
Status
Not open for further replies.
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods