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

Releases: opentibiabr/otservbr-global

OTServBR-Global Stable v1.0.0

07 Dec 05:31
20866ec
Compare
Choose a tag to compare

Support to client 12.72.11206 (author: @marcosvf132, commit: 20866ec) and otclient (pull in progress)

New features:

Client

[Enhancement] Rework of the imbuement system and conversion to c++ (author: @dudantas, co-author: @lgrossi, commit: d84b1c8)
NOTE: The pull request of optimization and enhancement of ItemAttributes is needed for this pull request: #337. If don't use this pull, the imbuement will crash!

Modified:

  • [Source] Small optimization when casting a healing spell (author: @gudan-garam, commit: 1d676d8)

  • [Source] Enhancement of ItemAttributes otimization, cherry-pick of saiyansking optimized forgottenserver (author: @dudantas, commit: 119be61)
    NOTE: This commit is necessary for the pull of imbuement rework and convert to c++: #339. If don't use this pull, the imbuement will crash!

  • [Source] Sync with SaiyansKing decay (author: @beats-dh, commit: 7cea3b6)
    Co-Authored-By: @SaiyansKing

  • [Cmake] Set default cmake build to "RelWithDebInfo" (author: @dudantas, commit: d0e3694)

Fixed problems:

  • [Source] Fix crash on Game::checkImbuements (author: @beats-dh, commit: 32df826)
  • [Source] Fix animation and msg of function addHealth (author: @beats-dh, commit: b491b33)
  • [Source] Fix the healing of paralyse condition (author: @gudan-garam: commit: 09b0c5f)
  • [Lua] Fix Item charges from boss reward (author: @marcosvf132, commit: 3131aec)
  • [Lua] Fix first dragon quest treasure chest (author: @dudantas, commit: 55287cd)
  • [Lua] Fix container reward key (author: @maganiczny, commit: b168c46)
  • [Cmake/vcpkg] Fix vcpkg/libmariadb package (author: @thatmichaelguy, commit: c083548)
  • [Docker Enhancement] Otimize vcpkg clone and disk usage (author: @gpedro, commit: 1c2d039)

OTServBR-Global Beta v0.9

12 Oct 21:08
Compare
Choose a tag to compare

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)

OTServBR-Global Beta v0.8

02 Oct 14:01
Compare
Choose a tag to compare

Protocol version only support 12.64 and otclient v1.0.7 (f2aad83)

Added:

New functions:

Cpp

  • Player::setTraining(true or false) (9eb0270)
  • Player::stashContainer(itemDict) (790a958)
  • Player::removeItemClientId(clientId, count) (790a958)
  • Player::isExerciseTraining() (5695e9d)
  • Player::setExerciseTraining(true or false) (5695e9d)
  • Tools::getStashSize(itemList) (790a958)

LuaScriptInterface

  • LuaScriptInterface::luaPlayerSetTraining() - player:setTraining(true or false) (9eb0270)
  • LuaScriptInterface::luaPlayerGetStashItemCount() - player:getStashItemCount(itemId) (790a958)
  • LuaScriptInterface::luaPlayerRemoveStashItem() - player:removeStashItem(itemId, count) (790a958)
  • LuaScriptInterface::luaMonsterSetType() - monster:setType(name or raceid) (e743f8f)

New features:

Client 12

  • Features: Tutorial support (tutorial before first log in) (6ad9daa)
  • Feature: team finder assemble (f56ba92)

Server

  • The rookie guard quest (a29809a, 23c84b5)
  • Equip/deequip event by actionid (327b223)
  • Items, equipment and exercise weapons 12.6 (9eb0270)
  • Added soul war monsters (075473c)
  • Added webhook notifications for server start, shutdown, server save and raids (92a8403)
  • Rooted condition (6fbcef4, 4acf56a)
  • Monster transformation into MonsterType (e743f8f)

Modified:

Source

  • Enhancement: improvements in loot-analyser and monster corpse (fe15ac4)

Source/Lua

  • Enhancement: rework on the client messages (9e037e5)

Lua

  • Added missing doors in svargrond houses (46a71ed)
  • Added cid parameter to NpcHandler farewellCallback like greetCallback does have (12d9fee)
  • Added exercise wands to NPC's (0d5b359)
  • Improved KeywordHandler actionCallback (1e15335)
  • Mechanic of flask with snake poison on monsters spawn (21cb307)

Fixed problems:

Source

  • Fix bestiary 100% CPU and search method (84c7ebc)
  • Fix imbuement window crash, added check if pointer "item" is nullptr (8a84daf)
  • Fix #239: bath tub dissapears after server save (4f87ff2)
  • Fix npcs walking over objects (chests, tables, chairs, etc) (5079afb)
  • Prevent gold pouch be set as loot container, except for coins (33cef8a)
  • Fix #250: loot analyser (bff5f4f)
  • Fix an issue on reload spells (3053b37)

