Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

OTServBR-Global Stable v1.0.5

Compare
Choose a tag to compare
@dudantas dudantas released this 26 Jan 23:28
· 216 commits to main since this release
e96951d

Support client 12.72.11206 and otclient (pull in progress)

Modified:

  • [Source/Lua] Create familiars lib, rename from "pet" to "familiar" and others fixes (author: @dudantas, commit: e34e401)
    Fixes:
    Rename from "pet/Pet" to "familiar/Familiar"
    Removed "familiar = false" from monsters, this is false by default (this change is optional)
    Renamed from "mtype:isPet" to "mtype:familiar"
    Fixed familiar login with god.
    Co-authored-by: @beats-dh
  • [Lua] Register missing foods "goanna meat" and "candy floss" (author: @travisani, commit: 0cb8387)

Fixed problems:

  • [Source] Fix double remove money on create market offer (author: @dudantas, commit: 3228c9e)
  • [Source] Fix remove item from stash on apply imbuement (author: @dudantas, commit: 962e323)
    The function "getStashItemCount" uses client id instead of id.
  • [Source] Fixed crash after conjure item with duration (author: @dudantas, commit: 73d4d10)
    Fixed crash after casting item with duration
    Fixed "register_spells.lua" indentation
    Added nullpointer on the load backpacks function
  • [Lua] Removed creature events from monsters script interface (author: @dudantas, commit: 5f004ad)
    Scripts cannot be placed inside the monsters folder, as it is the monsters only interface, all other types of scripts need to be in the scripts folder.
  • [Lua/XML] Removed duplication in events and rearranged the xml order (author: @gpedro, commit: 44d75fe)
  • [Lua/XML] Amulet bug fix in enchanted werewolf amulet time and skill (author: @painer15999, commit: 02e6f32)
    Amulet bug fix in enchanted werewolf amulet time result (onDeEquip) and skill bug
  • [Source] Fix wrong increment equipment skills in "onEquip/deEquip" (author: @Rechdan, commit: 02e88a1)
    Added item->hasAttribute(ITEM_ATTRIBUTE_DURATION) to check if the item has the duration attribute, making it so that only items that are in the decay stage can enter the if
    With the PR #375 a bug with weapons that have skills was introduced, where they started to remove the skill instead of adding it, this PR is to fix that.
  • [Lua] Fix freezing freequests.lua (author: beats-dh, commit: d023799)
  • [Lua/Source], Fix issue #380 and #389, fix maxSummons bug (author: @dudantas, commit: 62d7348)
    Variable "monster.summons" renamed to "monster.summon"
    Improved the "registerMonsterType.summon" function. The "monster.maxSummons" was changed to be inside "monster.summon", thus facilitating development
    Added new table "summons" inside of "monster.summon"
    Added the "count" in the "monsterType:addSummon" function
    Fixed somes summons with "Demon2" name to "Demon"
    Removed "monster.summonCost", the correct is "monster.manaCost"
    Fixed a bug in the "registerMonsterType.light" function
    Fixed bug in the familiar behavior
    Modified all monsters for new style of summons
  • [Lua] Fix message "log out more than 10 minutes to start offline training" (author: @travisani, commit: 2a22212)
    Message like tibia global
  • [Lua] Fix message and min level for talk in "advertising" and "english chat" (author: @travisani, commit: c6cc888)
    Same behavior as in global tibia, so the requirement will be at least level 20 or have a premium account. In addition to fixed the message.
  • [Lua] Fix lion's rock quest "holy water fountain" and "fountain rewards" (author: @EeFo17, commit: 762188b)
  • [Source] Fix removing items from stash on apply imbuement (author: @dudantas, commit: bc92e3c)
    Complement of the pr: #373
  • [Source/Lua] Fix issues #312, #399, fix bestiary counter logic and update charm values (author: @marcosvf132, commit: e96951d)