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!
Hello guys,
This system bellow was created by @Luan Luciano (i guess this is the original one) but I'm having difficulty adjusting the rewards and scores, leaving something fairer between healers, damage dealers and blockers. Could anyone help me find the best way to configure it, in order to...
Hey everyone,
I've been developing some features for my server and I've put together a little something that might interest some of you. It's a daily rewards system designed to give players a nice little boost for logging in each day. I thought it might be something worth sharing.
Daily...
Hey everyone,
I've been working on some enhancements for my server, Tibia.nu, and developed a couple of scripts that convert coins. There's one for converting gold coins to platinum and another for converting platinum coins to crystal. Thought it could be useful for others here.
Scripts...
I use OTCv8 for my small project.
I have a module for otclientv8 written in C++. The module generates numbers every second into a variable.
I would like to have access to this variable from lua to use this variable in a lua script.
I'm wondering and slowly eating my mustache on this code(my...
Hello everybody! I need help with a script...
I have this talkaction:
<talkaction words="!partyexp" event="script" value="partyexp.lua"/>
What calls this script:
function onSay(cid, words, param, channel)
if isInParty(cid) then
local party = getPartyMembers(cid)
local...
This command will allow GM's to easier follow other players as they walk around the map.
Usage:
/stalk Colandus (enable stalking on player Colandus)
/stalk stop (stop stalking)
In data/talkactions/talkactions.xml add:
<talkaction words="/stalk" script="stalk.lua" separator=" " />
In...
Merged 1.3 alk custom rlmap together with the tfs 1.5 and this pops up in the enginelog when I attempt to buy promotion;
Lua Script Error: [Npc interface]
Data/npc/scripts/Queen Eloise.lua:eek:nCreatureSay
data/lib/core/player.lua:59: attempt to call method 'getPremiumDays' (a nil value)...
TFS 1.4.2
I have a script that involves modifying item descriptions and interacting with specific items (a bucket of water and a sack of feed, with IDs 26415 and 26414, respectively. The script is intended to read the item description, extract a quantity value from it, and then perform certain...
Hey there,
Info:
Canary 13.21
No general changes to code or scripts.
Sometimes I'm having some issues with quest states, which seems perfectly natural, bugs do occur. I tend to troubleshoot these in order to find what path works and what doesn't in terms of the quest and if I can fix it in...
I'm trying to create a script that generates some loot boxes on the map in pre-determined or random pixels, so that the player who uses it gets some pre-defined rewards. The reward system works, but I can't make the boxes appear on the map automatically when the server starts. , I also tried to...
I tryied to do a script for make a random summon.
But i got this error:
[error] Lua script error:
error... boss_summon.lua:14: attempt to compare nil with number stack traceback:
[C]: in function '__lt'
...boss_summon.lua:14: in function boss_summon.lua:10
local combat =...
Good afternoon folks,I have a trade off system that is connected to a web page but I saw a bug: if I try to sell an item with charges (stone skin amulet for example), if I put the item up for sale and remove it from the list, it just comes back with a charge, the same happens if a player buys an...
hello, people of the forum. I've come here to share some of my resource with you all.
I've just started doing modding for the client and I was a little bogged down because there is not much documentation easily found about the lua API given to us. So I've made these simple lua files with...
Good evening guys, how are you? I have this NPC that I copied from Ralke to sell some items with charge, but he takes the item and its quantity (2160 for crystal coin and 2148 for platinum) and its real value is not included. As I added a new currency in the game, I would like to adjust this NPC...
Hello, I'm trying to check if an item can be use on slots 1, 4, 7, 8, 12 (Head, Armor, Legs, Feet or Hands)
Enums on src looks like this...
enum slots_t : uint8_t {
CONST_SLOT_WHEREEVER = 0,
CONST_SLOT_HEAD = 1,
CONST_SLOT_NECKLACE = 2,
CONST_SLOT_BACKPACK = 3...
Hello. I have a problem with lua script on my local server. I added a command for GameMaster in talkactions.xml.
And when I call a command in game I receive an error in console
Lua Script Error: [TalkAction Interface]
data/talkactions/scripts/eqSpawn.lua:onSay...
Hello everyone, everything good? I'm using this @Gesior.pl Arena system, but I had a bug sometimes after player try to jump in arena.
https://otland.net/threads/real-tibia-svargrond-arena-for-tfs-0-3-4-ver-3.33938/
After some players do arena, i have followed errors on console:
2023-07-20...
Does anyone know how to tell me the correct way to get the text value typed by the player inside the showTextDialog? I know that the function is structured in the following way: showTextDialog(id, text, canWrite, length), but I couldn't do it at all.
local function processValue(cid)
local...
Hello guys, how are you?
I saw this in another retro OTs a very interesting thing. How to NPC answer a player without put it in a queue, like some servers have "bring me to" in boaters NPC without need to say "hi". I want the same thing for my sellers and buyers NPCs. If u want to buy a SD just...