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

    move all players

    function onThink(interval, lastExecution) if string.lower(rotateMaps) ~= "yes" then return true end local players = Game.getPlayers() local currentTemple = Game.getStorageValue(currentMap) if #players == 0 then return true end if currentTemple ==...
  2. L

    floor down

    I look for an action that the player when clicking on a stone is taken to the floor below. but what I think would be in something that is possible uses to other places example Z 7 use z 6
  3. L

    TFS 1.X+ Segmentation fault

    I'm having this problems and by logging the error is leading to these functions void ProtocolGame::updateCoinBalance() { NetworkMessage msg; msg.addByte(0xF2); msg.addByte(0x00); writeToOutputBuffer(msg); g_dispatcher.addTask( createTask(std::bind([](ProtocolGame_ptr...
  4. L

    leave house/sell house

    I'm wanting to do something that if I have items in the house he does not let the player leave the house or sell the house leave house function onSay(player, words, param) local position = player:getPosition() local tile = Tile(position) local house = tile and tile:getHouse()...
  5. L

    player disrupting PvP

    I want to edit to be the player for level 80 or less the other players even with pk pass through it
  6. L

    onTime + randon boss

    local spawns = { [1] = {position = Position(33621,31012,7), monster = 'Bubble'}, [2] = {position = Position(33621,31012,7), monster = 'Cachero'}, [3] = {position = Position(33621,31012,7), monster = 'Eternal Oblivion'}, [4] = {position = Position(33621,31012,7), monster =...
  7. L

    Solved remover monster

    local function roomIsOccupied(bossposition, rangeX, rangeY) local spectators = Game.getSpectators(bossposition, false, false, rangeX, rangeX, rangeY, rangeY) if #spectators ~= 0 then return true end return false end function onStepIn(creature, item, position...
  8. L

    Solved login.php tibia 11.44

    I am not able to log in to my server with client 11.44 with client 11.49 I am logging normally I would like to log in with 11.44 login.php login.php · master · Erick Nunes Mello Mattos / Otxserver-Global · GitLab
  9. L

    stamina regen.

    tfs 1.+ I look for a script that if the player is in pz the stamina will go up every 5 minutes will go up 1 point. and another script that when he was on 1 sqm in particular the stamina went up 1 point every 5 minutes
  10. L

    Solved autoloot

    edit by me local itemName = tonumber(split[2]) and itemType:getName() or item local size = 0 for i = AUTOLOOT_STORAGE_START, AUTOLOOT_STORAGE_END do local storage = player:getStorageValue(i) if size == AUTO_LOOT_MAX_ITEMS and not...
  11. L

    double exp

    local days = { [10] = '00:00', -- [day] = 'hour(s):minute(s)' [11] = '12:00' } function onLogin(cid) local d = days[os.date('*t').day] local os, h = os.date('%X'):sub(1, 5), {'', ''} if d then h[1] = os:sub(1, 2)..os:sub(-2) h[2] = d:sub(1, 2)..d:sub(-2)...
  12. L

    Solved Anti mc

    local AccForIp = 2 function onLogin(player) local mc = 0 for _, check in ipairs(Game.getPlayers()) do if player:getIp() == check:getIp() then mc = mc + 1 if mc > AccForIp then return false end end end return...
  13. L

    Solved onKill(creature, target)

    to kill the boss 1 the boss two will appear the problem that if 5 people kill the boss 1 appears the boss two 5x local bossPositions = { Position(32800, 32829, 14), Position(32796, 32832, 14), Position(32804, 32834, 14), Position(32793, 32835, 14), Position(32809, 32830...
  14. L

    TFS 1.X+ Skills rates

    local config = { -- base vocationId [1] = { -- skillId [SKILL_FIST] = { -- [{skillLevel}] = skillRate [{10, 60}] = 70, [{61, 80}] = 30, [{81, 100}] =...
  15. L

    Solved npc sell items

    local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function...
  16. L

    Lua tp 1 or more players from sqm

    local config = { requiredLevel = 100, daily = false, centerDemonRoomPosition = Position(32799, 32829, 14), playerPositions = { Position(32759, 32868, 14), Position(32759, 32869, 14), Position(32759, 32870, 14), Position(32759, 32871, 14)...
  17. L

    onDeath creature

    I need a script that when the player dies for the boss this dies is removed from the game.
  18. L

    TFS 1.x !vial or !flask talkactions

    Well I'm looking for this function that when the player speaks '! Vial or! Flask' all empty potions will begin to be removed. In case he speaks again the potions will reappear
  19. L

    Lua Exp extra for players vips

    original function Player:onGainExperience(source, exp, rawExp) if not source or source:isPlayer() then return exp end edited function Player:onGainExperience(source, exp, rawExp) if not source or source:isPlayer() then if self:isVip() then local exp_extra = 1.5 --...
  20. L

    Lua givePoints

    global events l local config = { p_time = 1, -- Tempo em segundos para receber os pontos( 3600 = 1hora ) p_points = 1 -- Quantidade de pontos recebida a cada "p_time" } local function givePoints(cid, quant) if os.time() - player:getStorageValue(974859) >= config.p_time then...
Back
Top