Jump to content

Recommended Posts

Posted

Hi,

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.

 

#RequireAdmin

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

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

 

 

  • Moderators
Posted

Jerek,

Welcome to the AutoIt forum.

  Quote

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

Expand  

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.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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