• 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. P

    OTCV8 - NEW MODULE

    i've just maded it, i'm not using in production, have to be tested and proly improved.
  2. P

    Spawn Monster TFS 1.4.2 10.98

    https://github.com/otland/forgottenserver/blob/61452aa5dc2c8d3ff345e627295eef06d8aafa8a/src/spawn.cpp#L279C4-L279C4 bool isBlocked = !startup && findPlayer(sb.pos); change to bool isBlocked = false;
  3. P

    Market item duplicated

    i've solved this way: always create new items, and doesnt load them on loadPlayer... (if u are not going to use inbox, just remove it.. also, if u wanna use, search for inbox in this files, there's some functions to uncomment) i suggest that u try without inbox at first time, if it works for...
  4. P

    [MyAAC][Plugin] Gesior Shop System

    after uploading: when try to access admin/gifts: Exception class: Twig\Error\LoaderError() Unable to find template "gesior-shop-system/templates/admin-categories.html.twig" (looked into: /var/www/html1580/system/templates). Backtrace: #0...
  5. P

    TFS 0.X [C++] Player does not get PZ after attacking PK

    ok, there's 2 places in that code that u can change in order to achieve that.. first option, dont check world type, and always add pzlock if anyone attack another // FROM if(!pzLocked && g_game.getWorldType() == WORLDTYPE_HARDCORE) { pzLocked = true...
  6. P

    TFS 0.X [C++] Player does not get PZ after attacking PK

    https://otland.net/threads/player-isnt-getting-frag-if-the-attacked-fight-back.271798/#post-2618027 https://otland.net/threads/yellow-skull-tfs-1-5.284822/
  7. P

    Does anyone know how to put this exhaust?

    this is what i've understood reading it now.. but.. idk ^^
  8. P

    I want the spell not to be used in combat

    to close the thread:
  9. P

    I want the spell not to be used in combat

    if player:getCondition(CONDITION_INFIGHT,CONDITIONID_DEFAULT) or player:isPzLocked() then
  10. P

    I want the spell not to be used in combat

    if player:getCondition(CONDITION_INFIGHT) or player:isPzLocked() then u gonna need at least a basic understanding of logic/programming if you intend to keep a server online.
  11. P

    Lua Prevent shield equip while using 2 handed weapon

    Happy to help ^^
  12. P

    TFS 1.X+ TFS 1.5 8.0 spell's incompatibility with MyAac

    i don't use windows and for the original thread, here's the solution provided by @slaw https://otland.net/threads/myaac-v0-8-10.268654/post-2715219
  13. P

    Lua Help me with this script please? tfs 1.x training dummy

    You don't have to look around, Game.createMonster already have this... Game.createMonster(monsterName, position[, extended = false[, force = false]]) extended = get near tiles if cant summon in that position Game.createMonster(monsterName, position, true)... or, u can: force = summon even if...
  14. P

    Problem after encrypt

  15. P

    New item strange behavior and can't use

    you have to mark the answer that fixed your issue as 'solution'
  16. P

    New item strange behavior and can't use

    no problem at all.. and mark your thread as solved :)
  17. P

    New item strange behavior and can't use

    https://github.com/nekiro/TFS-1.5-Downgrades/blob/a4675433d0e5c0001d37d4cab1241120216597e4/data/movements/movements.xml#LL84C2-L84C2
  18. P

    Lua talkaction /say players

    /say message 1685718743 <talkaction words="/say" separator=" " script="say.lua" />
  19. P

    Lua talkaction /say players

    function onSay(player, words, param) if not player:removeMoney(100) then player:sendCancelMessage("You need 100gp.") return false end for _, targetPlayer in ipairs(Game.getPlayers()) do targetPlayer:sendPrivateMessage(player, param, TALKTYPE_BROADCAST) end return false end
Back
Top