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

script

  1. potinho

    Lua [TFS 0.3.7] Exclusive use for first player

    Hello everyone, everything good? I created an outfit mechanic for my old server, where when using an item the player gets a specific looktype. The problem is, since the item cannot be removed, it can be loaned to anyone. Is there a way for the item to be exclusive to the first player who uses...
  2. potinho

    Save backpack organization

    Is there any way, in OTCv8, to save the organization of the player's backpacks, so he doesn't need to open them all again when logging in? If so, could you show me how to do it? I dont know if a relevant information, but im using OTX 2 (TFS 0.3.7).
  3. potinho

    TFS 0.X Autoloot Problem

    Hello everyone, everything good? I would like to help you guys with a problem: I have an autoloot script that works very well, but I discovered a problem: one player didn't sell the loot he collected for a few days and his loot backpack reached 99000oz. After killing an animal (I think because...
  4. D

    sqm which adds effect to the player when passing by

    I need to change this script so that the player gains an effect when stepping on 2 different sqm and when the player dies or disconnects, the effect is removed. The script to be changed below | | V effect.lua local effect = 30 -- Effect that...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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()...
  11. 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...
  12. 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 =...
  13. 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 =...
  14. 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...
  15. 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...
  16. 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...
  17. 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?:)
  18. 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...
  19. 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?
  20. 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...
Back
Top