• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS 1.X+ Map problems/errors

Lbtg

Advanced OT User
Joined
Nov 22, 2008
Messages
2,398
Reaction score
165
Hello guys, any idea why im having this ? and how to fix this bugs ? i only did some map change and upload the maps and having this errors
bug.png
 
Check line 326 from your spawns.xml
I did cheeck i dont see anything different from all other lines

here it is
XML:
    <spawn centerx="33029" centery="31169" centerz="1" radius="1">
        <monster name="Draken Warmaster" x="0" y="0" z="1" spawntime="180" />
    </spawn>
Post automatically merged:

Here is full file
 

Attachments

maybe the error is in the line before this one, also did you check this particular position in your map editor to see if everything is fine?
 
maybe the error is in the line before this one, also did you check this particular position in your map editor to see if everything is fine?
everything is fine , i edit map- change only floor of depots, upload map and this happends. no ideas what mess ups, maybe rme did something
 
Weird why would it even show in console Error parsing element attribute What does element attributes has to do with map?
Can you summon Draken Warmaster in-game? Post Draken Warmaster here.
 
I can summon it with /m, and if i do utevo res "demon, drakens and some other monsters doesnt react to my demon. other mobs react like rat/dragon etc

Here is draken:

LUA:
<?xml version="1.0" encoding="ISO-8859-1"?>
<monster name="Draken Warmaster" nameDescription="a draken warmaster" race="blood" experience="2400" speed="324">
    <health now="4150" max="4150"/>
    <look type="334" corpse="11107"/>
    <targetchange interval="4000" chance="10"/>
    <flags>
        <flag summonable="0"/>
        <flag attackable="1"/>
        <flag hostile="1"/>
        <flag illusionable="1"/>
        <flag convinceable="0"/>
        <flag pushable="0"/>
        <flag canpushitems="1"/>
        <flag canpushcreatures="0"/>
        <flag targetdistance="1"/>
        <flag staticattack="90"/>
        <flag runonhealth="0"/>
    </flags>
    <attacks>
        <attack name="melee" interval="2000" min="0" max="-300"/>
        <attack name="fire" interval="2000" chance="10" length="4" spread="3" min="-240" max="-520">
            <attribute key="areaEffect" value="explosion"/>
        </attack>
    </attacks>
    <defenses armor="40" defense="40">
        <defense name="healing" interval="2000" chance="10" min="510" max="600">
            <attribute key="areaEffect" value="blueshimmer"/>
        </defense>
    </defenses>
    <elements>
        <element physicalPercent="5"/>
        <element holyPercent="5"/>
        <element deathPercent="50"/>
        <element energyPercent="5"/>
        <element icePercent="-5"/>
    </elements>
    <immunities>
        <immunity fire="1"/>
        <immunity earth="1"/>
        <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="10">
        <voice sentence="Attack aggrezzively! Dezztroy zze intruderzz!"/>
        <voice sentence="Hizzzzzz!"/>
    </voices>
    <loot>
        <item name="ring of the sky" chance="180"/>
        <item name="small ruby" countmax="5" chance="1525"/>
        <item name="gold coin" countmax="100" chance="47000"/>
        <item name="gold coin" countmax="100" chance="50000"/>
        <item name="platinum coin" countmax="5" chance="50625"/>
        <item name="tower shield" chance="2035"/>
        <item name="meat" chance="30300"/>
        <item name="great health potion" countmax="3" chance="4850"/>
        <item name="ultimate health potion" chance="4020"/>
        <item name="Zaoan armor" chance="790"/>
        <item name="Zaoan shoes" chance="1900"/>
        <item name="Zaoan legs" chance="960"/>
        <item name="drakinata" chance="860"/>
        <item name="bone shoulderplate" chance="12010"/>
        <item name="warmaster's wristguards" chance="7000"/>
        <item name="Zaoan halberd" chance="7925"/>
        <item name="Tome of Knowledge" chance="1000"/>
    </loot>
</monster>
 
I mean if the server loads fine without spawn file.
you say i shoud remove spawn file from server folder and try RUN the server ? :)
Post automatically merged:

I mean if the server loads fine without spawn file.

[Error - Spawns::loadFromXml] Failed to load data/world/OTMap-spawn.xml: File was not found
[Warning - Map::loadMap] Failed to load spawn data.


Servers runs but here is error
 
Last edited:
you say i shoud remove spawn file from server folder and try RUN the server ? :)
Post automatically merged:



[Error - Spawns::loadFromXml] Failed to load data/world/OTMap-spawn.xml: File was not found
[Warning - Map::loadMap] Failed to load spawn data.


Servers runs but here is error

Check the last line in your spawn file, its missing a </spawn> to close the last spawn

edit: nvm - thats fine as it is.
 
Check the last line in your spawn file, its missing a </spawn> to close the last spawn (which is actually empty? - RME might have saved that wrong at some point)
last lines looks like this

XML:
    </spawn>
    <spawn centerx="33186" centery="32954" centerz="15" radius="1">
        <monster name="Dragon" x="1" y="0" z="15" spawntime="240" />
    </spawn>
    <spawn centerx="33194" centery="32955" centerz="15" radius="1">
        <monster name="Dragon Lord" x="1" y="0" z="15" spawntime="240" />
    </spawn>
    <spawn centerx="33190" centery="32956" centerz="15" radius="1">
        <monster name="Dragon" x="1" y="-1" z="15" spawntime="240" />
        <monster name="Mahrdis" x="1" y="1" z="15" spawntime="240" />
    </spawn>
    <spawn centerx="33191" centery="32957" centerz="15" radius="1" />
</spawns>
 
If you remove lines 325 to 327 (the spawn from the console error) does it fail to load at some other point?
 
If you remove lines 325 to 327 (the spawn from the console error) does it fail to load at some other point?

i dont know. i can try later .

Now i uploaded old monsters xml file with wasnt touched with rme, and all loads good. no ERROS.
Question,how do i use rme that it doesnt make errors ? Tryed alot different rme, always happends different errors, sometimes some monsters or npc cant load, sometimes bug like before monsters xml cant load at all.... So lame, i want edit serrver with rme, but i can't :(
 
i dont know. i can try later .

Now i uploaded old monsters xml file with wasnt touched with rme, and all loads good. no ERROS.
Question,how do i use rme that it doesnt make errors ? Tryed alot different rme, always happends different errors, sometimes some monsters or npc cant load, sometimes bug like before monsters xml cant load at all.... So lame, i want edit serrver with rme, but i can't :(

I'm not certain the problem is within the spawn file. That spawn file loads just fine for me (don't have the map so most spawns will error because they have missing/invalid tile spawn) but the server runs with that spawn file and syntax seems to be alright.
 
I'm not certain the problem is within the spawn file. That spawn file loads just fine for me (don't have the map so most spawns will error because they have missing/invalid tile spawn) but the server runs with that spawn file and syntax seems to be alright.

if upload the not edited with rme spawn file. all loads good, all spawns is good. 0 Erros,.

if i edit map with rme and upload it, i get erros... :(
 
Back
Top