========== IMPORTANT ============================

- LayoutEditor: onhide-callback -> Nub status
- when turning in quests with timers, timers stays and freezes (and kwestor bugs out) -> see posting

- BUG: why are scneario-zones on zoneArea-list?

========== NEXT =================================

- reminder about quest items (how????)
- quest-fading (transparency) ("transparency until mouse over")
  - active 			alpha%
  - inactive 		alpha%		(how to detect???)	(use "quest-update-???" event!?)
  - mouse-over		alpha%
  - active-time		int (how long quests stays in active mode)
  - fade-time		int (how long the fade-effect lasts) (if q == active, RESET this)
  - mouse-over-mode	quest / tracker
- option to hide in scenario
- flash updated objectives
  - list Kwestor.flashOut = {frameName,decrease} : in Update work off this list
  - what to flash? background-frame of quest !? or single objective?  (user-choose???)
- number of tracked quests
  a) silder with value (DONE)
  b) honor frame size
     - make it possible to resize frame in layout-editor
     - keep all quests within these boundaries
- Long text names
  - mode: keep | truncate | wrap
  - wrap/truncate at x pixels -> wrap=min(tackerWidth,nameWidth)

========== TODO =================================

- profile ability (import / export)
- button to easily share quests (with your group)
- config to change font on quest status (pending,finished) (not only color)
- gap between quests (do not call it gap)
- sort descending 
  - for locked, add switch in autofill: 'questTrackerLockedAtBottom' or so
- add scaling slider (in 1000th, 0.875 = 87.5%)
- KwestorTrackerNub: 
  - left/right align (closed status)
  - tooltip with info, 
    - esp LMB/RMB actions 
    - also show quest log status (locked/maxlocked / numTracked/maxTracker)
    - make option to turn off this tooltip!
- option to only show tooltip when modifier key pressed (or on mouse click)
- instead of hiding untracked quests, fade them (alpha) (only at autofill)
- clicks:
  - SHIFT-LMB: open tome, quest section (function for this?)
  - MMB: open map
  - RMB: dropdown-menu (open tome, open map, tome-options [share/discard/..] )
- option: Save settings per char (on/off)


(11:32:06 AM) rmet0815: Aiiane, need your advise again :) I am working on a
quest tracker, where I would like to filter the display depending on RvR
status. So that if you are in a RvR zone, you get RvR quests on tracker, if
not, you dont get them. Currently I am using the player-rvr status for this,
but this does not quite catch it as a player is still flagged RvR when he
leaves the RvR zone (with the small delay when he enters one i can live with
though). I was looking for something like IsAreaRvRFlagged() or the like. Do
you have any advice for me?
(11:32:31 AM) Aiiane: cut off after "I was looking"
(11:32:46 AM) rmet0815: I was looking for something like IsAreaRvRFlagged() or
the like. Do you have any advice for me?
(11:33:27 AM) Aiiane: I don't believe such exists
(11:33:36 AM) rmet0815: any good approximation ?
(11:33:43 AM) Aiiane: not really no
(11:33:59 AM) rmet0815: but the "game" must know it. so it's only not exposed
to us ?
(11:34:07 AM) Aiiane: the server knows it
(11:34:09 AM) gutgut:
RegisterEventHandler(SystemData.Events.PLAYER_RVR_FLAG_UPDATED, "func") 
(11:34:16 AM) Aiiane: the client just has some pretty pixels on the map
(11:34:24 AM) rmet0815: that;'s what i meant ;)
(11:34:27 AM) Aiiane: with no actual semantic meaning to the client
(11:34:51 AM) rmet0815: well, too bad then. thanx anyway, very much
appreciated
(11:35:14 AM) rmet0815: gutgut, that does not work because players are still
flagged RvR when leaving RvR zones for quite some time
(11:35:21 AM) Aiiane: you could create a lookup table for all the areas and
their pvp status, but that would be annoying to do
(11:35:28 AM) Aiiane: (10 minutes on the flag, btw)
(11:36:42 AM) rmet0815: have to check how the map is getting the area then :0
(11:38:50 AM) gutgut: if the player is flagged i would simple show the
rvrquests in addidion ...
(11:39:18 AM) rmet0815: hmmm.... that's a possiblity
(11:39:22 AM) Aiiane: rmet0815: no you don't, just look for the
PLAYER_AREA_CHANGED event
(11:39:57 AM) rmet0815: hope i get an areaID passed :)
(11:42:36 AM) Aiiane: GameData.Player.area.name
(11:43:33 AM) rmet0815: hmmm....i could be self-learning.... if area changed
and i get a player_rver_countdown event, its a PvP zone
(11:43:54 AM) rmet0815: it*
(11:44:18 AM) rmet0815: yeah, but the areaname is localized :(
(11:44:29 AM) gutgut: MapGetPlayerLocationMaps()
(11:44:33 AM) Aiiane: well if it's self-learning that doesn't matter
(11:44:48 AM) rmet0815: yes, but i would like to share it once i get some
input :)
(11:45:40 AM) Aiiane: GetReleventAreaIndex()
(11:45:41 AM) Aiiane: try that
(11:46:27 AM) rmet0815: yup, i have to play around with it, there also is a
GetAreaData()
(11:46:29 AM) Aiiane: it returns a 6-digit number
(11:46:33 AM) Aiiane: first 3 digits are zone
(11:46:37 AM) Aiiane: second 3 digits are area
(11:46:45 AM) rmet0815: maybe i can use this to map name -> id
(11:46:50 AM) rmet0815: oh ok
(11:47:01 AM) Aiiane: why bother? just use id's
(11:47:08 AM) Aiiane: it returns the current area
(11:47:09 AM) Aiiane: :P
(11:47:30 AM) rmet0815: yup ;)
(11:47:46 AM) rmet0815: area id is unique throughtout game or within zone ?
(11:48:03 AM) gutgut: unique
(11:48:05 AM) Aiiane: the 6-digit is unique
(11:48:11 AM) Aiiane: the 3-digit second half of the 6-digit is not
(11:48:20 AM) Aiiane: just use the 6-digit.
(11:48:56 AM) rmet0815: yup, have to give it a try. just afraid to change too
many before i leave for holiday's. wont be "on call" during that time :)
(11:49:02 AM) rmet0815: too much*
(11:49:04 AM) gutgut: self learning ...  when rvr flag comes up remember the
zone ....
(11:49:26 AM) gutgut: maybe GameData.Player.rvrPermaFlagged helps
(11:49:41 AM) gutgut: dont know exactly for what it is
(11:49:42 AM) rmet0815: nope, when RVR_COUNTDOWN comes up, player could flag
himself everywhere
(11:49:55 AM) rmet0815: yeah, there is permaflagged and zone flagged
(11:51:24 AM) rmet0815: I hope this does the trick PLAYER_START_RVR_FLAG_TIMER
in combination with PLAYER_AREA_CHANGED
(11:51:40 AM) Aiiane: or just look for start timer
(11:51:47 AM) Aiiane: doesn't really matter if the area changed or not
(11:52:03 AM) Aiiane: the only thing that would actually start a timer going
is entering an area anyways
