Results 1 to 4 of 4
  1. #1
    ab987's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    31

    Get Address with Process ID?

    I am making a program that will change your name to invisible. It works if I manually find my Address for the name and rebuild, but that makes it pointless. The only problem is that it changes each time that the game is restarted, so I have to do this each time. I looked into the CE code and found that it is "iw5mp.exe"+058CB138. I thought that obviously that would mean the Process ID of it, so I spent some time with getting the process ID and then adding that to the decimal value of 058CB138 and turning it back into hex. This is not what CE shows that the value is. I am very baffled on what to do to get the final value. Here is the portion of the code that it is in:
    Code:
    Dim ProcessName As String = "iw5mp"
        Dim Processes() As System.Diagnostics.Process = System.Diagnostics.Process.GetProcessesByName(ProcessName)
        Dim MW3 As New Main
        Dim Name_Bytes As Byte() = {&H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F, &H7F}
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            Try
                If Processes.Count = 0 Then
                    MsgBox("MW3 Not Found", MsgBoxStyle.Exclamation)
                    Return
                End If
    
                Dim id = Processes(0).Id
                Debug.WriteLine(id)
                Dim NameData As Integer = id + 93106488
                Debug.WriteLine(NameData)
    
                If Processes.Count > 0 Then
                    If MW3.Process_Handle("iw5mp") Then
                        MsgBox("Injected", MsgBoxStyle.Information)
                        MW3.WriteBytes(NameData, Name_Bytes)
                        Return
                    End If
                End If
    
            Catch Ex As Exception
                MessageBox.Show(Ex.Message)
            End Try
        End Sub
    I am sorry if it is very obvious, I am just very new to hacking with VB. My only experience is number generators, games, and those types of things. Thank you.

    As a little side note if anybody has any time, I was trying to compile the NR Bot from the NR Bot post a few posts back because I have seen it in action and it looks like a good bot, but am getting these errors:
    Code:
    1>  main.cpp
    1>main.cpp(233): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char []' to 'LPCWSTR'
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>main.cpp(255): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>main.cpp(258): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>main.cpp(260): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char *' to 'LPCWSTR'
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>main.cpp(490): error C2664: 'GetModuleHandleW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR'
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>main.cpp(503): error C2664: 'ID3DXFont::DrawTextW' : cannot convert parameter 2 from 'char [1024]' to 'LPCWSTR'
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>main.cpp(777): error C2664: 'D3DXCreateFontW' : cannot convert parameter 11 from 'const char [12]' to 'LPCWSTR'
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>main.cpp(778): error C2664: 'D3DXCreateFontW' : cannot convert parameter 11 from 'const char [12]' to 'LPCWSTR'
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>main.cpp(1535): error C2440: 'initializing' : cannot convert from 'const char [3]' to 'LPCWSTR'
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    1>main.cpp(1537): error C2664: 'CreateWindowExW' : cannot convert parameter 2 from 'const char [3]' to 'LPCWSTR'
    1>          Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
    This is in Visual C++. The first issue is in VB. Again, thanks a lot.

    EDIT: I fixed the second one, but it is in Japanese. The source code shows it in english...
    EDIT: Got it. It was in Unicode, not Multi-Byte
    Last edited by ab987; 01-19-2015 at 01:51 PM.

  2. #2
    殺す必要がある唯一のものは殺されるために準備され人 々である。
    Premium Member
    Hitokiri~'s Avatar
    Join Date
    Oct 2012
    Gender
    female
    Location
    Cancer.
    Posts
    1,207
    Reputation
    24
    Thanks
    902
    My Mood
    Bitchy
    Code:
    < ProcessName > + < Value >
    This means the process's base address + whatever is stored in < Value >
    Since this is MW3, the process's base is always 0x400000

    So your address translates into:
    Code:
    9CCB138

  3. #3
    Threadstarter
    New Member
    ab987's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    31
    Thank you for the help. Had to do some custom Memory stuff. Please close this thread.

  4. #4
    We always want to see what is hidden by what we see.
    Former Staff
    Premium Member
    Cataclypse's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    ಠ_ಠ
    Posts
    13,909
    Reputation
    1725
    Thanks
    1,738
    My Mood
    Pensive
    Answered .


    Skype: MPGH.Cataclypse
     


    Member - IX.MMX
    Donator - XII.MMXI
    Middleman - IV.MMXII
    League of Legends Minion - V.MMXIV
    Editor - VI.MMXIV
    Other MMORPGs Minion - X.MMXIV
    Call of Duty Minion - XII.MMXIV
    CrossFire Minion - II.MMXV
    Steam Games Minion - III.MMXV
    Minion+ - IV.MMXV
    Former Staff - XI.MMXV



Similar Threads

  1. Getting address
    By neavea288 in forum MapleStory Hacks, Cheats & Trainers
    Replies: 3
    Last Post: 06-26-2007, 11:49 AM
  2. Get TM with UCE Working+Addresses+My CT+Trainer HERE!!
    By poisoner in forum WarRock - International Hacks
    Replies: 59
    Last Post: 05-07-2007, 09:55 AM
  3. Addresses with uce, trainer with ce
    By scooby107 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 04-30-2007, 11:10 AM
  4. get veihcles with a uce..
    By cool4345 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 03-19-2007, 04:32 PM
  5. How To Get Hacks With Cheat Engine 5.3?
    By naomelembro14 in forum WarRock - International Hacks
    Replies: 1
    Last Post: 02-20-2007, 01:26 AM