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

    Lua onKill Storage [OTX]

    Needed a script where each creature the player kills he adds x storage, and when he kills x amount he will be teleported. I tried to create something, but I couldn't, can someone help me? local kill = CreatureEvent("KillCreature") function kill.onKill(player, target) if target:isPlayer()...
  2. W

    TFS 1.X+ Exercise weapon / stage skill

    I added the rate skill system, but the exercise weapon script takes the skill configured in config.lua (rateSkill = 10). Is it possible to get the skill configured in the new skill rate system?
  3. W

    Dont use haste in certain area

    is it possible something like, from x place to x place can not use the spell haste? If anyone can help me, thank you.
  4. W

    Remove creature and kick player

    Someone help me? I need that after a few minutes the player is removed and the boss deleted from the configured area. local function removeBosst(fromArea1, fromArea2, bossName) for x = fromArea1.x, fromArea2.x do for y = fromArea1.y, fromArea2.y do for z = fromArea1.z...
  5. W

    Dodge System OTX 3.1

    Hello, someone would have to make available some dodge system, where he defends% of the damage received. I have a system, but it is not working, if someone can help me to correct the problem. function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType...
  6. W

    Lua NPC Dicer error

    I have this error in a npc dicer and I do not know how to proceed. The mistake happens when I say H or L and gain, it does not return the money. OTX 3.0 Can someone help me? Here is the script. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler)...
  7. W

    Lever for more players

    I have this script and it only teleports the person that is in PlayerPosition. I would like it to teleport more players than configured in PlayerPosition2, PlayerPosition3 and so on. local Config = { bossName = 'Rat', -- boss name PlayerPosition = Position(32715, 31644, 7), --...
  8. W

    Set Storage to players

    Hello, I'm trying to add a setPlayerStorageValue with os.time () when using the lever, I've tried several forms and I could not, can anyone help me? local function removeBosst(fromArea1, fromArea2, bossName) for x = fromArea1.x, fromArea2.x do for y = fromArea1.y, fromArea2.y do...
  9. W

    Solved Raids with day and hour. [TFS 1.3]

    I have this script that is in globalevents, that was to give invasion with date and time, but it is not working. I tried to change some script in the raids folder, but it still did not work. local raids = { -- Weekly ['Monday'] = { ['08:00'] = {raidName = 'RatsThais'}...
  10. W

    Teleport with storage destination [TFS 1.2]

    I need the help of someone who can make a script, where when stepping on the teleport, teleport to different destinations according to your storage, example: If the player has storage 1111> teleport to destination1 Or if player has storage 2222> teleport to destination2. Thanks.
  11. W

    Request - Quest with lever

    Hey, everything cool? I'm on a project, and I wish someone could help me. I'm needing an annihilator style script, but with some modifications; Being more specific would require that ... Teleport without playing the player in all configured sqm's. Check if there is a player inside the room that...
  12. W

    Reacts to use / Fansite Item

    Someone would have a script where the player when using certain item sends a random message set and transforms the item to another id, like fansite items of global tibia. Example, Cateroide's Doll to give use him he turns to another id and sends random messages like "Hail Cateroide!" or...
  13. W

    Need a little help

    I have this script which use an item to another and according to the vocation comes configured id. but is giving the following error. [Warning - Event::checkScript] Can not load script: scripts/wolfamulet.lua data/actions/scripts/wolfamulet.lua:7: '}' expected (to close '{' at line 2) near '['
  14. W

    Item Effects

    Needed a script where the player use of the item and turns into another, I will give an example the Dark Wizard's Crown, which use when it turns into another and back to normal. Can someone help me? thank you
  15. W

    Error Addon system

    Hello guys! I have a problem in a script addon system using onModalWindow . The script works without any error , but when the character is already with all addons it appears : You have all the outfits ! You have been Awarded the achievement and a custom outfit! and a button to confirm and...
  16. W

    Help - Critical System bug

    hi guys, i have a problem in a Critical HIT system on my server. TFS 1.2 I was testing it in-game , when i realized that the character was not taking hit monsters , not losing life, only mana (with utamovita ) . I removed the line of Creaturescripts.xml and returned to normal functioning ...
  17. W

    Need Dota Event TFS 1.2

    Hello guys, I needed the dota event script to tfs 1.2, found only for versions 8.6. If someone has and can help me , I thank you. :D
  18. W

    Lua Upgrade system error

    I have a problem and need help. I have this upgrade system that lets your weapon +1 +2 ... but when I try to use the item in the armor of the following error: I use tfs 1.2. Lua Script Error: [Action Interface] data/actions/scripts/upgradestone.lua:onUse data/lib/upgradesystem.lua:74: attempt...
  19. W

    Lua [HELP] Function onPrepareDeath

    I have this script where the loser is teleported when you die inside the arena , I would like to make the winner also be teleported out saying he won? local arena = { frompos = {x = 97, y = 36, z = 9}, topos = {x = 109, y = 47, z = 9}, exitpos = {x = 93, y = 40, z = 8} } function...
  20. W

    Lua Delay say on tile/sqm [Help]

    Hi guys, i need a little help. Needed a script where a certain sqm has a delay of many seconds to talk right word .
Back
Top