What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Detect Actor Death (Unique Boss)

WiN

Member
Joined
Sep 2, 2014
Messages
294
Reaction score
15
Is there any way to detect if an Actor has been killed (without using the bounty confirmation as an indicator)? We look for the Actor - find him - then begin combat - but how do we know when he is dead?

<If condition="ActorExistsAt(255704, Me.Position.X, Me.Position.Y, Me.Position.Z, 300)">
<LogMessage questId="1" stepId="1" output="---------- Found ----------" />
<MoveTo questId="1" actorId="255704" pathPrecision="25" />
<ToggleTargeting questId="1" combat="True" looting="True" lootRadius="300" killRadius="0"/>

If you move more than 300 away from the Actor now then it thinks the actor is dead?

Is there a way to read the "XXX has killed <Name of Unique Boss>"?
 
Last edited:
No as far as I know. And this part of code taken from KeyHunter works quite well, so whats the matter?
 
The DH vaults around and kites too far away from the KeyWardens - then town portals out thinking it is dead. I was looking for a solution which was more definitive than actorexists.
 
Well i have no idea. But maybe you can experiment with increasing the 300?.
 
The Object disappears when you go out of range, and (mostly) disappears after death. Not sure if its a Diablo feature, but some objects remain even when the actor is dead, so detecting death can be tricky in a botting sense. The only solution I see is with a plugin, that you can use to add a Treehook to move to the object you're interested in if your range from the object is > 50 yards for example. That way we can detect the object, stay within 50 yards, and if the object disappears or goes below a hitpoint threshold, we can detect death reliably.
 
I have asked nesox for access to the chat log system messages "xx has killed yy" - he said its probably possible, i think that its the only reliable way to know if something died. Although getting him to actually do it might require a lot more harassment.
 
Back
Top