bluelightzero / unresponsive-cursor

A plugin for Runlite. When the server is unresponsive (Lag), the cursor will change.
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Incorrectly showing server/freeze connection lost when loading new area #8

Open YvesW opened 3 months ago

YvesW commented 3 months ago

While teleporting:

https://github.com/bluelightzero/unresponsive-cursor/assets/7929021/ee18ef6d-aed8-43d1-8f57-947c9dfe60e8

When entering barrows tombs:

https://github.com/bluelightzero/unresponsive-cursor/assets/7929021/c57e5350-8f37-4ec4-be23-0f1c68bbd001

The engine changes of today might be part of the reason why this happens when entering/exiting barrows tombs.

bluelightzero commented 3 months ago

What do you have "delay" set to?

YvesW commented 3 months ago

Default, so 100ms.

afbeelding

bluelightzero commented 3 months ago

This is actually a third kind of lag, which is why it has confusing output.

From the game client's point of view, the server appears to have frozen while the connection is still alive. But it is actually just waiting for the area to finish loading.

Maybe if the plugin knows there is a load happening, it could show a third message type for "Loading...". but I can't see anything in the Runelite API that indicates when this is happening.

I've not played OSRS in a while, need time to set it back up for plugin developing.

YvesW commented 3 months ago

I've not looked into it so it's probably way too obvious and you already checked it, but it's not during GameState.LOADING?

bluelightzero commented 3 months ago

That will probably work.