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 everyone. Could someone help me with this, I want to make a 10% bonus for having a client 12 and a 10% bonus for having a premium. But I think that the 2 codes collapse, the percentage does not give well it is disproportionate. Because if I remove 1 the other works fine. Thanks in...
Hi,
Can someome tell me why this spell do not dmg ?
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
combat:setArea(createCombatArea(AREA_SQUAREWAVE5))
function onGetFormulaValues(cid, level, magicLevel)
local min = (level / 5) + (magicLevel * 1.4) + 8...
Hi everyone,
I was trying to add another creature event to allow me to handle with lua when a creature actually gets experience. I know there is already a onGainExperience function under the /events/player.lua file, but I'm trying to handle this even for summons and I was wondering if I could...
Hi,
I have little problem... bcs in my server I have transform system ( once vocation going to new vocation ) due to when player got new vocation he must relog bcs without relog he can't use any spell for him vocation.
Someone have idea where can be problem ?
TFS 1.3 , 8.6
Hi,
I need very simple script ( simple for you not for me xD ) .
When player use lever , lever add to player experience (1945 example id lever). I don't need add storage, player can use always lever not only once :D .
TFS 1.3 , 8.6
I have been trying to read a 2D lua-table in sources and I am not sure how to debug this.
The error msg that shows up is "attemp to index a boolean value".
What is going on here?
myLuaFunction({
{ a = 0, b = 123, c = "string", d = true, e = true, f = true },
{ a = 0, b = 123, c =...
Hello all,
I have been experimenting with lua monsters, one little issue i have run into and just wana double check im not missing somthing stupid.
so RME can only import monster files with extension .xml (im using 3.7 the latest release). To load my exisiting monsters i have been creating...
Hello OtLand!
I have a simple request this time... Is there any script to consult experience using a talkaction? Like... Saying !tolvl and then a message appears showing 'You need X experience points to level PlayerLv+1.'
I have been searching through the forum, but couldn't find something...
Hey there!
Question!
Am adding attributes to items.xml exampel a Shield of honour, the attributes am trying to give the item is
<attribute key="maxhitpointspercent" value="133" />
<attribute key="maxmanapointspercent" value="133" />
My issue is why does the attribute not show when you...
I can turn on the WASD walking with the checkbox, but I can't turn chat on and off with the enter key like in other tibia clients. What is the code modification in lua I need to enable chat toggle using the enter key?
Thanks,
CoolBuys1290
For some reason a lot of people have trouble reading console errors and it makes me feel as if ability to read console errors was some ancient wisdom.
In this tutorial you will learn to understand errors in your scripts.
case 1: server closes and you can't read the error message:
If you're on...
Hello im Lucas i am 29 y/o from Poland. Currently jobless so im looking for some job based on TFS.
Looking for job: Programer/Scripter(C++ / Lua based on TFS),
Additionally: Install OTS on Linux (Acc Maker, Engine, Required libs)
Contact; Dakos#7633
Experience; 8 Years with Tibia Servers...
OTClient game_skills module error:
ERROR: protected lua call failed: LUA ERROR:
/modules/game_skills/skills.lua:107: attempt to index local 'skill' (a nil value)
stack traceback:
[C]: in function '__index'
/modules/game_skills/skills.lua:107: in function 'setSkillValue'...
I need help with this Castle War script, all works good, but when the event finish, i recive this message:
And have this error:
This is my castlekill.lua:
function onDeath(cid, corpse, killer)
if (getCreatureName(cid) == getCastleConfig("monster")) then
Castle_endEvent(true...
Hello guys,
I have a script that makes player be teleported to the temple of the city he have the current citizenship, i use this script to make player leave the training room. Each city has a teleport targeted to training area, but what I wanted to see was if it is possible to get the player to...
I have a script from the boss time guardian (to change the phases), and I wanted to know what the reason for the error would be, since the "index" was set in top as a random number between 1 and 2. If you have a possible way to fix it, I would be grateful.
Console:
Lua Script Error: [Spell...
Can someone please point me of where I can find a script that can either lower player skills
or a script that can place a soft cap on players' skills
TFS 1.3
basically players have been able get much higher skills than I would like. I would like to lower their skills to place a soft cap...
Hello, I have a Grizzly Adams script and all works fine, but it don't have boss script, I searched in a lot of threads and all scripts I found don't works in my server, I need help to implement this system in this script.
I use TFS 0.4 3777.
And this is the script that I use:
I tried editing other existing scripts with a similar function but i couldn't make it work.
So, all i need is:
I-) Items must be dropped on specific basin.
II-) Once all items are on their basins, someone pulls the lever and Items + walls disappear.
III-) The lever only can be pulled after 1...