5 - attempt to perform arithmetic on local 'start'
What steps will reproduce the problem?
No clue. It works fine on one toon but not the other. Yes I want two druids (/lower head in shame)
What is the expected output? What do you see instead?
It ooks fine. Bliz Lua box poops up telling me an addon is having many errors.
What version of the product are you using?
most recent off of Curse
Do you have an error log of what happened?
Message: Interface\AddOns\Lifebloomer\Lifebloomer.lua:616 attempt to perform arithmetic on local 'start' (a nil value)
Time: 02/14/11 09:11:19
Count: 223
Stack: Interface\AddOns\Lifebloomer\Lifebloomer.lua:616 in function `Lifebloomer_GCDUpdate'
[string "*:OnUpdate"]:1: in function <[string "*:OnUpdate"]:1>
Locals: self = LifebloomerMainFrameGCDBar {
0 = <userdata>
TimeSinceLastUpdate = 0.0020005790516728
}
elapsed = 0.017000000923872
start = nil
duration = nil
e = nil
seconds = 3894.015
(*temporary) = <function> defined =[C]:-1
(*temporary) = LifebloomerMainFrameGCDBar {
0 = <userdata>
TimeSinceLastUpdate = 0.0020005790516728
}
(*temporary) = nil
(*temporary) = "attempt to perform arithmetic on local 'start' (a nil value)"
Please provide any additional information below.
I've delete the Lifebloomer addon folder and deleted the Lua in the toons WTF folder. reinstalled addon from scratch. All other addons disabled. Problem keeps persiseing. Works on one, not the other.
sry if I've done something wrong. I love this addon.
| User | When | Change |
|---|---|---|
| user_72916 | Feb 14, 2011 at 14:25 UTC | Create |
- 4 comments
- 4 comments
Facts
- Reported
- Feb 14, 2011
- Status
- New - Issue has not had initial review yet.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- Votes
- 0
- Reply
- #4
branciforte May 08, 2011 at 07:19 UTC - 0 likesVery good. We'll have to figure out if there is a more proper way to do this, so that druids can use Lifebloomer at levels 1 and 2. For, say, Hogger raids.
- Reply
- #3
eXochron May 08, 2011 at 07:11 UTC - 0 likesThere's actually a similar issue with the "Dim Out-of-Range" option, which also doesn't work below level 78. :)
So just edit (in Lifebloomer.lua) the line
into
to (badly) fix it. ;)
- Reply
- #2
branciforte May 07, 2011 at 17:49 UTC - 0 likesI looked into this. Couldn't figure out why GetSpellCooldown was returning nil for a perfectly good spell. Now I know. THANKS!!!
- Reply
- #1
eXochron May 07, 2011 at 09:49 UTC - 0 likesthis error actually occurs with every druid char below level 78, because you simply don't have Healing Touch until then, which is used for calculating the global colldown in Lifebloomer_GCDUpdate.
So changing the line (in File: Lifebloomer.lua)
into
should do the trick for now, cause Rejuvenation is our first healing spell and is probalby learned before even using Lifeblommer. Some real implementation of the GCD using some Wow-Api would of course be smarter, but I also didn't found any more useful function on wowwiki. :)
Hope this helps
LB rocks! :D