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

Raid Script ?

Teddy

SweStream.se
Joined
Oct 2, 2008
Messages
3,797
Reaction score
10
Location
Sweden 172
Raid.XML
Code:
<?xml version="1.0" encoding="UTF-8"?>
<raids>
[B]
		<raid name="rat" file="rat.xml" />[/B]

</raids>

rat.xml

Code:
<?xml version="1.0" encoding="utf-8"?>
<!--This raid was made by: OT RaidMaker v1.4-->
<raid>
  <!--Announcements-->
  <announce delay="0" type="Omg Rat Raid In the city !" />
  <!--Single Spawns-->
  <singlespawn delay="0" name="cave rat" x="118" y="362" z="6" />
  <singlespawn delay="0" name="cave rat" x="119" y="362" z="6" />
  <singlespawn delay="0" name="cave rat" x="120" y="362" z="6" />
  <singlespawn delay="0" name="cave rat" x="121" y="362" z="6" />
  <singlespawn delay="0" name="cave rat" x="122" y="362" z="6" />
  <singlespawn delay="0" name="cave rat" x="123" y="362" z="6" />
  <singlespawn delay="0" name="cave rat" x="124" y="362" z="6" amount="30" />
  <!--Area Spawns-->
  <areaspawn delay="0" fromx="122" fromy="367" fromz="6" tox="126" toy="370" toz="6">
    <monster name="rat" amount="30" />
  </areaspawn>
  <areaspawn delay="0" fromx="113" fromy="358" fromz="6" tox="115" toy="362" toz="6">
    <monster name="rat" amount="30" />
  </areaspawn>
  <areaspawn delay="0" fromx="113" fromy="358" fromz="6" tox="115" toy="362" toz="6">
    <monster name="rat" amount="30" />
  </areaspawn>
  <areaspawn delay="0" fromx="116" fromy="361" fromz="6" tox="129" toy="365" toz="6">
    <monster name="rat" amount="60" />
  </areaspawn>
</raid>

Error :
Code:
2/2008 10:14:51] Lua Script Error: [TalkAction Interface] 
[27/12/2008 10:14:51] data/talkactions/scripts/raid.lua:onSay[/B]
[B][COLOR="Red"][27/12/2008 10:14:51] luaExecuteRaid(). Such raid does not exists.[/B][/COLOR]

My Raid Dont work ? :S
10:14 /raid rat
10:14 Such raid does not exists.


AND
i cant use this command
10:21 GOD Eddy: /summon rat


no errors

C:\ot\data\XML\commands.XML

Code:
<?xml version="1.0" encoding="UTF-8"?>
<commands>
	<command cmd="/b" group="2" acctype="5"/>
	<command cmd="/i" group="2" acctype="5"/>
	<command cmd="/n" group="2" acctype="5"/>
	<command cmd="/reload" group="1" acctype="5"/>
	<command cmd="/s" group="2" acctype="5"/>
	<command cmd="/openserver" group="1" acctype="5"/>
	<command cmd="/closeserver" group="1" acctype="5"/>
	<command cmd="/ghost" group="2" acctype="5"/>
	<command cmd="/owner" group="2" acctype="5"/>
	<command cmd="/goto" group="2" acctype="4"/>
	<command cmd="/a" group="2" acctype="5"/>
	<command cmd="/c" group="2" acctype="4"/>
	<command cmd="/m" group="2" acctype="5"/>
[B]	<command cmd="/summon" group="2" acctype="5"/>[/B]
	<command cmd="/kick" group="1" acctype="4"/>
	<command cmd="/B" group="1" acctype="4"/>
	<command cmd="/q" group="2" acctype="4"/>
	<command cmd="/info" group="1" acctype="4"/>
	<command cmd="/gethouse" group="2" acctype="4"/>
	<command cmd="/t" group="2" acctype="4"/>
	<command cmd="/up" group="2" acctype="5"/>
	<command cmd="/down" group="2" acctype="5"/>
	<command cmd="/newtype" group="2" acctype="5"/>
	<command cmd="/pos" group="1" acctype="2"/>
	<command cmd="/r" group="2" acctype="5"/>
	<command cmd="/town" group="2" acctype="4"/>
	<command cmd="/raid" group="2" acctype="4"/>
	<command cmd="/addskill" group="2" acctype="5"/>
	<command cmd="/unban" group="1" acctype="4"/>
	<command cmd="/clean" group="2" acctype="5"/>
	
	<command cmd="!online" group="1" acctype="1"/>
	<command cmd="!buyhouse" group="1" acctype="1"/>
	<command cmd="!sellhouse" group="1" acctype="1"/>
	<command cmd="!serverinfo" group="1" acctype="1"/>
	<command cmd="!kills" group="1" acctype="1"/>
	<command cmd="!createguild" group="1" acctype="1"/>
	<command cmd="!joinguild" group="1" acctype="1"/>
</commands>
 

Similar threads

Back
Top