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

OTServBR-Global - Version Stable 1.2.0

Compare
Choose a tag to compare
@dudantas dudantas released this 17 Feb 01:52
· 200 commits to main since this release
b4e0d82

Canary Modifications

Support client 12.85.11525 (author: @marcosvf132, commits: (opentibiabr/canary@e9c85a5, opentibiabr/canary@3144b16, opentibiabr/canary@cc98f40)

Modified (Canary):

  • [Lua/Pack]: Remove lua tests, the files no longer exist (author: @omeranha, commit: (opentibiabr/canary@9a21ad4)
  • [Source]: Enhancement - Automatically unzip world.zip in world folder if otbm file doesn't exist on server start (author: @omeranha, commit: (opentibiabr/canary@6b23e6f)
    This change will allow the server to automatically extract the map from the zip (to the global server) in case the .otbm file is not found.
    In this commit is need new lib libzippp, uses ./vcpkg install libzippp

Fixed problems (Canary):

  • [Source]: Npc Shop Enhancement - Allow an item of the same id to be added multiple times for the same npc (author: @dudantas, commit: (opentibiabr/canary@9c257da)
    Set for use name of the item instead of id in the ShopInfoMap vector
    This will allow adding items with the same item ids and customizing the item name
    Fixed somes npcs shop bugs

  • [Source]: ConfigManager - fix (#208) typo from "freeQuests" to "toggleFreeQuest" (author: @dudantas, commit: 0c08898)

  • [Source]: Added new method ```vocation:getBaseAttackSpeed```` for offline training and exercise training script (author: @Rechdan, commit: (opentibiabr/canary@8315cf5)

  • [Source]: Added new Lua method configManager.getFloat (author: @Rechdan, commit: (opentibiabr/canary@2811015)
    Fix nil value in the offline training and exercise training script

  • [Source]: Fix support rates regen, removed multiplication and modified to use getBaseAttackSpeed instead of getAttackSpeed (author: @dudantas, commit: (opentibiabr/canary@29846fa)

  • [Source]: Set item tier bytes from "0" to "1" from protocol 12.85 (author: @dudantas, commit: (opentibiabr/canary@cc98f40)
    Modified item tier byte to be 1 by default.
    Added one static_cast<uint8_t> in the function "item->getImbuementSlot()", for resolve review check from CodeQL.

OTServBR-Global Modifications

Modified (Global):

  • [Lua]: NPC's Revscriptsys - Fix lookTypeEx typo and convert to clientId (author: @daanyx, commit: 2cc1a6d)
    Fixed bug in "lookTypeex" variable to "lookTypeEx" and converted ids to clientId.
  • [Lua/Pack]: Protocol 12.85 - Support for client version 12.85 datapack (author: @marcosvf132, commit: a29bc41)
    Protocol 12.85 datapack
    Syncronize datapack with Canary 12.85 commit: opentibiabr/canary@e9c85a5
    Small fix on the "loadLuaMapAction" function that was breaking the map loading by LUA.
    The changes on this commit is following the same changes on the pull request :opentibiabr/canary#203

Fixed problems (Global):

  • [Lua]: NPC's Revscriptsys - Fixed the bug in the shops of npcs that have the same item for sell and buy (author: @dudantas, commit: c1eb738)
    The way the shop was converted doesn't work to have two tables separating the "sell" and the "buy", it needs to be in a single table, thus preventing the same item from appearing in the sell and not appearing in the buy.
    I took advantage of the pull request to move the functions to the correct locations, thus getting more organized.
    Fixed others bugs related to the npcs
  • [Lua]: Fix addEvent from grimvale quest calling nil function (author: @dudantas, commit: c20b800)
  • [Lua]: Change flag from "pet" tag for "familiar", fix the bug where the summon doesn't enter pz (author: @dudantas, commit: 38bbf2d)
  • [Lua]: Fix lower/upper case in the unscripted_equipments and unscripted_weapons (author: @dudantas, commit: 8a7e8e3)
  • [Lua]: Convert id from magic gold converter to client id (author: @painer15999, commit: a4a024d)
  • [Lua]: Fix lion shield on unscripted equipments table (author: @painer15999, commit: 767f9e0)