Explain it better.
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.
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
Last edited by demonbhd; 04-26-2011 at 04:12 PM.
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.
Last edited by pyton789; 04-27-2011 at 09:53 AM.
M-efti's Unlocker for alterIWnet . . . . . . . . . . . . . . . . . . . . . . . . . . . .M-efti's MW2 SP Trainer 1.2
M-efti's Superior alterIWnet Hack . . . . . . . . . . .. . . . . . . . . . . . . . . ..M-efti's MW2 SP Trainer 1.7
M-efti's BO SP Trainer 4.12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..M-efti's Dead Pixels Trainer
cgallagher21 (04-27-2011)
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
Last edited by demonbhd; 04-27-2011 at 08:13 PM.