Download
(136Kb)
Download
Updated: 12-10-22 12:02 PM
Pictures
File Info
Compatibility:
Dragonflight (10.0.2)
Updated:12-10-22 12:02 PM
Created:08-12-14 05:28 PM
Downloads:7,663
Favorites:15
MD5:

zz GarrisonToggle  Popular! (More than 5000 hits)

Version: 100002.40
by: Rilgamon [More]

Simple LDB for Garrison windows toggle.
This can be usefull if you're not using the original map.

Shift-Click will switch through the garrisons (Pandaria, Legion, BfA)
Leftclick opens the selected Garrison Landing Page.

0231822 | Robin Hüskes | Sat Dec 10 18:34:49 2022 +0100

Add wheel click for dragonflight info
------------------------------------------------------------------------
af1d1c3 | Robin Hüskes | Sat Dec 10 18:33:27 2022 +0100

Add wheel click for dragonflight info
------------------------------------------------------------------------
f85fcd4 | Robin Hüskes | Sat Dec 3 23:33:07 2022 +0100

[zzAddOn] Fix copy&paste error, bumb lib version
------------------------------------------------------------------------
3f84316 | Robin Hüskes | Sat Dec 3 17:20:19 2022 +0100

Update LibDBIcon
------------------------------------------------------------------------
e7567ab | Robin Hüskes | Sat Dec 3 16:14:45 2022 +0100

[zzAddOn] Fix to make sure ManagerFrameEvent is fired only once
------------------------------------------------------------------------
a6aa230 | Robin Hüskes | Fri Dec 2 16:13:13 2022 +0100

[zzAddOn] Cleanup RegisterOpen, RegisterClose
------------------------------------------------------------------------
529347b | Robin Hüskes | Fri Dec 2 15:59:44 2022 +0100

[zzAddOn] Add RegisterOpen, RegisterClose
------------------------------------------------------------------------
f652b19 | Robin Hüskes | Mon Nov 28 23:11:28 2022 +0100

Fix open prefs taint
------------------------------------------------------------------------
1eee64f | Robin Hüskes | Sun Nov 27 23:21:50 2022 +0100

Update Libs
------------------------------------------------------------------------
c63f801 | Robin Hüskes | Mon Nov 21 01:33:03 2022 +0100

Update Ace3 Libs r1297-alpha, zzLDB 5
------------------------------------------------------------------------
09908ad | Robin Hüskes | Tue Oct 25 15:39:48 2022 +0200

Update toc and file modes
------------------------------------------------------------------------
a9c4c13 | Robin Hüskes | Sun Oct 9 15:04:00 2022 +0200

Fix GarrisonLandingPageMinimapButton error
------------------------------------------------------------------------
c5af540 | Robin Hüskes | Sun Oct 9 15:02:29 2022 +0200

Fix Settings
------------------------------------------------------------------------
b32c39a | Robin Hüskes | Sun Oct 9 15:01:47 2022 +0200

Update toc
------------------------------------------------------------------------
919a80b | Robin Hüskes | Mon Oct 3 12:45:01 2022 +0200

Fix filemode
------------------------------------------------------------------------
0de93a8 | Robin Hüskes | Mon Oct 3 12:44:29 2022 +0200

Fix typo in interface version
------------------------------------------------------------------------
ea1fd64 | Robin Hüskes | Sun Oct 2 17:08:58 2022 +0200

Update Toc
------------------------------------------------------------------------
71b77fe | Robin Hüskes | Sun Oct 2 17:08:58 2022 +0200

Update Libraries
------------------------------------------------------------------------
9851f2b | robin | Fri Jul 2 18:19:08 2021 +0200

Update Toc to 90100
------------------------------------------------------------------------
f4eb033 | robin | Tue May 25 15:11:20 2021 +0200

Update Libs
------------------------------------------------------------------------
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Author
Date
136kB
Rilgamon
12-03-22 04:48 PM
100002.38
136kB
Rilgamon
11-28-22 04:24 PM
136kB
Rilgamon
10-25-22 11:14 AM
90005.35
136kB
Rilgamon
04-04-21 04:03 PM
90002.34
139kB
Rilgamon
01-25-21 03:18 AM
90002.33
138kB
Rilgamon
01-22-21 05:34 AM


