Lu shangs quest crash
Posted: Wed Mar 13, 2013 11:20 pm
Trading moat carp to Joulet crashes the server, im sure it happens with Gallijaux as well since its the same code with the quest changed.
Code: Select all
(...)
count = trade:getItemCount();
MoatCarp = trade:getItemQty(4401)
ForestCarp = trade:getItemQty(4289)
fishCountVar = player:getVar("theCompetitionFishCountVar");
(...)
Code: Select all
totalFish = MoatCarp + ForestCarp + fishCountVar
player:setVar("theCompetitionFishCountVar",totalfish);
Code: Select all
totalFish = MoatCarp + ForestCarp + fishCountVar
player:setVar("theCompetitionFishCountVar",totalFish);
Code: Select all
function onTrigger(player,npc)
if(player:getQuestStatus(SANDORIA,THE_COMPETITION) == QUEST_AVAILABLE
Code: Select all
function onTrigger(player,npc)
if(player:getQuestStatus(SANDORIA,THE_RIVALRY) == QUEST_AVAILABLE