numbereself / caracAL

Node client for adventure.land

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with game events

Telokis opened this issue · comments

I have no idea what is causing this but I think there are issues with game events.

For several months, I noticed the "death" event wasn't properly emitted in caracAL. I ended up using "target_hit" to check on .death instead.
Now I get a similar issue: I'm using game.on("hit") to get all hits around me and I only consider the ones that are done by my party but I'm not sure it's working as intended: it's not reporting the characters that are not mine.

On the screenshot below, you can see I don't get as much data. On the left where we have lots of lines, I was running using the steam client and on the right where only three lines are left, I'm using caracAL (with the same code, of course). The only lines left are my own characters and nothing else.
image

This was my mistake, sorry.

I still think there is something strange with the death event, though.