Jump to content
Sign in to follow this  
fataly

about game memorys..

Recommended Posts

fataly

i got this script:

#include <_NomadMemory.au3>
SetPrivilege("SeDebugPrivilege", 1)
Global $Process = WinGetProcess("Diablo II")
Global $DllInfo1 = _MemoryOpen($Process)
Global $readchat = 0x00000000
data()
Func data()
;_MemoryRead($readchat, $DllInfo1)
MsgBox(0, "Chatreturn: ", $readchat)
EndFunc

what guys mind of this? work?:mellow:

Share this post


Link to post
Share on other sites
monoceres

Absolutely not. It will most definitely throw a runtime error.

You need to find out where the chat data is stored in memory.

Secondly, why print the pointer again in the MsgBox()? Isn't the data stored in $DllInfo1?

:mellow:


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites
fataly

Im not so good in this yet:) but i tested and msgbox show : 63344

Here new code (im not sure about that hex number:DDD just get that from some forum, maybe some 1 know chat hex??)

#include <_NomadMemory.au3>
SetPrivilege("SeDebugPrivilege", 1)
Global $Process = WinGetProcess("Diablo II")
Global $DllInfo1 = _MemoryOpen($Process)
Global $readchat = 0xf770  ; NEW! give me right hex if this is not!
data()
Func data()
;_MemoryRead($readchat, $DllInfo1)
MsgBox(0, "Chatreturn: ", $readchat)
EndFunc

Share this post


Link to post
Share on other sites
oMBRa

Im not so good in this yet:) but i tested and msgbox show : 63344

Here new code (im not sure about that hex number:DDD just get that from some forum, maybe some 1 know chat hex??)

#include <_NomadMemory.au3>
SetPrivilege("SeDebugPrivilege", 1)
Global $Process = WinGetProcess("Diablo II")
Global $DllInfo1 = _MemoryOpen($Process)
Global $readchat = 0xf770; NEW! give me right hex if this is not!
data()
Func data()
;_MemoryRead($readchat, $DllInfo1)
MsgBox(0, "Chatreturn: ", $readchat)
EndFunc
''MsgBox(0, "Chatreturn: ", $readchat)'' will output the content of the variable called $readchat... if u want to display what u read in the memory at the address 0xf770 u have to do like this:

#include <_NomadMemory.au3>
SetPrivilege("SeDebugPrivilege", 1)
Global $Process = WinGetProcess("Diablo II")
Global $DllInfo1 = _MemoryOpen($Process)
Global $readchat = 0xf770; NEW! give me right hex if this is not!
data()
Func data()
$result = _MemoryRead($readchat, $DllInfo1)
MsgBox(0, "Chatreturn: ", $result)
EndFunc

assuming that 0xf770 is a valid address

Edited by oMBra

Share this post


Link to post
Share on other sites
fataly

thanks:) i will try

Share this post


Link to post
Share on other sites
fataly

Working again:)

Edited by fataly

Share this post


Link to post
Share on other sites
fataly

how i can get myself these hex numbers?

Edited by fataly

Share this post


Link to post
Share on other sites
dbzfanatic

thanks:) i will try

Working again:)

how i can get myself these hex numbers?

You really need to learn to use the edit button. Double posting is rude and triple posting is incredibly rude. If you don't understand things like this you probably shouldn't be trying to use this type of interaction, at least right now. It's fairly clear that memory editing is beyond your current skill level, so do a bit of research and then come back to it when you understand more.

Edited by dbzfanatic

Share this post


Link to post
Share on other sites
fataly

ok... i posted this @ help page. so where i go learn this if not there?.. now my prob is this:

i got right hexs but it result every time: 0

Why?

Share this post


Link to post
Share on other sites
oMBRa

well, I use Cheat Engine to scan the memory... search on google it has a guide also

Share this post


Link to post
Share on other sites
fataly

ok, why my script return all time : 0 (zero) ????

like this:

#include <NomadMemory.au3>
SetPrivilege("SeDebugPrivilege", 1)
Global $Process = WinGetProcess("D2LOADER")
Global $DllInfo1 = _MemoryOpen($Process)
Global $readchat = 0x6FB653A0
While 1
data()
WEnd
Func data()
$result = _MemoryRead($readchat, $DllInfo1)
Sleep(1000)

ToolTip("Return: "& $result,0,0)
EndFunc

Returns all time : O .... and hex is right

Edited by fataly

Share this post


Link to post
Share on other sites
fataly

if some1 know why this return all time zero, tell me:( i have tried 2 hour and no luck:(

Share this post


Link to post
Share on other sites
oMBRa

as dbzfanatic said dont double post... how are u sure that is right?

Share this post


Link to post
Share on other sites
fataly

because i got it from snarg. if u know him... im pretty sure it right hex, if some1 got other hexes i can test.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×