narc0tiq / YARM

Yet another variant of the Resource Monitor for Factorio
https://mods.factorio.com/mod/YARM
MIT License
54 stars 42 forks source link

Error with displaying using graftorio 2 #171

Open protocol-1903 opened 3 months ago

protocol-1903 commented 3 months ago

Hi there, I'm using graftorio 2 to view production, consumption, etc outside of the factorio client. It has listed mod support. For whatever reason, not every patch is being listed and sent to the server. It's inconsistent with where it does and does not pick up a listed ore patch. My guess is something to do with not calling a specific function somewhere or another... Can you check if all remote interface calls are correct? I'm going to check the other mod to see if everything is working there. Thank you!

narc0tiq commented 6 days ago

I don't think anything's changed on our end -- we publish an event we call on_site_updated every time we update a site and this is what graftorio2 looks for. There's no early return to cause the event to not be sent and it always happens every time we finish updating the site, which needs to happen periodically otherwise our own UI would be lagging behind.