Thread: WOD/Pre-patch
View Single Post
11-30-14, 02:34 PM   #504
Ghosthree3
A Wyrmkin Dreamwalker
Join Date: Nov 2014
Posts: 58
Originally Posted by atl77 View Post
Looks like C_Garrison.GetGarrisonInfo doesn't return a level. Can you provide some information about the types and levels of your garrison buildings?

Or don't you even have a garrison? http://wowprogramming.com/utils/xmlb...BuildingUI.lua shows that if level is nil, they exit from the function...
Originally Posted by Rythal View Post
I don't like workarounds, but I suppose in this case it's safe to default to level 1 for the map as it appears the map was loading and drawing before any information was being returned by the garrison function. My guess is you got that error, but then the map still showed right so a temporary level = 1 should be fine.
It only happened once, I've zoned out multiple times since and it hasn't happened. I have a level 3 garrison with level 2 Lumber Camp, Level 3 Barracks, level 2 Stables, level 1 Tavern, level 2 Tailoring, level 2 Enchanting, level 1 Storehouse, level 2 Herb Garden, level 1 Fishing Shack, level 1 Mine and level 1 Menagerie.