Results: 4Comments by: mrudat |
File: Bank Manager Revived04/29/17 |
I had a look through the code; it s...
Posted By: mrudat
I had a look through the code; it seems that the Rule Writer feature is a work in progress, as opposed to a working feature.
I think that implementing an option language, while making things easier to the end user, is a little ambitious, and not entirely necessary, given that we have a lua interpreter Right There.
Given that th...
|
File: Faster Travel (Wayshrines menu & Teleporter)04/28/17 |
I got an error (which I don't have...
Posted By: mrudat
I got an error (which I don't have a copy of handy at the moment), but it seems that _manager isn't always initialised before attempting to call _manager:CreatePin (line 24). It's possible that the manager parameter to the callback (line 11) is nil?
If I understand how the code is supposed to work, that would seem to be the only w...
|
File: Faster Travel (Wayshrines menu & Teleporter)04/28/17 |
Re: Re: Re: Re: Re: LUA Error
Posted By: mrudat
The below additions appear to have stopped the following from occurring for me:
bad argument #4 to 'string.format' (string expected, got nil)
stack traceback:
: in function 'string.format'
EsoUI/Libraries/Globals/globalapi.lua:154: in function 'zo_iconFormat'
EsoUI/Libraries/Globals/globalapi.lua:162: in function 'zo_iconTe...
|
File: Faster Travel (Wayshrines menu & Teleporter)04/28/17 |
Re: Re: Re: Re: LUA Error
Posted By: mrudat
Perhaps something more like this?
setAssisted = function(self,assisted)
local path = GetPinTypeIconPath(textures,ConvertQuestPinType(pinType,assisted))
self.path = path
if status then
self.text = zo_iconTextFormat(path,iconWidth,iconHeight,text)
else
-- log to chat the values that caused the lookup to fail, so we can...
|