• Welcome to Valhalla Legends Archive.
 

Help With Memory Editing

Started by kanazky, May 09, 2004, 03:31 PM

Previous topic - Next topic

kanazky

#15
Can someone write an example script of a search.
if Command1_click then
Adress = ReadProcessMemory()
hprocess = FrmMain.list1.Iteam              
nsize = FrmMain.Text2
lpNumberOfBytesRead = 1
FrmMain.List2.Additeam Adress
End If

Somthing like that??? sorry im kind of new to this lol.
             

TheMinistered

Lord, MSDN didn't lie to you!  They just didn't expand further... while you can not directly access another application's memory space inside your application, the ReadProcessMemory() and WriteProcessMemory() can!

i.e. let's say in the TARGET application, at address 0040004, a long is stored.  However, that is in the TARGET application... in OUR application it might be used for something completely different!

Thus, the following would code would not be able to change the value located at that address in the TARGET application, but rather the value located in OUR application

__asm
{
mov dword ptr [0040004],  20h;
}


Eric

#17
Ah, thanks for clearing that up.  I kinda had that thought in mind when I was reading up on ReadProcessMemory() and WriteProcessMemory().

Dyndrilliac

http://www.gamehacking.com/tutorials/prgvb2.php

A tutorial on programming trainers in VB using Read/Write Process Memory.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.