Help with a project

Posts 1–5 of 5 · Page 1 of 1
Help with a project
Ok so im wanting to make this trainer. In Vb.Net and am using Blubbs DLL v1.1 And its a checkbox so can someone give me the code that would go weith it,
Explain it better.
Quote Originally Posted by cgallagher21 View Post
Ok so im wanting to make this trainer. In Vb.Net and am using Blubbs DLL v1.1 And its a checkbox so can someone give me the code that would go weith it,
well i would stat a new project, add blubbs module, then maybe add a button or check box

for a button u would double click your button and in the middle of the code code below put

call memoryh4x(&Haddress, value, Byte)

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click


End Sub

so it looks like

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
call memoryh4x(&Haddress, value, Byte)
End Sub

now call memoryhax is calling the function from blubbs module,
&Haddress must aways start with &H this is any addy u want to modify
value is the value of your address
byte type will be a 2,4,8 most comonly

for a checkbox its the same double click your checckbox from designer view
in the code below


Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged

End Sub

you would do the same as above
call memoryh4x(&Haddress u want to modify, value u want, bytes)

now to freeze the adresses u need to use timers witch is gonna make this a long post, search around its here on mpgh forums somewhere

and dont forget to credit blubb
Quote Originally Posted by demonbhd View Post
for a checkbox its the same double click your checckbox from designer view
in the code below


Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged

End Sub

you would do the same as above
call memoryh4x(&Haddress u want to modify, value u want, bytes)

now to freeze the adresses u need to use timers witch is gonna make this a long post, search around its here on mpgh forums somewhere

and dont forget to credit blubb
You made an error in the checkbox part because the checkbox will do the same no matter if it is toggle or not. That removes the idear of a checkbox. Here is what you should do:
[Highlight=VB.net]
Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged
If CheckBox1.Checked = True Then
'Here you write what you want it to do when the checkbox is toggled.
call memoryh4x(&Haddress, value, bytes)
Else
'This is what it does when you un-tick it
call memoryh4x(&Haddress, value, bytes)
End if
End Sub[/Highlight]
How to freeze an address:
[Highlight=VB.net]
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1_tick or something
call memoryh4x(&Haddress, value, bytes)
End Sub[/Highlight]
Now you just make a button that says
[Highlight=VB.net]
Timer1.Enabled = True
End Sub[/Highlight]
The timer will do what you wrote 10 times per second if you set the interval to 100. Set it to 1 and it will do it 1000 times per second.
well if were being specific ill give some of my code i was only trying to exsplain it so there not just copy and pasting.. with blubbs module theres no reason they cant figure it out if they try, hes done all the hard work..
atm im trying to fin a way of raw code injection in vb, to hook dx or, i may just go with direct draw, and im not askin for help on this, dont need anyones input, its possible, ill do it, ill find a way to make it run fine


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If ammostatus.Text = "Off" Then
ammostatus.Text = "On"
ammo.Enabled = True
ammo.Interval = 10
ammostatus.ForeColor = Color.Green
ElseIf ammostatus.Text = "On" Then
ammostatus.Text = "Off"
ammo.Enabled = False
ammostatus.ForeColor = Color.Red
End If
End Sub

Private Sub ammo_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ammo.Tick
Call noph4x(&H373D5D26, Nothing)
End Sub
End Class



if u cant notice ammo is my timer
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us