Source/Lua

  • Enhancement: supply stash update and fixes (790a958)
  • Fix console spam [change period day/night] (3f195af)
  • Fix bath tub (cf08601)

Lua

  • Fix loadLuaMapBook function (21e82d8)
  • Fix MonsterType item loot charges (703a5fd)
  • Fix roshamuul monsters waves (dc515df)
  • Fix spellbook crash (c868d89)
  • Fix #238: logout when player is training exercise items (5695e9d)
  • Fix shortcut storage (6a0bcb0)
  • Fix stepin ladder (bfe7a3a)
  • Fix non-unique loot item "wolf tooth chain" in monster loot (638f514)

Lua/XML

  • Fix: Lootable human corpses and wrong monster corpses (0e360b9)

Others:

Removed:

  • Remove lua version from the distro. There is already a check on the source, at otserv.cpp (9c391c7)
  • Removes lua and ubuntu 16.04 build (235c060)

Fixed issues:

#238 (5695e9d), #239 (4f87ff2), #240 (710e875), #241 (9366649), #242 (0c30f12), #243 (2f5ca11), #244/#246 (5e42fdb), #245 (cf86156), #248/#249 (49d61fa), #250 (bff5f4f), #251 (cdb4481)

OTServBR-Global Beta v0.7

02 Oct 12:28
Compare
Choose a tag to compare

Protocol version only support 12.61 and otclient v1.0.7 (0aae4d1)

Added:

New functions:

Cpp

  • Player::setDailyReward(reward) (ea05a90)
  • Map::getPathMatching(start, dirList, pathCondition, fpp) (ed01cb2)
  • Monster::changeTargetDistance(int32_t distance) (ed01cb2)
  • ProtocolGame::sendCreatureIcon(creature) (ed01cb2)

LuaScriptInterface

  • LuaScriptInterface::luaPlayerSendLootStats() - player:sendLootStats(item) (30d52a6)
  • LuaScriptInterface::luaPlayerResetCharmsMonsters() - player:resetCharmsBestiary() (2f59aff)
  • LuaScriptInterface::luaPlayerUnlockAllCharmRunes() - player:unlockAllCharmRunes() (2f59aff)
  • LuaScriptInterface::luaNpcGetCurrency() - npc:getCurrency() (00c33cb)
  • LuaScriptInterface::luaPlayerSetDailyReward() - player:setDailyReward(value) (ea05a90)
  • LuaScriptInterface::luaPositionGetPathTo() - position:getPathTo(pos, minTargetDist, maxTargetDist, fullPathSearch, clearSight, maxSearchDist) (ed01cb2)
  • LuaScriptInterface::luaMonsterChangeTargetDistance() - monster:changeTargetDistance(distance)) (ed01cb2)
  • LuaScriptInterface::luaPlayerSetMagicLevel() - player:setMagicLevel(level, manaSpent) (42852d7)
  • LuaScriptInterface::luaPlayerSetSkillLevel() - player:setSkillLevel(skillType, level, tries) (42852d7)

Lua:

  • doSetCreatureLight(cid, lightLevel, lightColor, time) (27c2066))

New features:

Server

  • Skull of ratha quest (faa3909)

  • The annihilator quest (d512047)

  • The paradox tower quest (2088705)

  • Added tag "unique = true" to all monsters with unique loot (bae6f3a)

  • Talkaction "/addoutfit" (913b6f2)

  • Fix #232: added golden anchor script (b97bb73)

  • Fix #235: added bag you desire script (afb75ee)

  • Npc click greet (talk button) (29c8120)

  • Changeable npc currency (00c33cb)

  • Daily reward support for login.php (ea05a90)

  • After the major update, move players to their temples (92eeabd)

  • Free Quests system (460b998)

  • Added boosted creature for gesior (d772530)

  • Vocation Adjustments 12.60 (ed01cb2)

  • Kick players while they are attacking or attacked by monsters (when afk) (4fb3eaf)

  • Round down required mana (36fd559)

  • Added exotic spider cave (8bc811d)

  • Added ammo type enums in luascript (736e194)

  • Enchancement: Diff 'int' from 'string' on loot declaration (eb41d36)

  • Moved declaration clientVersion from definitions.h to configmanager.cpp and added support for clientVersion in config.lua (35a6f8d)

Modified:

Source

  • Enhancement on LuaScriptInterface::luaCreatureAddHealth function (a3517ea)
  • Prevent infinity loop teleports (df3d44a)
  • Event scheduler 'scripts' improvement (9ffd8ed)

Source/Lua

  • Moved custom map setting to config.lua (448d31f)
  • Dawnport vocations extinction and other dawnport fixes (42852d7)

Lua

Fixed problems:

