Finalmente me entendiste jajaja !
El codigo funciona correctamente !!!
Muchas Gracias okik!!
El codigo funciona correctamente !!!
Muchas Gracias okik!!
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes MenúDim N As String
N = ""
If e.KeyCode = Keys.F1 Or e.KeyCode = Keys.NumPad0 Or e.KeyCode = Keys.Space Then
Select e.KeyCode
Case 112 : N = "F1"
Case 96 : N = "NupPad0"
Case 32 : N = "Espacio"
End Select
MsgBox("Ha presionado " & N)
End If
Private Sub Textbox1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp
Dim N As String
N = ""
If ComboBox1.Text = e.KeyCode = Keys.F1 Or ComboBox1.Text = e.KeyCode = Keys.NumPad0 Or ComboBox1.Text = e.KeyCode = Keys.Space Then
Select Case e.KeyCode
Case 112 : N = "F1"
Case 96 : N = "NupPad0"
Case 32 : N = "Espacio"
End Select
MsgBox("Ha presionado " & N)
End If
End Sub
ComboBox1.Items.Add(Keys.F1)
ComboBox1.Items.Add(Keys.NumPad0)
ComboBox1.Items.Add(Keys.Space)
Public Class Form1
Dim BaseAddress As Integer
Dim MyProcess As Process() = Process.GetProcessesByName("JUEGO")
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim MyProcess As Process() = Process.GetProcessesByName("JUEGO")
Dim mainModule As ProcessModule
mainModule = MyProcess(0).MainModule
BaseAddress = CInt(mainModule.BaseAddress)
BaseAddress = CInt(mainModule.BaseAddress)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Label1.Text = ReadInt((BaseAddress + &H3B28FC))
End Sub
End Class
Dim mana As Integer
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
mana = WriteDMAInteger("Juego", &HAddress, {&H1, &H2, &H3, &H4, &H5}, Value, 5)
Label1.Text = mana