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

Raids - help

Mefiu

New Member
Joined
Mar 2, 2008
Messages
221
Reaction score
0
Hello.
I was trying to make raid but i fail..
Seems like raids don't work on 0.3.2 ;/

I'm using 0.3.2 TFS and i used this http://otland.net/f19/new-ot-raidmaker-v1-4-a-8789/

When i wrote /raid fox then console has shown me an error like
''Cannot execute raid. No such file or directory''

Something like that.

Also, it's possible to make that monster spawns every 5 hours with announcement ?

Here is my raids.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
	<!--
		<raid name="fox" file="fox.xml" interval2="5" margin="0"/>
	-->
</raids>

And my fox.xml

Code:
<?xml version="1.0" encoding="utf-8"?>
<!--This raid was made by: OT RaidMaker v1.4-->
<raid>
  <!--Announcements-->
  <announce delay="5" type="Event" message="The angry Fox has come back near POH with rare items in his inventory." />
  <!--Single Spawns-->
  <singlespawn delay="5" name="The Horned Fox" x="1383" y="1325" z="4" />
  <!--Area Spawns-->
</raid>
 
You could try to remove
Code:
--><!--
inside your raids.xml

And also try to remove
Code:
<?xml version="1.0" encoding="utf-8"?>
<!--This raid was made by: OT RaidMaker v1.4-->
from your fox.xml


Zer0xe.
 
It doesn't work ;/ still the same.

Ingame :
Code:
21:01 /raid fox
21:01 Such raid does not exists.

And in console :
Code:
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/raid.lua:onSay

luaDoExecuteRaid(). Such raid does not exists.
 
Exemple of simple raid in globalEvent:
Code:
				function onThink(interval, lastExecution)
 local chanceToExec = 23
 local rand = math.random(chanceToExec, 100)
	if rand == chanceToExec then
	   broadcastMessage("Residents saw a big old spider going to the Plains of Havoc.", MESSAGE_EVENT_ADVANCE)
	   addEvent(invTheOldWidow, 10 * 1000)
 end
 return TRUE
end

				function invTheOldWidow()
	   broadcastMessage("The spider finally reached the Plains of Havoc.", MESSAGE_EVENT_ADVANCE)
	   doSummonCreature("the old widow", {x=2008, y=2069, z=7})
 return TRUE
end

Code:
  <globalevent name="invTheOldWidow" interval="7200" script="inv_theOldWidow.lua" />
 
@up
Raids in globalevents sucks.

@topic
Code:
<raid name="fox" file="fox.xml" interval2="18000" margin="0"/>
fox.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<raid>
  <announce delay="1000" type="Event" message="The angry Fox has come back near POH with rare items in his inventory." />
  <singlespawn delay="2000" name="The Horned Fox" x="1383" y="1325" z="4" />
</raid>
try now.
 
@Hermes
Code:
I/O warning : failed to load external entity "data/raids/fox.xml"
[Error - Raid::loadFromXml]: Could not load data/raids/fox.xml!
[Error - Raid::loadFromXml]: Failed to load raid fox
 

Similar threads

Back
Top