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

    Lua help stamina regen on trainers (BUG) 0.3.6

    Hi to all, I've got a problem with a movement script. STAMINA_MESSAGE = "You won 1 minute of stamina." STAMINA_TIME = 180 * 1000 STAMINA_EFFECT = 12 STAMINA_ADD = 1 function event(cid) if isPlayer(cid) then doPlayerAddStamina(cid, STAMINA_ADD)...
  2. V

    Lua Double EXP ITEM tfs 0.3.6

    Hi, I got this script, but got a problem. When player logout or die, double exp disabled and can't use more items to get double exp. local config = { rate = 2, time = 1, -- Hours of Exp Time storage = 20014 } local function endExpRate(cid) if isPlayer(cid) == TRUE then...
  3. V

    Can I do it on this script?

    Hi to all, I want to know if I can add critchange and critdamage on this script: (tfs 1.2) local conf = { ["level"] = { -- [item_level] = {successPercent= CHANCE TO UPGRADE ITEM, downgradeLevel = ITEM GETS THIS LEVEL IF UPGRADE FAILS} [1] = {successPercent = 85, downgradeLevel = 0}...
  4. V

    Item remove storages

    Hi everyone. I want a item that remove multiple storages when use and remove it. Anyone can help me? Thank you so much! Tfs 1.2
  5. V

    NPC task again every 3 days

    Hi to all, I want to make that you can only repeat task every 3 days. On this script you can repeat every time when you finish it, but I want to put 3 days for doing again. Sorry for my english. Thanks in advance! Npctask.lua -- Monster Tasks by Limos local keywordHandler =...
  6. V

    Lua Set storage, -1 with time

    Hi all, I want to add time to an NPC. lua storage, i tried it but doesn't work :/ (tfs 1.2) player:addExperience(x.exp) player:setStorageValue(x.mstorage, -1, os.time() + 15 * 60 * 60) player:setStorageValue(x.storage, -1, os.time() + 15 * 60 *...
  7. V

    NPC when finish a task do it again

    Hi everyone, I wanna do that you can repeat any task when you finish it, but tried a lot of ideas but nothing is working :/ Hope anyone can help me with this. NPCtask.lua -- Monster Tasks by Limos local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler)...
  8. V

    Lua Teleport scroll tfs 1.2

    Hi to all. I want modify this script, because when someone is trying to kill someone he use tp and back to temple without die. savePos = {} local function sendEffects(pos, eff, pid) if savePos[pid] then local player = Player(pid) if isPlayer(player) then...
  9. V

    Gooey Mass ITEM

    Hi all, how can I know the change of those items? [15572] = { -- gooey mass chances = { {from = 1, to = 2}, {from = 3, to = 2167, itemId = 15487, count = 10}, {from = 2168, to = 4243, itemId = 2152, count = 2}, {from = 4244, to = 6196...
  10. V

    Lua NPC PROBLEM

    Hi to all :) I want that NPC's don't count the money in bank balance, only money inside backpack. How can I do it? Thank you!
  11. V

    Lua Problem with NPCs

    Hi, I've got a problem, If I got money in bank, npc sell me items but it doesn't remove from bank balance. How can I fix that? Thank you! Account balance: 200000 gold. NPC: 19:11 Bought 1x hallowed axe for 1000 gold. Account balance: 200000 gold NPC doesn't remove money from bank but It...
  12. V

    Lua Skull remover with time

    Hi people! I want add a time that only can use it every 24 hour. function onUse(player, item, fromPosition, itemEx, toPosition, isHotkey) if isInArray({SKULL_RED, SKULL_BLACK}, player:getSkull()) then player:setSkull(SKULL_NONE) player:setSkullTime(0)...
  13. V

    Lua Action script

    Hello! I want transform this script if not player:isPzLocked() then to if not player:isBattle???() then I want that players can't use it if got battle. Tfs 1.2 Thank you!
  14. V

    NPC - When all task finish

    Hi, I want modify this script that when you done all the task, you can do it all again. scriptnpc.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local xmsg = {} function onCreatureAppear(cid)...
  15. V

    Lua (NPC) TASK making it repeatable

    Hello guys, I need help with this script to do repeatable when all tasks finished, if possible, or everone. (REPEAT EVERY WEEK IF POSSIBLE) Thank you! -- Monster Tasks by Limos local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler)...
  16. V

    Regen stamina while train online.

    Hello! I'm searching for a script to train with training monk online and stamina become up. Thank you :)
  17. V

    Lua Autoloot doesn't work

    Hello community :) I've got a problem with this script. No errors, all commands work fine, but the loot didn't get looted :/ creaturescripts/autoloot.lua local function scanContainer(cid, position) local player = Player(cid) if not player then return end local...
  18. V

    Lua Repeatable task.

    Hello :) I want make a repeatable tasks, not only one time. But I don't know how can I do it :/ -- Monster Tasks by Limos local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local xmsg = {} function...
  19. V

    tfs 1.2 - GET REWARD EVERY 30 MIN ONLINE(SOLVED)

    Hello community. I'm searching for a globalevent that every 30 min/1 hour all players give 5 tokens. Thank in avance :)
  20. V

    Lua This script to tfs 1.2 (SOLVED)

    Hello! I'm trying to change this script to ver 1.2 tfs but I can't make it work :/ - Time Chest by Limos local config = { exhausttime = 7200, -- time in seconds exhauststorage = 2301, level = 50 -- minimum level to open the chest } function onUse(cid, item, fromPosition, itemEx...
Back
Top