• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. M

    [TFS 1.5] Players from the same guild do not attack each other.

    try local creatureevent = CreatureEvent("ProtectHP") function creatureevent.onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) if not creature or not attacker or creature == attacker then return primaryDamage, primaryType...
  2. M

    [TFS 1.5] Players from the same guild do not attack each other.

    Try events\scripts\creature.lua function Creature:onTargetCombat(target) if self:isPlayer() and target:isPlayer() then local SelfGuild, TargetGuild = self:getGuild(), target:getGuild() if SelfGuild and TargetGuild and SelfGuild == TargetGuild then return...
  3. M

    C++ add features from tfs 1.2 to 1.4

    This is complete code, someone please help? 😭😭 events.cpp } else if (methodName == "onEquipItem") { info.playerOnEquipItem = event; } else if (methodName == "onDeEquipItem") { info.playerOnDeEquipItem = event; bool Events::eventPlayerOnEquipItem(Player* player, Item* item...
  4. M

    C++ add features from tfs 1.2 to 1.4

    I added my enchantment system in tfs 1.4, but i had problems, could anyone help? When i remove the functions everything seems to work normally movement.cpp https://github.com/otland/forgottenserver/blob/1.4/src/movement.cpp#L459C1-L476C1 uint32_t MoveEvents::onPlayerEquip(Player* player, Item*...
  5. M

    tfs 1.5 online but can't login

    Please could someone help, I'm trying to get tfs 1.5 online, without success. I thought the settings were wrong so I tested with canary and it worked Myaac login.php TFS 1.5 Client 12.86.11871
  6. M

    C++ otcv8-auras-and-wings Unresolved external symbol deflateEnd

    otpch.cpp account.cpp actions.cpp auras.cpp ban.cpp baseevents.cpp bed.cpp chat.cpp combat.cpp condition.cpp configmanager.cpp connection.cpp container.cpp creature.cpp creatureevent.cpp cylinder.cpp database.cpp databasemanager.cpp databasetasks.cpp...
  7. M

    C++ otcv8-auras-and-wings Unresolved external symbol deflateEnd

    I thought about it, I even tried, but I was left with the .vcxproj part, will vcpkg create a new file?
  8. M

    C++ otcv8-auras-and-wings Unresolved external symbol deflateEnd

    Yes, from what i could see from the research i did it is related to zlib, but i couldn't find a solution. protocol.cpp#L32 protocol.cpp#L128 protocol.cpp#L141
  9. M

    C++ otcv8-auras-and-wings Unresolved external symbol deflateEnd

    I'm trying to add the system > https://otland.net/threads/otcv8-auras-and-wings.284325/#post-2719135 Please, could someone help me solve this? protocol.obj : error LNK2001: unresolved external symbol deflateEnd protocol.obj : error LNK2001: unresolved external symbol deflateInit2_ protocol.obj...
  10. M

    RevScripts Movements stepin/out tile pos

    tfs 1.2
  11. M

    RevScripts Movements stepin/out tile pos

    work perfectly, thank you after adding missing functions registerMethod("MoveEvent", "position", LuaScriptInterface::luaMoveEventPosition);
  12. M

    RevScripts Movements stepin/out tile pos

    I had already tried this Lua Script Error: [Scripts Interface] D:\Ot\data\scripts\movements\upgrade_item.lua D:\Ot\data\scripts\movements\upgrade_item.lua:3: attempt to call method 'position' (a nil value) stack traceback: [C]: in function 'position'...
  13. M

    RevScripts Movements stepin/out tile pos

    Hello, I would like help, how to add the coordinates for the script to work on the chosen tile? Does it only work with aid? the tiles would be 284, 176, 7 and 284, 177, 7 local coal_basin = MoveEvent() coal_basin:type("stepin") function coal_basin.onStepIn(creature, item, position...
  14. M

    Lua Transform item

    basically is this --table structure: --[ItemToUpgradeId] = {result = NewItemId, chance = chance to sucess} local itensUpgrade = { [38929] = {result = 38928, chance = 100}, [25920] = {result = 25921, chance = 40}, [25921] = {result = 25922, chance = 20} } --put a index and a tile...
  15. M

    Lua Transform item

    Thanks for your answer, seeing it from that side, yes it really doesn't make sense my request, the slots will always be the same the refinement system makes this change in the item, if the helmet lvl 1 refined has Arm 215 and the lvl 2 Arm 225 automatically when the system detects this change...
  16. M

    Lua Transform item

    up
  17. M

    Lua Transform item

    UP
Back
Top