Skip to content

Conversation

@mkwozniak
Copy link
Contributor

A plugin which assists thieving at Port Roberts stalls.
I'm not sure if it's something worth adding to Runelite but I had a lot of fun making it so I thought it might be worth a try.

522304944-8cd3f39c-0b9c-422b-9d6a-3b9d56bbe615

Features

  • Shows boxes around each stall when they are being watched.
  • Shows boxes around each stall when they are safe to steal from.
  • Can send an OS notification when a toggled stall is safe to steal from.
  • Can flash the screen when a toggled stall is safe to steal from.
  • Can play a sound for when a toggled stall is being watched, and a separate sound for when it's safe to steal from.
  • Toggle notifications for each stall

Config

image

@runelite-github-app
Copy link

runelite-github-app bot commented Dec 4, 2025

@runelite-github-app
Copy link

runelite-github-app bot commented Dec 4, 2025

Internal use only: Reviewer details Maintainer details

@riktenx
Copy link
Member

riktenx commented Dec 8, 2025

  • don't re-check NPC locations every client tick, that's 50 times a second for something which only updates every 0.6 seconds, you want onGameTick
  • clear your tracked NPCs on plugin shutdown, both guards and activeGuards. IDK what the purpose even is of activeGuards, you don't seem to do anything with it, maybe just remove that

@riktenx riktenx added the waiting for author waiting for the pr author to make changes or respond to questions label Dec 8, 2025
@mkwozniak
Copy link
Contributor Author

  • don't re-check NPC locations every client tick, that's 50 times a second for something which only updates every 0.6 seconds, you want onGameTick

    • clear your tracked NPCs on plugin shutdown, both guards and activeGuards. IDK what the purpose even is of activeGuards, you don't seem to do anything with it, maybe just remove that

Yeah you're totally right I can just use the guards list instead and remove that set. Thanks. I'll make those changes, do another test and pr

@runelite-github-app runelite-github-app bot removed the waiting for author waiting for the pr author to make changes or respond to questions label Dec 8, 2025
@riktenx
Copy link
Member

riktenx commented Dec 8, 2025

Don't do another PR, just update the commit hash here

@riktenx riktenx merged commit 651bdec into runelite:master Dec 8, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants