• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Help NPC TFS 0.3.5pl1 8.5 bug

<?xml version="1.0" encoding="UTF-8"?>
<npc name="Itens Iniciais" script="default.lua" walkinterval="2000" floorchange="0">
<health now="150" max="150"/>
<look type="288" head="114" body="113" legs="113" feet="113" corpse="2212"/>
<parameters>
<parameter key="module_shop" value="1" />
<parameter key="message_greet" value="Oi |PLAYERNAME|. Eu vendo equipamentos para iniciantes, seja bem vindo ao Gondor. Diga trade." />
<parameter key="shop_buyable" value="shovel,2554,25;backpack,1988,10;torch,2050,2;rope,2120,20;longsword,2397,50;ironhammer,2422,50;Hatchet,2388,40;spear,2389,5;rod,2182,50;wand,2190,50" />
</parameters>
</npc>

I use LIB NPC TFS 0.3.5pl1 8.5

local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid) npcHandler:eek:nCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:eek:nCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:eek:nCreatureSay(cid, type, msg) end
function onThink() npcHandler:eek:nThink() end

npcHandler:addModule(FocusModule:new())
 
omg i had this same issue long ago....aff that took me so many hours.
I dont remember off the top of my head :( trace the prob to the source.
 
Back
Top Bottom