Closed tetreum closed 4 years ago
It would be cool to detect the display of "Cluster Shutdown in..."
The text visible in the center of the screenshot is available in AbovemainMessage
property of the memory measurement:
https://github.com/Arcitectus/Sanderling/blob/e39100deec46542c84a7b41f22790177da65ec3f/src/Sanderling.Interface/Sanderling.Interface/MemoryStruct/MemoryMeasurement.cs#L58
Just in case anyone is wondering how to inspect this part of the memory measurement without having to wait for a shutdown: You can save a snapshot of the eve client process to inspect it later using the guide from http://forum.botengine.de/t/collecting-samples-for-memory-reading-development/50
Thank you for the info! Is there any way to attach an event listener? So i just check it whenever the message changes rather than setting an interval/loop?
Is there any way to attach an event listener?
I don't know of a way to attach an event listener.
So i just check it whenever the message changes rather than setting an interval/loop?
How about doing such a check in the same place where the check for hitpoints happens? This way, the existing interval/loop would be reused.
It would be cool to detect the display of "Cluster Shutdown in..." and set it as retreat reason.