Download
(22 Kb)
Download
Updated: 07-30-14 04:37 AM
Pictures
File Info
Compatibility:
Warlords of Draenor (6.0)
Siege of Orgrimmar (5.4)
Updated:07-30-14 04:37 AM
Created:07-24-12 08:03 AM
Downloads:3,726
Favorites:76
MD5:
5.4
Battle Pet Tabs
Version: 6.0.0.140730
by: Vladinator [More]
Official repository can be found at GitHub.

NB: It's advised that you clean your SavedVariables file "BattlePetTabs.lua" from your WTF folder for WoD because the way pets are tracked has changed once more. This means that all old settings must be purged, or else you might end up with errors. Worst case you login and won't find any teams or snapshots.

You can create up to eight team loadouts and toggle between them by pressing the tabs on the Pet Journal - could it get any simpler? You can also store various team compositions into snapshots and then easily swap between entire team loadouts at once!

Quick start
  • Right-click a tab to delete.
  • Right-click a tab while holding down alt/shift/ctrl to rename.
  • Click "+" to create a new team. (Current team is copied as a starting point.)
  • Click a tab to load the assigned team.
  • Drag a tab to create a macro. You can place it on your bar for quick access. (Note that you can right-click the macro to quickly open the Pet Journal.)
6.0.0.140730
- The start of a new expansion means fresh change log.
Optional Files (0)


Archived Files (22)
File Name
Version
Size
Author
Date
1.1.7.6
15kB
Vladinator
10-08-13 02:09 PM
1.1.7.5
15kB
Vladinator
10-07-13 08:47 AM
1.1.7.4
14kB
Vladinator
10-05-13 02:31 AM
1.1.7.3
14kB
Vladinator
06-06-13 06:30 AM
1.1.7.2
14kB
Vladinator
04-22-13 06:07 PM
1.1.7.1
12kB
Vladinator
04-21-13 10:40 AM
1.1.7
11kB
Vladinator
04-21-13 10:02 AM
1.1.6
8kB
Vladinator
04-16-13 04:28 AM
1.1.5.2
9kB
Vladinator
04-08-13 08:09 AM
1.1.5.1
9kB
Vladinator
03-13-13 07:18 AM
1.1.5
8kB
Vladinator
12-04-12 11:48 AM
1.1.4
8kB
Vladinator
11-28-12 05:07 AM
1.1.3.1
8kB
Vladinator
10-16-12 12:54 PM
1.1.3
8kB
Vladinator
10-07-12 03:36 PM
1.1.2
8kB
Vladinator
10-07-12 09:05 AM
1.1.0
8kB
Vladinator
10-06-12 04:57 PM
1.0.9
8kB
Vladinator
10-05-12 04:04 PM
1.0.8
7kB
Vladinator
07-29-12 06:42 PM
1.0.7
7kB
Vladinator
07-28-12 07:08 AM
1.0.6
6kB
Vladinator
07-26-12 02:15 PM
1.0.5
6kB
Vladinator
07-26-12 11:32 AM
1.0.1
5kB
Vladinator
07-24-12 08:23 AM


Post A Reply Comment Options
Unread 10-06-12, 05:25 PM  
Azbandar
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Error without an error

It seems to me that everytime I log out, my "saved" teams are wiped. If I never want to log out or switch characters, this is an awesome add-on. Let me know what you may need from me for more info and I'll give you what I can.
Azbandar is offline Report comment to moderator  
Reply With Quote
Unread 07-29-12, 06:40 PM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 382
Uploads: 39
Re: error opening pet window

Originally Posted by A_Nolan
error i found i have the 7/28/12 version 1.0.7
activated when i opened the pet window
I uploaded 1.0.8 -this happened because the pet abilities did not get saved properly, for some reason C_PetJournal.GetPetLoadOutInfo(index) a 0 so the pet wasn't properly stored (or there is no pet) -later the addon tried to look into that non-existant pets spells but since it didn't exist it errors like this. I think I fixed it by adding a simple if-check, try now and report back if it happened again.
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 07-29-12, 06:19 PM  
A_Nolan
A Deviate Faerie Dragon
 
A_Nolan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 16
File comments: 55
Uploads: 9
Exclamation error opening pet window

error i found i have the 7/28/12 version 1.0.7
activated when i opened the pet window

