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

[Request] Monster Arena

rcb chief

New Member
Joined
Dec 23, 2008
Messages
53
Reaction score
0
So i had an idea of a Monster Arena
Its suppose to be an event, so I can activate it.

So I want it that when I pull a lever a teleport will appear for 2 minutes and a broadcast with a message. teleport will take any players who want to enter, to an arena that i have. After the 2 minutes end, the teleport will disappear and waves of monsters are gonna start in the arena in this order:

-5 heros, and after 45 seconds..
-2 demons. and after 45 seconds..
-3 demons, and after another 45 seconds..
-4 demons, and after 45 secs..
-5 demons, and after 45 secs..
-1 orshabaal and after 2 min
teleport spawns that takes surviving player out of the arena

I also want them player not to die in the event but i think i can solve that by simply putting the area a pvp zone..

I tried searching for something like this but no luck.
Im sure many people would want this and they would rep you if you created it. Thanks In advance.
 
ok i figured no one was gonna do such long script so i decided to try it my self and im stuck with this
(i did with a talkaction instead of a lever)

local minutes = 2 -- how many minutes you want before it removes the portal
local tp = {x=79, y=67, z=7} -- the place where the portal will appear
local tpto = {x=26, y=55, z=7} -- the pos of where the portal will lead you
local message = 'The Monster Arena Event has started, go to the teleport in the depot.. It will disappear in two minutes, dont worry you dont die in this event.' -- the message that will appear once activated.
local removemessage = 'The Monster Arena portal has been removed.' -- the message that will appear once tp is removed.


function onSay(cid, words, param)
doCreateTeleport(1387, tpto, tp)
doBroadcastMessage(message)
executeRaid(monsterarena)
return addEvent(onRemove, minutes*60*1000)
end

function onRemove()
local it = getTileItemById(tp, 1387)
if it > 0 then
doRemoveItem(it)
doBroadcastMessage(removemessage)
return true
end
end

problems:
it says raid doesnt exist
and teleport doesnt disappear

heres my raid .xml

<raid>
<announce delay="100000" type="event" message="Hurry up to the teleport!" />
<announce delay="130000" type="event" message="Get Ready!" />
<announce delay="135000" type="event" message="Wave 1!" />
<announce delay="180000" type="event" message="Wave 2!" />
<announce delay="225000" type="event" message="Wave 3!" />
<announce delay="270000" type="event" message="Wave 4!" />
<announce delay="315000" type="event" message="Wave 5!" />
<announce delay="375000" type="event" message="Final Wave!" />

<singlespawn delay="140000" name="Hero" x="23" y="53" z="7" />
<singlespawn delay="140000" name="Hero" x="23" y="55" z="7" />
<singlespawn delay="140000" name="Hero" x="23" y="57" z="7" />
<singlespawn delay="140000" name="Hero" x="29" y="53" z="7" />
<singlespawn delay="140000" name="Hero" x="29" y="55" z="7" />
<singlespawn delay="140000" name="Hero" x="29" y="57" z="7" />

<singlespawn delay="185000" name="Demon" x="23" y="55" z="7" />
<singlespawn delay="185000" name="Demon" x="29" y="55" z="7" />

<singlespawn delay="230000" name="Demon" x="23" y="53" z="7" />
<singlespawn delay="230000" name="Demon" x="29" y="55" z="7" />
<singlespawn delay="230000" name="Demon" x="23" y="57" z="7" />

<singlespawn delay="275000" name="Demon" x="23" y="53" z="7" />
<singlespawn delay="275000" name="Demon" x="29" y="53" z="7" />
<singlespawn delay="275000" name="Demon" x="23" y="57" z="7" />
<singlespawn delay="275000" name="Demon" x="29" y="57" z="7" />

<singlespawn delay="320000" name="Demon" x="23" y="53" z="7" />
<singlespawn delay="320000" name="Demon" x="29" y="53" z="7" />
<singlespawn delay="320000" name="Demon" x="23" y="55" z="7" />
<singlespawn delay="320000" name="Demon" x="29" y="55" z="7" />
<singlespawn delay="320000" name="Demon" x="23" y="57" z="7" />
<singlespawn delay="320000" name="Demon" x="29" y="57" z="7" />

<singlespawn delay="380000" name="Orshabaal" x="26" y="55" z="7" />
</raid>

and what i have in raids.xml
<raids>
<!-- Raids: -->
<raid name="RatRaid" file="Ratraid.xml" chance="10" interval2="3600" margin="0" /> Each 60 minutes there is a 10% chance that the raid is executed... />
<raid name="Orshabaal" file="Orshabaal.xml" chance="2" interval2="14400" margin="0" /> Each 240 minutes there is a 2% chance that the raid is executed... />
<raid name="Ferumbras" file="Ferumbras.xml" chance="2" interval2="14400" margin="0" /> Each 240 minutes there is a 2% chance that the raid is executed... />
<raid name="Morgaroth" file="Morgaroth.xml" chance="1" interval2="18000" margin="0" /> Each 300 minutes there is a 2% chance that the raid is executed... />
<raid name="GSRaid" file="GSRaid.xml" chance="4" interval2="4800" margin="0" /> Each 80 minutes there is a 4% chance that the raid is executed... />
<raid name="ghazbaran" file="ghazbaran.xml" chance="1" interval2="14400" margin="0" /> Each 130 minutes there is a 5% chance that the raid is executed... />
<raid name="monsterarena" file="monsterarena.xml" chance="0" interval2="14400" margin="0" />
</raids>

PS: I dont think its the raid cause in the game i said "/raid monsterarena and it executed correctly
 
Back
Top