Skip to content

Canary - Version 1.2.0

Compare
Choose a tag to compare
@dudantas dudantas released this 17 Feb 00:30
a2e01cd

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

Modified:

  • [Lua/Pack]: Remove lua tests, the files no longer exist (author: @omeranha, commit: 9a21ad4)
  • [Source]: Enhancement - Automatically unzip world.zip in world folder if otbm file doesn't exist on server start (author: @omeranha, commit: 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:

  • [Source]: Npc Shop Enhancement - Allow an item of the same id to be added multiple times for the same npc (author: @dudantas, commit: 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: 8315cf5)

  • [Source]: Added new Lua method configManager.getFloat (author: @Rechdan, commit: 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: 29846fa)

  • [Source]: Set item tier bytes from "0" to "1" from protocol 12.85 (author: @dudantas, commit: 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.

What's Changed

  • Rope fix by @hiPirate in #6
  • New spells functions and others fixes/improvements by @beats-dh in #21
  • [OTBR compatibility] Factions source code, pulled from: opentibiabr/otservbr-global#2334 by @beats-dh in #22
  • Added the vocation base id and the functions to manage it instead of the "client id" by @beats-dh in #11
  • Fix Numbered Depot Boxes + Add passwordType to config.lua.dist for MyAAC by @hiPirate in #4
  • Gain stamina from training and pz by @beats-dh in #10
  • Set build release to release with debug information by @dudantas in #37
  • Fix windows GHA build by @dudantas in #43
  • Prevents the loop of player from pushing another player by @dudantas in #34
  • Disable the force close button (ensure a secure close) by @dudantas in #33
  • Door fix by @hiPirate in #8
  • Fix supply stash exploit by @beats-dh in #14
  • Fix hungry conditions by @beats-dh in #12
  • Fix item charge description in shop by @beats-dh in #17
  • Fix restart prey after kick from beds by owner in house by @beats-dh in #20
  • Fix all random crashes generated by protocolgame.cpp by @beats-dh in #23
  • Fix wrong handling of spectator crashes when using "talk" from npcs menu by @dudantas in #40
  • Fix summons and familiars bug by @dudantas in #36
  • Add jiddo npc lib by @dudantas in #48
  • Better handling of the Game::checkCreatures function by @dudantas in #44
  • Add nullptr pointers (fix sonar checks) by @dudantas in #51
  • Add pointers to check if player or charm is nullptr by @dudantas in #49
  • Fix Creature:onTargetCombat(target) function and stamina gain event by @dudantas in #50
  • Sort loot of monsters to try most rare itens first by @gtkatakura in #31
  • Fixed combat.cpp pointers, the caster sometimes comes null by @dudantas in #137
  • Added correct behavior and improved function for gain stamina on trainer by @beats-dh in #134
  • Add open stash, open imbuement scripts and registered new items by @dudantas in #42
  • Fix on target combat and experience stage by @dudantas in #152
  • Bug Solution: Magic Wall not decaying by @Aerwix in #153
  • [Feature] Save server by interval time by @beats-dh in #13
  • HotFix: Items (Magic Wall & Wild Growth) decaying to 0 by @Aerwix in #155
  • Fix frag time by @beats-dh in #15
  • Fix recompile.sh build by @beats-dh in #18
  • Fix monster loot items stages display on bestiary by @ArturKnopik in #24
  • Remove definition of "ITEM_TYPE_MAGICFIELD" from items.xml "field" tag by @dudantas in #47
  • Fix stored regeneration condition not using updated vocation values by @beats-dh in #27
  • [Market] Add pointers to check if container and item is nullptr on "sendMarketEnter" by @dudantas in #132
  • Better handling on create summon talkaction and fix summon icon by @beats-dh in #135
  • Fix potential crash in Player::getClientIcons by @beats-dh in #136
  • Fix backpacks positions on login by @omeranha in #144
  • Fix monster retarget chance by @gerotib in #149
  • Fixed crash generated by access "player" without checking if is nullpointer by @dudantas in #156
  • Fix vcpkg/libmariadb package by @thatmichaelguy in #163
  • [Feature] Add imbuement system and somes fixes by @dudantas in #150
  • Decouple parses item attributes in it own file by @beats-dh in #140
  • Added name for no longer unknown inspection type by @Zbizu in #166
  • Fixed sale in the market to create offer by stash and adjust indentation to tab 4 by @dudantas in #165
  • Added "if" check to verify if tables are null on reload talkaction by @dudantas in #168
  • Cherry pick otbr commits by @dudantas in #170
  • Register news items and movements/weapons unscripted by @dudantas in #173
  • [Enhancement] Rework of the imbuement system and conversion to c++ by @dudantas in #164
  • [Enhancement] - Optimize decay by @beats-dh in #54
  • Fix market information by @victorrequia in #171
  • [Improvement] - rework on exercise weapons system by @beats-dh in #180
  • Fix double remove money on create market offer by @beats-dh in #181
  • Add webhook expansion by @beats-dh in #16
  • Check if player exist on useStamina function and fix drop loot script by @dudantas in #158
  • Create familiars lib by @beats-dh in #182
  • Removed requirement of initial city (dawnport) by @dudantas in #185
  • Decouple config manager in true singleton by @dudantas in #190
  • Support rates for regen, spell, speed and trainings by @gtkatakura in #32
  • Sincronizations with otservbr-global by @dudantas in #191
  • Add free quest system (for compatibility with otbr-global) by @dudantas in #193
  • Bug fix that allowed to clone items in the market by @dudantas in #195
  • [Compatibility] - Support for Canary with otbr-global, conversion from npcs to revscriptsys and rework on jiddo npc lib by @dudantas in #192
  • [Protocol Bytes] - Support to client 12.85.11525 by @marcosvf132 in #167
  • [Fix/Update] Items .xml and .otb update + Item tier registration fix by @marcosvf132 in #203
  • [Npc Shop Enhancement] - Allow an item of the same id to be added multiple times for the same npc by @dudantas in #207
  • Remove lua tests, the files no longer exist by @omeranha in #210
  • [ConfigManager] - fix typo from "freeQuests" to "toggleFreeQuest" by @dudantas in #211
  • [Enhancement] - Automatically unzip world.zip in world folder if otbm file doesn't exist on server start by @omeranha in #205
  • Exposed vocation->getBaseAttackSpeed by @Rechdan in #217
  • Fix call to configManager.getFloat in lua by @Rechdan in #213
  • Fix support rates regen by @dudantas in #218
  • [Fix] item tier bytes by @dudantas in #219
  • Set server version for 1.2.0 by @dudantas in #209

New Contributors

Full Changelog: https://github.com/opentibiabr/canary/commits/stable-1.2.0