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

Solved Line: 403, Info: Premature end of data in tag weapons line 2, cannot load weapon

George00

propro
Joined
Jan 11, 2014
Messages
163
Solutions
1
Reaction score
10
Location
propro
Cannot load weapons.. I'm quite new to this.. and also could someone tell me if i should add a manarune.lua in liquid folder because it says cannot load manarune.lua

can someone help me i dont get what premature line means.. !
 
Last edited by a moderator:
Is that everything? It's missing <?xml version="1.0" encoding="UTF-8"?> at the top and </weapons> at the bottom.
 
?xml version="1.0" encoding="UTF-8"?> sorry i missed that part

<?xml version="1.0" encoding="UTF-8"?>****'
 
Last edited by a moderator:
If
Code:
<?xml version="1.0" encoding="UTF-8"?>
is already at the top, then add
Code:
</weapons>
At the bottom, the rest looks fine.
 
Now it says,
[10/07/2014 17:33:01] Line: 6, Info: Extra content at the end of the document


[10/07/2014 17:33:01] > ERROR: Unable to load Weapons!

I might have fked up the whole thing because earlier i tried to get in manarune and starshoter then i removed and i might have left some shit.. idk what im doing im totally new i've just played ots not created
 
Last edited by a moderator:
You are missing
Code:
<weapons>
Under <?xml version="1.0" encoding="UTF-8"?>, so on line 2.

And this at the bottom.
Code:
</weapons>

You have to add that.
 
[10/07/2014 17:51:36] [Warning - BaseEvents::loadFromXml] Cannot open weapons.xml file.
[10/07/2014 17:51:36] Line: 403, Info: Premature end of data in tag weapons line 2

im sorry if im fucking your mind
 
Add this under <?xml version="1.0" encoding="UTF-8"?>, so on line 2
Code:
<weapons>

Then add this at the bottom of the script, so on line 404
Code:
</weapons>
 
omfg i love u so much.. is there anyway to make a manarune and starshoter because when i open the forgottenserver it says

10/07/2014 18:15:34] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/system.lua:10: unexpected symbol near ','
[10/07/2014 18:15:34] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/system.lua)
[10/07/2014 18:15:34] data/actions/scripts/quests/system.lua:10: unexpected symbol near ','
[10/07/2014 18:15:34] [Error - LuaScriptInterface::loadFile] data/actions/scripts/quests/system.lua:10: unexpected symbol near ','
[10/07/2014 18:15:34] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/quests/system.lua)
[10/07/2014 18:15:34] data/actions/scripts/quests/system.lua:10: unexpected symbol near ','
[10/07/2014 18:15:34] [Error - LuaScriptInterface::loadFile] cannot open data/actions/scripts/manarune.lua: No such file or directory
[10/07/2014 18:15:34] [Warning - Event::loadScript] Cannot load script (data/actions/scripts/manarune.lua)
[10/07/2014 18:15:34] cannot open data/actions/scripts/manarune.lua: No such file or directory

[10/07/2014 18:15:41] [Spawn::addMonster] Cannot find "Sven"
[10/07/2014 18:15:42] [Spawn::addMonster] Cannot find "Nermin"
[10/07/2014 18:15:42] [Spawn::addMonster] Cannot find "apjavel" there is alot of these monsters..
 
Back
Top