Process Memroy

10/20/2006 12:29 blinko#1
Hello epvpers !

I don't know if anyone remember's the old [IcT] program for conquer that allowed you to change your character name and your spouse name and all that.But i was wnting to make my own Tool to change my character name without having to use Artmoney and or CheatEngine.

I'm having trouble using the readprocessmemory API function to read the Address
0004FE484 that displays the character name.

And i'm wondering if anyone can maybe pass on a visual basic code for this function, and mayeb even add in the writeprocessmemory to actually be able to change it's value.

the code i have so far..

Code:
Private Sub Command1_Click()

Dim hWnd As Long
Dim pID As Long
Dim pHandle As Long
Dim returned As String


hWnd = FindWindow(vbNullString, "[Conquer2.0]")
If hWnd = False Then
MsgBox "could'nt bloody find window"
Exit Sub
End If

GetWindowThreadProcessId hWnd, pID
pHandle = OpenProcess(PROCESS_ALL_ACCESS, False, pID)


ReadProcessMemory pHandle, ByVal StrPtr("&H0004FE484"), returned, 16, LenB(returned)
MsgBox returned


CloseHandle hProcess

End Sub
The &H0004FE484 i think might be wrong i dunno what i'm doing wrong though.The message pop's up a blank messagebox, i'm wanting it to return the address's value as a text string ultimately popping up a message box with my character's name in it ^^

any help would be greatly appreciated ^^ and worth Karma !
10/23/2006 14:04 blinko#2
noone has any ideas?

well i got it to work somehow only , instead of reading the 4 Bytes i dunno what it reads cause like when i type in 128 to turn my char black named it make sme fly,and its like 300k+ in value ..any ideas on how to read conquer memory in vb anyone?