adamk33n3r / runelite-watchdog

Custom notification plugin for RuneLite
BSD 2-Clause "Simplified" License
6 stars 24 forks source link

[Bug] Cannot use Location Alert in POH #149

Open CreativeTechGuy opened 6 months ago

CreativeTechGuy commented 6 months ago

Describe the bug

Create a Location Alert to trigger for a location in your POH.

To Reproduce Steps to reproduce the behavior:

  1. Create an alert with the location of the home portal of your POH inside your house
  2. Leave the house portal
  3. Re-enter the house portal
  4. Alert does not trigger

Expected behavior

Alert triggers

Additional context

It seems like as far as the plugin is concerned, the house changes it's location every time you enter. But the World Location plugin seems to think that it has stable coordinates. Not sure which one is broken.

If house truly moves around every time you enter it, not sure what the solution would be.

adamk33n3r commented 3 months ago

Sorry it took so long to get around to this, unfortunately I no longer have membership so I won't be able to debug this issue directly. But what I can say is that we are using client.getLocalPlayer().getWorldLocation() to get the world point which is what that plugin does, but then that plugin does this https://github.com/Skretzo/runelite-plugins/blob/world-location/src/main/java/com/worldlocation/InfoOverlay.java#L67 which maybe we can also do?