Hey,
first off sorry for somewhat abusing this bug report, but coming from D2 LoD and using Kolbot for quite some time I have problems understanding what is happen here looking at the bigger picture:
Previously, bots could read and interact all objects and monsters in an area (or that is what I came to think from using them, writing runs). With Koolo and D2R however:
If you enter an area and read []data.Monsters, it does seem to only contain monsters for maybe two or three display areas: Why is that?
Accessing data.Objects does seem contain objects from the other side of the map, but running "some loops" I get the very strong impressions that this are again not all objects?
more specific, pseudo-code for objects.IsChest||IsSuperChest: something does miss a lot of chests( or containers, stuff that does contain stuff). Tried debugging it some, but came to no conclusion yet. These seem to be not in objects at all maybe.
Bonus: Had the impulse to give us Object.IsShrine, but then
why are the exposed objects in question here things like ForestAltar, HornShrine and so on? Granted IsShrine would still tell us something, but as we are rather looking for "SkillShrine", "ExperienceShrine" and so on it would be of little help
total Go noob: How would I develop a patch for d2go locally, enabling my koolo to use that pach before pushing it upstream? pointers welcome!
Details
Hey, first off sorry for somewhat abusing this bug report, but coming from D2 LoD and using Kolbot for quite some time I have problems understanding what is happen here looking at the bigger picture:
Previously, bots could read and interact all objects and monsters in an area (or that is what I came to think from using them, writing runs). With Koolo and D2R however:
[]data.Monsters
, it does seem to only contain monsters for maybe two or three display areas: Why is that?data.Objects
does seem contain objects from the other side of the map, but running "some loops" I get the very strong impressions that this are again not all objects?for objects.IsChest||IsSuperChest: something
does miss a lot of chests( or containers, stuff that does contain stuff). Tried debugging it some, but came to no conclusion yet. These seem to be not in objects at all maybe.Object.IsShrine
, but thenForestAltar
,HornShrine
and so on? GrantedIsShrine
would still tell us something, but as we are rather looking for "SkillShrine", "ExperienceShrine" and so on it would be of little helpPutting it differently, one could also look at our Eldritch
KillShenk
implementation: https://github.com/hectorgimenez/koolo/blob/67b8becf4df0027962604806a86ba8858e46b3ab/internal/run/eldritch.go#L35C1-L35C60 Why is this needed, or rather why doesgame.Data.Monster
not contain good-ol Shenk, as soon as we enter Bloody Foothills? Or, from a practical perspective: How do I implementkillBishibosh
?Any insights would be much appreciated, thanks!
Version
dev
Logs
not applicable