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

    Lua Fruit Tree

    idon't know what tfs version you're using but anyway add this at the top of the script local exhaustion = { check = function (cid, storage) return getPlayerStorageValue(cid, storage) >= os.time() end, set = function (cid, storage, time) setPlayerStorageValue(cid, storage...
  2. SpiderOT

    Lua Fruit Tree

    with better config, if it didn't work just copy the exhaust part xD local cfg ={ chance = 25, orangesAmmount = {1,5}, timer = 10, tree = {4006,4008,2675}, exhaust = {3000,10} } function onUse(cid, item, toPosition, itemEx, fromPosition) if exhaustion.check(cid, cfg.exhaust[1]) == false then...
  3. SpiderOT

    Lua Fruit Tree

    addEvent(doCreateItem, os.time() + 10, itemid, toPosition) should be changed to addEvent(function() doTransformItem(item.uid, 4006) end, timer * 1000)
  4. SpiderOT

    Wait or Sleep?

    you can make a global storage to check whether one lever is pulled or not or you can use stopEvent
  5. SpiderOT

    Lua getSpectatorts

    @Ahilphino You're right it will check all creatures the true/false is for multi floor @GOD Fito it's safe to use my script if there won't be any creatures other than players else you should use Ahilphino 's script
  6. SpiderOT

    Lua getSpectatorts

    #players will return how many elements in your table function onThrow(cid, item, fromPosition, toPosition) local item = {2160} local players = getSpectators(getCreaturePosition(cid), 3, 3, false) -- using posCreature as center if #players == 1 then --do something else...
  7. SpiderOT

    Lua Check Exp stage

    forget to change the cid with your storage in line 2 check it again
  8. SpiderOT

    Lua Check Exp stage

    function getPlayerVipDays(cid) local left, d, h, m, s = (getPlayerStorageValue(cid, 1234) - os.time()), 0, 0, 0, 0 while left > 1 do if left >= 86400 then left = left - 86400 d = d+1 end if left < 86400 and left > 3600 then h = h+1 left = left - 3600 end if left < 3600 and...
  9. SpiderOT

    Weird lua error

    my bad change all items to [I] items[items_x]
  10. SpiderOT

    Weird lua error

    it will chose one random item from your table(items)
  11. SpiderOT

    Weird lua error

    it create all the items cause of loop items = { [0] = {id = 11302, count = 1, chance = 30}, -- zaoan helmet [1] = {id = 2493, count = 1, chance = 30}, -- demon helmet [2] = {id = 2494, count = 1, chance = 30}, -- demon armor [3] = {id = 11356, count = 1, chance = 30}, -- zaoan robe...
  12. SpiderOT

    will this script work ?

    Try with this and post what print on your console local cfg ={ mounts = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42}, storage = 13540 } function onUse(cid, item, fromPosition, itemEx, toPosition) local player =...
  13. SpiderOT

    will this script work ?

    You have to set the description to "No one owns this." else it won't works
  14. SpiderOT

    will this script work ?

    My first attempt with 1.0 xD won't be surprised if it didn't works local cfg ={ mounts = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42}, storage = 13540 } function onUse(cid, item, fromPosition, itemEx...
  15. SpiderOT

    will this script work ?

    Not tested but it should works local cfg ={ mounts = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42}, storage = 13540 } function onUse(cid, item, fromPosition, itemEx, toPosition) if getItemAttribute(item.uid...
  16. SpiderOT

    will this script work ?

    No, it won't works. The whole script bugged what exactly are you trying to do?
  17. SpiderOT

    Anti-bot system? Sugesstions!

    you can detect most if not all bots by changing default tibia packets like move,battle,attack,etc the problem will be the macro programs.
  18. SpiderOT

    Server hang when a spell is casted

    Check the magic level of the player
  19. SpiderOT

    Linux - Check on running server

    start your server by screen -L ./theforgottenserver to hide the screen of server and back to putty Ctrl+A+D to show back the screen of server screen -r
  20. SpiderOT

    [USA] Arthas::Lordaeron [9.x | custom] - New Era!

    So you expect to get lordaeron from elf in its perfect shape on 28th and launch it? sorry to burst your bubble Fare and me worked for weeks to get it ready, so with your experience i expect you will get it ready by the 29th? ofc that's if elf gave you the files on the 28th which i doubt will...
Back
Top