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

Lua Raids

luigilc

Lua Learner
Joined
Mar 24, 2010
Messages
863
Reaction score
37
Location
A music box
When I try to add a raid to my server I got this:
PHP:
[19/08/2011 15:06:51] [Error - Raid::loadFromXml] Could not load raid file (data/raids/Horse.xml).
[19/08/2011 15:06:51] Info: failed to load external entity "data/raids/Horse.xml"


[19/08/2011 15:06:51] [Fatal - Raids::parseRaidNode] failed to load raid Horse

here is the Horse.lua file:
PHP:
     <?xml version="1.0" encoding="utf-8"?>
<raid>
       <!--Announcements-->
           <announce delay="1000" type="event" message="The Dark Forces are planning an attack." />
           <announce delay="60000" type="event" message="The Dinasty City is under attack!" />
       <!--Single Spawns-->
           <singlespawn delay="60000" name="Dark Warhorse" x="308" y="463" z="7" />
</raid>

and the raids.xml file:
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
    <raid name="Horse" file="Horse.xml" interval2="35" margin="1800" enabled="yes"/>
</raids>
So what am I doing wrong? Can anyone help me? Thanks
 

Similar threads

Back
Top