Bug 558: (Content) Lua sript error: [string
Moderators: Community Managers, Developers
-
- Posts: 810
- Joined: Wed Aug 28, 2013 9:40 am
Bug 558: (Content) Lua sript error: [string
Bug ID : 558 - Lua sript error: [string Bug Date : 2016/05/12 09:11:28 Assigned To : Content Priority : Low Category : VGClient Sub-Category : Gameplay: Combat Severity : Standard Reproducible : Only seen onceDetails:
Lua sript error: [string "--[[..."]]:41: attempt to perform arithmetic on local 'Strenght' (a nil value)
Error calling function spell in script
Spells/Dreadknight/DevourStrength.lua
Came up durring combat- thanks!
Originated From World: New Telon (1) Chunk : Dahknarg (180) Location : -58321 -56285 13815
Entered on May 13, 2016 02:19 by Xinux
Someone double check this is fixed please
-
- Posts: 267
- Joined: Sun Feb 22, 2015 9:23 pm
- Location: Southern Oregon
Re: Bug 558: (Content) Lua sript error: [string
It isn't really "fixed". Until the debuff portion of spells works (or until I get back to DK spells if the debuffs are working), I just removed those parameters from that spell.
Re: Bug 558: (Content) Lua sript error: [string
Don't just remove parameters from abilities, the code still runs and is expecting parameters which are now empty (nil). Next time please disable in the code instead. I updated the script so it tells the player it's not yet implemented.
Re: Bug 558: (Content) Lua sript error: [string
I believe this ability is erroring because NPCs have no attributes to debuff yet. The script is fine and the debuff code was working properly last time I tested this spell. Debuffs should be generally ok other than the fact that I haven't implemented the deactivation timers.
-
- Posts: 267
- Joined: Sun Feb 22, 2015 9:23 pm
- Location: Southern Oregon
Re: Bug 558: (Content) Lua sript error: [string
Well removing the parameters stopped the error messages. Sorry that wasn't the right way to do it.