Downloads: 47
File Size: 5.1 KB
Created:
Updated:
Mod ID: 609
Categories:

Titan Panel [PVP Info]

Titan Panel [PVP Info]

A Titan Panel plug-in to display your current PVP status.

On the Titan Panel bar it displays:
• Current PvP state: Active or Inactive (can choose to use shorter On/Off)
• time until PvP status is disabled

On a floating window when your mouse is over it:
• Current PvP state
• Amniosity level of your location: hostile, friendly or contested
• Remaining time left of the 5 minute cooldown until you PvP flag is removed
• Current time spent with PvP enabled
• Total time this session spent with PvP enabled

Clicking on the PVP Info button on the TitanPanel will toggle your PvP state on and off (removing the need to type /pvp all the time). you can set this to shift-click if you're the kind to get click happy on the titan panel :)
you may still type /pvp or use another method of activating and deactivated your pvp flag

If you reload the UI in the middle of the 5 minutes, the timer will display the correct time remaining until you lose the PvP flag (give or take a second). If you log out during this time and log back in, it _should_ do the same... however, initial tests seem to indicate that when you return, your PvP status is off... although, the pvp flag is still shown next to the character portrait

Known problems:
- hasn't been tested in a hostile environment, so it might go horribly wrong: please let me know if so
- this plugin isn't event-driven at the moment, i think it should be, but i'm trying to find a nicer way of doing it than i've seen so far
- Total time this session in PvP state isn't really very useful - shall be adjusting that to give more interesting data

thanks and praise should be given to everyone who wrote a PvP cooldown timer addon before, most of which i had a peak at the code trying to work out what was going on
especially Shakes' IB_PVPCooldown of which this plugin is mostly a port of to TitanPanel
Kisk's PvPCooldown being the original that Shake ported to Infobar and Chapel's code for Hostile and Contested areas - all of which i'm made use of parts of their code at one point or another
also to Rowne for his Collapse Code(tm) and to Ven and StarDust for their work on the German localization and to Vorpale for his amazingly quick French localization
HUGE thanks to illiath for having put a lot of time in helping me troubleshoot v4 - much appreciated
and to TitanMod for some invaluable help from time to time
everyones help is very very much appreciated