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

    Solved storage + time

    local BOSSba = "Kroazur" -- boss name local BOSS_POSb = {x = 33646, y = 32241, z = 9} -- boss spawn local roomeee = {fromx = 33636, tox = 33636, fromy = 32226, toy = 32226, z = 9} -- boss room local function isPlayerInArea(fromPos, toPos) for _x = fromPos.x, toPos.x do for _y =...
  2. L

    Solved storage + time

    I edited the code and it worked. but now isPlayerInArea is not detecting the player in respawn
  3. L

    Solved storage + time

    local BOSSba = "Kroazur" -- boss name local BOSS_POSb = {x = 33646, y = 32241, z = 9} -- boss spawn local roomba = {fromx = 33636, tox = 33636, fromy = 32226, toy = 32226, z = 9} -- boss room local function isPlayerInArea(fromPos, toPos) for _x = fromPos.x, toPos.x do for _y =...
  4. L

    Solved storage + time

    function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if not player then return true end local config = { centerDemonRoomPosition = Position(33646, 32241, 9), } local specs, spec =...
  5. L

    tibia coins

    I need a script that after 5 hours the player gets 10 tibia coins
  6. L

    GlobalEvent System Online Points

    timeMax = (20000), = in ms?
  7. L

    Feature Auto Loot [TFS 1.3]

    new erros Lua Script Error: [TalkAction Interface] data/talkactions/scripts/autoloot.lua:onSay data/talkactions/scripts/autoloot.lua:3: attempt to call method 'getAutoLootList' (a nil value) stack traceback: [C]: in function 'getAutoLootList'...
  8. L

    Feature Auto Loot [TFS 1.3]

    root@vps164667:~/Otxserver-New/cmake# screen -r /root/Otxserver-New/src/luascript.cpp:119:22: error: ‘getUserdata’ was not declared in this scope Player* player = getUserdata<Player>(L, 1); ^ /root/Otxserver-New/src/luascript.cpp:119:40: error: expected...
  9. L

    Feature Auto Loot [TFS 1.3]

    PANIC: unprotected error in call to Lua API (attempt to index a nil value) Aborted (core dumped) :C
  10. L

    Feature Auto Loot [TFS 1.3]

    Work here teste luascript.cpp >>/** * The Forgotten Server - a free and open-source MMORPG server emulator * - Pastebin.com luascript.h >> /** * The Forgotten Server - a free and open-source MMORPG server emulator * - Pastebin.com
  11. L

    Feature Auto Loot [TFS 1.3]

    /src/luascript.h: In function ‘int luaPlayerAddAutoLootItem(lua_State*)’: /src/luascript.h:186:22: error: ‘getUserdata’ was not declared in this scope Player* player = getUserdata<Player>(L, 1); ^ /src/luascript.h:186:40: error: expected primary-expression before ‘>’...
  12. L

    Feature Auto Loot [TFS 1.3]

    static int luaPlayerGetAutoLootList(lua_State* L); { // player:getAutoLootList() Player* player = getUserdata<Player>(L, 1); if (player) { std::set<uint32_t> value = player->autoLootList; if (value.size() == 0) { lua_pushnil(L); return 1...
  13. L

    Feature Auto Loot [TFS 1.3]

    I will test a doubt the loot will go to the backpack that owns the item or will always go to the main backpack
  14. L

    Houses:loadHousesXML

    Error: [Houses::loadHousesXML] Unknown house, id = 2 [Warning - Map::loadMap] Failed to load house data. realmap-house.xml <?xml version="1.0"?> <houses> <house name="Market Street 4 (Shop)" houseid="2" entryx="32960" entryy="32052" entryz="6" rent="5105" townid="1" size="93" />...
  15. L

    AutoLoot System for tfs 1.x

    I'm trying, it's not working. I asked why it is that someone has already done this or the creator of the topic has done some up :C
  16. L

    AutoLoot System for tfs 1.x

    all the loot always goes to the main backpack would have to do for example choose the backpack by name or item goes to the backpack that already has the item
  17. L

    NPC Visual Gambler NPC [TFS 1.x]

    have example?
  18. L

    Lua Game.createMonster no loot

    local boss = "name boss" -- boss name local bossPositions = { Position(32800, 32829, 14), -- possition for random Position(32796, 32832, 14), -- possition for random Position(32804, 32834, 14), -- possition for random Position(32793, 32835, 14), -- possition for random...
  19. L

    Lua Game.createMonster no loot

    /m name boot have loot :C
  20. L

    Lua Game.createMonster no loot

    function onKill(creature, target) local targetMonster = target:getMonster() if not targetMonster or targetMonster:getName():lower() ~= 'ghost' then return true end --clean arena of monsters local spectators, spectator = Game.getSpectators(Position(32800, 32829, 14)...
Back
Top