• 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 me fast please! (Script)

Abbedi

New Member
Joined
Jun 15, 2008
Messages
501
Reaction score
1
Location
Sweden/Helsingborg
Hello..

I need help with those errors! i can't fix them ;S im trying to copy same npc from other server (0.3.6) and paste in the folder... but didnt work.

here is the errors:

[Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/boat_cormaya.lua
cannot open data/npc/scripts/boat_cormaya.lua: No such file or directory

There is npc.xml and script.lua (example) and the scripts should work fine, but here is the next:

[Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/Sell/runes.lua
cannot open data/npc/scripts/Sell/runes.lua: No such file or directory

Thanks if someone could help with this error!

Regards
Abbedi
 
Noob... You can't read?
I said i got the script.lua and npc.xml but i dont know why it doesn't work.. i've tried it on other server and it did work!
...

Regards
Abbedi

You never said you had both of them, the script says its not there, so its not there. Maybe you can't read? ]

Good luck fixing it yourself, try being polite next time when asking a stupid question
 
You never said you had both of them, the script says its not there, so its not there. Maybe you can't read? ]

Good luck fixing it yourself, try being polite next time when asking a stupid question

:O:O haven't i write like this?!!

There is npc.xml and script.lua (example) and the scripts should work fine, but here is the next:[/QUOTE]
 
Give him a little support guys.

[Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/boat_cormaya.lua
cannot open data/npc/scripts/boat_cormaya.lua: No such file or directory

Go to the data/npc/scripts directory and search the script "boat_cormaya.lua"
manually to make sure it REALLY is there (post a screenshot if you can).

Go to your data/npc file and search the NPC which is executing
the "boat_cormaya.lua" and make sure you added the same name in the
npc file like the name of the script in your script folder.
Post the code of your npc.

This errors say that you:
1) made a typing mistake, (script or the line in the npc leading to the script)
2) copied the wrong files,
2.1) into the wrong directory

Double check it!
 
Give him a little support guys.

[Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/boat_cormaya.lua
cannot open data/npc/scripts/boat_cormaya.lua: No such file or directory

Go to the data/npc/scripts directory and search the script "boat_cormaya.lua"
manually to make sure it REALLY is there (post a screenshot if you can).

Go to your data/npc file and search the NPC which is executing
the "boat_cormaya.lua" and make sure you added the same name in the
npc file like the name of the script in your script folder.
Post the code of your npc.

This errors say that you:
1) made a typing mistake, (script or the line in the npc leading to the script)
2) copied the wrong files,
2.1) into the wrong directory

Double check it!

It was the nr1 :)

Thank you very very much!!
 
I have same problem... The server can't find:

data/npc/scripts/boat_cormaya.lua

Becuase my file is located at

data/npc/scripts/TP/boat_cormaya
.lua

How do I make it look at this directory for the file?
 
I have same problem... The server can't find:

data/npc/scripts/boat_cormaya.lua

Becuase my file is located at

data/npc/scripts/TP/boat_cormaya
.lua

How do I make it look at this directory for the file?

.......................This world is going to come to a end. NOBODY, uses their brain.
 
Back
Top