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

Lua Can not load script: default.l

FaNtA91

New Member
Joined
Mar 17, 2010
Messages
166
Reaction score
2
Hello all i making 8.70 rl map all is good and no errors but i got this one

[01/01/2011 12:06:06] [Warning - NpcScript::NpcScript] Can not load script: default.lua
[01/01/2011 12:06:06] cannot open default.lua: No such file or directory

i use the forgottenserver 0.2.9

and i use the forgottenserver 0.2.9 default.lua but still error why ?
 
You got this in default.lua?
If you got,try to open your npc .xml file and check if there's written "default.lua".Maybe it's missspelled.


Lua:
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())
 
Back
Top