Source

  • Fix in function "Game::combatBlockHit" reflection crash (240fdad)
  • Show warns about duplicated items on items.xml (b68313c)
  • Fix disabled browsefield bypass (9c6c26d)
  • Fix stow from stash crashing client (f4f374a)
  • Fix reflection crash, input analyzer (94a664b)
  • Fix #237: sending letters, resolves #2248 (d614bba, 3a2cbcc)
  • Accurate magic level and skill level percentajes (fa84758)
  • Fix offline training window (193fe3d)

Source/Lua

Lua

  • Fix hireling speech bubble (f46eb1a)
  • Fix walk field flags (5dd98a2)
  • Fix bug with reward chests (03bbe83)
  • Fix monsters targetDistance from 0 to 1 (7896f9d)
  • Fix #223 and rework the feyrist access script (e817440, c7907c5)
  • Correction of all items in each surprise bag (358ef93)
  • Better revscriptsys loot handling (36d6fe0)
  • Fix stamina time and regeneration (a5284a4)
  • Add missing guilds balance column (9f5a490)
  • Fix #230: highscores query (cbfee66)
  • Fix function loadLuaMapSign setAttribute from description to text (e3553ff)
  • Fix lua52 compat, added function doSetCreatureLight (27c2066)
  • Fix reward status on character list (522a181)
  • Mini world change fury gates fix, rework and more (5f6cd2b)
  • Fix Level in quiver and jungle quiver (a83898d)
  • Fix order of the item spectral bolt on unscripted weapons and equipments (0b6d6e9)
  • Spellbooks fix (5757363)
  • Dawnport poison fluids fix (6cd510b)
  • Improve "RSA::loadPEM" added message "missing key.pem" (3f579bc)

XML

  • Fixed bonebeast name in raid event (18f9ff1)

Database

  • Fixed manaspent to bigint (a7bf77a)
  • Added starting magic level and skills to 'Rook Sample' player to match official and updated god values (28457bc)
  • Synchronized schema changes with migration changes (af140a9)
  • Update db_version to 16 (7a8eb20)

Others:

Removed:

  • Removed unused thread variable (7e3614c)

Fixed issues:

#217 (697845d), #218 (30d52a6), #219 (0457c75), #220/221 (bae6f3a), #222 (7896f9d), #223 (e817440), #224 (8e7ce49), #225 (1fe5e24), #226 (b2d93a8), #227 (92c53a0), #228 (f88b92e), #229 (2f59aff), #230 (cbfee66), #231 (9754d14), #232 (b97bb73), #233 (8317384), #236 (4272e2e)

OTServBR-Global Beta v0.6

01 Oct 19:22
Compare
Choose a tag to compare

Protocol version only support 12.60 and otclient v1.0.7 (07c457e)

Added:

New functions:

Cpp:

Game cyclopedia character feature functions (author: dex-89, co-author: @SaiyansKing, commit: f8ac5a4)

  • ProtocolGame::parseCyclopediaCharacterInfo
  • ProtocolGame::parseTournamentLeaderboard
  • ProtocolGame::sendCyclopediaCharacterBaseInformation
  • ProtocolGame::sendCyclopediaCharacterGeneralStats
  • ProtocolGame::sendCyclopediaCharacterCombatStats
  • ProtocolGame::sendCyclopediaCharacterRecentDeaths
  • ProtocolGame::sendCyclopediaCharacterRecentPvPKills
  • ProtocolGame::sendCyclopediaCharacterAchievements
  • ProtocolGame::sendCyclopediaCharacterItemSummary
  • ProtocolGame::sendCyclopediaCharacterOutfitsMounts
  • ProtocolGame::sendCyclopediaCharacterStoreSummary
  • ProtocolGame::sendCyclopediaCharacterInspection
  • ProtocolGame::sendCyclopediaCharacterBadges
  • ProtocolGame::sendCyclopediaCharacterTitles
  • ProtocolGame::sendCyclopediaCharacterNoData (auhor: @dex89, co-author: @SaiyansKing, commit: f16c2c3)
  • ProtocolGame::sendTournamentLeaderboard
  • Item::getDescriptions(itemType, item)
  • Game::playerCyclopediaCharacterInfo(playerId, characterInfoType)
  • Game::playerTournamentLeaderboard(playerId, leaderboardType)

Item inspection feature functions (author: dex-89, co-author: @SaiyansKing, commit: 03c3a69)

  • Game::playerInspectItem(player, pos)
  • Game::playerInspectItem(player, itemId, itemCount, cyclopedia)
  • ProtocolGame::parseInspectionObject()
  • ProtocolGame::sendItemInspection(itemId, itemCount, item, cyclopedia)
  • INSPECT_NORMALOBJECT
  • INSPECT_NPCTRADE
  • INSPECT_UNKNOWN
  • INSPECT_CYCLOPEDIA