Post A Reply Comment Options
Unread 11-11-14, 03:54 AM  
dyaeblca
A Defias Bandit
 
dyaeblca's Avatar

Forum posts: 3
File comments: 51
Uploads: 0
Profiles not saving

Hello,
Thank you for the addon.
I have one problem with it - whenever I try to create a custom profile, it disappears after I relog. Any changes I make to the default profile (hiding the minimap button) don't save neither.
__________________
Seek freedom and become captive of your desires. Seek discipline and find your liberty.
Report comment to moderator  
Reply With Quote
Unread 11-11-14, 07:57 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Re: Profiles not saving

Originally Posted by dyaeblca
Hello,
Thank you for the addon.
I have one problem with it - whenever I try to create a custom profile, it disappears after I relog. Any changes I make to the default profile (hiding the minimap button) don't save neither.
Ups, I've made a mistake in the toc-file. Never noticed because I spent not much time in beta.

If you want a quick solution you can replace

Lua Code:
  1. ## SavedVariables: zz_GarrisonDB
with
Lua Code:
  1. ## SavedVariables: zz_GarrisonToggleDB
in zz_GarrisonToggle.toc

I'll put an update together and upload when servers are back up after patch.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 11-13-14, 04:08 PM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 758
File comments: 2021
Uploads: 37
Request

Woud be nice to have a "done" text instead of 0s if a misson if done.
Also coud you make it show a text with "GS" instead of the icons as Titel so I can selet this in the bazooka menu?
Just add
Code:
		['text'] = "GS",
in line 52

Also if the label of the addon was "Garrison" you coud select if you want it to show "Garrison" or "GS" or the icon or both.
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Last edited by Tonyleila : 11-14-14 at 05:56 AM.
Report comment to moderator  
Reply With Quote
Unread 11-14-14, 09:15 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Re: Request

Originally Posted by Tonyleila
Woud be nice to have a "done" text instead of 0s if a misson if done.
Also coud you make it show a text with "GS" instead of the icons as Titel so I can selet this in the bazooka menu?
Just add
Code:
		['text'] = "GS",
in line 52

Also if the label of the addon was "Garrison" you coud select if you want it to show "Garrison" or "GS" or the icon or both.
The text is no problem. The 0s is ... this is a preformatted localized string. And in your case I'd guess its even changed by an addon. At least in german client it uses the longer abrev "0Sek". And since I'm not good with regular expressions to take care of this I'd prefer to leave it this way
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 11-16-14, 10:27 AM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 758
File comments: 2021
Uploads: 37
Re: Re: Request

Originally Posted by Rilgamon
Originally Posted by Tonyleila
Woud be nice to have a "done" text instead of 0s if a misson if done.
Also coud you make it show a text with "GS" instead of the icons as Titel so I can selet this in the bazooka menu?
Just add
Code:
		['text'] = "GS",
in line 52

Also if the label of the addon was "Garrison" you coud select if you want it to show "Garrison" or "GS" or the icon or both.
The text is no problem. The 0s is ... this is a preformatted localized string. And in your case I'd guess its even changed by an addon. At least in german client it uses the longer abrev "0Sek". And since I'm not good with regular expressions to take care of this I'd prefer to leave it this way
How about showing the shortest time in Minutes or hours ìnstead of the name (only one of them to make it a very short display) like 1h or 45min?
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Report comment to moderator  
Reply With Quote
Unread 11-16-14, 01:25 PM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Re: Re: Re: Request

Originally Posted by Tonyleila
How about showing the shortest time in Minutes or hours ìnstead of the name (only one of them to make it a very short display) like 1h or 45min?
Like I said the problem is that I dont get a value. I get a localized string. It needs parsing of the string to extract the required values.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 11-17-14, 08:42 PM  
Tonyleila
A Molten Giant
 
Tonyleila's Avatar
AddOn Author - Click to view AddOns

Forum posts: 758
File comments: 2021
Uploads: 37
Re: Re: Re: Re: Request

