Ganom / Supporter-Issue-Tracker

This is an ISSUE-ONLY repo. This is used for reporting issues/feature requests for supporter plugins.
https://www.ganomsoftware.com/
0 stars 5 forks source link

Logout Helper - Prefer TP is NOT always prioritised over logging out #195

Open ZZNQX opened 3 years ago

ZZNQX commented 3 years ago

Describe the bug The Prefer TP option allows players to choose to teleport instead of logging out, so you can still get away from dangerous situations. However, it seems to be 50/50 wether the script decides to Log-Out or Teleport, thus making the script fairly unreliable at times where you want to teleport. So what happens? X player is pvming in the wildy > Player is in combat > Options are Disable PvP checks & Prefer TP (in order to teleport from ANYONE, ANYWHERE) > X player has a viable teleport worn (such as ring of wealth) > Y player appears > X player attempts to logout instead of teleporting

To Reproduce Steps to reproduce the behavior:

  1. Get into combat (for example a man in edgeville) with the plugin off
  2. Tick on "Prefer TP" & "Disable PvP Checks"
  3. Have a charged Ring of wealth worn
  4. Be in combat and turn your plugin on and have a player appear (could walk to the heavily botted edge furnace whilst still being in combat)
  5. Turn the plugin on
  6. Get attempted to be logged out or teleport (like I said, its inconsistent and seems to be 50/50)

Expected behavior Prefer TP should ALWAYS Prioritize teleporting over logging out if applicable and correctly setup (below level 31 Wilderness/Teleport available)

Additional context

ZZNQX commented 3 years ago

I would love to add that this is a pain to test as it will properly prioritize upon turning the plugin on for lets say hours, and then when you turn it back off/on you can get it to work 1/10 times. I hope you (the devs) have enough information with this report and are able to figure out how/why it behaves this way sometimes.