• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[8.6] [The Forgotten Server] [0.4] UnderVersion 1.0.1

underewar

Well-Known Member
Joined
Feb 9, 2013
Messages
58
Reaction score
65
Location
Brazil
GitHub
Underewarrr
Content Warning!
Well, I'll make available the dlls, the executables and the source, from a base that I've been improving for 8 years. This bug free one!
Has run on servers with 500+ players online.
We were able to compile using code blocks or mvs (2022 or 2019 for example) only mvs 2017 its not suportable to compile this src.
Linux has the instructions, read them carefully and you will be successful in compiling.
All Revs
  1. * Optimize magicwall system - like cipbia 8.60
    * Lite fix in configmanager.cpp + added new configs "mysqlReconnectionAttempts" - "tradelimit" - "skipItemsVersionCheck"
    * Perfect autostack items + Fixed NPC System (ElfBot)
    * Fixed DeadCorpse Monster "Wallking in"
    * Added support compilation with boost 1.4+ "windows"
    * Fixed function client "ctrl + j"
    * Update Code::Blocks project now possible compilation under <-
    * Added support compilation with WarSystem
  2. Added Feature - Mailbox Block (more difficult clone items with parcel system)
    * Fixed Guild Management
    Added feature "sendChannelEvent" (autoOpen Channel Invitation to player)
  3. * Optimize code in tile.h (bad codes)
  4. * NewConfig "allowedMaxSizedPackets"
    * LiteFix on MailboxSystem
    * Optimize mutedSystem
    * Fixed /ghost stacking debug
    * Fixed showCount hotkey
    * Fixed (STAIRHOP_DELAY) on healing and attack
  5. * Fixed kickAccountManagerTime on create account
    * Patched binary-tilebased house storage to tfs04-0.4.3777
    House data storage system. Binary and binary-tilebased performs much faster map saving than relational (up to 60x faster).
    MAKE BACKUP "DATABASE" POSSIBLE DELETE HOUSE ITEMS
  6. * Update compiler flags to x64 + optimize (Windows)
    * Removed function (sendChannelEvent) no more crash in guildSystem
    * Added new condition (CONDITION_HOUSESAY) prevent lag and crash on house commands
    * Fixed muted system now work 100 properly
    * Fixed lite typo on mailBox system
    * Fixes on map.cpp on update tiles players
  7. * Fix weapon disappears - the element ends
    * Added WarSystem for SQLite Servers
    * Optimize AutoStackSystem
    * Fix showDurationItems (hour,min,sec)
    * Fixes and complete SQLTables (SQLite and MySQL)
    * Fixes typos en databaseManager
    * Deleted TheForgottenServer-debug.dev
    * Deleted -D__WAR_SYSTEM__ flag no require the system is default
    * DatabaBase Version 28

    • Fixed StaminaConfig
    • Fixed Field
    * Fixed bug "canWalkthrough" (implemented in rev 7)
    * Fixed attribute walkStack "glowing switch and other items walStack"
    * Added optional items.otb and items.xml in correct format (data/items/correct_format_items)
    * Added fieldAbsorb "fieldabsorbpercentenergy - fieldabsorbpercentfire - fieldabsorbpercentpoison" function in items (firewalker boots - fieldAbsorbPercentFire)
    <attribute key="fieldAbsorbPercentFire" value="90" />
    Change the valor is optional
    * Added new parameter compilation GROUND_CACHE
    Not recommended for not advanced users - ground cache which can lower memory consumption by 20-50%
  8. * Fixed accountManager logins "only5" evite crash server with accountManager System
    * Fixed allPosible crashBugs with:: Revision 8-9
    * Added newForm from compilation with Linux (more clean)
    * Removed parameter GROUND_CACHE (no require)
  9. * Fixed npcError with function "doPlayerRemoveItem - getItemTypeCount - container"
    * Fixed other error with function "canWalkthrough"
  10. * Fixed mysql.sql (no possible import on rev 11)
    * Fixed weapon disappears - the element ends (Fixes from rev 8 UPS)
    * Added config maxDepotItems for player premium and free -- check config.lua
    * Refac AbsorbField function
    * Refac AutoStackSystem
  11. Fixed spamming console error
  12. * Added newConfigurable (healPlayersOnLevelAdvance)
    * Fixed AutoStackSystem
    * Fixed condition invisible with stealth ring
    * Fixed lightingObjets
    * Fixed updateWarEvents
    * Refac Skull System
    * Replaced "PlayerCustomFlag_CanWalkthrough" for "PlayerFlag_CanPassThroughAllCreatures"
    * Server now read "aid" on Actions/MoveEvents/Weapons
    * Server now read "add" "new" on /attr command
  13. * Added missing function for reconnection MySQL //db.connected()
    * Added new configurable "from protocols 8.7x" - "tibiaClassicSlots"
    * Fixed linkers on x64/MySQL for linux users
    * Fixed monstersXML "loadLoot"
    * Fixed "changeSpeed" "internalCreatureChangeOutfit" "checkDecay" "checkLight" "loadExperienceStages" "playerAutoWalk" "checkCreatureEvents"
    * Fixed displayCriticalHit
    * Rewrite GlobalSave (fix error http://otland.net/f249/forgotten-se...ed-bugs-8-6-a-140504/index38.html#post1459137)
  14. * Added new configurable - "useCapSystem" - "generateAccountSalt" - "noDisableBlockRespawn" - "noShareExpSummonMonster"
    * Added new configurable "monstersGoBackToSpawn" - "bindOnlyGlobalAddress"
    * Cleanup to code
    * Fixed AccountManager Login on ownerAccount
    * Fixed banSystem on detection for send rare packets
    * Fixed bug on "luaDoPlayerSetStamina"
    * Fixed monsters tick Intervals "now is like to cip"
    * Items now support "pickupable"
    * Server now support "wherever" on movements
    * Refac "removeCreature" - "playerMoveThing"
    * Rewrite TheForgottenServer.dev project
    * Removed CryptoPP
    * Removed vahash key Encryption
    * Remove the old RSA system
  15. * Fixed stamina
    * Fixed pushDelay monsters/players
    * Fixed monster errorLoad
    * Fixed weapons decay
    * Fixed compiler error on Linux/Makefile.am
Debug Server
  1. Source:
    * Added new configs:
    useMultiClient - enableRookSystem - "savePlayerData - houseProtection - houseSkipInitialRent" -
    enableProtectionQuestForGM
    * Added rookSystem
    * Added oldQuest System
    * Added missing funtions on items:
    blocksolid - blockprojectile - blockpathfind - lightlevel - lightcolor
    * Added new functions:
    getCreatureStorageList(cid) - getStorageList() - doPlayerOpenChannel(cid, channelId) - doSaveHouse(houseId) -
    doPlayerChangeName(guid, oldName, newName)
    * Fixed errors on Mail System
    * Fixed errors on Mysql Reconnection Attempts
    * Fixed errors on Muted System
    * Fixed errors on Remove Creature
    * Fixed errors on Push Monsters and Players
    * Fixed errors on Chat message is too long (is Cancel)
    * Fixed errors on Items "text - date - writer"
    * Fixed errors en Reflect functions
    * Fixed errors on Skill errors (Evite 9999999 skills error)
    * Fixed errors on Soul System
    * Fixed errors on Stamina System
    * Fixed errors on use Amulet of Loss
    * Fixed errors on House Data Storage
    * Removed limit Outfit
    * Rewrite SaveSystem
    * Rewrite StorageSystem
  2. Data:
    Actions (Check menus on actions.xml)
    * Added missings special Foods and fixed effects on foods
    * Added new actions <!-- New Actions --> on actions.xml:
    other/destroy.lua - tools/squeeze.lua - tools/rust remover.lua - tools/ceremonial ankh.lua -
    quests/quests.lua
    * Added new ids on Construction Kits
    * Added new ids on Instruments Musicals
    * Changed menu Dolls for Reaction and added new ids for dools and other objets sounds for example Santa Doll
    * Refac Teleport (stairs, ladders)
    * Refac Bread Creating
    * Refac Windows
    * Refac Watch
    * Refac Other
    * Extended ids on Food System and Refac menu Food
  3. * Extended logins on account manager X ip (5 to 20)
    • Added missing querys from WarSystem on init.lua
    • Fixed time on clean (on 2 hours) on clean.lua
  4. Libs:
    * 000-constant.lua
    - Added CONDITION_PARAM_FIELD = 46 :: PLAYERCUSTOMFLAG_CANWALKTHROUGH = 25
    - Added Missing and new IDs on menu: -- Skill IDS :: -- WarSystem IDS :: -- Condition IDS :: -- Reduce IDS :: -- UnderWater IDS
    : SKILL_FIST = SKILL_FIRST :: SKILL_LAST = SKILL_FISHING :: SKILL__LAST = SKILL__LEVEL

    - Changed names on menu: -- Const prop
    : CONST_PROP_MOVEABLE = 6 :: CONST_PROP_BLOCKINGANDNOTMOVEABLE = 7 for
    CONST_PROP_MOVABLE = 6 :: CONST_PROP_BLOCKINGANDNOTMOVABLE = 7

    - Changed names on menu: -- GUILD Members
    : GUILDLEVEL_MEMBER = 1 :: GUILDLEVEL_VICE = 2 :: GUILDLEVEL_LEADER = 3 for
    GUILD_MEMBER = 1 :: GUILD_VICE = 2 :: GUILD_LEADER = 3

    - Changed names on menu: -- Database Types
    : DATABASE_ENGINE_NONE = 0 :: DATABASE_ENGINE_MYSQL = 1 :: DATABASE_ENGINE_SQLITE = 2 :: DATABASE_ENGINE_POSTGRESQL = 3 :: DATABASE_ENGINE_ODBC = 4 for
    DATABASE_NONE = 0 :: DATABASE_MYSQL = 1 :: DATABASE_SQLITE = 2 :: DATABASE_POSTGRESQL = 3 :: DATABASE_ODBC = 4

    - Changed names on menu: -- Weapons IDS
    : WEAPON_SHIELD = 4 :: WEAPON_DIST = 5 :: WEAPON_WAND = 6 :: WEAPON_AMMO = 7 :: WEAPON_FIST = 8 for
    WEAPON_DIST = 4 :: WEAPON_SHIELD = 5 :: WEAPON_FIST = 6 :: WEAPON_WAND = 7 :: WEAPON_AMMO = 8

    - Changed name:
    : STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE = 255 :: RETURNVALUE_NOTMOVEABLE = 10 :: RETURNVALUE_YOUNEEDTOSPLITYOURSPEARS = 59 :: RETURNVALUE_TILEISFULL = 64 for
    STACKPOS_TOP_MOVABLE_ITEM_OR_CREATURE = 255 :: RETURNVALUE_NOTMOVABLE = 10 :: RETURNVALUE_TILEISFULL = 59 :: RETURNVALUE_YOUNEEDTOSPLITYOURSPEARS = 54

    * 012-table.lua - is Refac require remplace
    * 032-position.lua - is Refac require remplace
    * 034-exhaustion.lua - is Refac require remplace
    * 050-function.lua
    - Changes on: (Importan = QQ)
    QQ - function doNumberFormat(i)
    QQ - function playerExists(name) :: Fixed for function playerExists(name, multiworld)
    QQ - function doMutePlayer(cid, time)
    QQ - function doSummonCreature(name, pos, displayError)
    QQ - function getOnlinePlayers() :: Fixed error on multiworld
    QQ - function isPlayerGhost(cid) :: Fixed errors on Ghost stack
    QQ - function doPlayerAddLevel(cid, amount, round) :: Fixed errors (Evite 9999999 skills error)
    QQ - function doPlayerAddMagLevel(cid, amount) :: Fixed errors (Evite 9999999 skills error)
    QQ - function doPlayerAddSkill(cid, skill, amount, round) :: Fixed errors (Evite 9999999 skills error)
    QQ - function doBroadcastMessage(text, class)
    QQ - function doPlayerBroadcastMessage(cid, text, class, checkFlag, ghost)
    QQ - Added missing function: function doItemSetActionId(uid, aid)
    QQ - Added missing function: function isContainer(uid)
    QQ - Added new function: function isUnderWater(cid)
    * 100-compat.lua
    - Changes on: (Importan = QQ)
    QQ - -- Menu Colors "use all"
    QQ - -- PVP Types "use all"
    QQ - Added missing conditions and menus: CONDITION_PHYSICAL = CONDITION_BLEEDING :: -- Compatibile OLD IDS
    - Changed name:
    : PlayerFlag_CanPassThroughAllCreature = 48
    PlayerFlag_CanPassThroughAllCreatures = 48
  5. * Refac scripts on drown condition for underWater
    - drown.lua :+: added - hotd.lua "check <!-- Helmet of the Deep -->"
    * Fixed errors on:
    - walkback.lua :: Evite errors on ChestQuest or Doors
  6. * Added missings commands for warSystem :: /war & /balance
    * Fixes on command :: /commands :: /gethouse :: /mkick :: /newtype :: /online :: /promote :: /town
  7. * Changes on vocations.xml "added new function droploot :: Fixed errors on use Amulet of Loss"
  8. * Fixed errors commands / npc / code prevent spammings
    * Fix error on (onAttacking) - "auto 1 attacktarget"
    * GUI Support
Here below is the GitLog of the changed files.
Path Files - theforgottenserver-0.4.4-underversion

EnJoyt IT
Updates I made in source 0.3.6 until it became what I call today tfs 0.4.4 - UnderVersion

I support those who compile and are using the source, any doubts or errors post here and we will improve it.

Linux instructions(The version in the file is the version of linux that should be used.)
Open all files and read.
Any doubts related to compilation in linux or windows will not support the topic.

Downloads
DataFiles, Dlls(TFS_SDK_BOOST+LIBRARY MVS 120),sources

All credits to tfs team!
 

Attachments

  • dataFiles.rar
    3.6 MB · Views: 369 · VirusTotal
  • Dlls(TFS_SDK_BOOST+LIBRARY MVS 120).rar
    3.6 MB · Views: 275 · VirusTotal
  • sources.rar
    628 KB · Views: 306 · VirusTotal
  • sources_undeversion_1.0.zip
    740 KB · Views: 44 · VirusTotal
Last edited:
Who Can Update SRC to compile on Ubuntu 20?
Fixed some issues listed in:
but this engine is super old, it will require replacing RSA (a lot of work):
 

Attachments

  • sources_undeversion_1.0.zip
    740 KB · Views: 60 · VirusTotal
Fixed some issues listed in:
but this engine is super old, it will require replacing RSA (a lot of work):
Thanks!
 
Back
Top