Highscore feature functions (author: @dex-89, co-author: @SaiyansKing, commit: f10d040)

  • DBResult::countResults()
  • Game::playerHighscores(player, type, category, vocation, string, page, entriesPerPage)
  • ProtocolGame::parseHighscores()
  • ProtocolGame::sendHighscoresNoData()
  • ProtocolGame::sendHighscores(characters, categoryId, vocationId, page, pages)
  • Vocation::getVocations()

Lua Interface (author: @dudantas, commit: 29f05ef)

  • LuaScriptInterface::luaLootSetMinCount - loot:setMinCount(count)

  • LuaScriptInterface::luaLootSetText - loot:setText(text)

  • LuaScriptInterface::luaLootSetNameItem - loot:setNameItem(name)

  • LuaScriptInterface::luaLootSetArticle - loot:setArticle(text)

  • LuaScriptInterface::luaLootSetAttack - loot:setAttack(attack)

  • LuaScriptInterface::luaLootSetDefense - loot:setDefense(defense)

  • LuaScriptInterface::luaLootSetExtraDefense - loot:setExtraDefense(defense)

  • LuaScriptInterface::luaLootSetArmor - loot:setArmor(armor)

  • LuaScriptInterface::luaLootSetShootRange - loot:setShootRange(range)

  • LuaScriptInterface::luaLootSetHitChance - loot:setHitChance(chance)

  • LuaScriptInterface::luaLootSetUnique - loot:setUnique(true or false)

  • LuaScriptInterface::luaItemTypeIsKey() - itemType:isKey() (author: @dudantas, commit: 9956161)

  • LuaScriptInterface::luaGuildGetBankBalance()) - guild:getBankBalance() (authors: @hyresu and @dex-89, commit: b9cfb64)

  • LuaScriptInterface::luaGuildSetBankBalance()) - guild:setBankBalance() (@hyresu and @dex-89, commit: b9cfb64)

Others

  • HouseTile::queryRemove(thing, count, flags, creature) (author: @dex-89, co-author: @nekiro, commit: 2665978)

Lua:

  • From: getDistanceBetween(pos1, pos2) to: Position:getDistanceBetween(position) (author: @heberpcl, commit: 0b9d7ed)

Revscriptsys:

MonsterType Loot methods

  • minCount
  • name
  • article
  • attack
  • defense
  • extraDefense or extraDef
  • armor
  • shootRange
  • unique

New features:

Client 12x:

Server:

Modified:

Source:

  • Rewrite spell constructor to avoid conflicts & properly return runes (author: @EvilHero90, commit: fff2848)
  • Remove hardcode item bag id (author: @heberpcl, commit: 35dad68)
  • Added the ">>" to the log distro (author: @dudantas, commit: 0654d68)

Source/Lua:

  • Many words in talkactions (author: @heberpcl, commit: fab7f94)

Lua:

  • Change old beholder name on costume bag (author: @cys9211, commit: 3696357)
  • Add roasted meat script (author: @heberpcl, commit: ea35e60)
  • Add feyrist monsters for use respawnperiod (author: @dex-89, commit: 919a219)
  • getDistanceBetween(pos1, pos2) to Position:getDistanceBetween(position) (author: @heberpcl, commit: 6eaf16e)
  • Refactoring player:sendChannelMessage and doPlayerTakeItem (author: @LukSrT and @heberpcl, commit: 852a42c)
  • Training enter and more slots (author: @heberpcl and @dudantas, commit: 42db13c, da8b084)
  • Refactored and reorganized quest system (author: @dudantas, commit: 0c63f47)
  • Patch to list Free Account cities (author: @dex-89, commit: 0fc9598)

Fixed problems:

Source:

  • Fixes revscripts weapon EXC_BAD_ACCESS (author: @debone, commit: 5356140)
  • Fix client code for macOS client (author: @debone, commit: a171e11)
  • Fix summon memory leak (author: @SaiyansKing, commit: 98f7747)
  • Fix stackables not being able to be added to full containers (author: @debone, commit: 8d70319)
  • Fix 'move up' stackable item (author: @marcosvf132 and @debone, commit: 602db0e)
  • Fix int_fast16_u overflow (author: @debone, commit: dc12e70)
  • Fix level 200 summon doesn't follow up and down stairs (author: @heberpcl, commit: 0d4ec0d)
  • Fix query from boosted creature executing several times (author: @heberpcl, commit: 8975d75)
  • Fix items count limitation (author: @debone, commit: da82fbd)
  • Prevent skill try calculation from underflowing (author: @heberpcl, commit: f864cda)
  • Release unused outfit taken memory (author: @SaiyansKing, commit: 2d1b94a)
  • Fix LuaScriptInterface::luaMoveEventSlot and remove functions getSlotName/setSlotName (author: @marksamman, commit: 353a97b)
  • Fix count lightHourDelta (author: @dex-89, commit: 9de5cf2)
  • Fix Monsters stepdancing and place creature in field (author: @dex-89, commit: 6aee138)
  • Fix helmet lootTypeName (author: @virlucid, commit: c9c618d)
  • Fix summons always spawning (author: @hyresu, commit: b32b7ff)

