• 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 Line: 19345, Info: Premature end of data in tag spells line 2 > ERROR: Unable to load Spells!

Enderlop

Banned User
Joined
Jan 10, 2024
Messages
93
Reaction score
16
[31/03/2024 13:09:09] [Warning - BaseEvents::loadFromXml] Cannot open spells.xml file.
[31/03/2024 13:09:09] Line: 19345, Info: Premature end of data in tag spells line 2


[31/03/2024 13:09:09] > ERROR: Unable to load Spells!
 

Attachments

Last edited:
Solution
As I've described in step 6 of my tutorial:

To develop OTS, you should get right tools ex. IntelliJ IDEA Community Edition (it's free) with EmmyLua plugin.
It easily reads, parses and detects basic errors in Lua and XML.

Ex. I've opened your file, pressed CTRL+ALT+L to format it into valid XML (adds spaces/tabs/new lines):
1711900991763.png

After clicking you get more information about problem:

1711901520529.png
Fixed file in attachment.
As I've described in step 6 of my tutorial:

To develop OTS, you should get right tools ex. IntelliJ IDEA Community Edition (it's free) with EmmyLua plugin.
It easily reads, parses and detects basic errors in Lua and XML.

Ex. I've opened your file, pressed CTRL+ALT+L to format it into valid XML (adds spaces/tabs/new lines):
1711900991763.png

After clicking you get more information about problem:

1711901520529.png
Fixed file in attachment.
 

Attachments

Solution
Back
Top