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

OTServBR-Global Beta v0.7

Compare
Choose a tag to compare
@dudantas dudantas released this 02 Oct 12:28
· 440 commits to main since this release

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)