Date: 2012-07-29 19:12:43
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\BattlePetTabs\core.lua line 331:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
BattlePetTabs\core.lua:331: BattlePetTab_LoadTeamId()
BattlePetTabs\core.lua:222: BattlePetTabs_OnEvent()
[string "*:OnEvent"]:1:
[string "*:OnEvent"]:1
[C]: LoadAddOn()
..\FrameXML\UIParent.lua:299: UIParentLoadAddOn()
..\FrameXML\UIParent.lua:432: PetJournal_LoadUI()
..\FrameXML\UIParent.lua:633: TogglePetJournal()
[string "*:OnClick"]:1:
[string "*:OnClick"]:1
AddOns:
Swatter, v5.13.5258 (BoldBandicoot)
Bagnon, v4.3.0
BagnonForever, v
BagnonTooltips, v
BankStack, vv23
BattlePetTabs, v1.0.7
Factionizer, v5.0.0.01
MinimalArchaeology, v4.0.3a (01.09.11)
PetBattleQualityGlow, v1.0.2
BlizRuntimeLib_enUS v5.0.4.50001 <us:3724>
(ck=116)
__________________
w.w.J.d. read the book and find out (J 3:16)
A_Nolan is offline Report comment to moderator  
Reply With Quote
Unread 07-27-12, 08:32 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 382
Uploads: 39
Re: Thanks!

Originally Posted by Twilit Soul
I love this addon!
I am glad you find it to your liking.

The only thing that can be discussed is the number of teams one can create. I think 8 is enough for most, but I am open for suggestions of any sort, not just the maximum number of teams.
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 07-26-12, 04:45 PM  
Twilit Soul
A Defias Bandit

Forum posts: 2
File comments: 8
Uploads: 0
Smile Thanks!

I love this addon! I can see it becoming hugely popular by release day.

Much appreciated =)
Twilit Soul is offline Report comment to moderator  
Reply With Quote
Unread 07-26-12, 11:22 AM  
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view AddOns

Forum posts: 759
File comments: 382
Uploads: 39
*Edit*

1.0.6 is pending review, it fixed the team swapping issue where pets would revert their abilities back to default instead of using what was assigned to them by the player. For example if you have a Beast that knows Scratch and you set it to use Thrash, after swapping teams it will properly set it's ability back to Thrash instead of reverting to default and use Scratch.

Originally Posted by nullberri
<snip>
Thanks for the reports, this is what I have changed and fixed for next release:

- Variable initialization shouldn't error, tested it several times on an empty client. Still if it occurs do tell me.
- Quickly toggling teams will result into sloppy updating, since the game isn't designed to change all the pets at once, so to counter this there is an internal updater checking each 250ms and corrects the loadout if it's not properly loaded. In short, team swapping should always perform as expected.
- If you cage a pet from a team, that pet is no longer a member of that team and will not error. If you cage all the pets from a team, that team will be removed. (Note that you can generate an error if you cage a pet and swap team before the game can fire the pet journal update event, this causes the addon to assume you still got the pet and try to load it while in reality you don't. This shouldn't be a problem as long people don't deliberately quickly cage and swap to a team with the caged pet, I'll anyway try completely fix this for some future build.)

I have uploaded the changes and you can try them out shortly. Keep me informed of bugs, thanks.
Last edited by Vlad : 07-26-12 at 02:17 PM.
Vlad is offline Report comment to moderator  
Reply With Quote
Unread 07-25-12, 01:28 PM  
nullberri
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 3
Bugs:
Rapidly switching teams does not reliably switch teams;
Abilities are not saved / restored when switching teams (when switching teams succeeds)
When a pet is caged/released from a team that is not the current team, switching to that team throws an error.

calls to C_PetJournal.SetPetLoadOutInfo and C_PetJournal.SetAbility are throttled internally and need to be set, and rechecked during an onupdate to ensure they get set properly.
Last edited by nullberri : 07-25-12 at 01:34 PM.
nullberri is offline Report comment to moderator  
Reply With Quote
Unread 07-25-12, 01:21 PM  
nullberri
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 2
Uploads: 3
Fresh install with no previous saved variables file and i get an error when i click the first tab.

searching thru your code it looks like you never initialize BattlePetTabsDB to some default value if BattlePetTabsDB is nil.

Workaround is to /run BattlePetTabsDB = {} then click a button, you'll get an error but after that it works fine.

Code:
Message: Interface\AddOns\BattlePetTabs\core.lua:285: attempt to index global 'BattlePetTabsDB' (a nil value)
Time: 07/25/12 12:19:30
Count: 1
Stack: Interface\AddOns\BattlePetTabs\core.lua:285: in function `BattlePetTab_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>

Locals: self = BattlePetTabsTab1Button {
 0 = <userdata>
 searchOverlay = BattlePetTabsTab1ButtonSearchOverlay {
 }
}
button = "RightButton"
currentId = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'BattlePetTabsDB' (a nil value)"
Last edited by nullberri : 07-25-12 at 01:26 PM.
nullberri is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.