Thread Tools Display Modes
04-13-13, 10:16 AM   #1
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
(latest appha from curse) Carbonite.Quests-1.0\NxQuest.lua:3590

Carbonite.Quests-1.0\NxQuest.lua:3590: attempt to perform arithmetic on local "x" (a nil value)

Original Lines
3590: x = x * 100
3591: y = y * 100


I changed them to the following
3590: x = x and (x * 100) or nil
3591: y = y and (y * 100) or nil

this will assign x,y either the value * 100 or leave it as a nil without throwing any errors
 
04-13-13, 07:16 PM   #2
Rythal
Featured Artist
Featured
Join Date: Aug 2012
Posts: 1,458
The fix I used for it was just moving then down one line so they fall under the if x conditional.
 
 

WoWInterface » Featured Projects » Carbonite » Carbonite Archive » (latest appha from curse) Carbonite.Quests-1.0\NxQuest.lua:3590


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off