fataly Posted November 3, 2008 Posted November 3, 2008 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?
monoceres Posted November 3, 2008 Posted November 3, 2008 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? Broken link? PM me and I'll send you the file!
fataly Posted November 3, 2008 Author Posted November 3, 2008 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
oMBRa Posted November 3, 2008 Posted November 3, 2008 (edited) 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 November 3, 2008 by oMBra
fataly Posted November 3, 2008 Author Posted November 3, 2008 (edited) Working again:) Edited November 3, 2008 by fataly
fataly Posted November 3, 2008 Author Posted November 3, 2008 (edited) how i can get myself these hex numbers? Edited November 3, 2008 by fataly
dbzfanatic Posted November 3, 2008 Posted November 3, 2008 (edited) thanks:) i will tryWorking 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 November 3, 2008 by dbzfanatic Go to my website. | My Zazzle Page (custom products)Al Bhed Translator | Direct linkScreenRec ProSimple Text Editor (STE) [TUTORIAL]Task Scheduler UDF <--- First ever UDF!_ControlPaste() UDF[quote name='renanzin' post='584064' date='Sep 26 2008, 07:00 AM']whats help ?[/quote]
fataly Posted November 3, 2008 Author Posted November 3, 2008 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?
oMBRa Posted November 3, 2008 Posted November 3, 2008 well, I use Cheat Engine to scan the memory... search on google it has a guide also
fataly Posted November 3, 2008 Author Posted November 3, 2008 (edited) 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 November 3, 2008 by fataly
fataly Posted November 3, 2008 Author Posted November 3, 2008 if some1 know why this return all time zero, tell me:( i have tried 2 hour and no luck:(
oMBRa Posted November 3, 2008 Posted November 3, 2008 as dbzfanatic said dont double post... how are u sure that is right?
fataly Posted November 3, 2008 Author Posted November 3, 2008 because i got it from snarg. if u know him... im pretty sure it right hex, if some1 got other hexes i can test.
Bert Posted November 3, 2008 Posted November 3, 2008 I honestly think you are trying to do something that is beyond your skill level. You may want to study for a bit or do some research. It would help you much more in the long run. The Vollatran project My blog: http://www.vollysinterestingshit.com/
Recommended Posts