• 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!

Npc Default script cannot be loaded [LUA]

extasososo

New Member
Joined
Mar 4, 2010
Messages
20
Reaction score
0
Location
España
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:
[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
 
Nope :/ Pretty sure they can be scripted tho

Edit: Wait the normal npc? just download a damn distro with them in there and transfer it. And or use the search bar lmao.
 
He can't, he has a lot of npcs on the map but most of them aren't compatible or require some editing to work with his distro. If he's going to use the rest of the scripts too with that server engine, he's going to run into countless other issues so it's better to prevent this before it's too late. You don't have to use TFS 0.2 "just because it's 8.70", learn the differences.
 
I tried fuckin with 8.7 -.- and It just drove me insane -.- even with the most updated revs.. and what not idk I almost lost my mind...... But whats so good about the npc's he had why not just remap them? and change the script around if its like a custom script.
 

Similar threads

Back
Top