• 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!

Search results

  1. chucky91

    TFS 1.X+ Set attack = 0

    in combat.cpp function: getAttackValue() change skill any value to 0, if weapon->getAttack() is 0. to not damage weapons because skills value. if (weapon) { if (weapon->getAttack() == 0) { skill = 0; return; } switch (weapon->getWeaponType()) { case WEAPON_AXE: {//...
  2. chucky91

    Compiling Starting OT for stupid person

    Use this map edit for nostalrius. https://otland.net/attachments/sabrehavenrme-main-rar.83507/
  3. chucky91

    Promotions dont work TFS 1.5

    I think you need add on creaturescripts in onLogin for restart new vocation for storage.
  4. chucky91

    Max HP/MP in percent (tfs 1.5 8.6) (slot system by oen)

    missing tag percetage on your config. [1] = { name = "Max HP", combatType = US_TYPES.CONDITION, condition = CONDITION_ATTRIBUTES, percentage = true, -- need definition for percent work! param = CONDITION_PARAM_STAT_MAXHITPOINTSPERCENT, VALUES_PER_LEVEL = 3, format =...
  5. chucky91

    Max HP/MP in percent (tfs 1.5 8.6) (slot system by oen)

    From what i understand, if you want this on a percentage base, this is an example, you can take it and test if it is as you wanted and then apply the example in your script.
  6. chucky91

    Max HP/MP in percent (tfs 1.5 8.6) (slot system by oen)

    local HEALTH_SCROLL = scrollid local BOOST_DURATION = 30 local BOOST_PERCENT = 10 -- "10%" function onUse(player, item, fromPosition, target, toPosition, isHotkey) local maxHealth = player:getMaxHealth() local heal = math.floor(maxHealth * BOOST_PERCENT / 100) local condition =...
  7. chucky91

    TibiaCore 7.4 TFS 1.2 same Nostalrius project.

    You are using an old version that is not from GitHub with some fixes! GitHub - RCP91/TibiaCore (https://github.com/RCP91/TibiaCore)
  8. chucky91

    TibiaCore 7.4 TFS 1.2 same Nostalrius project.

    change this class "OutputMessageAllocator" in outputmessage.cpp: class OutputMessageAllocator { public: typedef OutputMessage value_type; OutputMessageAllocator() = default; template<typename U> constexpr OutputMessageAllocator(const OutputMessageAllocator&) noexcept {}...
  9. chucky91

    I have 2 cores and 8 GB of RAM, and the server crashes. Could it be that I need more cores?

    ok, but does it close when it is loading or while it is online? what is the server version?
  10. chucky91

    Nostalrius 7.7

    Your error is because the gmp lib is missing, as Windows does not have direct gmp support, you have to install mpir via vcpkg! powershell: ./vcpkg install --triplet x64-windows boost-iostreams boost-asio boost-system boost-filesystem boost-variant boost-lockfree luajit libmariadb pugixml...
  11. chucky91

    bestiary system tfs 1.5 by nekiro tibia 8.6

    (not windows) all names of the monsters xml must be the same as the script, the system differentiates between upper and lower case.
  12. chucky91

    Linux Web Server Installation On Debian 12 Bookworm

    BrownDeveloper 🤔 looking for your way is there any read-me.txt or .md talking about the site? try reinstalling your PHP to 7.4.0 or you need to edit scripts, starting in database.php on line 24.
  13. chucky91

    Linux Web Server Installation On Debian 12 Bookworm

    To use new versions of libraries, you must follow some rules, clean code! For old codes, you must review them or use libraries from the version that was created, see the documentation of the website you are using and see which PHP version was created. the method is not static, you must...
  14. chucky91

    C++ [TFS - 0.3.6 - 8.60] Autostacking He fills the backpack and drops it on the floor, he doesn't group it with the other backpack

    The post you mentioned is about stacking items. If items are added to the next backpack when it is full. I believe there is something in config.lua like queryPlayerContainers = true is using in configmanager something like QUERY_PLAYER_CONTAINERS!
  15. chucky91

    [WARNING] Custom OTC/OTCv8 Game Store hack

    I use something like this, for safety, maybe it's enough, unless it's handling table sizes by pairs is more complex. local clientAction = jsonData.clientAction or nil local clientData = jsonData.clientData or {} if type(clientAction) ~= "string" and #clientAction > 10 then return end if...
  16. chucky91

    [WARNING] Custom OTC/OTCv8 Game Store hack

    Just send id of the selected offer to server, there it will look for the offer in the array by id from key.
  17. chucky91

    TFS 1.X+ Server does not open tls/ssl problem

    Add more mysql_options for new version +3.5.x libmariadb from vcpkg. It seems like they enabled it without specifying the ssl setting. That's really annoying. security standards maybe. In database.cpp, bool Database::connect() after mysql_options(handle, MYSQL_OPT_RECONNECT, &reconnect); add...
  18. chucky91

    TibiaCore 7.4 TFS 1.2 same Nostalrius project.

    https://github.com/RCP91/TibiaCore/blob/d9390f60ef172366de48e3d780a467d1ed6bbf14/compiler/src/spells.cpp#L1939 in: int32_t newCount = std::max<int32_t>(0, item->getCharges() - 1); change: auto stackable = (item->isStackable() && item->canDistUse()) ? item->getItemCount() : item->getCharges()...
  19. chucky91

    TibiaCore 7.4 TFS 1.2 same Nostalrius project.

    You can use 22.04 above without any problems
Back
Top