luigilc
Lua Learner
When I try to add a raid to my server I got this:
here is the Horse.lua file:
and the raids.xml file:
So what am I doing wrong? Can anyone help me? Thanks
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>