• 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!

Recent content by Xikini

  1. Xikini

    Item that generate rune while have duration

    In my example above, there is only a single time-stamp. It's the same idea as a chest that can only be used once per day. You have a static number, and when the player looks at the item, the number never changes, only the current time changes. Instead of giving the number to the player, in the...
  2. Xikini

    Spawn boss if he is dead

    That works if it's a regular spawn, but what if you want a 5 hour delay?
  3. Xikini

    NPC sell items for items

    I don't understand the shop system enough to fix your issue.. but I can clarify that it does work. (kinda) You need enough gold on your character to activate the click on item function.. and then your custom buy function pays with the alternative currency. -> Spawn 600 gold -> Spawn 600 moeda...
  4. Xikini

    Lua NPC Addon Error

    change elseif msgcontains(msg, "yes") then to elseif msgcontains(msg, "yes") and talkState[talkUser] then
  5. Xikini

    Spawn boss if he is dead

    <globalevent name="bossSpawner" interval="1000" script="bossSpawner.lua" /> local config = { {bossName = "Demodras", spawnPosition = Position(245, 244, 7), respawnTimer = 10}, -- respawnTimer is in seconds. -> 60 * 60 * 1 <- would be an hour {bossName = "Demodras", spawnPosition =...
  6. Xikini

    Exhaust in manarune that will be taken from ('timeBetweenExActions') TFS 1.2

    His is a different script for TFS 1.3 Here is yours. local storage = 45000 local cooldown = 2000 -- milliseconds local function getCustomTime() return os.mtime() - 1631000000000 end function onUse(player, item, fromPosition, target, toPosition, isHotkey) if...
  7. Xikini

    Lua Remove (boss) monster after time x

    When the creature spawns, it will activate onThink 1 time, which you could use to create an addEvent to destroy it after x time. data/creaturescripts/creaturescripts.xml <event type="think" name="monster_onThink" interval="1000" script="monster_onThink.lua" />...
  8. Xikini

    RevScripts Item task quest TFS 1.3

    Regular outfit rules still apply. If it's a premium outfit and you don't have premium you will still receive the outfit/mount/addon but won't be able to wear it.
  9. Xikini

    Item that generate rune while have duration

    It'd be too resource intensive to remember all of the locations and timers / decays of all of these boxes, so you'd have to use a trigger event of some kind to give the items to the player / into the container. What I'd do for this kind of thing is tag the item with a time stamp using...
  10. Xikini

    TFS 1.X+ Special Item (if u look, u look item behind this).

    Careful when using this method in newer tibia clients. Browse field completely negates this items effect.
  11. Xikini

    RevScripts Item task quest TFS 1.3

    He leveled out of the old level range, so got the new level range delivery options. but tldr, yes you can repeat as many times as you want.
  12. Xikini

    RevScripts Item task quest TFS 1.3

    I have no idea how real Tibia's stuff works, but based on your explanation, I did what sounded logical. I've setup the swords area as your example described, and did my best to green-text the rest of the functions, so you can finish the rest of the table on your own. Forgot to include it in...
  13. Xikini

    Exhaust in manarune that will be taken from ('timeBetweenExActions') TFS 1.2

    You have 2 options. Change your storage max int value in the database to accomodate higher numbers or Make it a global function, so you can call it anywhere. data/lib/core/core.lua dofile('data/lib/core/customFunctions.lua') Then make a new lua file called customFunctions.lua in the...
  14. Xikini

    Exhaust in manarune that will be taken from ('timeBetweenExActions') TFS 1.2

    Wow, that's super annoying. os.mtime() is a larger integer then the default storage value allows in the database. here's a quick work-around. local actions_test_script = Action() local function getCustomTime() return os.mtime() - 1631000000000 end function actions_test_script.onUse(player...
  15. Xikini

    Exhaust in manarune that will be taken from ('timeBetweenExActions') TFS 1.2

    Show the script with the modifications, please.
Top