View Single Post
12-28-14, 10:38 AM   #1
samyonair
A Frostmaul Preserver
 
samyonair's Avatar
Join Date: May 2009
Posts: 257
Hello,

a german User (DeaTHCorE) not firm to post this in English has given me some Ideas and a Zipfile with changes,

Tranlated Part:

Hi,

I have following Problem: with the Addon Dugi's Guide, there is added to blizzards list for Positions to track, also a List with teachers for proffessions etc. added, If I want to track a teacher, it comes to failure in Duggi's Guide and after searching hours in the Code cannot find anything that is breaking the code.

The Failure is produced by the function SetMapByID in NXMap.lua in line 230
I have all that is possible tested, also to comment it out, but it helped not, then I have changed the functionname to SetMapByID2 and all Call-ups in the file NxMap.lua changed and in the fuction itself the call-up of blizSetMapByID(Zone,Level) or respectively blizSetMapByID(Zone) changed to SetMapByID(zone,level) or respectively SetMapByID(zone) and commented out the declaration of local blizSetMapByID = SetMapByID. That effects that all Call-Ups for Carbonite are executed and the Error is fixed, could be working for other Addons, too.
Comment by Samyonair: "But that could be reset the working of doubled ZoneNames I think"
"He has send me the files to compare I have added them to this Thread"

I have changed some parts in NxQuest.lua with fixing missing Translation Terms and some variables that not used anymore on load and some constants in the Questdatabase which are initialisized with lvl 90, but we have lvl 100 now, i think this was missed.

Oh well, in the file NxMap.lua i have filled the table NxMapIDtoName (comment is there too), that eliminates the failures with ZoneMonitoring (Minimap right click and in Menu Zone Monitoringcomment:" don't know the term in English locale at the Moment" i think it's right but not sure, the table itself is comment out but the table is used at some parts (in Comment is written in which files)

In Attachment: NxMAp.lua, NxQuest.lua and the german locales files for it (Carbonite/locales/deDE/map.lua and Carbonite.Quests/locales/de.lua

At the end: In file NxUI.lua line 97 is false it has to be changed from
Lua Code:
  1. f:AddMessage (Nx.TXTBLUE..L["Carbonite"].." |cffffffff".. (format (msg, ...) or "nil"), 1, 1, 1)
to
Lua Code:
  1. f:AddMessage (Nx.TXTBLUE..L["Carbonite"].." |cffffffff".. format(msg, (... or "nil")), 1, 1, 1)
, because otherwise it comes to a failure if no Values are found
greetings David aka DeaTHCorE

end of Translation
________________________________

just for Discussion

greetings Samyonair



http://www.wowinterface.com/forums/a...1&d=1419784663
Attached Files
File Type: zip Carbonite Data david.zip (120.1 KB, 464 views)

Last edited by samyonair : 12-28-14 at 11:15 AM.
  Reply With Quote