Source/Lua:

Lua:

  • Fix exercise weapons formula (author: @morenao97, commit: 5e919ec)
  • Fix monsterType register script for scripted spells (author: @debone, commit: 98f36ca)
  • Fix creatureevent name (author: @heberpcl, commit: db39dd0)
  • Fix monsterType loot item charges (author: @marcosvf132, commit: e5acdc5)
  • Fix custom spells of monsters (author: @marcosvf132, commit: 4a3b014)
  • Fix dawnport sorcerer chest tile value (author: @TheAncientDragon, commit: 0950515)
  • Weekdays name change (author: @TheAncientDragon, commit: 01c9731)
  • Fix unescaped boosted creature name (author: @fernandomatos, commit: e3cbd72)
  • Fix being able to push someone training (author: @hyresu, commit: 59d23c7)
  • #216 Fix missing shoot type effect for scripted ammunitions (author: @ElTeixe, commit: b29bcef)

Others:

Removed:

  • Remove XML scripts interface (9c9c8dc)

Fixed issues:

#187 (2eccdc5), #188 (bf97a9b), #189 (...

Read more

OTServBR-Global Beta v0.5

29 Sep 14:11
Compare
Choose a tag to compare

Protocol version only support 12.51 (and otclient)

Added:

New CPP functions

Game functions

Protocolgame functions

ProtocolGame::parseHotkeyEquip (d44bfa5)
ProtocolGame::sendRestingStatus (c15a59a)

IOStash functions (b2d6bd3)

  • IOStash::getStoredItems
  • IOStash::getStashItemCount
  • IOStash::getStashSize
  • IOStash::stashContainer
  • IOStash::withdrawItem

Daily Reward Enums (c15a59a)

  • DAILY_REWARD_HP_REGENERATION
  • DAILY_REWARD_MP_REGENERATION
  • DAILY_REWARD_STAMINA_REGENERATION
  • DAILY_REWARD_DOUBLE_HP_REGENERATION
  • DAILY_REWARD_DOUBLE_MP_REGENERATION
  • DAILY_REWARD_SOUL_REGENERATION
  • DAILY_REWARD_FIRST
  • DAILY_REWARD_LAST

Creature functions

  • Creature::hasBeenSummoned()

Cpp Lua Interface functions

MonsterType functions (49b25ca)

  • LuaScriptInterface::luamtypeCanWalkOnEnergy() - get: mtype:canWalkOnEnergy() set: mtype:canWalkOnEnergy(bool)
  • LuaScriptInterface::luamtypeCanWalkOnFire() - get: mtype:canWalkOnFire() set: mtype:canWalkOnFire(bool)
  • LuaScriptInterface::luamtypeCanWalkOnPoison() - get: mtype:canWalkOnPoison() set: mtype:canWalkOnPoison(bool)
  • LuaScriptInterface::luaCreatureHasBeenSummoned() - creature:hasBeenSummoned() (4c941cb)

Lua functions

  • Player.refreshBestiaryTracker(player) or player:refreshBestiaryTracker() (9541e03)
  • Player.addBestiaryTracker(player, raceid) or player:addBestiaryTracker(raceid) (9541e03)

Revscriptsys functions

- New MonsterType flags (49b25ca):

  • mtype.name = "name"
  • mtype.flags {
    canWalkOnEnergy = false,
    canWalkOnFire = false,
    canWalkOnPoison = false
    }

New features:

Client 12x:

Server:

Modified:

Source:

  • Added teleport by CTRL+Shift+click on minimap or on cyclopedia map (9e8fe7f)
  • Distance damage balance (46b1534)

Lua:

Others:

Support for build on Ubuntu 16.04 (985e579)

Fixed problems:

Source:

  • Fix Load Player by Name (8da51f8)
  • Change to correct type additem and removeitem on "LuaScriptInterface::luaMoveEventType" (676c763)
  • Clear weapons revscriptsys by reload weapons (00b9bd9)
  • Fix market trade on protocol 12.51 (c82ea60)

