Jump to content

about game memorys..


fataly
 Share

Recommended Posts

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:

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...