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

aol and training monk bug

Amiroslo

Excellent OT User
Joined
Jul 28, 2009
Messages
6,768
Solutions
5
Reaction score
769
when someone buy aol he get 9nugget coin>pc>cc>gn

and all can kill training monk :S
 
when somebosy say !aol and he have 100cc he get 9gn

and whn they use spell on monks they die!
 
<item id="2157" article="a" name="gold nugget" plural="gold nuggets">
<attribute key="weight" value="10"/>
<attribute key="worth" value="10000"/>

function onSay(cid, words, param)
if doPlayerRemoveMoney(cid, 10000) == TRUE then
doPlayerAddItem(cid, 2173, 1)
doSendMagicEffect(getPlayerPosition(cid), 31)
doPlayerSendTextMessage(cid,MESSAGE_INFO_DESCR,'There You Go!')
else
doPlayerSendCancel(cid, "You need 1 crystal coin to buy a Amulet Of Loss!")
end
return TRUE
end


xddd
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0">
    <health now="240000000" max="2400000000"/>
    <look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="0" defense="0"/>
    <flags>
      <flag summonable="0"/>
      <flag attackable="1"/>
      <flag hostile="1"/>
      <flag illusionable="0"/>
      <flag convinceable="0"/>
      <flag pushable="0"/>
      <flag canpushitems="1"/>
      <flag staticattack="50"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="1"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
      <attack name="melee" interval="2000" min="0" max="0"/>
    </attacks>
        <defense name="healing" interval="1000" chance="240000000" min="240000000" max="240000000">
            <attribute key="areaEffect" value="blueshimmer"/>
        </defense>
    <immunities>
      <immunity physical="0"/>
      <immunity energy="0"/>
      <immunity fire="0"/>
      <immunity poison="0"/>
      <immunity lifedrain="0"/>
      <immunity paralyze="0"/>
      <immunity outfit="0"/>
      <immunity drunk="0"/>
      <immunity invisible="1"/>
    </immunities>
    <voices interval="2000" chance="5">
    </voices>
    <loot>
      <item id="2148" countmax="20" chance1="100000" chancemax="0"/>
      <item id="1949" chance="10000"/>
      <item id="2467" chance="10000"/>
      <item id="2642" chance="6666"/>
      <item id="1987" chance="100000">
        <inside>
          <item id="2044" chance="6666"/>
          <item id="2689" countmax="3" chance1="20000" chancemax="0"/>
          <item id="2401" chance="3333"/>
          <item id="2166" chance="1428"/>
        </inside>
      </item>
    </loot>
  </monster>
 
XML:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0">
    <health now="2400000" max="2400000"/>
    <look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="100" defense="0"/>
    <flags>
      <flag summonable="0"/>
      <flag attackable="1"/>
      <flag hostile="1"/>
      <flag illusionable="0"/>
      <flag convinceable="0"/>
      <flag pushable="0"/>
      <flag canpushitems="1"/>
      <flag staticattack="50"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="1"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
      <attack name="melee" interval="1000" attack="1" skill="60"/>
    </attacks>
    <defenses armor="0" defense="0">
      <defense name="healing" interval="10000" chance="100" min="400000" max="400000"/>
    </defenses>
    <immunities>
      <immunity invisible="1"/>
    </immunities>
  </monster>
 
ty what about this?


[15/10/2010 14:37:28] [Error - GlobalEvent Interface]
[15/10/2010 14:37:28] data/globalevents/scripts/shop.lua:eek:nThink
[15/10/2010 14:37:28] Description:
[15/10/2010 14:37:28] (luaDoPlayerAddItemEx) Item not found
 
my tfs v is0.3.6pl1

btw i want it to heal fast the training monk
and is there a coomand that reset all account to lvl 10 and random mana and health?
 
Fast healing Training Monk.xml

XML:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0">
    <health now="2400000" max="2400000"/>
    <look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="100" defense="0"/>
    <flags>
      <flag summonable="0"/>
      <flag attackable="1"/>
      <flag hostile="1"/>
      <flag illusionable="0"/>
      <flag convinceable="0"/>
      <flag pushable="0"/>
      <flag canpushitems="1"/>
      <flag staticattack="50"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="1"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
      <attack name="melee" interval="1000" attack="1" skill="60"/>
    </attacks>
    <defenses armor="0" defense="0">
      <defense name="healing" interval="100" chance="100" min="400000" max="400000"/>
    </defenses>
    <immunities>
      <immunity invisible="1"/>
    </immunities>
  </monster>
 
when i do "UPDATE players SET level = 10"

only lvl go 10 i want mana and health be simple like the level depends on lvl
 
So maybe use:
"UPDATE players SET health = 180" and "UPDATE players SET healthmax = 180".
"UPDATE players SET mana = 45" and "UPDATE players SET manamax = 45"


/edit
@_Arthur you are first :(
 
Back
Top