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

    HELP with paralyze rune

    local speed = target:getBaseSpeed() if speed >= 40 then
  2. aqubjukr

    Lua two bosses share cd, need help

    GlobalStorage.Bosses.Urma and GlobalStorage.Bosses.Scarlett are different? This will link the countdowns in both scripts.
  3. aqubjukr

    Lua two bosses share cd, need help

    Only change the storageValue. This will make the cds different.
  4. aqubjukr

    NPC error message

    @TibiaFanatic When any xml file has the tag = script = "", it means the script will look in the scripts folder (which is in your directory), so you don't need to register the entire script route.
  5. aqubjukr

    How do I configure the initial gear to start?

    You've add the first line? local firstItems = {2050, 2382}
  6. aqubjukr

    How do I configure the initial gear to start?

    Use this, to see the vocation: (Sorcerer example) player:getVocation():getId() == 1 EDIT: In your script: local firstItems = {2050, 2382} function onLogin(player) if player:getLastLoginSaved() == 0 then for i = 1, #firstItems do player:addItem(firstItems[i], 1)...
  7. aqubjukr

    Change Script to run hourly

    Good luck with your walk, but i'm sure with this conception you won't get far.
  8. aqubjukr

    TFS 1.X+ event fire storm

    Try change: doAreaCombatHealth(creature.uid, COMBAT_HOLYDAMAGE, randfire,randfire, -9999, -1000000,7) To: doAreaCombatHealth(0, creature.uid, COMBAT_HOLYDAMAGE, randfire,randfire, -9999, -1000000,7)
  9. aqubjukr

    Change Script to run hourly

    Just like I said, it's just an example. But you must adapt to close the event after a while and be able to open it again.
  10. aqubjukr

    Change Script to run hourly

    Just a example: <globalevent interval="3600000" name="Quiz" script="quiz.lua"/> 3600000 = 1 hour // 7200000 = 2 hours function onThink(interval) Quiz.open() -- This is the line used to run the event. Game.broadcastMessage('Quiz event started.', MESSAGE_STATUS_WARNING) return true end
  11. aqubjukr

    TFS 1.X+ addoutfit error

    Exactly, I think that just setting the outfit tag in outfits.xml will solve the problem. And the scripts above can be used. <-- Male Example --> <outfit type="1" looktype="302" name="Manager" premium="no" unlocked="no" enabled="yes" />
  12. aqubjukr

    TFS 1.X+ addoutfit error

    Wouldn't the mistake be, bcos the outfit isn't set in data/xml/outfits?
  13. aqubjukr

    TFS 1.X+ Exercise weapon / stage skill

    The skill rate of the exercise weapon is set on these lines, so just change them. local skillRate = configManager.getNumber(configKeys.RATE_SKILL) local magicRate = configManager.getNumber(configKeys.RATE_MAGIC) Example: (Skill rate 5x) local skillRate =...
  14. aqubjukr

    How do I change the HP/MP regen rate?

    In data/XML/vocations
  15. aqubjukr

    Lua TFS 1.2 tileTeleports problem

    Change onStepIn: function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if not player then return true end local targetPosition = config[item.actionid] if not targetPosition then return true end...
  16. aqubjukr

    I am looking for a programmer to create scripts.

    What kind of scripts, version, tfs? Add more details
  17. aqubjukr

    TFS 1.X+ Stamina regen when training for tfs 1.3

    To add a message, you can use this: player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "TEXT HERE") To fix this, just add a corresponding movement to the action. local destination = { newPos = Position(31912, 32354, 8) } function onStepIn(creature, item, position, fromPosition) local player =...
  18. aqubjukr

    Lua [TFS 1.3] Teleport to a new floor

    I've already solved man, and edited the comment in question. My mistake was that I was using - 1 instead of + 1.
  19. aqubjukr

    Lua [TFS 1.3] Teleport to a new floor

    I'm trying to get all monsters / players to be teleported to a floor below. (the current z =12 and I want them to be teleported to 11) local function changeGroundDown() local monsters = Game.getSpectators(Position(31724, 31556, 11), false, false, 20, 20, 20, 20) for _, monster in...
  20. aqubjukr

    Boss teleport with cooldown help tfs 1.3

    Try this: local config = { [58059] = {timer = 517635, range = 13, newPos = Position(31674, 31363, 9), bossName = 'Unaz The Mean', bossPos = Position(31681, 31369, 9)} } function onStepIn(creature, item, position, fromPosition) local player = creature:getPlayer() if...
Back
Top