Results 1 to 8 of 8
  1. #1
    supermarre1's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    72
    Reputation
    44
    Thanks
    175
    My Mood
    Cool

    ReadingWritingMemory.vb Help

    Hi, i'm trying to make an OrcsMustDie2 Trainer using ReadWritingmemory,
    Though i'm having some difficulties with pointers.


    Here's my current Code so far

    Code:
          Try 
                WriteDMAInteger("OrcsMustDie2", &H7A4454, {&H20, &H14, &H50, &H2C, &H2D8}, TextBox1.Text, 5) 
            Catch ex As Exception 
                MsgBox(ex.Message) 
            End Try

    and here's the pointer
    Since the pointers have This as an adress

    "OrcsMustDie2.exe"+007A4454

    Anyone could help me?

    The Pointer works through the Trainer Generator in Cheat Engine, but never in visual basic.

    But i wanna make a more advanced Trainer.

    there were multiple pointers, but everyone pointed to the same adress, and all worked.
    did i get the wrong pointer or something?

    it does update the money etc, and it's editable in Cheat Engine.

    Any help at all would be a greatly appriciated!


    Full Table Code

    Code:
    <?xml version="1.0" encoding="utf-8"?> 
    <CheatTable> 
      <CheatEntries> 
        <CheatEntry> 
          <ID>7</ID> 
          <Description>"Money"</Description> 
          <LastState Value="4000" RealAddress="3F838464"/> 
          <VariableType>4 Bytes</VariableType> 
          <Address>"OrcsMustDie2.exe"+007A4454</Address> 
          <Offsets> 
            <Offset>2D8</Offset> 
            <Offset>2C</Offset> 
            <Offset>50</Offset> 
            <Offset>14</Offset> 
            <Offset>20</Offset> 
          </Offsets> 
        </CheatEntry> 
      </CheatEntries> 
    </CheatTable>
    i have the right code, when i open and close the game it still points to the same number, just that my code are f**ked.
    Last edited by supermarre1; 09-05-2016 at 04:54 AM.

  2. #2
    Fatiz's Avatar
    Join Date
    Sep 2016
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    1
    My Mood
    Relaxed

    Smile

    Try using this
    Code:
     Public Function RetBase(ByVal ProcName As String, ByVal ModuleName As String) As Integer
            Dim P As Process() = Process.GetProcessesByName(ProcName)
            If (P.Length <> 0) Then
                Dim pMod As ProcessModuleCollection = P(0).Modules
                For i As Integer = pMod.Count - 1 To 0 Step -1
                    If pMod.Item(i).FileName.EndsWith(ModuleName) Then
                        Return pMod.Item(i).BaseAddress.ToInt32
                    End If
                Next i
            End If
            Return 0
        End Function
    Then in your context you would do something like this
    Code:
     
    Dim Address As Integer = RetBase("OrcsMustDie2", "OrcsMustDie2.exe") + &H7A4454
    Then just do

    Code:
     
    WriteDMAInteger("OrcsMustDie2", Address, {&H20, &H14, &H50, &H2C, &H2D8}, TextBox1.Text, 5)
    Lemme know if that works!

  3. The Following User Says Thank You to Fatiz For This Useful Post:

    supermarre1 (09-06-2016)

  4. #3
    RoPMadM's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Location
    __asm
    Posts
    226
    Reputation
    12
    Thanks
    251
    My Mood
    Cynical
    Little bit offtopic:

    Your pointer is pretty weak. Try to find some stronger pointers.

    Good to see someone else cheating in OMD2.
    I also made a hack for it with a huge bunch of features including ESP
    Last edited by RoPMadM; 09-05-2016 at 04:06 PM.

  5. #4
    supermarre1's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    72
    Reputation
    44
    Thanks
    175
    My Mood
    Cool
    Quote Originally Posted by RoPMadM View Post
    Little bit offtopic:

    Your pointer is pretty weak. Try to find some stronger pointers.

    Good to see someone else cheating in OMD2.
    I also made a hack for it with a huge bunch of features including ESP
    Yeah, My pointers are quite off,
    about your hack, WELL DONE! ESP, isn't that quite hard to make?

    - - - Updated - - -

    Quote Originally Posted by Fatiz View Post
    Try using this
    Code:
     Public Function RetBase(ByVal ProcName As String, ByVal ModuleName As String) As Integer
            Dim P As Process() = Process.GetProcessesByName(ProcName)
            If (P.Length <> 0) Then
                Dim pMod As ProcessModuleCollection = P(0).Modules
                For i As Integer = pMod.Count - 1 To 0 Step -1
                    If pMod.Item(i).FileName.EndsWith(ModuleName) Then
                        Return pMod.Item(i).BaseAddress.ToInt32
                    End If
                Next i
            End If
            Return 0
        End Function
    Then in your context you would do something like this
    Code:
     
    Dim Address As Integer = RetBase("OrcsMustDie2", "OrcsMustDie2.exe") + &H7A4454
    Then just do

    Code:
     
    WriteDMAInteger("OrcsMustDie2", Address, {&H20, &H14, &H50, &H2C, &H2D8}, TextBox1.Text, 5)
    Lemme know if that works!
    Will try, thanks!

  6. #5
    RoPMadM's Avatar
    Join Date
    Jul 2013
    Gender
    male
    Location
    __asm
    Posts
    226
    Reputation
    12
    Thanks
    251
    My Mood
    Cynical
    Quote Originally Posted by supermarre1 View Post
    Yeah, My pointers are quite off,
    about your hack, WELL DONE! ESP, isn't that quite hard to make?
    If you need help you can contact me

  7. The Following User Says Thank You to RoPMadM For This Useful Post:

    supermarre1 (09-06-2016)

  8. #6
    supermarre1's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    72
    Reputation
    44
    Thanks
    175
    My Mood
    Cool
    Quote Originally Posted by Fatiz View Post
    Try using this
    Code:
     Public Function RetBase(ByVal ProcName As String, ByVal ModuleName As String) As Integer
            Dim P As Process() = Process.GetProcessesByName(ProcName)
            If (P.Length <> 0) Then
                Dim pMod As ProcessModuleCollection = P(0).Modules
                For i As Integer = pMod.Count - 1 To 0 Step -1
                    If pMod.Item(i).FileName.EndsWith(ModuleName) Then
                        Return pMod.Item(i).BaseAddress.ToInt32
                    End If
                Next i
            End If
            Return 0
        End Function
    Then in your context you would do something like this
    Code:
     
    Dim Address As Integer = RetBase("OrcsMustDie2", "OrcsMustDie2.exe") + &H7A4454
    Then just do

    Code:
     
    WriteDMAInteger("OrcsMustDie2", Address, {&H20, &H14, &H50, &H2C, &H2D8}, TextBox1.Text, 5)
    Lemme know if that works!
    Worked, Thanks!

  9. #7
    Afdul's Avatar
    Join Date
    Oct 2016
    Gender
    male
    Location
    Malaysia, Pulau Pinang
    Posts
    16
    Reputation
    10
    Thanks
    120
    My Mood
    Breezy
    It's Need 10 Pointer That Will Stronger

  10. #8
    Hugo Boss's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    28,752
    Reputation
    4790
    Thanks
    5,902
    My Mood
    Angelic
    You got your answer, solved & closed.

     
    Super User since 08-29-2017
    Global Moderator from 10-02-2016 - 08-29-2017
    Premium Seller since 11-16-2016
    Moderator from 09-24-2015 - 01-09-2016
    Alliance of Valiant Arms Minion from 11-12-2015 - 01-09-2016
    Market place Minion from 09-24-2015 - 01-09-2016
    Crossfire Minion from 09-11-2015 - 01-09-2016

    Middleman from 07-07-2015 - 01-09-2016
    Market Place Minion from 03-03-2014 - 08-01-2014
    Middleman from 01-30-2014 - 08-01-2014
    Moderator from 03-29-2013 - 04-04-2013
    Market Place Minion from 03-07-2013 - 04-04-2013
    Premium Member since 01-25-2013
    Middleman from 12-04-2012 - 04-04-2013
    Registered since 10-9-2011

Similar Threads

  1. [Help Request] Combat arms Vid help
    By djw111 in forum Combat Arms Help
    Replies: 4
    Last Post: 12-24-2011, 05:06 PM
  2. [Help Request] AFK Bot [help]
    By fet in forum Combat Arms Help
    Replies: 7
    Last Post: 04-28-2011, 03:17 AM
  3. [Help Request] Injector Admin help
    By asdfgas in forum Combat Arms Help
    Replies: 4
    Last Post: 04-27-2011, 06:12 PM
  4. [Help Request] Ajuda / Help
    By - Battery' in forum Combat Arms BR Coding Help
    Replies: 3
    Last Post: 04-22-2011, 07:15 PM
  5. [Help Request] Help my!
    By Windowns7 in forum Combat Arms BR Coding Help
    Replies: 2
    Last Post: 04-18-2011, 01:41 PM