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

Lua Line: 25, Info: Extra content at the end of the document

Gattaca

OTLand's Developer
Joined
Mar 13, 2009
Messages
158
Reaction score
2
Location
Venezuela
hi.

well you see that this script:

Code:
<?xml version="1.0"?>
<monster name="Trooai" nameDescription="p8" experience="6000" speed="305" race="Blood">
  <health now="350" max="350"/>
  <look type="128" head="1" body="41" legs="85" feet="128" corpse="2317"/>
  <strategy attack="720" defense="450"/>
  <targetchange speed="420" chance="75"/>
  <flags>
    <flag canpushitems="1"/>
    <flag canpushcreatures="1"/>
    <flag hostile="1"/>
    <flag attackable="1"/>
    <flag staticattack="99"/>
    <flag targetdistance="1"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" chance="100" 0="0" tick="0" min="-1" max="-70" range="4">
      <attribute key="areaEffect" value="redspark"/>
      <attribute key="shootEffect" value="bolt"/>
    </attack>
    <attack name="Sudden Death" interval="8000" chance="100" min="-50" max="-150" range="4">
      <attribute key="areaEffect" value="redspark"/>
      <attribute key="shootEffect" value="spear"/>
    </attack>
  </attacks>
  <defenses defense="25" armor="9">
    <defense name="healing" interval="3000" chance="75" min="1" max="80">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
  </defenses>
  <immunities/>
  <voices speed="8000" chance="75">
    <voice sentence="Munch"/>
  </voices>
  <loot>
    <item id="1971" countmax="1" chance="2000" text="Holy shit its a fucking book, zomg"/>
    <item id="1987" countmax="1" chance="30">
      <inside>
        <item id="2148" countmax="100" chance="50"/>
      </inside>
    </item>
    <item id="2393" countmax="1" chance="1000"/>
    <item id="2421" countmax="1" chance="300"/>
  </loot>
</monster>

And when i try to run it on the server, the server says:

[13/07/2009 01:25:08] [Warning - Monsters::loadMonster] Cannot load monster (p8) file (data/monster/p8.xml).
[13/07/2009 01:25:08] Line: 25, Info: Extra content at the end of the document

Any solution please fast! I need help with that, i have 1 hour trying to fix it!

Gattaca
 
PHP:
<?xml version="1.0"?>
<monster name="Trooai" nameDescription="p8" experience="6000" speed="305" race="Blood">
  <health now="350" max="350"/>
  <look type="128" head="1" body="41" legs="85" feet="128" corpse="2317"/>
  <strategy attack="720" defense="450"/>
  <targetchange speed="420" chance="75"/>
  <flags>
    <flag canpushitems="1"/>
    <flag canpushcreatures="1"/>
    <flag hostile="1"/>
    <flag attackable="1"/>
    <flag staticattack="99"/>
    <flag targetdistance="1"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" chance="100" 0="0" tick="0" min="-1" max="-70" range="4">
      <attribute key="areaEffect" value="redspark"/>
      <attribute key="shootEffect" value="bolt"/>
    </attack>
    <attack name="Sudden Death" interval="8000" chance="100" min="-50" max="-150" range="4">
      <attribute key="areaEffect" value="redspark"/>
      <attribute key="shootEffect" value="spear"/>
    </attack>
  </attacks>
  <defenses defense="25" armor="9">
    <defense name="healing" interval="3000" chance="75" min="1" max="80">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
  </defenses>
  <immunities/>
  <voices speed="8000" chance="75">
    <voice sentence="Munch"/>
  </voices>
  <loot>
    <item id="1971" countmax="1" chance="2000" text="Holy shit its a fucking book, zomg"/>
    <item id="1987" countmax="1" chance="30">
      <inside>
        <item id="2148" countmax="100" chance="50"/>
      </inside>
    </item>
    <item id="2393" countmax="1" chance="1000"/>
    <item id="2421" countmax="1" chance="300"/>
  </loot>
</monster>

now lets see

EDIT cant find any bugs lol
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Trooai" nameDescription="p8" experience="6000" speed="305" race="Blood">
  <health now="350" max="350"/>
  <look type="128" head="1" body="41" legs="85" feet="128" corpse="2317"/>
  <strategy attack="720" defense="450"/>
  <targetchange speed="420" chance="75"/>
  <flags>
    <flag canpushitems="1"/>
    <flag canpushcreatures="1"/>
    <flag hostile="1"/>
    <flag attackable="1"/>
    <flag staticattack="99"/>
    <flag targetdistance="1"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" chance="100" tick="0" min="-1" max="-70" range="4">
      <attribute key="areaEffect" value="redspark"/>
      <attribute key="shootEffect" value="bolt"/>
    </attack>
    <attack name="Sudden Death" interval="8000" chance="100" min="-50" max="-150" range="4">
      <attribute key="areaEffect" value="redspark"/>
      <attribute key="shootEffect" value="spear"/>
    </attack>
  </attacks>
  <defenses armor="9" defense="25">
    <defense name="healing" interval="3000" chance="75" min="1" max="80">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
  </defenses>
  <immunities/>
  <voices speed="8000" chance="75">
    <voice sentence="Munch"/>
  </voices>
  <loot>
    <item id="1971" countmax="1" chance="2000" text="Holy shit its a fucking book, zomg"/>
    <item id="1987" countmax="1" chance="30">
      <inside>
        <item id="2148" countmax="100" chance="50"/>
      </inside>
    </item>
    <item id="2393" countmax="1" chance="1000"/>
    <item id="2421" countmax="1" chance="300"/>
  </loot>
</monster>

<?xml version="1.0"> to <?xml version="1.0" encoding="UTF-8"?>
REP++??
 
Here you are

Try this:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Trooai" nameDescription="p8" experience="6000" speed="305" race="Blood">
  <health now="350" max="350"/>
  <look type="128" head="1" body="41" legs="85" feet="128" corpse="2317"/>
  <strategy attack="720" defense="450"/>
  <targetchange interval="420" chance="75"/>
  <flags>
    <flag canpushitems="1"/>
    <flag canpushcreatures="1"/>
    <flag hostile="1"/>
    <flag attackable="1"/>
    <flag staticattack="99"/>
    <flag targetdistance="1"/>
  </flags>
  <attacks>
   <attack name="physical" interval="2000" chance="100" range="4" min="-1" max="-70">
   <attribute key="areaEffect" value="redspark"/>
   <attribute key="shootEffect" value="bolt"/>
    </attack>
    <attack name="Sudden Death" interval="8000" chance="100" min="-50" max="-150" range="4">
      <attribute key="areaEffect" value="redspark"/>
      <attribute key="shootEffect" value="spear"/>
    </attack>
  </attacks>
  <defenses defense="25" armor="9">
    <defense name="healing" interval="3000" chance="75" min="1" max="80">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
  </defenses>
  <voices interval="8000" chance="75">
    <voice sentence="Munch"/>
  </voices>
  <loot>
    <item id="1971" countmax="1" chance="2000" text="Holy shit its a fucking book, zomg"/>
    <item id="2393" countmax="1" chance="1000"/>
    <item id="2421" countmax="1" chance="300"/>
	<item id="1987" countmax="1" chance="30">
      <inside>
        <item id="2148" countmax="100" chance="50"/>
      </inside>
    </item>
  </loot>
</monster>
 
Back
Top