Jump to content

Read Memory not working on d2!

Recommended Posts



first off, I've read all the releated topics in the forum and i want to mantion ,that i'm not playing this old game on battle net or have the skills to code a bot ^^

Just wanted some nostalgic feeling from the old good days back, and playing in singleplayer for couple weeks. Now i was woundering if i can read the memory for health and mana and code something like "automatic take helath/mana potions" when health/mana drops to a certain level. Just a help for me because I'm playing on hardcore modus (as mantioned only singleplayer) So i have tried to reach the life adress but i became always a "0" as a respond! following code is working with all other games, but not with diablo .-.

so i#m really confused and frusrated. it should be so easy, as i said in other games it works like a charm.



#include <NomadMemory.au3>
$open = _MemoryOpen(ProcessExists("game.exe"))
$adresse = 0x0026B2FC ; confirmed with cheatengine
$value = _MemoryRead($adresse, $open)

so why the heck i'ts  not working and how i can fix it? does it something to do with warden? because to make shortcuts and remap keys is working without problems. I also do not want to write in the memory only check if health/mana is dropped to like ,100 and then send a keystroke (take potion) thats all i need!


p.s. sorry for my poor english, I am obviosly not native speaker ^^ lol

thanks anyway



Share this post

Link to post
Share on other sites


Welcome to the AutoIt forum.


 i want to mantion ,that i'm not playing this old game on battle net or have the skills to code a bot

But you still fall foul of the Forum rules. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.