extasososo
New Member
default.lua is a script inside npc/scripts but when i start my ot it cant be loaded, it says "NO SUCH FILE OR DIRECTORY" but i have it
IM USING MYSTIC SPIRIT 2.1.0
NPC SCRIPT DOWN
HERE IS WHAT STARTER SAYS:
here is the script
SORRY ABOUT MY ENGLISH
IM USING MYSTIC SPIRIT 2.1.0
NPC SCRIPT DOWN
HERE IS WHAT STARTER SAYS:
[04/03/2011 08:16:45] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:45] cannot open default.lua: No such file or directory
[04/03/2011 08:16:48] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:48] cannot open default.lua: No such file or directory
[04/03/2011 08:16:48] [Spawn::addMonster] Can not find Izsh
[04/03/2011 08:16:48] [Spawn::addMonster] Can not find Izsh
[04/03/2011 08:16:48] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:48] cannot open default.lua: No such file or directory
[04/03/2011 08:16:49] [Spawn::addMonster] Can not find Captain Seahorse
[04/03/2011 08:16:49] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:50] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:50] cannot open default.lua: No such file or directory
[04/03/2011 08:16:50] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:50] [Spawn::addMonster] Can not find Benjamin
[04/03/2011 08:16:50] [Spawn::addMonster] Can not find Pemaret
[04/03/2011 08:16:50] [Spawn::addMonster] Can not find Guide Elena
[04/03/2011 08:16:51] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:51] cannot open default.lua: No such file or directory
[04/03/2011 08:16:51] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:51] cannot open default.lua: No such file or directory
[04/03/2011 08:16:51] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:51] cannot open default.lua: No such file or directory
[04/03/2011 08:16:51] [Spawn::addMonster] Can not find Captain Bluebear
[04/03/2011 08:16:52] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:52] cannot open default.lua: No such file or directory
[04/03/2011 08:16:52] [Spawn::addMonster] Can not find Guide Luke
[04/03/2011 08:16:52] [Spawn::addMonster] Can not find Captain Bluebear
[04/03/2011 08:16:52] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:52] cannot open default.lua: No such file or directory
[04/03/2011 08:16:52] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:52] cannot open default.lua: No such file or directory
[04/03/2011 08:16:52] [Warning - NpcScript::NpcScript] Can not load script: The Spiritual Shielding.lua
[04/03/2011 08:16:52] cannot open The Spiritual Shielding.lua: No such file or directory
[04/03/2011 08:16:52] [Spawn::addMonster] Can not find Chemar
[04/03/2011 08:16:52] [Spawn::addMonster] Can not find Guide Behil
[04/03/2011 08:16:52] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:52] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:53] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:53] cannot open default.lua: No such file or directory
[04/03/2011 08:16:53] [Spawn::addMonster] Can not find Gate Guardian
[04/03/2011 08:16:53] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:53] [Spawn::addMonster] Can not find Zlak
[04/03/2011 08:16:53] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:53] cannot open default.lua: No such file or directory
[04/03/2011 08:16:53] [Spawn::addMonster] Can not find Benjamin
[04/03/2011 08:16:53] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:53] cannot open default.lua: No such file or directory
[04/03/2011 08:16:53] [Spawn::addMonster] Can not find Frodo
[04/03/2011 08:16:53] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:54] [Warning - NpcScript::NpcScript] Can not load script: boat_cormaya.lua
[04/03/2011 08:16:54] cannot open boat_cormaya.lua: No such file or directory
[04/03/2011 08:16:54] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:54] cannot open default.lua: No such file or directory
[04/03/2011 08:16:54] [Warning - NpcScript::NpcScript] Can not load script: mage.lua
[04/03/2011 08:16:54] cannot open mage.lua: No such file or directory
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:54] [Warning - NpcScript::NpcScript] Can not load script: jester.lua
[04/03/2011 08:16:54] cannot open jester.lua: No such file or directory
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Harkath Bloodblade
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Sam
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Gorn
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Aruda
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Frodo
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Towncryer
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Benjamin
[04/03/2011 08:16:54] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:54] cannot open default.lua: No such file or directory
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Naji
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:54] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:54] cannot open default.lua: No such file or directory
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Elane
[04/03/2011 08:16:54] [Spawn::addMonster] Can not find Quentin
[04/03/2011 08:16:54] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:54] cannot open default.lua: No such file or directory
[04/03/2011 08:16:54] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:54] cannot open default.lua: No such file or directory
[04/03/2011 08:16:54] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:54] cannot open default.lua: No such file or directory
[04/03/2011 08:16:54] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:54] cannot open default.lua: No such file or directory
[04/03/2011 08:16:55] [Spawn::addMonster] Can not find Hofech
[04/03/2011 08:16:55] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:55] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:55] Warning: [Npc::loadInteraction] Missing time attribute for onidle event
[04/03/2011 08:16:55] [Spawn::addMonster] Can not find Rashid
[04/03/2011 08:16:55] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:55] cannot open default.lua: No such file or directory
[04/03/2011 08:16:55] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:55] cannot open default.lua: No such file or directory
[04/03/2011 08:16:55] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:55] cannot open default.lua: No such file or directory
[04/03/2011 08:16:55] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[04/03/2011 08:16:55] cannot open default.lua: No such file or directory
[04/03/2011 08:16:56] [Spawn::addMonster] Can not find chartan
[04/03/2011 08:16:56] [Spawn::addMonster] Can not find a sleeping dragon
[04/03/2011 08:16:56] [Spawn::addMonster] Can not find Murim
[04/03/2011 08:16:56] [Spawn::addMonster] Can not find Cael
[04/03/2011 08:16:56] [Spawn::addMonster] Can not find Esrik
[04/03/2011 08:16:56] [Spawn::addMonster] Can not find Rabaz
[04/03/2011 08:16:56] [Warning - NpcScript::NpcScript] Can not load script: santa.lua
[04/03/2011 08:16:56] cannot open santa.lua: No such file or directory
[04/03/2011 08:16:56] [Spawn::addMonster] Can not find Ongulf
[04/03/2011 08:16:56] [Spawn::addMonster] Can not find Swolt
[04/03/2011 08:16:56] [Spawn::addMonster] Can not find awareness of the emperor
here is the script
PHP:
local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end
npcHandler:addModule(FocusModule:new())
SORRY ABOUT MY ENGLISH