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!
In my code, clicking on the lever removes a stone, and the stone comes back in 10 seconds, but if you keep clicking on the lever an error occurs, I would need the lever works again only after 10 seconds. if the player clicks before 10 seconds the lever would not perform any function.
(my distro...
Hello, OT Plebs.
I have written a script for taming mounts and I would like to receive some feedback and maybe optimize it [a bit] with your help.
Here's the code:
<action itemid="13307" script="mounts/tame.lua"/>
<action itemid="13538" script="mounts/tame.lua"/>
local config = {...
Good evening, can anyone help me? I'm in need of a script for the player to choose whether it wants to be PVP or NOPVP. I tried to use this one ---> TalkAction - !pvp - own world type! : ) (https://otland.net/threads/pvp-own-world-type.31889/) , but it is giving this error: INVALID EVENT...
Hello Guys, someone can help me?
function onStepIn (creature, item, position, fromposition)
local player = creature:getplayer()
if not player then
return
end
if creature:getplayer
player:teleportTo(Position(32722, 32242, 8)...
Hello community. Anybody knows how to make appear the little image left on Category_Name? The biggest one is showing normally. Please, if someone can help me.
Thanks!
What are we looking for?
We currently look for a serious, trustworthy experienced c++, Lua programmer with proper understanding of OTC functionality with the ability of editing or developing modules, internal functions and visual features.
Requierements:
1. Time availability: For us it is...
I was trying to make vials stackable on 7.72 and I preferred to add 2 new items, one manafluid and one empty vial and I got this action script that works like a manafluid, all is working good. but...
The problem is that player can use mana fluid on each other, how i can make it no usable on...
Hey supprorters, I have dull problem, I just don't know how to connect all 5 requirements for reward in code line
I was always editing script that checks if the item count is higher than 0.
Now when I want 5 items to get one reward I don't know how to make them all work together and remove them...
Hello, at the beginning I want to apologize to you for my English, I helped translator..
I need help to detect problem of random server crash, i adding 2 new spells and one weapon
probably one or all of them is a problem.. all of them use addEvent()
storageReseter.lua - used to reset storage...
Hello people,
when buying rune pack he buys only 20
each packet being 100 runes how can I fix it?
TFS 0.3.7
version 8.60
lib -> npc.lua
function doNpcSellItem(cid, itemid, amount, subType, ignoreCap, inBackpacks, backpack)
local amount, subType, ignoreCap, inBackpacks, backpack = amount...
Hi i'm having some trouble with the lua function player:addItem, if the user have the main backpack full, the item dosent appear in the ground or in the other backpacks
Hello Otlanders
I'm looking the best way to implement this "prefix" for each vocation.
Note: Can be applied for other things like loyalty, or some stuff to show.
Example:
Character Name: Demos
With prefix should be
Character Name: [RP] Demos
This kind of prefix used to be old war...
So I'm working on fixing an ORTS issue I've ran into with the Third Seal of the Banshee quest. The levers don't move, have proper uid, but are not working. I've messed with it and can't figure it out. Searched around some, nothing I could find on OTland, but there was a report on the ORTS GitHub...
So I wrote this script using some info I found here on the forums.
In theory, it should work as,
If Level 20 & No storage value then
If Knight/Elite Knight then
If Axe > then Sword & Club, give axe weapon
Else if Sword > Axe & Club then give sword weapon
Else if Club > Sword & Axe then give...
Hello im trying to use the getNextPosition function without success, heres my code:
function doCharge(cid, targetcid, index)
local creature = Creature(cid)
local target = Creature(targetcid)
local pathToObj = creature:getPathTo(target:getPosition(), 0, 1, true, true)
if...
Hello,
I need a script that will change the player ID group after using the item. For example, after using an item with ID 1750 ID, the group from the player will change to Tutor. So from Group 1 to 2
I need a script that will change player group 1 to tutor group 2 Automatically:
<group...
Hello,
is it possible to create a rune which reduces the exhaustion of each type by half for a certain time without source code? If possible, please tell me which set of functions to use to achieve the goal. I'm using TFS 1.2
Thank you for all the answers!
I used OTX2 (Tfs 0.3.7) and not working this script
[2/10/2018 1:52:52] [Error - NpcScript Interface]
[2/10/2018 1:52:52] data/npc/scripts/simple_task.lua:onCreatureSay
[2/10/2018 1:52:52] Description:
[2/10/2018 1:52:52] data/lib/100-shortcut.lua:260: attempt to index a boolean value...
So, i have all bless npcs on my server, the bless system changes the price depending on the level, till this point it's working great, but the npc always says the wrong price but charges the right one, wanted to know if i can make a math with the basecost + (value per level starting from 30...