Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
Hi guys, how are you?
Im looking for a system similar to this:
https://otland.net/threads/system-online-points.250371/
local config = {
storage = 20000,
pointItemId = 2160,
pointsPerHour = 1,
checkDuplicateIps = false
}
local onlinePointsEvent =...
Hello everyone, everything good? I'm using this @Gesior.pl Arena system, but I had a bug: When teleporting with the GM into the arena and trying to go to the next level, the players who came next to the arena bugged to go to the next teleport. Used system bellow...
I have this script to show monster life, exp and loots:
function ExistMonsterByName(name) -- by vodka
local monster = io.open("data/monster/monsters.xml", "r"):read("*all")
local get = monster:lower():match('name="' .. name:lower() ..'"')
if get == nil or get == "" then...
Hey, so script its working good, the small issue is i can return to boss after killing multiple times, how can i make on it timer 20h at least to kill boss again. I am pretty sure there is small bit missing halp! been working on in half day :D 1.3 TFS Version also how to make auto serv save...
Hi all, I've already referred to Error spell console and attempted to fix but no luck.
I've been trying to create a custom spell but I keep on getting errors
I'm on TFS 1.2
My problem is:
"Lua Script Error: [Spell Interface]
data/spells/scripts/attack/holy_light.lua:eek:nCastSpell...
Good morning people, everything fine?
I have a talkaction on the server that is an afk workout, eats food, releases magic and should have an anti-idle, but it doesn't always work correctly. Occasionally I get complaints from players who report that they had their char kicked. Could you help me...
Hola amigos! 🐥
Im fairly new to Lua and Im trying to rap my head around how the TFS functions work etc.
So I was planning on adding a simple crit chance + crit damage system. So I thought that was a good place to start!
But Im running into some problems (error free).
I wrote this in...
What can this error be happening in the function?
tfs1.3
Lua Script Error: [Main Interface]
in a timer event called from:
(Unknown scriptfile)
data/lib/lever.lua:131: attempt to index a nil value
stack traceback:
[C]: in function '__index'
data/lib/lever.lua:131: in function...
Hello everyone, everything good? I have a global event where a TP is created for a room. If I put in the setup just one day, it works. If I put it every day, it doesn't start, it doesn't give an error on the console and it doesn't work. can you help me?
local configuration = {
day =...
Goal: I want a player to be able to always have a specific item in their purse which never moves. With this item, I'm going to setup an onUse script to pop-up a modalWindow for various things. This will function as a low effort custom menu within OTClient.
Issue: I'm not able to figure out how...
Thanks in advance to whomever is taking the time to look this over with me.
The short and sweet is that I'm trying to figure out how to best script in LUA with TFS 1.4 (unaltered source). I'm undertaking what I thought was a simple task:
Make a custom wand which consumes less mana for a...
i need convert this seplls to RevScript, if is possible i need without event. I've tried to perform the conversion in numerous ways and I couldn't, so my last alternative is to ask you for help
local combat1 = createCombatObject()
setCombatParam(combat1, COMBAT_PARAM_TYPE...
Hello everyone, everything good? I put a reputation system on my server, to encourage the creation of a friendly atmosphere among players, giving rewards to those who achieve more points in this system, but players are managing to circumvent it, using VPN for example. The system checks the...
[C]: in function 'getPlayerItemCount'
/home/ots/data/scripts/actions/shop/sklep3.lua:14: in function </home/ots/data/scripts/actions/shop/sklep3.lua:11>]
Tibia 12.85
problem with script lever script shop :(
Help!
Hello everyone, everything good?
I need a reputation system for OTX 2 (TFS 0.X) that works like this:
Reputation will be stored in storage (144712).
Will work with talkaction using command: /rep player_name
1 rep every 24 hours per IP
Each injustice kill reduces rep by 1 (not obligatory)
I...
Hey guys. How are things?
I currently have a problem, and I'm a little lost trying to solve it.
The problem is Casting some rune, or even buying something from any NPC. Although I have several backpacks inside my main backpack, if the main backpack is full, it ignores additional backpacks and...
TFS 1.4
Hi!
I am trying to make a boss give storage id to all party members who have damaged it when it dies.
I am using a variation of Slavi's code from this post Lua - onKill players on party sharing xp to get task counted...
Hello, I installed the otclient shop, but the function of adding the outfits and addon are not finished, anyone with a good heart who knows?, thanks
-- BETA VERSION, net tested yet
-- Instruction:
-- creaturescripts.xml <event type="extendedopcode" name="Shop" script="shop.lua" />
-- and...
Hi I'm trying to understand lua to edit properly in the server, tfs 1.5, windows, 8.0 client with orts2 datapack. Is it possible someone help me understand why this rookgard quest is not working? (present for legion helmet in seymour npc, the following is its lua script.
local boxKeyword =...
Hi, I found a fishing script here on the forum, I'm using an OTX2 engine. The script does not work, an error appears in the console as below in the picture. How to fix it?
local config = {
[1] = {item = {1294, 1}, chance = 25000, fishing = 0, quest = {enable = false, storage = nil}}...