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, can anyone help me?
I have an OTX 2 07 Server - Codename LORD ZEDD.
And it is now possible to add the damage from traps to kill monsters.
I send my trap.lua movements script for analysis.
function onStepIn(cid, item, pos)
if (isInArray(TRAP_OFF, item.itemid) == TRUE) then...
Is this how DeEquip is supposed to work with stackable items on TFS 1.4.2?
Shouldn't it only remove attributes when the whole stack is unEquipped?
Example: Using a normal spear for testing.
This is how it's added to items.xml:
<item id="2389" article="a" name="spear">
<attribute...
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...
Hello. I have a problem with the levelbridge.lua script. the script doesn't work at all. do i need to configure any more scripts for this?
tfs 1.5 12.81
local failPosition = Position(31704, 32279, 6)
function onStepIn(creature, item, position, fromPosition)
local player =...
Hello Community!
I can't figure out what is wrong with the script. 😵💫
The idea is to add back (to the original tile) a small stone after x time with addEvent function.
The problems:
1 when the item is created, it spawns without the aID needed to activate the onRemoveItem function.
2 when the...
Hi,
I'm playing with onEquip / onDeEquip methods and I don't know what is happening. This is my test code :
And when I'm trying to get the slot number or item id all values are "multiplies" by 3. So for example:
head slot should be 1 but it is 3
armor slot should be 4 but it is 12 and so...
Hello ppl.
My players told me, that step in poison fields always do fix 100 dmg IF you aren't already poisoned. Otherwise you won't get dmg.
All monsters can move across it without getting any dmg.
I've already checked the step in but can't find a file that handles dmg of poison fields.
Can...
Hello! good afternoon, I have a detail with a script.
I have a movement script, what it does is that when you step on the floor the script gives you an outfit, everything is fine here, if you give me the outfit but what it doesn't give me is the addon, I suppose it is because I don't have it...
Hi guys, i have this code that i found in the internet but is not working 100%
The boss is spawning, and the timmer is working ( player got kicked before 10m in the room ), but the clear isn't.
I create an item that give a player "Storage 9000", then he can acess the portal and kill the...
Greetings everyone!
Could anyone help me figure this one out?
The basic concept is the one used in real tibia:
When the player enters a swimming area (tiles from id 4620 to id 4625), an effect should be sent to that position, but only when entering the area, walking around said tiles shouldn't...
Hello.
I'm trying to create a complete working server with latest content possible. I'm total rookie in terms of coding, so I'm basically learning while working on this project. If you want to contribute PM me. I'm not making server for money, actually I'm not gonna set up server for players...
tfs 0 3 6
local monster = {"demon", {x = 1, y = 1, z = 1}}
local timetoremove = {2, "min"}
function onStepIn(cid, item, position, lastPosition, fromPosition, toPosition, actor)
if getCreatureByName(monster[1]) then return true end
local m = doCreateMonster(monster[1], monster[2])...
Hi, where may I find those functions that we can target in movements.xml? onEquipItem, onDeEquipItem, onStepInField..? (TFS 1.2)
(example: <movevent event="Equip" itemid="2195" slot="feet" function="onEquipItem" />)
Is it only in sources, movement.cpp>MoveEvent::EquipItem ??
Another...
Hello! Im using OTX 7.72 based on tfs 0.3. I want to add the vocation restriction (i know it is in movements.xml) for some items that gives magic level
for example dwarven armor:
i tried both codes, and didnt work, still all vocations can wear it.
<!-- Dwarven Armor -->
<movevent...
Hello! From nowhere i couldnt load my movement.xml
anyone got a suggestion what's wrong?
[09/06/2017 10:24:01] [Warning - BaseEvents::loadFromXml] Cannot open movements.xml file.
[09/06/2017 10:24:01] Line: 975, Info: Premature end of data in tag movements line 2
[09/06/2017 10:24:01] > ERROR...
Hello, good evening friends, I apologize for my bad English, my problem is in my movement script,
I have tfs 1.2 on my server, and I would like to adapt my code to when the player's storage change he would be teleported to the temple, script In question ->
function onUse(cid, item, frompos...
this scripts for remove items on ground i need add time for remove in 30 seconds
if is possible msg for player Tfs 1.2
events player>onMoveItem
local cls = Tile(toPosition)
if cls and not cls:getHouse() then
if cls:hasFlag(TILESTATE_PROTECTIONZONE) then
item:remove()
return...
hola!! I would like to know if anyone can edit this script for me :D
Is a war zone script But what I want is that it can only be used every 24 hours My idea is to make an area where you can only enter every 24 hours for vip players :D this is my base script
I'm using OTX 3 for 10.90 ot...
I would like to replace stealth ring with new item called 'mana ring'.
I have edited items.xml
<item id="2202" article="a" name="mana ring (1% max mana / sec)">
<attribute key="weight" value="100" />
<attribute key="slotType" value="ring" />
<attribute...