Originally Posted by Rilgamon
Originally Posted by Tonyleila
How about showing the shortest time in Minutes or hours ìnstead of the name (only one of them to make it a very short display) like 1h or 45min?
Like I said the problem is that I dont get a value. I get a localized string. It needs parsing of the string to extract the required values.
Maybe you can look into http://www.wowace.com/addons/broker-garrison/
It allows to display time instead of Name but Its a bit too much for my needs.
__________________
Author of: LeilaUI and Aurora: Missing Textures
__________________
Report comment to moderator  
Reply With Quote
Unread 11-18-14, 01:35 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
I'll see if I keep a list of missions and store the time myself when the mission start event is fired.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 12-06-14, 09:36 PM  
Cassielle
A Kobold Labourer
 
Cassielle's Avatar

Forum posts: 0
File comments: 9
Uploads: 0
Thank you so much for this! It's so handy!

Is there maybe a way to add a Hider for the default Blizzard UI Icon? If not that's totally fine too
Report comment to moderator  
Reply With Quote
Unread 12-07-14, 02:28 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Originally Posted by Cassielle
Thank you so much for this! It's so handy!

Is there maybe a way to add a Hider for the default Blizzard UI Icon? If not that's totally fine too
Hi, I'll take a look ... just takes a little as I still try to find a working way to show better time left. ATM it only works if you dont reboot your computer

Edit: New version pending with this option plus a timer worth mentioning
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Last edited by Rilgamon : 12-07-14 at 12:35 PM.
Report comment to moderator  
Reply With Quote
Unread 12-08-14, 07:29 PM  
Cassielle
A Kobold Labourer
 
Cassielle's Avatar

Forum posts: 0
File comments: 9
Uploads: 0
Thank you for your quick answer and update! :>
Report comment to moderator  
Reply With Quote
Unread 01-01-15, 04:22 AM  
Lazare
An Aku'mai Servant
 
Lazare's Avatar
AddOn Author - Click to view AddOns

Forum posts: 36
File comments: 76
Uploads: 5
errors today...

463x zz_GarrisonToggle\core.lua:90: attempt to compare table with number
zz_GarrisonToggle\core.lua:90: in function <zz_GarrisonToggle\core.lua:86>
zz_GarrisonToggle\core.lua:161: in function <zz_GarrisonToggle\core.lua:141>


Locals:
self = <unnamed> {
0 = <userdata>
}
event = "GARRISON_MISSION_COMPLETE_RESPONSE"
missionID = 160
db = <table> {
missions = <table> {
}
}
AddDB = <function> defined @zz_GarrisonToggle\core.lua:68
prune = <function> defined @zz_GarrisonToggle\core.lua:86

__________________
"There's no such thing as too many addons."
Lothaer

My Authored Addons
HOME OF THE FREE, BECAUSE OF THE BRAVE
Report comment to moderator  
Reply With Quote
Unread 01-01-15, 04:51 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Re: errors today...

Did you update the addon from an older version?
With the new version I'd changed the format of the stored informations.
Deleting the stored data should fix it.

Code:
World of Warcraft\WTF\Account\<ACCOUNT>\SavedVariables\zz_GarrisonToggle.lua
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Unread 01-17-15, 02:35 PM  
kaimox
A Fallenroot Satyr

Forum posts: 25
File comments: 100
Uploads: 0
Whose problem is this? Whenever I mouse over:

20x zz_GarrisonToggle\core.lua:114: attempt to compare table with number
zz_GarrisonToggle\core.lua:114: in function `OnTooltipShow'
ChocolateBar\Chocolate.lua:210: in function <ChocolateBar\Chocolate.lua:189>

Locals:
self = Chocolatezz_GarrisonToggle {
0 = <userdata>
icon = <unnamed> {
}
settings = <table> {
}
obj = <table> {
}
name = "zz_GarrisonToggle"
text = <unnamed> {
}
Update = <function> defined @ChocolateBar\Chocolate.lua:255
bar = ChocolateBar1 {
Last edited by kaimox : 01-17-15 at 02:36 PM.
Report comment to moderator  
Reply With Quote
Unread 01-17-15, 03:02 PM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 822
File comments: 303
Uploads: 43
Originally Posted by kaimox
Whose problem is this? Whenever I mouse over:
I'll take a look. Did you update the addon from an older version?
With the new version I'd changed the format of the stored informations.
Deleting the stored data should fix it.
Code:
World of Warcraft\WTF\Account\<ACCOUNT>\SavedVariables\zz_GarrisonToggle.lua
Guess I should have included a check to prevent this error
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: