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

C++ Spawn.xml help please

nevereq

Member
Joined
Apr 16, 2011
Messages
51
Reaction score
5
Hi guys!

4 am, is something wrong with me? Or i just can't understand what's wrong ?

I've been working on spawns, and someone just broke the file. ._.



C++:
data/world/roxor2-spawn.xml:11170: parser error : expected '>'
</spawns>
       ^
data/world/roxor2-spawn.xml:11170: parser error : Premature end of data in tag s
pawns line 2
</spawns>
         ^
[4:1:07.558] [Warning - Spawns::loadFromXml] Cannot open spawns file.
[4:1:07.563] Line: 11170, Info: Premature end of data in tag spawns line 2


[4:1:07.568] > WARNING: Could not load spawn data.



Code:
<?xml version="1.0" encoding="UTF-8"?>
<spawns>
  <spawn centerx="149" centery="574" centerz="2" radius="5">
    <monster name="Dragon Lord" x="0" y="0" z="2" spawntime="60" />
  </spawn>
.
.
.
  <spawn centerx="271" centery="665" centerz="15" radius="5">
    <monster name="Demon" x="-2" y="-2" z="15" spawntime="60" />
    <monster name="Demon" x="2" y="1" z="15" spawntime="60" />
  </spawn>
</spawns>
 
@up

Im copying from 5-10 lines on top and bottom from the original file, and still doesn't work, it's blowing my mind. Anyone, please, halp.
 
Back
Top