Quantcast
Download
(9 Kb)
Download
Updated: 12-14-14 07:53 AM
Pictures
File Info
Compatibility:
Warlords of Draenor (6.0.3)
Updated:12-14-14 07:53 AM
Created:12-05-14 11:03 AM
Downloads:1,028
Favorites:10
MD5:

TeamBuildingExercise2014

Version: 0.99
by: psychogears [More]

This addon will add a third tab in your Garrison Report, which you normally access from the garrison button on the minimap. It should show you at a glance who can counter what, and should hopefully give you intel for your recruitment efforts.

This is my first attempt at building and releasing an addon. I appreciate any constructive criticism you might have.

Thanks for your time, and enjoy.

-TJ

Update: I could use some help localizing

0.9:

- Showing Inactive followers in list
- Colored inactive followers dark red, deployed followers dark blue
- Fixed some list sorting issue where followers were being displayed out of order for the particular threat they counter

0.99:

- Updated to reflect if a follower is working at one of your huts (thanks friiar - http://www.curse.com/users/friiar)

NOTE: This addon seems to conflict with rGarrisonFollowerItems, but I'm not sure why.
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
0.9
9kB
psychogears
12-08-14 11:24 AM


Post A Reply Comment Options
Unread 12-14-14, 10:56 AM  
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 788
File comments: 290
Uploads: 40
German translation

(7, 'Dienerschwärme', 'Interface\ICONS\Spell_DeathKnight_ArmyOfTheDead.blp',Ein Gegner, der viele Verbündete hat. Durch Flächenschaden besonders verletzlich.')
(6, 'Gefahrenzonen', 'Interface\ICONS\spell_Shaman_Earthquake.blp',Eine Fähigkeit, die einen Zielbereich betrifft und der Ihr entkommen oder aus dem Weg gehen müsst.')
(3, 'Gruppenschaden', 'Interface\ICONS\Spell_Fire_SelfDestruct.blp',Eine Fähigkeit, die mehreren Gruppenmitgliedern Schaden zufügt.')
(2, 'Massiver Hieb', 'Interface\ICONS\Ability_Warrior_SavageBlow.blp',Eine Fähigkeit, die massiven Schaden verursacht.')
(8, 'Mächtiger Zauber', 'Interface\ICONS\Spell_Shadow_ShadowBolt.blp',Ein außergewöhnlich gefährlicher Zauber, der unterbrochen werden sollte.')
(4, 'Schwächungsmagie', 'Interface\ICONS\Spell_Shadow_ShadowWordPain.blp',Ein gefährlicher schädlicher Effekt, der aufgehoben werden sollte.')
(9, 'Tödliche Diener', 'Interface\ICONS\Achievement_Boss_TwinOrcBrutes.blp',Ein Gegner mit mächtigen Verbündeten, die Ihr eliminieren solltet.')
(1, 'Wilde Aggression', 'Interface\ICONS\Spell_Nature_Reincarnation.blp',Ein unberechenbarer Gegner, dessen Aggression Ihr unter Kontrolle halten solltet.')
(10, 'Zeitbegrenzung', 'Interface\ICONS\SPELL_HOLY_BORROWEDTIME.BLP',Ein Gegner, dem Ihr schnell ein Ende setzen solltet.')
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Last edited by Rilgamon : 12-14-14 at 10:58 AM.
Report comment to moderator  
Reply With Quote
Unread 12-12-14, 06:03 AM  
psychogears
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
If you want, can you help me localize this to your language by running the following lua in-game? You'll have to build a mod to load the lua function, but this will help me extract the text from your client so you'll see your followers.

You'll need to have access to the Lv 2 inn recruiter for this to work, and make sure to disable all of your other addons before doing this.

Here's the lua code for the mod, just make a folder in your addon directory, add the .toc file, and reference the .lua file you create with this code:

Lua Code:
  1. function dumpability(wantTrait, traitCategory)
  2.     local abilities = C_Garrison.GetRecruiterAbilityList(wantTrait);
  3.     local category = C_Garrison.GetRecruiterAbilityCategories()[traitCategory];
  4.     local returnstring = "";
  5.     for _,v in pairs(abilities) do
  6.         if v.category == category then
  7.             returnstring = returnstring .. "(" .. v.id .. ", \\"" .. v.name .. "\\", \\"" .. v.icon .. "\\", \\"" .. v.description .. "\\")\\n"
  8.         end
  9.     end
  10.     return returnstring;
  11. end

Once that's done, load wow and your addon, then with the recruiter window open, run the following commands:

Code:
/script 1/
This will generate an error, which is what we want. Leave that window open. Run this command while that window is open:

Code:
ScriptErrorsFrameScrollFrameText:SetText(dumpability(false));
Then copy and paste that text in the window and send that to me via PM or text file attachment to a reply.

The reason we need the recruiter window open is because if the window is not open, C_Garrison.GetRecruiterAbilityList(false) won't return anything useful, which is the list of abilities to counter.
Last edited by psychogears : 12-12-14 at 06:04 AM.
Report comment to moderator  
Reply With Quote
Unread 12-12-14, 05:47 AM  
psychogears
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
Originally Posted by Andrekos
Good day! Please tell me what can be the problem of the lack of companions in the tab? The screenshot attached.


I'm going to guess it has something to do with the lack of localization. I'll check my code and see where it's breaking... I have to admit, it's not the cleanest, and I reference a lot of globals because I just wanted to hack it together to make it look the way I wanted.

If you want to see what I did, there's a file called "harddata.lua" that lists english strings which I pulled from the recruiter. I figured I had to do that because I can't seem to get a definitive list of abilities without having the recruiter open.
Last edited by psychogears : 12-12-14 at 05:51 AM.
Report comment to moderator  
Reply With Quote
Unread 12-12-14, 04:51 AM  
Andrekos
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Good day! Please tell me what can be the problem of the lack of companions in the tab? The screenshot attached.


Report comment to moderator  
Reply With Quote
Unread 12-08-14, 01:32 PM  
psychogears
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
Originally Posted by nate0660
Awesome, thanks!

This is exactly what i needed. It would be cool it the ones that weren't active were marked somehow, but you could still see what quality they were, so going totally grey wouldn't work.

Also it would be nice if they were listed in order of least followers with a certain ability to most followers with a certain ability.

Love the addon though... great work!
Thanks for the praise, I really do appreciate it. You should download 0.9, as it actually tints who's on mission and who's inactive, as well as fixes some sorting issues I discovered yesterday.

I'll think about the sorting, I'm not sure how I feel about that one. I'm essentially trying to match whatever the blizzard code produces, down to the way data is sorted. I'll put that on the to-do list, though, and see how it works.
Report comment to moderator  
Reply With Quote
Unread 12-08-14, 11:50 AM  
nate0660
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Awesome, thanks!

This is exactly what i needed. It would be cool it the ones that weren't active were marked somehow, but you could still see what quality they were, so going totally grey wouldn't work.

Also it would be nice if they were listed in order of least followers with a certain ability to most followers with a certain ability.

Love the addon though... great work!
Report comment to moderator  
Reply With Quote
Unread 12-07-14, 10:36 PM  
psychogears
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
Re: Inactive followers?

Originally Posted by nate0660
Any way to make this show inactive followers as well? I'm looking for a way to easily decide which followers to recruit from the inn and would like to figure in i actives for that.
I'll put that on the to-do list. I was debating whether or not to show inactives.

You can work around it for now, in TeamBuildingExercise2014.lua, line 251, just change:

Lua Code:
  1. if (not v.isCollected) or (v.status == GARRISON_FOLLOWER_INACTIVE) then

to
Lua Code:
  1. if (not v.isCollected) then

and that should get you what you want... just that your inactives will look like the rest of your collected team.

I've got a few more features coming in so I'll include this suggestion in the next release.

-TJ
Report comment to moderator  
Reply With Quote
Unread 12-07-14, 08:14 PM  
nate0660
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Inactive followers?

Any way to make this show inactive followers as well? I'm looking for a way to easily decide which followers to recruit from the inn and would like to figure in i actives for that.
Report comment to moderator  
Reply With Quote
Unread 12-07-14, 04:53 AM  
psychogears
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 5
Uploads: 1
Originally Posted by VincentSDSH
Well...no errors but no 3rd window either. Are there some additional dependencies or incompatibilities we should be aware of?
You should just be able to drop it in and go. Do you have another addon affecting the garrison report? This is my first one so if possible I'd like to reproduce what you're seeing by loading the same addons so I can see where it doesn't play nice.
Report comment to moderator  
Reply With Quote
Unread 12-06-14, 06:26 AM  
VincentSDSH
Non-Canadian Luzer!
 
VincentSDSH's Avatar
AddOn Author - Click to view AddOns

Forum posts: 350
File comments: 257
Uploads: 12
Well...no errors but no 3rd window either. Are there some additional dependencies or incompatibilities we should be aware of?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: