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

OTServBR-Global Beta v0.9

Compare
Choose a tag to compare
@dudantas dudantas released this 12 Oct 21:08
· 264 commits to main since this release

Beta v0.9: protocol version only support 12.64 and otclient v1.0.7 (rework on decay system, commit: 3239f64)

Added:

New functions:

Cpp

  • Container::getStowableItems() (f772d06)
  • Item::isItemStorable() (f772d06)
  • Player::isStashExhausted() (f772d06)
  • Game::addPlayerMana(player) (0f8100f)
  • Game::addPlayerVocation(player) (0f8100f)
  • Party::showPlayerStatus(player, partyMember, showStatus) (0f8100f)
  • Party::updatePlayerStatus(player) (0f8100f)
  • Party::updatePlayerHealth(player, target, healthPercent) (0f8100f)
  • Party::updatePlayerMana(player, manaPercent) (0f8100f)
  • Party::updatePlayerVocation(player) (0f8100f)

Decay system (3239f64)

  • Game::stopDecay(item)
  • Container::stopDecaying()
  • DepotChest::isRemoved()
  • DepotLocker::isRemoved()
  • Inbox::isRemoved()
  • Decay::startDecay(item, duration)
  • Decay::stopDecay(item, timestamp)
  • Decay::checkDecay()
  • Item::stopDecaying()

LuaScriptInterface

  • LuaScriptInterface::webhookSpecialSend() - Webhook.specialSend(title, message, color, url) (6e2cb81)
  • LuaScriptInterface::luaSpellAllowOnSelf() - spell:allowOnSelf(true or false) (c7275bd)
  • LuaScriptInterface::luaSpellPzLocked() - spell:isPzLocked(true or false) (c7275bd)

New features:

Client 12

Server

  • Added some custom talkactions, /addons, /mounts, !aol, !online (c0662af)
  • Added spdlog to improve server messages (47f8734)
  • Added discord webhook notifications for Fury Gates, Nightmare Isle, Rashid and Yasir (36cae4a)
  • Added rascacoon monsters winter update (b776a32)
  • Added save interval time (7871f25)
  • Email and password authentication refactor and possibility to login with email on otclient (db41b78)
  • Order of the lion quest (9fc2ad9)
  • Webhook expansion (6e2cb81)
  • Added imbuement items seller npc (576e41e)
  • Gain stamina from training and pz (3cd7ba8)
  • Convert player spells, runes and monsters spells to revscriptsys (c7275bd)
  • Support to rates regen, spell cooldown and attack speeds (54086d1)
  • Sort loot of monsters to try most rare itens first (6b1aed6)
  • Rework on decay system (thanks to @SaiyansKing) (3239f64)

Modified:

Source

  • Modified function from: "Player::openStash()" to: "Player::openStash(true or false)" for accept "isNpc" bool
  • Update log format and update docker builld (2c91acf)
  • Better handling of the Game::checkCreatures function (5ccbf84)

Lua

  • Added missing hireling items (44b957d)
  • Added missing spellbooks (5bdfe1a)
  • Register crazed winter vanguard/reaguard and misguided corpse and fix lava luker corpse id (c3453e4)
  • Better handling on create summon talkaction and fix summon icon (aeff8bc)

Others

  • Refactor a bit docker structure to better use caching (72bbb94)
  • Improve docker cache (b933184)
  • Adjusts docker ports and point login server to mysql container (458f152)
  • Improvements and fixes (b8ac54c)
  • Makes the standard cmake build as "x64-Release" (325a61e)
  • Re-organizing SRC in folders (2395835):
    Apply initial folder distribution to SRC (to be gradually improved) in order to make files better organized;
    Also includes CMake updates to allow absolute path includes no matter the folder structure.
  • Fix recompile.sh (24aaa89)

Fixed problems:

Source

  • Fix compilation warning on items.cpp (bb6a146)
  • Fix loot analyser (122aa56)
  • Fix #256: added "Spdlog" method to migrations interface (7265def)
  • Fix #257: crash when logging into debug build (ecf264b)
  • Fix #258: empty tile crash (afd9b13)
  • Fix restart prey after kick from beds by owner in house (c363ce6)
  • Add self (monster) callback to "Monster::onThink" function (be7d7e2)
  • Fix item charge description in shop (86db1be)
  • Fix connection lost info after offline training logout (b775e75)
  • Fix supply stash exploit (8aaaa59)
  • Fix all random crashes generated by protocolgame.cpp (10b05d0)
  • Fix monster loot items stages display on bestiary (86ebf68)
  • Fix wrong handling of spectator crashes when using "talk" from npcs menu (59dcdff)
  • Fix remove imbuing from item (6d05965)
  • Fix a potential crash by checking if tile is not a null pointer in "Player::getClientIcons" function (e340095)
  • Fix: #274: added pointers to check if player or charm is nullptr on iobestiary.cpp (d729315)
  • Add pointer to check if "it" from function "Player::getItemTypeCount" is null (438fd6d)

Source/Lua

Lua

  • Fix: infinite rewards on boss reward system (689e6e6)
  • Prevents mages from invoking familiar with the spell "utevo res" (f5049e4)
  • Correction of the message that is displayed when using a item in the shrine (527d5da)
  • Fix #255: familiar blocking login (30f03ea)
  • Fix #259: remove soft boots level (a252c05)
  • Fix soft boots level (6d1e75a)
  • Fix sugar oat, fire bug, sickle (8427233)
  • Fix connection lost bug (c67a06b)
  • Fix blockTeleportTrashing (92f12e6)
  • Fix #262: bug exp stage (cef12f0)
  • Fix gain stamina in training (71268d0)
  • Fix #271: decaying items crash in bosses (93aa857)
  • Fix spells "group and groupCooldown" (269814f)
  • Fix cooldown sudden death rune (7991d8e)
  • Fix ravenous hunger name (23a088d)
  • Fix lever to death priest shargon and the ravager (b658c03)
  • Removed summon reload function and some customs functions in animated dead rune (c65d532)
  • Added correct behavior and improved function for gain stamina on trainer (682017d)

Lua/XML

  • Fix faceless bane access (f896a3c)

Source/Lua/XML

  • Fix #266 :added the vocation base id, instead of the "client id" (6282161)

Database

  • Add missing table of myaac to guilds (7fdd81f)

Others:

Removed:

  • Game::playerStowAllItems function (f772d06)
  • Game::playerStowContainer function (f772d06)
  • Game::checkDecay() (3239f64)

Fixed issues:

#253/#254 (f772d06), #255 (30f03ea), #256 (7265def), #257 (ecf264b), #258 (afd9b13), #259 (a252c05), #260 (834174e), #261 (10b05d0), #262 (cef12f0), #263/#264/#265 (7821b13), #266 (6282161), #267/#268/#269/#270 (c7275bd), #271 (93aa857), #272 (2c6f01a), #273 (dec7876), #274 (d729315), #275 (ce8ed9c), #276 (ce8ed9c), #303/#304/#305 (b8c7c36)