-
Legendary
Originally Posted by
Tkay
Hey all looking for a little help, what I want to do is track monsters, the players current level. So what I'm currently doing is looping over each ACD item in ActorCommonDataHelper.EnumerateMonsters() checking if its has hp > 1 and if it's of ActorType.Monster
Now this seems to work as I get output however I'm assuming its only in a specific radius? I'm not sure how this works tbh is there a way to see every monster on that level or only ones within your current radius?
The server is in full control of that, telling the client (D3) what ACD to create/destroy and when. It only lets the client know about monsters that are near the camera view. Sometimes when entering a zone, the server tells the client to create ACDs that are far far away, and the next moment asks it to destroy them again. I've played around trying to cache these but found no reliable way of knowing when the same ACD shows up again, and cache would only really work in single player.
Here are the criteria I use for monsters of interest: https://subversion.assembla.com/svn/...rkerFactory.cs (see method IsValidMonster) = The monster must have health, be interactable (targetable) and hostile.
-
Post Thanks / Like - 2 Thanks
Tkay,
Unchain (2 members gave Thanks to enigma32 for this useful post)
-
Active Member
Originally Posted by
enigma32
I cannot reproduce, works perfectly fine for me. 1 player, 2 players, 3 players, 4 players. I assume you're trying with the D3Helper variant of Enigma.D3. Please see if mine works fine.
Yes i have to use the d3helper variant of enigma.d3. with your public enigma d3 library d3helper doesnt work. there are probably too many outdated offsets.
-
Legendary
Originally Posted by
d2k2
Yes i have to use the d3helper variant of enigma.d3. with your public enigma d3 library d3helper doesnt work. there are probably too many outdated offsets.
GitHub - Enigma32/D3Helper.Public compiles with official enigma libraries. I will do further cleanup in the project.
-
Member
Originally Posted by
enigma32
Thank for taking on this project and saving my old fingers. Some bugs:
Offsets for 2.4.2? | D3Helper
Offsets for 2.4.2? | D3Helper
-
Member
hello guys, how can I tell if a shrine or pool of reflection is activated?
And, ActorCommonData.x098_MonsterSnoId is actually Actor Sno ID if it is a monster, not Monster Sno ID, right?
-
Legendary
Originally Posted by
reciol
hello guys, how can I tell if a shrine or pool of reflection is activated?
And, ActorCommonData.x098_MonsterSnoId is actually Actor Sno ID if it is a monster, not Monster Sno ID, right?
Dump all properties and attributes from it before activating it and see what changes That's what I've done for many things.
Are you asking what x098 is or are you saying that it's wrong? It's not the SNO to a Enigma.D3/Monster.cs?
-
Member
Originally Posted by
enigma32
Dump all properties and attributes from it before activating it and see what changes
That's what I've done for many things.
Are you asking what x098 is or are you saying that it's wrong? It's not the SNO to a
Enigma.D3/Monster.cs?
Thank you for the advice.
I am updating the maphack of Enigma.D3. I found out the Enigma.D3/MapMarkerAcdMonster.cs at master * Enigma32/Enigma.D3 * GitHub is actually Actor Sno ID, not monster Sno ID.
-
Legendary
Originally Posted by
reciol
You're absolutely right. It's the same value as x090_ActorSnoId unless it's an item or player as far as I can tell, then it's -1. No idea what good that field is for.
-
Member
Originally Posted by
enigma32
You're absolutely right. It's the same value as x090_ActorSnoId unless it's an item or player as far as I can tell, then it's -1. No idea what good that field is for.
Thanks, it works fine. Just the name is a little bit confusing.
-
Legendary
Originally Posted by
reciol
Thanks, it works fine. Just the name is a little bit confusing.
Yea I renamed it. Not that it's a good name, but at least more accurate :P FIX: Field 0x98 in ActorCommonData does not represent a Monster SNO a… * Enigma32/Enigma.D3@214a209 * GitHub
-
Member
Hey Enigma would be possible to update the library for the current d3 update? I tried to follow your instructions but it wouldn't work.
Thanks again!
-
Legendary
Originally Posted by
tgo
Hey Enigma would be possible to update the library for the current d3 update? I tried to follow your instructions but it wouldn't work.
Thanks again!
I'll have a look.
-
Legendary
Originally Posted by
tgo
Hey Enigma would be possible to update the library for the current d3 update? I tried to follow your instructions but it wouldn't work.
Thanks again!
It's now updated and I actually had some problems following the instructions myself It has been updated to clarify that a minidump might be needed to find all offsets.
-
Member
looks amaizing ty
-
Contributor
-
Post Thanks / Like - 3 Thanks