Thread Tools Display Modes
03-10-13, 11:24 AM   #1
samyonair
A Frostmaul Preserver
 
samyonair's Avatar
Join Date: May 2009
Posts: 257
Problem in NXQuest.lua

Hi

I Had a Problem in NXQuest.lua at line 4440 every time I do something to go further with a Quest for e.g. I killed a Mob for a Quest like Kill 10 Mobs and every time it goes one further it gave me the Error Comparison to nil (have cleared my bugsack before cannot post the Errorcode.

For me I've put the Lines 4440 to 4442 into comment for now.

Code:
Line 4434 to Line 4442
-- Quest com message from a player

function Nx.Quest:OnMsgQuest (plName, msg)

--	Nx.prt ("OnMsgQuest (%s) %s", plName, msg)
	loc = strfind(plName,"-")
	--if loc > 0 then
	--	plName = string.gsub(plName,strsub(plName,loc),"")		
	--end
 
03-12-13, 05:19 PM   #2
samyonair
A Frostmaul Preserver
 
samyonair's Avatar
Join Date: May 2009
Posts: 257
Beta 7 in group same failure

Now with the Failure code
Code:
7x 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 "?"
Libs\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
this helps me Lines 4440 to 4442
Code:
	--if loc > 0 then
		--plName = string.gsub(plName,strsub(plName,loc),"")		
	--end
greetings Samyonair

Last edited by samyonair : 03-12-13 at 05:32 PM.
 
 

WoWInterface » Featured Projects » Carbonite » Carbonite Archive » Problem in NXQuest.lua


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