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

The Horned Fox "Raid" does not work

Spratt

New Member
Joined
Jun 26, 2011
Messages
106
Reaction score
1
Hey all,

Alright so I was testing my raids and when I went to try The Horned Fox raid it says...
Code:
[29/01/2013 18:37:51] [Error - TalkAction Interface] 
[29/01/2013 18:37:51] data/talkactions/scripts/raid.lua:onSay
[29/01/2013 18:37:51] Description: 
[29/01/2013 18:37:51] (luaDoExecuteRaid) Raid with name The Horned Fox does not exists.

Here is The Horned Fox XML file.
Code:
<?xml version="1.0" encoding="utf-8"?>
<raid>
  <!--Announcements-->
  <announce delay="1000" type="Event" message="The Horned Fox has appeared North of Thais." />
  <!--Single Spawns-->
  <singlespawn delay="1500" name="The Horned Fox" x="32421" y="32059" z="7" />
  <!--Area Spawns-->
  <areaspawn delay="1500" fromx="32416" fromy="32064" fromz="7" tox="32428" toy="32054" toz="7">
    <monster name="Minotaur" amount="12" />
  </areaspawn>
  <areaspawn delay="1500" fromx="32416" fromy="32064" fromz="7" tox="32428" toy="32054" toz="7">
    <monster name="Minotaur Archer" amount="6" />
  </areaspawn>
  <areaspawn delay="1500" fromx="32416" fromy="32064" fromz="7" tox="32428" toy="32054" toz="7">
    <monster name="Minotaur Mage" amount="3" />
  </areaspawn>
  <areaspawn delay="1500" fromx="32416" fromy="32064" fromz="7" tox="32428" toy="32054" toz="7">
    <monster name="Minotaur Guard" amount="5" />
  </areaspawn>
</raid>

Here is the data/talkactions/scripts/raid.lua file
Code:
function onSay(cid, words, param, channel)
	if(param == '') then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.")
		return true
	end

	if(not executeRaid(param)) then
		doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Could not execute raid. (Raid does not exist or other raid is already running)")
		return true
	end

	doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Raid started.")
	return true
end

Please help! This is a Major Raid for my OT
 
Back
Top