You need to add the base address of the module "cks2.exe"(can't see the full name on the ss) to D38CB8.
So I've been trying to make a trainer. At first I had it working with normal addresses, but of course a game restart rendered these useless. I then done this, and it doesn't work. I have a feeling it's due to me having multiple offsets.
I have the static pointer (prntscr dot com / blboz3 [please remove if this also isn't allowed]) but I have two offsets, which is where I am completely thrown off.
Here:
_______________________
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim ammount As String = TextBox1.Text
Try
WriteDMAInteger("eurotrucks2", &HD38CB8, Offsets:={&H2C}, Value:=TextBox1.Text, Level:=1, nsize:=4)
Catch ex As Exception
End Try
End Sub
_______________________
I'm going to throw it in the programming section as well.
Thanks, Shado(w).
You need to add the base address of the module "cks2.exe"(can't see the full name on the ss) to D38CB8.
I am not a VB.NET developer so I can only provide you a C# code but you can easily convert it to VB.NET.
Code:public int GetModuleBaseAddress(string moduleName) { foreach (ProcessModule pm in proc.Modules) if (pm.ModuleName == moduleName) return (int)pm.BaseAddress; return 0; } WriteDMAInteger("eurotrucks2", GetModuleBaseAddress("eurotrucks2.exe") + &HD38CB8, Offsets:={&H2C}, Value:=TextBox1.Text, Level:=1, nsize:=4)