14 - Quest colors and error
What steps will reproduce the problem?
1. Install Smooth Quest
2. track a quest
3.
What is the expected output? What do you see instead?
2 different issues here.
Since 3.2, quests with a number of things to collect -- the numbers aren't colored like the rest of the quest text.
Second issue since 3.3.3 hit: I'm getting the below error.
What version of the product are you using?
r86
Do you have an error log of what happened?
1x Interface\FrameXML\UIParent.lua:3359 attempt to perform arithmetic on local 'level' (a nil value):
SmoothQuest-r86\SmoothQuest.lua:435 in function <SmoothQuest\SmoothQuest.lua:431
SmoothQuest-r86\SmoothQuest.lua:453 in function `?'
CallbackHandler-1.0-5:146: in function <...ade\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:146
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0-5:91: in function `Fire'
AceEvent-3.0-3 (Bartender4):120: in function <...AddOns\Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:119
Please provide any additional information below.
| User | When | Change |
|---|---|---|
| Tinolyn | Mar 24, 2010 at 18:43 UTC | Create |
- 4 comments
- 4 comments
- Reply
- #4
xpyder Dec 24, 2010 at 16:16 UTC - 0 likesmy ticket (http://www.wowace.com/addons/smooth-quest/tickets/17-smoothquest-killing-world-map-when-tracking-quests/) is basically a duplicate of this. The error I got and experienced sound different but have the same steps to recreate
- Reply
- #3
ronconsoda Mar 30, 2010 at 19:08 UTC - 0 likesGetGossipAvailableQuests() returns: title1, level1, isLowLevel1, isDaily1, isRepeatable1 [, title2, level2, isLowLevel2, , isDaily2, isRepeatable2...]
GetGossipActiveQuests() returns: title1, level1, isLowLevel1, isComplete1 [, title2, level2, isLowLevel2, isComplete2...]
your function gossip_loop() steps by 5
more then one active quest -> boom nil error. by adding the step (4 or 5 currently) to the functioncall this can be avoided.
enjoy, /ron
- Reply
- #2
ronconsoda Mar 27, 2010 at 18:54 UTC - 0 likeshi,
the following is needed to cause the exception:
you need to find a questgiver with two or more dailys. Accepting them all quest show their level. When you have one or more finished and visit the questgiver again you get the error mentioned by rainrider. Only finished quest break on the loop. And yes no other addon was active for testing ;)
tnx /ron
- Reply
- #1
rainrider Mar 26, 2010 at 22:05 UTC - 0 likesIm getting
1x Interface\FrameXML\UIParent.lua:3359: attempt to perform arithmetic on local 'level' (a nil value): SmoothQuest-r89\SmoothQuest.lua:436: in function <SmoothQuest\SmoothQuest.lua:431> SmoothQuest-r89\SmoothQuest.lua:449: in function `?' CallbackHandler-1.0-5 (Ace3):147: in function <...Ons\Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:147> <string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4> <in C code>: ? <string>:"safecall Dispatcher[1]":13: in function `?' CallbackHandler-1.0-5 (Ace3):92: in function `Fire' AceEvent-3.0-3 (Ace3):120: in function <Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>
-when trying to turn in a quest, resulting in the above error message and no gossip window opened. After ignoring the error and clicking again on the npc I get the gossip window. From the two quests I have to turn in only the first one has the quest level displayed in the gossip window.
I posted this here as it is almost identical to the ticket from Tinolyn, please excuse me if it is not.