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

OTServBR-Global - Version 1.4.0 (Stable)

Compare
Choose a tag to compare
@dudantas dudantas released this 19 Jul 07:09
· 52 commits to main since this release

Release version: stable v1.4.0 -

Download Tibia Client 12.86.11871

Download OTClient 1.0, thanks for @mehah

Fixes

Features/Enhancements

  • Some small improvements to gha (opentibiabr/canary#363, opentibiabr/canary@44c8e82, @Costallat)
    Improves the GHA overall performance
    Disable ccache for Windows as it doesn't work
    Add sscache for Windows
    Adjust some cmake flags to work with sscache
  • Rework and fix event scheduler (opentibiabr/canary#239, opentibiabr/canary@526ef51, @beats-dh)
  • [CrashFix] fix monster type name overriding and some improvements (opentibiabr/canary#389, opentibiabr/canary@86e4a90 @dudantas)
    The real name of the monster was replaced by the name of the look, generating unexpected behavior and in a very specific scenario a crash (when two different monsters had the same "name")
    Some improvements related to the creation of monsters and the verification of the monster name in getMonsterType, also preventing any unexpected behavior
    New function: Creature::getTypeName(), for get real monster type name
  • Rework in MoveEvent and MoveEvents class for fix memory leak (opentibiabr/canary#398, opentibiabr/canary@4771913, @dudantas)
    Movements completely redone to remove a memory leak related to the registration of movements, in the luaMoveEventRegister function, where the memory was fread and then used. We also added some pointer sanity checks, preventing future crashes and fixing some known ones.
    Removed old XML load
    Passed some objects as a reference, to avoid nullpointer and unecessary pointer checks
    Added nullpointer checks in some places and the code was redone to work better
    Added some logs to help in case of errors
    Fixed crash related to replaceable magic fields
    Notes: MoveEvent::onRemoveItem function from now on it will no longer have the "tileitem" argument
  • [Enhancement] Changed rsa to use gmp lib instead of cryptopp (opentibiabr/canary#391, opentibiabr/canary@b0538c4, @beats-dh and @dudantas)
    Thanks and credits to @SaiyansKing for the original code
    This pull request has modifications from the optimized forgottenserver: https://github.com/opentibiabr/optimized_forgottenserver
    Added function in otserv.cpp to load default RSA key if it fails to load key.pem
    Rework on connection.cpp and improvement of some functions
    Removed some "reinterpret_cast", added in place "static_cast" which avoid overflows or undefined behavior
    Improved connection and protocol code for QT client
  • Change luajit to install by vcpkg manifest (opentibiabr/canary#403, opentibiabr/canary@5fc2834, @dudantas)
    Remove appveyor build
    Remove build windows 2019 and ubuntu 18
    Added ubuntu 22.04 build
  • Improve monster loot log (opentibiabr/canary#372, opentibiabr/canary@116cc9e, @dudantas)
  • Disabled install LuaJit for processor ARM (opentibiabr/canary#416, opentibiabr/canary@6ad0268, @beats-dh)
    Disabled installation of LuaJit by vcpkg.json, solving the problem of compatibility with ARM processors.
    The installation of LuaJit will have to be done by apt Linux with the command:
    sudo apt install libluajit-5.1-dev
  • [Enhancement] Set teleport position talkaction for use in all teleport types (opentibiabr/canary@b996fbe, @dudantas)
  • [Enhancement] - Automatically download world otbm in folder if file doesn't exist on server start (opentibiabr/canary#437, opentibiabr/canary@5e42475, @omeranha)
    If toggleDownloadMap if false, then the mapDownloadUrl will not be used
    If a map with the name already exists in the world folder, the map will not be downloaded even if the toggleDownloadMap is true
  • [Feature/Enhancement] - New objects; Lever, Spawn and Spectators to assistant with boss/quest scripts and others (opentibiabr/canary#360, opentibiabr/canary@0d9d3a1, @Glatharth)
    The new objects will help us with boss scripts, quests, and spectator checks, reducing the complexity and size of a lot of code. Added an example of how the mechanics work in the lever of threatened dreams quest.
  • [Feature] Depot search system (opentibiabr/canary#411, opentibiabr/canary@a02d5a5, @marcosvf132)
    Enabling and implementing client 12x feature named 'Depot search'. This system can be used to make it easier to find, organize and manipulate players depot/inbox/stash.
    The systems already include support for a future implementation of item tier system. The tier system is being implemented on PR #366

New Lua functions

  • item:setDuration(minduration, maxduration = 0, decayid = 0, showDuration = true)

GitHub

Closed issues:

opentibiabr/canary#374, https://github.com/opentibiabr/canary/issues/#421