• 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 Raid Shedule

Ray Rewind

Doctor
Joined
Jun 6, 2009
Messages
1,349
Reaction score
76
Location
Germany
Can someone help me to start the raid at friday 20:00?

globalevent.xml

Code:
    <!-- Raid Shedule -->
    <globalevent name="scheduled raid" time="20:00:00" event="buffer" value="doExecuteRaid({'Morgaroth'})"/>
 
could explain me ?:eek:


PHP:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
<!-- Raids: -->
<raid name="Morgaroth" file="morgaroth.xml" interval2="27500" margin="0" reftype="single" ref="no"/>
<raid name="Ghazbaran" file="ghazbaran.xml" interval2="15000" margin="0" reftype="single" ref="no"/>
<raid name="Ferumbras" file="ferumbras.xml" interval2="15000" margin="0" reftype="single" ref="no"/>
<raid name="Necropharus" file="necropharus.xml" interval2="15000" margin="0" reftype="single" ref="no"/>
<raid name="Fluffy" file="fluffy.xml" interval2="15000" margin="0" reftype="single" ref="no"/>
<raid name="Massacre" file="massacre.xml" interval2="15000" margin="0" reftype="single" ref="no"/>
<raid name="Demodras" file="demodras.xml" interval2="15000" margin="0" reftype="single" ref="no"/>
</raids>
 
Last edited:
Never seen any files like that, why would a globalevent file load another xml file?
If you need a working raid system, alot of members use this one: http://otland.net/threads/tm-boss-raid-system-v1-3-0-release-updated.86641/
The server I bought from Printer uses that system I think, it has the config in globalevents/scripts/raid.lua
eg.
Code:
        [1] = 
            {
                name = 'Morgaroth',
                type = 'weekly',
                days = {'friday'},
                hour = 18,
                minu = 00
            },
        [2] = 
            {
                name = 'Zulazza the Corruptor',
                type = 'weekly',
                days = {'tuesday'},
                hour = 20,
                minu = 00
            },

And a simple one line xml code
Code:
    <globalevent name="raids" interval="60000" event="script" value="raid.lua"/>
WibbenZ
 

Similar threads

Back
Top