![]() |
|
Assault Cube Game Hack+ Text Spammer - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Visual Basic & .NET Framework (https://sinister.li/Forum-Visual-Basic-NET-Framework) +--- Thread: Assault Cube Game Hack+ Text Spammer (/Thread-Assault-Cube-Game-Hack-Text-Spammer) |
Assault Cube Game Hack+ Text Spammer - Classified - 10-17-2015 Due to the lack of releases I made my first spammer and I also made a simple hack for Assualt Cube. Honestly most of you guys will think it's pathetic but I think it's cool that I made something that I learned on my own. Obviously I have to improve and not stick around at this level but I'll be sure to keep releasing small things that I make in the hopes you guys can build off on it! SPAMMER: Code: Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
If TextBox1.Text = "" Then
MsgBox("Please type something in the textbox")
Else
SendKeys.Send(TextBox1.Text)
SendKeys.Send("{Enter}")
End If
SendKeys.Send(TextBox1.Text)
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Threading.Thread.Sleep(TextBox2.Text)
Timer1.Start()
Timer2.Start()
TextBox2.Enabled = False
TextBox1.Enabled = False
TextBox3.Enabled = False
End Sub
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Timer1.Stop()
Timer2.Stop()
TextBox2.Enabled = True
TextBox1.Enabled = True
TextBox3.Enabled = True
End Sub
Private Sub Timer2_Tick(sender As Object, e As EventArgs) Handles Timer2.Tick
If TextBox3.Text = "" Then
MsgBox("Please type something in the textbox")
Else
SendKeys.Send(TextBox3.Text)
SendKeys.Send("{Enter}")
End If
End Sub
End Class![]() Assault Cube Hack: (Health Only) Code: Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Timer1.Start()
End Sub
Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick
Dim health As String = TextBox1.Text
Try
WriteDMAInteger("ac_client", &H509B74, {&HF8}, TextBox1.Text, 1)
Catch ex As Exception
MsgBox("Error with hack")
End Try
End Sub
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
CheckIfRunning()
End Sub
Private Sub CheckIfRunning()
Dim p() As Process
p = Process.GetProcessesByName("ac_client")
If p.Count > 0 Then
Me.Show() ' Process is running
Else
MsgBox("Please open Assualt Cube then the hack", MsgBoxStyle.Information, "Game Not Found") ' Process is not running
Application.Exit()
End If
End Sub
End Class![]() Any advice on what to improve and just tips in general would be nice! RE: Assault Cube Game Hack+ Text Spammer - Killpot - 10-17-2015 For the spammer, it's really shittily made, look into multi-threading, and add make sure the values people are entering are even numbers, what happens if I enter a letter into the millisecond text box? Also the GUI has way too much wasted space, design more efficiently. And as for the Assault Cube hack, you didn't make it, but props to getting it working considering you left out the majority of the code for it. You don't include the WriteDMAInteger function so anyone that uses this won't even be able to compile it. I'd also recommend not just trying to get things working, but a deeper understanding of WHY they work, simply copy and pasting code is cool to get working, but you'll never be able to move past just copy and pasting if you don't know how it all works. RE: Assault Cube Game Hack+ Text Spammer - Classified - 10-17-2015 (10-17-2015, 08:24 PM)Killpot Wrote: For the spammer, it's really shittily made, look into multi-threading, and add make sure the values people are entering are even numbers, what happens if I enter a letter into the millisecond text box? Also the GUI has way too much wasted space, design more efficiently. This actually wasn't copy+pasted code. This was one of my first projects that I made with the help of some Hack Forum members. I just wanted to post the end product. Original thread can be found here: http://hackforums.net/showthread.php?tid=4602681 This is just to show my evolution, we all started from somewhere. RE: Assault Cube Game Hack+ Text Spammer - Killpot - 10-17-2015 (10-17-2015, 08:28 PM)Classified Wrote:(10-17-2015, 08:24 PM)Killpot Wrote: For the spammer, it's really shittily made, look into multi-threading, and add make sure the values people are entering are even numbers, what happens if I enter a letter into the millisecond text box? Also the GUI has way too much wasted space, design more efficiently. haha that's absolutely hilarious, that was the exact thread I was thinking about when I said what I did, I've been on that thread before to get the function that Lazy posted a long ass time ago. RE: Assault Cube Game Hack+ Text Spammer - Classified - 10-17-2015 (10-17-2015, 08:31 PM)Killpot Wrote:If you're on HF you should definitely hit me up. But you can see the progress from where i was then to now (hopefully).(10-17-2015, 08:28 PM)Classified Wrote:(10-17-2015, 08:24 PM)Killpot Wrote: For the spammer, it's really shittily made, look into multi-threading, and add make sure the values people are entering are even numbers, what happens if I enter a letter into the millisecond text box? Also the GUI has way too much wasted space, design more efficiently. |