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

Lua Raids OTHire

massuco

Brazilian, sorry for my bad english XD
Joined
Feb 17, 2013
Messages
199
Solutions
8
Reaction score
22
Location
Brasil
Im trying to create raids on OTHire, but i cant.
This is my file raids.xml
XML:
<?xml version="1.0"?>

<raid name="OrcInvasion" file="orc_invasion.xml" interval="80640" margin="5"/>
<raids/>

I get this error on distro.
Code:
[Error] Raids: Could not load data//raids/raids.xml
data//raids/raids.xml:4: parser error : Extra content at the end of the document
<raids/>
^
[Error] Raids: Could not load data//raids/raids.xml
 
Im trying to create raids on OTHire, but i cant.
This is my file raids.xml
XML:
<?xml version="1.0"?>

<raid name="OrcInvasion" file="orc_invasion.xml" interval="80640" margin="5"/>
<raids/>

I get this error on distro.
Code:
[Error] Raids: Could not load data//raids/raids.xml
data//raids/raids.xml:4: parser error : Extra content at the end of the document
<raids/>
^
[Error] Raids: Could not load data//raids/raids.xml
Try this:
Code:
<?xml version="1.0"?>
<raids>
<raid name="OrcInvasion" file="orc_invasion.xml" interval="80640" margin="5"/>
<raids/>
 
Im trying to create raids on OTHire, but i cant.
This is my file raids.xml
XML:
<?xml version="1.0"?>

<raid name="OrcInvasion" file="orc_invasion.xml" interval="80640" margin="5"/>
<raids/>

I get this error on distro.
Code:
[Error] Raids: Could not load data//raids/raids.xml
data//raids/raids.xml:4: parser error : Extra content at the end of the document
<raids/>
^
[Error] Raids: Could not load data//raids/raids.xml
Shouldn't be:

XML:
<?xml version="1.0"?>

<raids> <!-- this line isn't missing? -->
<raid name="OrcInvasion" file="orc_invasion.xml" interval="80640" margin="5"/>
<raids/>
 
I thought it too, but when I add this tag <raids>I get this error:
Code:
data//raids/raids.xml:4: parser error : Premature end of data in tag raids line 2
<raids/>
        ^
[Error] Raids: Could not load data//raids/raids.xml
 
XML:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
    <raid name="OrcInvasion" file="orc_invasion.xml" interval="80640" margin="5"/>
</raids>

or try changing "interval" to "inverval2"
 
XML:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
    <raid name="OrcInvasion" file="orc_invasion.xml" interval="80640" margin="5"/>
</raids>

or try changing "interval" to "inverval2"
bump
@Peonso any idea maybe?
He changed something without mentioning it, and you didn't copy paste his script or you would have resolved the error days ago.

Yours
<raids/>

Correct xml usage
</raids>

XML:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
    <raid name="OrcInvasion" file="orc_invasion.xml" interval="80640" margin="5"/>
</raids>
 
Lol man, sorry. i was blind lol, i swear, i was thinking that I had tried this way, well, thanks . xD
 
Back
Top