Ir para conteúdo

7401131

Campones
  • Total de itens

    28
  • Registro em

  • Última visita

Posts postados por 7401131

  1. In file included from chat.h:20,
                     from chat.cpp:18:
    otsystem.h: In function ‘int64_t OTSYS_TIME()’:
    otsystem.h:115:10: error: ‘int ftime(timeb*)’ is deprecated [-Werror=deprecated-declarations]
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from chat.h:20,
                     from chat.cpp:18:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
       39 | extern int ftime (struct timeb *__timebuf)
          |            ^~~~~
    In file included from chat.h:20,
                     from chat.cpp:18:
    otsystem.h:115:10: error: ‘int ftime(timeb*)’ is deprecated [-Werror=deprecated-declarations]
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from chat.h:20,
                     from chat.cpp:18:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
       39 | extern int ftime (struct timeb *__timebuf)
          |            ^~~~~
    In file included from combat.h:20,
                     from combat.cpp:20:
    otsystem.h: In function ‘int64_t OTSYS_TIME()’:
    otsystem.h:115:10: error: ‘int ftime(timeb*)’ is deprecated [-Werror=deprecated-declarations]
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from combat.h:20,
                     from combat.cpp:20:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
       39 | extern int ftime (struct timeb *__timebuf)
          |            ^~~~~
    In file included from combat.h:20,
                     from combat.cpp:20:
    otsystem.h:115:10: error: ‘int ftime(timeb*)’ is deprecated [-Werror=deprecated-declarations]
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from combat.h:20,
                     from combat.cpp:20:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from combat.h:20,
                     from combat.cpp:20:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
       39 | extern int ftime (struct timeb *__timebuf)
          |            ^~~~~
    In file included from item.h:20,
                     from beds.h:20,
                     from beds.cpp:19:
    otsystem.h: In function ‘int64_t OTSYS_TIME()’:
    otsystem.h:115:10: error: ‘int ftime(timeb*)’ is deprecated [-Werror=deprecated-declarations]
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from item.h:20,
                     from beds.h:20,
                     from beds.cpp:19:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
       39 | extern int ftime (struct timeb *__timebuf)
          |            ^~~~~
    In file included from item.h:20,
                     from beds.h:20,
                     from beds.cpp:19:
    otsystem.h:115:10: error: ‘int ftime(timeb*)’ is deprecated [-Werror=deprecated-declarations]
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from item.h:20,
                     from beds.h:20,
                     from beds.cpp:19:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
       39 | extern int ftime (struct timeb *__timebuf)
          |            ^~~~~
    In file included from baseevents.h:20,
                     from baseevents.cpp:20:
    otsystem.h: In function ‘int64_t OTSYS_TIME()’:
    otsystem.h:115:10: error: ‘int ftime(timeb*)’ is deprecated [-Werror=deprecated-declarations]
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from baseevents.h:20,
                     from baseevents.cpp:20:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
       39 | extern int ftime (struct timeb *__timebuf)
          |            ^~~~~
    In file included from baseevents.h:20,
                     from baseevents.cpp:20:
    otsystem.h:115:10: error: ‘int ftime(timeb*)’ is deprecated [-Werror=deprecated-declarations]
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from baseevents.h:20,
                     from baseevents.cpp:20:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
       39 | extern int ftime (struct timeb *__timebuf)
          |            ^~~~~
    In file included from baseevents.h:20,
                     from actions.h:20,
                     from actions.cpp:20:
    otsystem.h: In function ‘int64_t OTSYS_TIME()’:
    otsystem.h:115:10: error: ‘int ftime(timeb*)’ is deprecated [-Werror=deprecated-declarations]
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from baseevents.h:20,
                     from actions.h:20,
                     from actions.cpp:20:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
       39 | extern int ftime (struct timeb *__timebuf)
          |            ^~~~~
    In file included from baseevents.h:20,
                     from actions.h:20,
                     from actions.cpp:20:
    otsystem.h:115:10: error: ‘int ftime(timeb*)’ is deprecated [-Werror=deprecated-declarations]
      115 |  ftime(&t);
          |          ^
    In file included from otsystem.h:76,
                     from baseevents.h:20,
                     from actions.h:20,
                     from actions.cpp:20:
    /usr/include/x86_64-linux-gnu/sys/timeb.h:39:12: note: declared here
       39 | extern int ftime (struct timeb *__timebuf)
          |            ^~~~~
    In file included from party.h:20,
                     from chat.h:24,
                     from chat.cpp:18:
    player.h: In member function ‘bool Player::isUsingOtclient() const’:
    player.h:386:66: error: ‘CLIENTOS_OTCLIENT_LINUX’ was not declared in this scope
      386 |         bool isUsingOtclient() const { return operatingSystem >= CLIENTOS_OTCLIENT_LINUX; }
          |                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
    player.h: In member function ‘void Player::sendExtendedOpcode(uint8_t, const string&)’:
    player.h:796:29: error: ‘class ProtocolGame’ has no member named ‘sendExtendedOpcode’
      796 |         {if(client) client->sendExtendedOpcode(opcode, buffer);}
          |                             ^~~~~~~~~~~~~~~~~~
    In file included from game.h:30,
                     from combat.cpp:23:
    player.h: In member function ‘bool Player::isUsingOtclient() const’:
    player.h:386:66: error: ‘CLIENTOS_OTCLIENT_LINUX’ was not declared in this scope
      386 |         bool isUsingOtclient() const { return operatingSystem >= CLIENTOS_OTCLIENT_LINUX; }
          |                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
    player.h: In member function ‘void Player::sendExtendedOpcode(uint8_t, const string&)’:
    player.h:796:29: error: ‘class ProtocolGame’ has no member named ‘sendExtendedOpcode’
      796 |         {if(client) client->sendExtendedOpcode(opcode, buffer);}
          |                             ^~~~~~~~~~~~~~~~~~
    In file included from house.h:27,
                     from beds.cpp:20:
    player.h: In member function ‘bool Player::isUsingOtclient() const’:
    player.h:386:66: error: ‘CLIENTOS_OTCLIENT_LINUX’ was not declared in this scope
      386 |         bool isUsingOtclient() const { return operatingSystem >= CLIENTOS_OTCLIENT_LINUX; }
          |                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
    player.h: In member function ‘void Player::sendExtendedOpcode(uint8_t, const string&)’:
    player.h:796:29: error: ‘class ProtocolGame’ has no member named ‘sendExtendedOpcode’
      796 |         {if(client) client->sendExtendedOpcode(opcode, buffer);}
          |                             ^~~~~~~~~~~~~~~~~~
    chat.cpp: In member function ‘ChatChannel* Chat::getChannel(Player*, uint16_t)’:
    chat.cpp:1144:10: error: cannot convert ‘bool’ to ‘ChatChannel*’ in return
     1144 |   return false;
          |          ^~~~~
    In file included from actions.cpp:23:
    player.h: In member function ‘bool Player::isUsingOtclient() const’:
    player.h:386:66: error: ‘CLIENTOS_OTCLIENT_LINUX’ was not declared in this scope
      386 |         bool isUsingOtclient() const { return operatingSystem >= CLIENTOS_OTCLIENT_LINUX; }
          |                                                                  ^~~~~~~~~~~~~~~~~~~~~~~
    player.h: In member function ‘void Player::sendExtendedOpcode(uint8_t, const string&)’:
    player.h:796:29: error: ‘class ProtocolGame’ has no member named ‘sendExtendedOpcode’
      796 |         {if(client) client->sendExtendedOpcode(opcode, buffer);}
          |                             ^~~~~~~~~~~~~~~~~~
    cc1plus: all warnings being treated as errors
    make[1]: *** [Makefile:595: beds.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    cc1plus: all warnings being treated as errors
    cc1plus: all warnings being treated as errors
    make[1]: *** [Makefile:595: chat.o] Error 1
    make[1]: *** [Makefile:595: combat.o] Error 1
    cc1plus: all warnings being treated as errors
    make[1]: *** [Makefile:595: baseevents.o] Error 1
    cc1plus: all warnings being treated as errors
    make[1]: *** [Makefile:595: actions.o] Error 1
    make[1]: Leaving directory '/pbotserv/src'
    make: *** [Makefile:445: all] Error 2

     

  2. ta ae...

     

     

     

    <?xml version="1.0"?>

    <outfits>

    <outfit id="1">

    <list gender="0" lookType="136" name="Citizen"/>

    <list gender="1" lookType="128" name="Citizen"/>

    </outfit>

     

    <outfit id="2">

    <list gender="0" lookType="137" name="Hunter"/>

    <list gender="1" lookType="129" name="Hunter"/>

    </outfit>

     

    <outfit id="3">

    <list gender="0" lookType="138" name="Mage"/>

    <list gender="1" lookType="130" name="Mage"/>

    </outfit>

     

    <outfit id="4">

    <list gender="0" lookType="139" name="Knight"/>

    <list gender="1" lookType="131" name="Knight"/>

    </outfit>

     

    <outfit id="5">

    <list gender="0" lookType="140" name="Noblewoman"/>

    <list gender="1" lookType="132" name="Nobleman"/>

    </outfit>

     

    <outfit id="6">

    <list gender="0" lookType="141" name="Summoner"/>

    <list gender="1" lookType="133" name="Summoner"/>

    </outfit>

     

    <outfit id="7">

    <list gender="0" lookType="142" name="Warrior"/>

    <list gender="1" lookType="134" name="Warrior"/>

    </outfit>

     

    <outfit id="8">

    <list gender="0" lookType="147" name="Barbarian"/>

    <list gender="1" lookType="143" name="Barbarian"/>

    </outfit>

     

    <outfit id="9" premium="yes">

    <list gender="0" lookType="148" name="Druid"/>

    <list gender="1" lookType="144" name="Druid"/>

    </outfit>

     

    <outfit id="10" premium="yes">

    <list gender="0" lookType="149" name="Wizard"/>

    <list gender="1" lookType="145" name="Wizard"/>

    </outfit>

     

    <outfit id="11" premium="yes">

    <list gender="0" lookType="150" name="Oriental"/>

    <list gender="1" lookType="146" name="Oriental"/>

    </outfit>

     

    <outfit id="12">

    <list gender="0" lookType="155" name="Pirate"/>

    <list gender="1" lookType="151" name="Pirate"/>

    </outfit>

     

    <outfit id="13" default="1">

    <list gender="0" lookType="156" name="Assassin"/>

    <list gender="1" lookType="152" name="Assassin"/>

    </outfit>

     

    <outfit id="14" premium="yes" default="0">

    <list gender="0" lookType="157" name="Beggar"/>

    <list gender="1" lookType="153" name="Beggar"/>

    </outfit>

     

    <outfit id="15" premium="yes" default="0">

    <list gender="0" lookType="158" name="Shaman"/>

    <list gender="1" lookType="154" name="Shaman"/>

    </outfit>

     

    <outfit id="16" premium="yes" default="0">

    <list gender="0" lookType="252" name="Norsewoman"/>

    <list gender="1" lookType="251" name="Norseman"/>

    </outfit>

     

    <outfit id="17" premium="yes" default="0">

    <list gender="0" lookType="269" name="Nightmare"/>

    <list gender="1" lookType="268" name="Nightmare"/>

    </outfit>

     

    <outfit id="18" premium="yes" default="0">

    <list gender="0" lookType="270" name="Jester"/>

    <list gender="1" lookType="273" name="Jester"/>

    </outfit>

     

    <outfit id="19" premium="yes" default="0">

    <list gender="0" lookType="279" name="Brotherhood"/>

    <list gender="1" lookType="278" name="Brotherhood"/>

    </outfit>

     

    <outfit id="20" premium="no" default="0">

    <list gender="0" lookType="288" name="Demonhunter"/>

    <list gender="1" lookType="289" name="Demonhunter"/>

    </outfit>

     

    <outfit id="21" premium="yes" default="0">

    <list gender="0" lookType="324" name="Yalaharian"/>

    <list gender="1" lookType="325" name="Yalaharian"/>

    </outfit>

     

    <outfit id="22" default="0">

    <list gender="0" lookType="336" name="Warmaster"/>

    <list gender="1" lookType="335" name="Warmaster"/>

    </outfit>

     

    <outfit id="23" premium="no" default="0">

    <list gender="0" lookType="366" name="Wayfarer"/>

    <list gender="1" lookType="367" name="Wayfarer"/>

    </outfit>

     

    <outfit id="24" premium="yes" default="0">

    <list gender="0" lookType="329" name="Wedding"/>

    <list gender="1" lookType="328" name="Wedding"/>

    </outfit>

     

    <outfit id="25" access="5" premium="yes">

    <list gender="0-3" lookType="12" name="Archdemon"/>

    </outfit>

     

    <outfit id="26" access="5" premium="yes">

    <list gender="0-3" lookType="159" name="Elf"/>

    </outfit>

     

    <outfit id="27" access="5" premium="yes">

    <list gender="0-3" lookType="160" name="Dwarf"/>

    </outfit>

     

    <outfit id="28" access="5" premium="yes">

    <list gender="0-3" lookType="226" name="Frog"/>

    </outfit>

     

    <outfit id="29" access="5" premium="yes">

    <list gender="0-3" lookType="194" name="Cult"/>

    </outfit>

     

    <outfit id="30" access="5" premium="yes">

    <list gender="0-3" lookType="253" name="Headsplitter"/>

    </outfit>

     

    <outfit id="31" access="5" premium="yes">

    <list gender="0-3" lookType="254" name="Skullhunter"/>

    </outfit>

     

    <outfit id="32" access="5" premium="yes">

    <list gender="0-3" lookType="255" name="Bloodwalker"/>

    </outfit>

     

    <outfit id="33" access="5" premium="yes">

    <list gender="0-3" lookType="264" name="Brutetamer"/>

    </outfit>

     

    <outfit id="34" access="3" premium="yes">

    <list gender="0-3" lookType="75" name="Gamemaster"/>

    </outfit>

     

    <outfit id="35" access="4" premium="yes">

    <list gender="0-3" lookType="266" name="Community Manager"/>

    </outfit>

     

    <outfit id="36" access="5" premium="yes">

    <list gender="0-3" lookType="302" name="God"/>

    </outfit>

    </outfits>

     

     

     

  3. Ah foi mal é q eu tentei por em code e nao consegui, ta ae\/

     

     

     

    <?xml version="1.0" encoding="UTF-8"?>

    <vocations>

    <vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="2100" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="1" name="Sorcerer" description="a Sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="25" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="1">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="2" name="Druid" description="a Druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="25" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="2">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="3" name="Paladin" description="a Paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="30" gainmanaticks="4" gainmanaamount="25" manamultiplier="1.4" attackspeed="1900" soulmax="100" gainsoulticks="120" fromvoc="3">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="4" name="Knight" description="a Knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="45" gainmanaticks="6" gainmanaamount="15" manamultiplier="3.0" attackspeed="1800" soulmax="100" gainsoulticks="120" fromvoc="4">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="5" name="Master Sorcerer" description="a Master Sorcerer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="60" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="6" name="Elder Druid" description="an Elder Druid" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="60" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="200" gainsoulticks="15" fromvoc="2" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="7" name="Royal Paladin" description="a Royal Paladin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="75" gainmanaticks="3" gainmanaamount="65" manamultiplier="1.4" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="8" name="Elite Knight" description="an Elite Knight" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="180" gainmanaticks="4" gainmanaamount="55" manamultiplier="3.0" attackspeed="1300" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="9" name="Hell Wizard" description="the Hell Wizard" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="60" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="300" gainsoulticks="15" fromvoc="5" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="10" name="High Saintess" description="the High Saintess" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="60" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="300" gainsoulticks="15" fromvoc="6" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="11" name="Force Archer" description="the Force Archer" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="75" gainmanaticks="3" gainmanaamount="65" manamultiplier="1.4" attackspeed="700" soulmax="300" gainsoulticks="15" fromvoc="7" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="12" name="Titan Blader" description="the Titan Blader" needpremium="1" gaincap="15" gainhp="15" gainmana="10" gainhpticks="2" gainhpamount="180" gainmanaticks="4" gainmanaamount="55" manamultiplier="3.0" attackspeed="1300" soulmax="300" gainsoulticks="15" fromvoc="8" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

    </vocations>

     

     

  4. Ae eu sou o dono do ot que meu rl cito ae em cima

    1º Vocations.xml

    <?xml version="1.0" encoding="UTF-8"?>

    <vocations>

    <vocation id="0" name="None" description="none" needpremium="0" gaincap="5" gainhp="5" gainmana="5" gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1" manamultiplier="4.0" attackspeed="2100" soulmax="100" gainsoulticks="120" fromvoc="0" attackable="no">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="1" name="Sorcerer" description="a Sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="25" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="1">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="2" name="Druid" description="a Druid" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="25" gainmanaticks="3" gainmanaamount="35" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="2">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="3" name="Paladin" description="a Paladin" needpremium="0" gaincap="20" gainhp="10" gainmana="15" gainhpticks="4" gainhpamount="30" gainmanaticks="4" gainmanaamount="25" manamultiplier="1.4" attackspeed="1900" soulmax="100" gainsoulticks="120" fromvoc="3">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="4" name="Knight" description="a Knight" needpremium="0" gaincap="25" gainhp="15" gainmana="5" gainhpticks="3" gainhpamount="45" gainmanaticks="6" gainmanaamount="15" manamultiplier="3.0" attackspeed="1800" soulmax="100" gainsoulticks="120" fromvoc="4">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="5" name="Master Sorcerer" description="a Master Sorcerer" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="60" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="200" gainsoulticks="15" fromvoc="1" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="6" name="Elder Druid" description="an Elder Druid" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="60" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="200" gainsoulticks="15" fromvoc="2" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="7" name="Royal Paladin" description="a Royal Paladin" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="75" gainmanaticks="3" gainmanaamount="65" manamultiplier="1.4" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="3" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="8" name="Elite Knight" description="an Elite Knight" needpremium="1" gaincap="25" gainhp="15" gainmana="5" gainhpticks="2" gainhpamount="180" gainmanaticks="4" gainmanaamount="55" manamultiplier="3.0" attackspeed="1300" soulmax="200" gainsoulticks="15" fromvoc="4" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="9" name="Hell Wizard" description="the Hell Wizard" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="60" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="300" gainsoulticks="15" fromvoc="5" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="10" name="High Saintess" description="the High Saintess" needpremium="1" gaincap="10" gainhp="5" gainmana="30" gainhpticks="4" gainhpamount="60" gainmanaticks="2" gainmanaamount="120" manamultiplier="1.1" attackspeed="1600" soulmax="300" gainsoulticks="15" fromvoc="6" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.5" club="1.8" sword="1.8" axe="1.8" distance="1.8" shielding="1.5" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="11" name="Force Archer" description="the Force Archer" needpremium="1" gaincap="20" gainhp="10" gainmana="15" gainhpticks="3" gainhpamount="75" gainmanaticks="3" gainmanaamount="65" manamultiplier="1.4" attackspeed="700" soulmax="300" gainsoulticks="15" fromvoc="7" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.2" club="1.2" sword="1.2" axe="1.2" distance="1.1" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

     

    <vocation id="12" name="Titan Blader" description="the Titan Blader" needpremium="1" gaincap="15" gainhp="15" gainmana="10" gainhpticks="2" gainhpamount="180" gainmanaticks="4" gainmanaamount="55" manamultiplier="3.0" attackspeed="1300" soulmax="300" gainsoulticks="15" fromvoc="8" lessloss="30">

    <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/>

    <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.4" shielding="1.1" fishing="1.1" experience="1.0"/>

    </vocation>

    </vocations>

     

    2º Nao da erro nenhum no distro. Apenas buga alem do ot travar, e nao destravar, para por on normal dnovo preciso desbuga os chares pelo mysql e reinicia a maquina.Uso Linux.

  5. Fala galera,

    Intao esout usando o sistema de exp por hit do xxotserv mais com stages, e junto a ele tem pra usa com ring of exp mais o ring n funciona intao peço um ajuda por favor segue abaixo o script

     

    rateExp = 30 -- 0 a 50
    rateExp1 = 20 -- 50 a 100
    rateExp2 = 10 -- 101 a 150
    rateExp3 = 6 -- 151 a 200
    rateExp4 = 4 -- 201 a 350
    rateExp5 = 2 -- 351 a 380
    rateExp6 = 0.5 -- 381 a 430
    rateExp7 = 0.3 --431 em diante
    bonus = 1000 -- Bonus por estar com exp ring
    expringid = 148 -- Id do exp ring
    
    function CalculeExp(monsterhp, exptotal, hit)
    local x = hit <= monsterhp and math.ceil(exptotal * hit / monsterhp) or 0
    local x2 = x - 20 + math.random(20)
    return x2 > 0 and x2 or 0
    end
    
    function isSummon(uid)
    return uid ~= getCreatureMaster(uid) or false
    end
    
    function onStatsChange(cid, attacker, type, combat, value)
    if type == STATSCHANGE_HEALTHLOSS then
    if isMonster(cid) then
    if isCreature(attacker) then
    local sid = isSummon(attacker) == true and getCreatureMaster(attacker) or attacker
    
    if isPlayer(sid) and getPlayerLevel(sid) <= 50 then
    local expg = CalculeExp(getCreatureMaxHealth(cid), getMonsterExperience(getCreatureName(cid)) * rateExp, value)
    doPlayerSendTextMessage(sid, 23, "Você Ganhou "..expg.." exp.")
    doPlayerAddExp(sid, expg)
    
    elseif isPlayer(sid) and getPlayerLevel(sid) <= 100 then
    local expg1 = CalculeExp(getCreatureMaxHealth(cid), getMonsterExperience(getCreatureName(cid)) * rateExp1, value)
    doPlayerSendTextMessage(sid, 23, "Você Ganhou "..expg1.." exp.")
    doPlayerAddExp(sid, expg1)
    
    elseif isPlayer(sid) and getPlayerLevel(sid) <= 150 then
    local expg2 = CalculeExp(getCreatureMaxHealth(cid), getMonsterExperience(getCreatureName(cid)) * rateExp2, value)
    doPlayerSendTextMessage(sid, 23, "Você Ganhou "..expg2.." exp.")
    doPlayerAddExp(sid, expg2)
    
    elseif isPlayer(sid) and getPlayerLevel(sid) <= 200 then
    local expg3 = CalculeExp(getCreatureMaxHealth(cid), getMonsterExperience(getCreatureName(cid)) * rateExp3, value)
    doPlayerSendTextMessage(sid, 23, "Você Ganhou "..expg3.." exp.")
    doPlayerAddExp(sid, expg3)
    
    elseif isPlayer(sid) and getPlayerLevel(sid) <= 350 then
    local expg4 = CalculeExp(getCreatureMaxHealth(cid), getMonsterExperience(getCreatureName(cid)) * rateExp4, value)
    doPlayerSendTextMessage(sid, 23, "Você Ganhou "..expg4.." exp.")
    doPlayerAddExp(sid, expg4)
    
    elseif isPlayer(sid) and getPlayerLevel(sid) <= 380 then
    local expg5 = CalculeExp(getCreatureMaxHealth(cid), getMonsterExperience(getCreatureName(cid)) * rateExp5, value)
    doPlayerSendTextMessage(sid, 23, "Você Ganhou "..expg5.." exp.")
    doPlayerAddExp(sid, expg5)
    
    elseif isPlayer(sid) and getPlayerLevel(sid) <= 430 then
    local expg6 = CalculeExp(getCreatureMaxHealth(cid), getMonsterExperience(getCreatureName(cid)) * rateExp6, value)
    doPlayerSendTextMessage(sid, 23, "Você Ganhou "..expg6.." exp.")
    doPlayerAddExp(sid, expg6)
    
    elseif isPlayer(sid) and getPlayerLevel(sid) <= 500 then
    local expg7 = CalculeExp(getCreatureMaxHealth(cid), getMonsterExperience(getCreatureName(cid)) * rateExp7, value)
    doPlayerSendTextMessage(sid, 23, "Você Ganhou "..expg7.." exp.")
    doPlayerAddExp(sid, expg7)
    
    elseif isPlayer(sid) and getPlayerItemCount(cid,148) then
    local expbonus = CalculeExp(getCreatureMaxHealth(cid), getMonsterExperience(getCreatureName(cid)) * bonus, value)
    doPlayerSendTextMessage(sid, 23, "Você Ganhou "..expbonus.." ROE exp.")
    doPlayerAddExp(sid, expbonus)
    
    end
    end
    end
    elseif type == STATSCHANGE_HEALTHGAIN then
    return false
    end
    return true
    end
    
    function onCombat(cid, target)
    if isMonster(target) and not isSummon(target) and not isPlayer(target) then
    registerCreatureEvent(target, "ExpGain")
    end
    return true
    end
    

  6. Duvida em Talkactions, é o seguinte galera meu ot esta com o comando /attr set attack, defense, /attr destination bugados, eu uso /attr set attack 100 mais a arma continua com o mesmo attack original o mesmo acontece com armor defense...e quero por destino ao teleport tbm nao funciona coloco por exemplo /attr destination 1141 1560 7 o tp nao leva a lugar algum...ALGUEM PFF AJUDA???

  7. Tipo do script: Creaturescript

    Protocolo (versão do Tibia): 8.60

    Servidor utilizado: tfs 0.4

    Nível de experiência: Medio

    Adicionais/Informações: Exp por hit para o tfs 0.4 eu coloquei esse www.xtibia.com/forum/topic/161056-exp-por-hit/....mais nao funciono...

     

     

     

    Xtibia acabano???Ninguem mais responde...

  8. Tipo do script: NPC

    Protocolo (versão do Tibia): 8.60

    Servidor utilizado: TFS 0.4

    Nível de experiência: Medio

    Adicionais/Informações: um npc que vende a 3º voc..que no caso seria uma vocaçao vip, e esse npc teria que vender a vocaçao por x qnt de gold ingot....

     

     

     

    POR FAVOR GALERA AJUDEM

  9. è o seguinte eu tenho um tfs 0.4.1 mais nao sei como editar o item.otb, eu tentei editar pelo otitemeditor 3.9 e pelo 5.1 algo assim, mas como nao e a versao do tfs nao da certo. Portanto eu queria saber que programa eu deveria usar um rl meiu aki falo que tinha um programa pago mais nao sei o nome dele..eu tbm tenho o tfs 0.4dev que foi o que o Walef Xavier postou mais nao consigo editar...Pls me ajudem.

  10. Tipo do script: Action

    Protocolo (versão do Tibia):8.6

    Servidor utilizado:TFS 0.4

    Nível de experiência:Medio

    Adicionais/Informações: Tipo eu queria que o item Medal of Honour(ID:5786), desse vip mais que o player nao precisace der use no item so de usar ele estaria com a vip...uso vip by account 1.0..axo q e assimo nome..

  11. Tipo do script: Npc

    Protocolo (versão do Tibia): 8.6

    Servidor utilizado: Tfs

    Nível de experiência: Medio

    Adicionais/Informações: Tipo eu queria um npc que liberasse x storage, mais so libera se o player tiver x point. Eu uso sistema de point do gesior 8.6, nao e por storage os point e sim por database.

     

     

     

    POR FAVOR GENTE ME AJUDEM E URGENTE MSM.

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...