|Go to Page...|
|Thread Tools||Display Modes|
|12-28-14, 10:38 AM||#1|
A Frostmaul Preserver
Join Date: May 2009
a german User (DeaTHCorE) not firm to post this in English has given me some Ideas and a Zipfile with changes,
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
greetings David aka DeaTHCorE
end of Translation
just for Discussion
Last edited by samyonair : 12-28-14 at 11:15 AM.
|12-28-14, 05:58 PM||#2|
|12-29-14, 02:41 AM||#3|
A Chromatic Dragonspawn
Join Date: Oct 2014
To make this more failsafe, you'd have to redesign the whole thing so the placeholder for missing arguments could be replaced by some verbose string. I'll think about it and probably come up with some solution later.
Update: here's the function:
Pushed it to github.
Last edited by atl77 : 12-29-14 at 04:23 AM.
|WoWInterface » Featured Projects » Carbonite » Carbonite: Dev Talk » Idea from German User translated|