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

Bugged spawns.xml

Sizaro

Advanced OT User
Joined
Aug 20, 2007
Messages
5,152
Solutions
5
Reaction score
210
Location
Sweden
GitHub
coldensjo
I get this error, i've tried everything but nothign works :S
Anyone can tell me?

25am5w6.png


Start of the spawns.xml

Code:
<?xml version="1.0" encoding="UTF-8"?>
<spawns>
  <spawn centerx="21479" centery="21472" centerz="0" radius="1">
    <monster name="Energy Elemental" x="1" y="0" z="0" spawntime="60"/>
  </spawn>


End of the spawns.xml

Code:
  <spawn centerx="35130" centery="35305" centerz="15" radius="1">
    <monster name="Rabbit" x="1" y="0" z="15" spawntime="60"/>
  </spawn>
</spawns>
 
PHP:
Line	File name:	tibia-spawn.xml
2	Column:	10
 	Error:	Can not find declaration of element 'spawns'.
 	Error Position:	

<spawns> 



Line	File name:	tibia-spawn.xml
64368	Column:	9
 	Error:	End-tag for element type "spawn" must end with a '>' delimiter.
 	Error Position:	

</spawns>
 
According to your error message, there is a problem on line 64348.. Could you show us that line? Most likely a '>' is misplaced somewhere.

-Zeke
 
JDB, he must have 128 MB of RAM (yes, it exists on brazil)
and open the real map...

@offtopic
you tryed more the exp scroll? XD
 
Yea, I got it working but 2 problems.

1. Players log off, it resets exp rate. (Might need to use "global storage values")
2. When it changed exp back, it doesn't give any at all.

I will figure it out today, not at home atm.
 
@offtopic
Try making that when u use exp scroll it adds an storageid, and onLogin if you have storagevalue == 1 then
[exp :p]

hope this helps you JDB (if i didn't missunderstood what u wanted with exp scoll(extraExpRate))

@topic

Post the spawns.xml and ppl can help
 
@offtopic
Try making that when u use exp scroll it adds an storageid, and onLogin if you have storagevalue == 1 then
[exp :p]

hope this helps you JDB (if i didn't missunderstood what u wanted with exp scoll(extraExpRate))

Believe me, I did.
(Still had that problem, I will try global)
Lua:
setPlayerStorageValue(cid, config.storage, 1)
 
Back
Top