Results 1 to 5 of 5
  1. #1
    ShadoGuidR's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0

    Issue with Addresses and Offsets for Trainer

    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).

  2. #2
    AuT03x3C's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Location
    kernel32.dll
    Posts
    453
    Reputation
    11
    Thanks
    4,561
    My Mood
    Sleepy
    You need to add the base address of the module "cks2.exe"(can't see the full name on the ss) to D38CB8.

  3. #3
    ShadoGuidR's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by AuT03x3C View Post
    You need to add the base address of the module "cks2.exe"(can't see the full name on the ss) to D38CB8.
    Yes, it's 'eurotrucks2.exe'.
    How would I go about this exactly?

    Thanks for the quick reply.

  4. #4
    AuT03x3C's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Location
    kernel32.dll
    Posts
    453
    Reputation
    11
    Thanks
    4,561
    My Mood
    Sleepy
    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)

  5. #5
    ShadoGuidR's Avatar
    Join Date
    Jul 2015
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by AuT03x3C View Post
    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)
    Thank you AuT03x3C, I'll give this a go but if I'm honest, it looks like it has the same, or similar function as mine. This does grab on to the static/base address, right? I do have the pointers now in a Cheat Table if that's worth anything.

Similar Threads

  1. [Patched] Latest Pointers and Offset For Last Patch
    By Ryuzaki™ in forum CrossFire Philippines Hacks
    Replies: 72
    Last Post: 09-01-2012, 06:15 AM
  2. [Help Request] Someone help me with address and some questions.
    By coffeegirl in forum Dragon Nest Help
    Replies: 1
    Last Post: 07-20-2012, 05:20 AM
  3. Trading Account With M4A1 And Deagle For....
    By elias1899 in forum Selling Accounts/Keys/Items
    Replies: 0
    Last Post: 04-26-2010, 12:47 PM
  4. [Trading]Steam account with codmw2 and etc for runescape account
    By menaze in forum Trade Accounts/Keys/Items
    Replies: 0
    Last Post: 12-18-2009, 08:44 PM