WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Carbonite Archive (https://www.wowinterface.com/forums/forumdisplay.php?f=158)
-   -   Carbonite.Quests-1.0\NxQuest.lua:4440: attempt to compare number with nil (https://www.wowinterface.com/forums/showthread.php?t=46143)

Billtopia 03-29-13 02:54 PM

Carbonite.Quests-1.0\NxQuest.lua:4440: attempt to compare number with nil
 
489x Carbonite.Quests-1.0\NxQuest.lua:4440: attempt to compare number with nil
Carbonite.Quests-1.0\NxQuest.lua:4440: in function "OnMsgQuest"
Carbonite-5.2.1\NxCom.lua:530: in function <Carbonite\NxCom.lua:498>
<string>:"safecall Dispatcher[4]":4: in function <string>:"safecall Dispatcher[4]":4
<in C code>
<string>:"safecall Dispatcher[4]":13: in function "?"
Ace3-Release-r1083\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
Ace3-Release-r1083\AceComm-3.0\AceComm-3.0-7.lua:339: in function <Ace3\AceComm-3.0\AceComm-3.0.lua:321>

Locals:
nil

that was a ear killing time with all the "fatality"s going off for every roach and more...

Billtopia 03-30-13 06:00 AM

just a simple change for line 4440

original:
4440: if loc > 0 then

new:
4440: if loc then

or:
4440: if loc and loc > 0 then

Twink 04-01-13 04:30 AM

Same error here:

Lua Code:
  1. 11x Carbonite.Quests-1.0\NxQuest.lua:4440: attempt to compare number with nil
  2. Carbonite.Quests-1.0\NxQuest.lua:4440: in function "OnMsgQuest"
  3. Carbonite-5.2.1\NxCom.lua:530: in function <Carbonite\NxCom.lua:498>
  4. <string>:"safecall Dispatcher[4]":4: in function <string>:"safecall Dispatcher[4]":4
  5. <in C code>
  6. <string>:"safecall Dispatcher[4]":13: in function "?"
  7. Libs\CallbackHandler-1.0\CallbackHandler-1.0-6.lua:92: in function "Fire"
  8. Carbonite-5.2.1\Libs\AceComm-3.0\AceComm-3.0-7.lua:339: in function <Carbonite\Libs\AceComm-3.0\AceComm-3.0.lua:321>
  9.  
  10. Locals:
  11. nil


All times are GMT -6. The time now is 03:04 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI