Jukkales / NecroLens

Explore a DeepDungeon with a tool like the HoloLens or GoogleGlass on
MIT License
37 stars 8 forks source link

Mob's aggro distance not precise enough. Can we customize aggro distance drawn? #14

Open pterogum opened 8 months ago

pterogum commented 8 months ago

Even though my character (or the player dot) stands visually outsite a proximity mob's aggro range (very close but still outsite), the mob can be pulled. I can be sure the mob isn't moving.

Currently only found this in HoH, I haven't tested it in other deep dungeons yet. But judging by the code the aggro distance is a fixed value, so it should be the same in all the cases.

I am thinking it's probably a good idea that we would be able to change/tweak this value to our liking in configuration.

Where? Instance: HoH

Insanguu commented 8 months ago

A dynamic mob aggro range tracker which will update accrutate data is already in the planned features. Would be cool because there are a few monsters where it's off by quite a bit

Jukkales commented 7 months ago

Sorry for the late reply. Yes this is already planned. I just dont have a clue how to meassure it correctly since i noticed that getting aggro is not always instant.

I was thinking to give all mobs generally a little bit more if the hitbox is big. Bigger mobs tend to have a larger area.

Elypha commented 4 months ago

this would be a gerat feature and I'd love to help if you need to test some certain mobs

btw I noticed you said

I just dont have a clue how to meassure it correctly since i noticed that getting aggro is not always instant.

yes, though this is no news anymore just FYI it is related to the 3-second server ticks - at least that's how we test savage bosses, as far as I know. i.e., if no aggro in 3 seconds then it's safe to say the aggro range is smaller than that. I assume it's the same system as in DD but haven't tested it seriously. maybe just get an approximate value and round it up by 0.1 (e.g., 16.82 > 16.9) should be far enough for most use cases I guess...?

Jukkales commented 3 months ago

just addad an opt in data collection system helping me to improve mob information. gonna add movement time tracking and as well aggro distance measurement soon :3