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

script

  1. D

    I need to remove the outfit change from this script.

    I need to remove the outfit change from this script -- OutFit Type / Color TEAMS_SET = { {lookType = 128, lookHead = 0, lookAddons = 3, lookLegs = 76, lookBody = 94, lookFeet = 0}, -- Team I OutFit {lookType = 128, lookHead = 0, lookAddons = 3...
  2. potinho

    TFS 0.X Exp Scroll - Not Working

    Hi guys, I have two exp scroll, one that is sold on the website (1.5 exp) and another in game (1.3 exp). What is sold on the site is not working after the character logs out and comes back, could you help me? EXP Scroll who works: Exp Scroll who not working after logout and login in...
  3. potinho

    TFS 0.X Action - Restrict use item by storage value

    Hi guys, I have this action local config = { effectonuse = 28, -- effect (/z) levelsdodge = 100, --- Maximum dodge you can use storagedodge = 48902 -- storage verification } function onUse(cid, item, frompos, item2, topos) if getPlayerStorageValue(cid...
  4. potinho

    TFS 0.X Dodge System - not working

    Im using this Dodge System https://otland.net/threads/dodge-system-tfs-0-3-6.250605/ But im taking hit from monsters when "Dodge" message apppears, i put to print result on console and the result is the hit im taking: local lvldodge = 48902 local percent = 1 function onStatsChange(cid...
  5. potinho

    TFS 0.X Upgrade Staff - Prevent use itself

    Hello guys, I have a working script for an upgrade staff (upgrade system), the item has the ID 5114 and I want it to be impossible for players to use it on it, could you help me? function onUse(cid, item, fromPosition, itemEx, toPosition) if isCreature(itemEx.uid) then return...
  6. potinho

    TFS 0.X Manarune Problem

    I have a manarune script that works fine, but there's a problem: if I use the rune on me it works as expected, but if I click on the rune and on another player (to add mana to the other player) it gets added to myself (character who uses the rune). local combat = createCombatObject()...
  7. potinho

    Lua [TFS 0.3.6] City Guide - doPlayerAddMapMark

    Hello everyone, everything good? I tried using the guide script below, which would help me a lot. But when the NPC mark the position on the map, it gives the error below on my console. can you help me? https://otland.net/threads/city-guide-adding-mapmarks-to-locations.166422/ npcguide.lua...
  8. potinho

    Lua [0.X]Temple TP Script

    Hello guys, I have this teleport script to the temple, but I would like to improve it: cooldown (in hours) put message on screen when using Item disappears when used can you help me? function onUse(cid, item, frompos, item2, topos) ppos = getPlayerPosition(cid) temple =...
  9. potinho

    TFS 0.X Dark Rodo selling bp of manafluid

    Hey guys, I have a Dark Rodo on my retro server, it sells manafluids in the amount the person wants, but I would like him to sell a backpack of manafluid, could you help me do that? Here's his .LUA file. local keywordHandler = KeywordHandler:new() local npcHandler =...
  10. potinho

    Lua [0.4] Item who buff skills

    I have a custom item on my server (ID 5152) I would like to create a script for it that gives the following benefit (for 30 minutes) varying by vocation, for example: ED/MS: ML +5 Knight: all skills +30 Paladin: distance +15 and ml +3 After the 30 minute period has passed, the skills will...
  11. G

    Lua 7.6 How to make a NPC who changes outfits for Players?

    Hello I have a problem with a Script. GM/Admins can change outfits by the command /outfit. Example: /outfit Name, 2 (Orc Warlord) Now I wanted to add a NPC who changes outfits with this command. The problem is that when the npc says this command, the server crashs. With Admin or GM it works...
  12. T

    TFS 0.X Auto Loot - Poketibia (8.54 - 0.3.6)

    Hey guys, I did a search for AUTOLOOT here on the site, I looked at all the links and I couldn't find what I need. if anyone can help, i would be extremely grateful, i've tried everything and i can't, it seems to be something simple. I need an autoloot that takes all the items from the...
  13. H

    Lua Storage Outfit OtHire 7.72 problem

    Hi everyone! I've got problem with storage outfits. For example: when somebody bought elf outfit through the shop from site, he can change outfit in client. If someone will have storage, let's set up 20001 This will be able to choose a necromancer in the set Anybody can help me with this?:)
  14. potinho

    TFS 0.X [7.72] Anihilator problem

    Hello everyone, everything good? I have an anihilator action that works, but if a single player (or 3) is on the floor and pulls the lever, it moves normally and gives an error on the console. No message is returned in the game that "4 players are needed". Here is an error in the console and...
  15. potinho

    TFS 0.X [7.72] Globalevent that starts an event

    Good morning guys, I have a MOD that is an event for my server, it works perfectly, but I always have to start it manually, typing "! start". I would like to put a globalevent that would start this event for me every day, at 8:00 PM. Could you show me how to do it?
  16. potinho

    TFS 0.X [7.72] Autoloot MOD Issue

    Hello guys, I have the mod below for autoloot and it works perfectly. I restricted its use to players with VIP (storage 30009), but I discovered a problem: after the VIP period is over, he continues to automatically pick up the items that the player selected when he was VIP. The loots are stored...
  17. helviio

    Action For Quiver

    Arrows and bolts are not leaving the quiver to attack the monster ... I did this tutorial and it worked "TUTORIAL" I created an item edited in dat / spr I used the item editor and everything was fine but I don't know the action that makes the arrow / bolt leave the quiver to attack the monster...
  18. Janusz1337

    Arena With Monster Event tfs 1.2 HELP

    Hello Guys, I need a Event Script. 1.Tp appear every few hours 2. People enter a specific area on the map. like on Last Man Standing 3.The first wave of monsters appears. after 10 seconds another wave appears, etc. 4.When one player is left, the event is won by last player. TFS 1.2 Tibia 10.98
  19. potinho

    TFS 0.X [7.72] NPC Buy all loots

    Hello guys, I have a question and I was wondering if it is possible: I have NPCs who buy items and work perfectly. They buy in the quantity I determine, as in the print below, but he doesn't understand when I say "sell all". Is there a way for the NPC to understand? If yes, how? It would make...
  20. potinho

    TFS 0.X [OTC V8] Save Backpacks Organization

    Good morning people. I'm using OTClient v8 on my server and I would like to know if I can save the organization from the open backpacks, so that as soon as the players leave and come back, they don't have to open them all again (stay saved). can you help me? Follow print to example:
Back
Top