Source/Lua:

  • Magic gold converter + gold pouch (0c1db51)
  • Fix miscount of bestiary count when summon dies with master (4c941cb) (#184)
  • Fix reload spells (remove /reload monsters) (12a30e6)

Lua:

  • Adjust bestiary kills count (255d5e2)
  • Fix identation from blessings.lua (ee095bf)
  • Fix storage for golden outfit memorial (9232cb4)
  • Fix quests.lua "missionId" sequence (649e714)
  • Added nostalgia looktype on costume bag (f1e74f0)
  • Fix 'getCorpseOwner' (a nil value) (a3aca85)
  • Fix startup/tables/teleport.lua indent (5d7a0c2)
  • Fix bug in the quest log updated message (d28f853)
  • Added check pointer (3142868)
  • Fix moveTo parcel store inbox (b17de2d)
  • Fix bug in the alana sio - the owner of the house could remove the player even though he was out of the house (bb6bc56)

Lua/XML:

  • Mount fix + new achievements (545a23c)
  • Cobra flask caldron (6914c78)
  • Fix ring of souls movement (72496b4)

XML

  • Fix Gaz'haragoth creaturescript eventName (cd895cd)

Database:

  • Fix rook sample sex and add god email (2950aab)

Others:

Removed:

  • Remove tag "moveable" of the exercise weapons (3b2d6b1)
  • Remove npcs from the map (5eba2a2)
  • Lua Function "Player.disableDailyRewardBonuses(self)"

Fixed issues:

#141, #142, #143, #144, #145, #146, #147, #148, #149, #150, #151, #152 (337e4f6), #153 (652d8e8), #154 (4304d47)
#155, #156, #157, #158, #159 (78d1976)
#161 (293ec5c), #162 and #163 (9d67f1c), #164 (f0fb59e), #165 (b7434ce), #166 (757ffad), #167 (872de44), #168 (ff2a4ac), #169 (38a7f69), #170 (943791c), #171 (96b73ef), #172 (cc2fc9e), #173 (3c62a1f), #174 (d5cc98f), #175 and #176 (d44bfa5), #177 (aec15e3), #178 (b3d63cd), #179 (cf847ac), #180 (d832906), #181 (a43a69b), #182 (c15a59a), #183 (72496b4), #184 (4c941cb), #185 (80c4bd1), #186 (4b57519)

OTServBR-Global Beta v0.4

29 Sep 11:27
Compare
Choose a tag to compare

Protocol version only support 12.40 (and otclient)

Added:

Cpp Lua Interface:

Mounts functions (ccae882):

  • LuaScriptInterface::luaMountGetName() - mount:getName()
  • LuaScriptInterface::luaMountGetId() - mount:getId()
  • LuaScriptInterface::luaMountGetClientId() - mount:getClientId()
  • LuaScriptInterface::luaMountGetSpeed() - mount:getSpeed()

Lua:

  • Position:hasCreature(position, teleportTo) (5a2dd1e)

New features:

Client:

Server:

Modified:

Source:

  • Improvements on groups (cpp/xml) (1cdc168)

Fixed problems:

Source:

  • Fix rate spawn (90feba5)
  • Fix monster death (202c19e)
  • Add nullptr pointer for the "ProtocolGame::sendImbuementWindow" and fix typo in parseApplyImbuement (d91be91)
  • Fix debug client on trade alot of items (a871fbe)

Lua:

  • Add lava damage (7e5eb63)
  • Add missing gold word (10746b9)
  • Levitate case insensitive (685369b)
  • Earth shrine feyrist destination (070a9fa)
  • Fix functions position and new Position function (5a2dd1e)
  • Fix reward_common script (4950c56)

XML

  • Fix level and break chances of some weapons (be8a01e)

Others:

XML:

Removed:

Fixed issues:

#126, #127, #128, #129, #130, #131, #132, #133, #134, #135, #136, #137, #138, #139, #140

OTServBR-Global Beta v0.3

29 Sep 10:41
Compare
Choose a tag to compare

Protocol version only support 12.20 (and otclient)

Added:

New functions:

Cpp:

  • Tile::getDoorItem()

Lua interface:

  • LuaScriptInterface::luaLootSetMinCount() - loot:setMinCount(min) (9670906)

New features:

Client:

Server:

  • Print duplicated storages (07cf8d0)
  • Support for countMin in loot (9670906)
  • Deeper fibula quest (ed2b16e)
  • Ornamented shield quest (76587cf)
  • Added imbuement for backpacks (34ab14a)

Modified:

Source:

  • DB account refactor migration and remove windows warning (f694f3f)
  • Improvement - Npc:onRemoveCreature() callback (7a0052e)
  • Add lua include check (470df71)
  • Close connection from exceeding packet per second (6265e0a)

Lua:

  • Access cobra bastion and feyrist shrines entrance (cc04380)
  • Reorganized monsters folder according tibia bestiary (0383bfb)

Fixed problems:

Source:

  • #104 imbue equiped items by hotkey (6db26f2)
  • Fix memory leak, fix build on Ubuntu 20.04 and Debian 10 (eca0558)

Lua:

  • Fix problemm with Grimvale startup spawn (ec2328f)
  • Fix bug on the key door script (49fc969)
  • Fixes in dawnport and action creation at server startup (fb7fcea)
  • Fix position and effect from the "killing in the name of" boss teleport (78418bf)
  • Fix svargrond arena positions and uniques (9a2f062)
  • Fix mazarius wrong floor (cfaf85c)
  • Add pointer to prevent crash Game:addGuild function (8ef3bb1)
  • Fix unsafe argument for addEvent on mazoran spell (b0e0ee2)

Lua/XML:

  • Fix aleta grav on closed door (b94a78b)
  • Fix unique ids conflicts (f3bf4aa)

XML

  • Fix event name in creaturescripts.xml (a6ea8d6)

Database:

  • Adjust migration from older db (b112e28)

Others:

  • Fixed groups access tutor bug (fe87d3f)

Others:

Fixed issues:

#104, #105, #106, #107, #108, #109, #110, #111, #112, #113, #114, #115, #116, #117, #118, #119, #120, #121, #122, #123, #124, #125

OTServBR-Global Beta v0.2

29 Sep 08:23
Compare
Choose a tag to compare

Protocol version only support 12.00 (and otclient)

OTClient link

Added:

New functions:

Cpp:

  • Spells::getSpellsByVocation(vocationId) (cf0b3c9)
  • ConfigManager::getShortNumber (97b4de9)

Lua interface

  • LuaScriptInterface::luaGameGetMonsterTypes = Game.getMonsterTypes() (ad3fe2e)

  • LuaScriptInterface::luaMonsterTypeAddLoot = mType:addLoot(loot) (ad3fe2e)

  • LuaScriptInterface::luaMonsterTypeRegisterEvent = monsterType:registerEvent(name) (ad3fe2e)

  • LuaScriptInterface::pushLoot(list) (71fea88)

  • LuaScriptInterface::luaGroupHasFlag = group:hasFlag() (ad3fe2e)

  • LuaScriptInterface::luaPlayerGetMana = player:getMana() (ad3fe2e)

  • LuaScriptInterface::luaPlayerAddMana = player:addMana(count) (ad3fe2e)

  • LuaScriptInterface::luaPlayerGetMaxMana = player:getMaxMana() (ad3fe2e)

  • LuaScriptInterface::luaPlayerGetDepotLocker = player:getDepotLocker (ebe0dd7)

  • LuaScriptInterface::luaCreatureHasCondition = creature:hasCondition(condition, subid) (ad3fe2e)

  • Definition enum "ITEM_SHOPPING_BAG"

  • NETWORKMESSAGE_PLAYERNAME_MAXLENGTH (e9f00a6)

Lua:

  • Position:moveDownstairs() (1841549)
  • Player.isPromoted(player) or player:isPromoted() (4169e69)
  • Player.hasFlag(player, flag) or player:hasFlag(flag) (8b87011)

Revscriptsys:

  • moveevent:position(positions) (87c7f78)

New features:

Client:

  • Implement prey select monster using prey wildcards (1b23ee9)
  • Implement analyzers (loot, drop, kill, supply, impact) (4f7aa80)
  • Implement colorful loot (92fc45e)
  • Implement item colors (27c042f)
  • Implement quicklooting (9e2453d)
  • Implement bestiary (and fixes) (37f01d9, 4271402, 93cb088, 6376b8b)
  • Implement bestiary monsters locations (879ceb1)
  • Implement byte for 12x on ProtocoGame::sendAddMarker (6d4432e)
  • New imbuement items (6df4316)
  • Summer update 2019 base stuff (2533a70)

Server:

Modified:

Source:

Source/Lua:

Lua:

  • Conversion of talkactions to revscriptsys (649ec41, 7f19761)
  • Migrate creatureevents to own file (9a92dea)
  • compat.lua: change from "player:removeMoney" to "player:removeMoneyNpc" (992c2e2)
  • Improved the handling of adding experience with "/addskill" talkaction (f1dafcd)
  • Talkaction "/reload" print when use command (315d6fe)
  • Create towns enum (2545603)
  • Show clientId in look (9965cd2)

XML:

  • Remove otservbr-house.xml and otservbr-spawm.xml from world.rar (6f4ac7a)

Others:

  • Improve build system removing tfs-sdk and adding vspkg/apt dependencies (d075537)

Fixed problems:

Source:

  • Debug on store 12x (b114628)
  • Typo on function "monsterType:isSummonable()" (3518256)
  • Rollbacking monsters speeds (2d2d0bf)
  • "ProtocolGame::updateCoinBalance" function (90658b4)
  • Unique drop lootblock (ae0da24)
  • Corrections in decay (b0270b8)
  • Apply patch that fixes the reload problem on Linux (1f7576c)
  • Optimizations/bugfix on Spell (a3fe753, 5173d49)
  • Add nullptr pointer to "Game::combatChangeHealth" function (352502c)
  • Problem that hasCondition returned false if use -1 in ticks for a condition (to make it infinite) Creature::hasCondition function (bbbe76e)
  • Workaroud for RSA server crash (72ac288)
  • Lost percent calculation on death (eba8a4d)
  • Improves the RSA fix to log more information (caed4c6)
  • Update build and add several tools and improvements (4896943)
  • Fix client magic level display while decreased with ConditionAttributes (3ab6f3e)
  • Fix look in closed houses doors (5ec75a2)
  • Removing twist of fate only if there were last hit by a player and setDropLoot to false when we have all basic blessings (fb97133)
  • Increase Dispatcher throughput by no longer clearing spectator cache after every call (5796434)
  • Set default channel type in "LuaScriptInterface:luaCreatureSay()" to avoid client crash (6674fbf)
  • Adjust pet through walls (0dd59d8) issue: #51
  • Adjust when going up or down stairs summons disappear and makes pets appear next to the player when you walk away for more than 30 sqm (f6c5a71)
  • Adjust for status bar showing correct amount of items (28025d8)
  • #60 Limited in the size supported in uint_16 of items on the market and inbox (410b8ad)
  • Save open backpacks on logout (e004545)
  • Fix twist of fate bless and unfair fight (226e5e2)
  • Adjustment on wrap system (600bd2e)
  • Function "Game::playerChangeOutfit" match createCondition subid to hasCondition subid, having different exhaust for different actions working (6bddb3e)
  • Issavi Depot Box (c8dcf4a)
  • Remove regular expressions since they don't make much sense in houses (3f4c34d)
  • Adjust login/logout effects for gamemasters (dc69309)
  • Improvement - Monster distance target choice (1d97a10)
  • #100 Blocking corpses to be deleted upon push (ea1d34d)
  • Fix for not saving on shutdown and warnings (fde29ef)
  • Temporary solution for store kicks (534f03b)

Source/Lua:

  • Adjust frag time (4eb1d72)
  • Adjust container item weight (75b8641)
  • Fix summon icons, market imbued items and boat to issavi (177e076)
  • Fix getMinMaxValues attackSkill with distance weapons (b0581f2)

Lua:

  • Function "Player.removeMoneyNpc" and bless id set for 6 (cd1ac26):
  • checkWallArito function (db847d6)
  • Adjust on loot of Angry Demon and The Sandking (e78aa54)
  • Reward system for creature added from map (c9cf93a)
  • Bunch of fixes (4945791)
  • Adjustments on exercise weapons training (305be21, fbe682b, 0c3b523
    , a5c78ed, 04c05f8)
  • Changed egg id to comestible (fb5ecf6)
  • Fixed Player:onGainExperience function (0a67743, 6ce669d, 35fa40a, 2aed777)
  • Removed errors from console and improve addEvent for prevent possible crashes (57d21bb)
  • Adjust case sensitive (9979134, 860a6c1, 137ec37)
  • Fix randomseed (be44f52, ac39629)
  • Ladder 12.20 added and fix for tenebris spells and lever (107bb5f)
  • Npc not removing money (abeffce)
  • Fix party loot on loot channel (73f5c21)
  • Update daily reward items (178d29e)
  • Adjust player capacity verify before buy store item (11d2a00)
  • Adjusto Pz locked player being disconnected upon exit on the client (51af3e8)
  • Prevent stack carpets on tile (a8c9fbd)
  • Adjust pet death register method and add missing space between in look (59877af)
  • Solved coin cloning (d44c6e0)
  • Adjust destroy (c46ffd2)
  • Fix sub type problems on npclib (dd2507a)

Lua/XML:

  • Some fixes related to falcons (4011d8c)
  • Purifiedsoul and Snowy/Boreal Owl mount name (ae4b147)
  • Added food, couple monsters, changed 2 items and fixed Frosty npc (aac211a)
  • Added vial names (5158e51)
  • Dawnport revision and fixes (bedb72c)

XML

Source/Lua/XML:

  • Fix compiling warning and remove old creatureevents (609414b)

Database:

  • Item that turns into statues (cb17027),
  • Table in schema.sql field without default value (a497f1d)
  • Id auto increment for "store_history" (2ca220b, 1c424bf)
  • Missing comma on 'players' table (f4609ae)
  • Add default value to guilds 'residence' table (faff374)
  • Add default value to guilds 'description' table and set from 'text' to 'VARCHAR' (1ea383c, 023d737)
  • Cleanup unused columns (0d37644)

Others:

Read more

OTServBR-Global Beta v0.1

26 Sep 14:56
Compare
Choose a tag to compare

Protocol version: 12.00, outdated 11 and otclient v0.7.0 (author: gpedro, co-author: @slavidodo, commit: 9aa5edb)

Added:

New features:

Client:

Server

Others

Modified:

Removed:

Fixed issues:

#4, #5, #6, #7, #8, #9, #10, #11, #12, #13, #14, #15, #16, #17, #18, #19, #20, #21, #22