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 everyone, I'm editing the code so that the tasks will count in party, but I can't make it 100% functional, since I want to make it count only by damaging the creature.
At the moment it works if they both hit almost the same damage to the creature.
Could you help me?.
Hello guys, I'm here trying to do something with utamo vita. In my head, it would be more dynamical if the spell only absorb some part of the damage, not all the damage. In other words: If a monster (or other players) hit the dude with utamo vita and 100% is the damage, so what I want is...
Hello, I'm using TFS 0.3.7/OTX2.
I'm trying to change a code by @buchaLL
He made a monster of the day code, but on my server I have a few dragon lords, I want that if the monster of the day is dragon lord, it affects all the ones in the group.
I wasn't able to use a table for this.
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
This system should use the skill club as a basis for critical, but I have this error
tfs 0.4 8.60
local SKILL_ID = 3 -- id skill...
local multiplier = 1.5
local percentual = 0.3
function onStatsChange(cid, attacker, type, combat, value)
if isPlayer(attacker) and (not (attacker == cid))...
I'm trying to mess around with onStatsChange and I need to check if the damage that the player is causing is being caused by a weapon (since the player can deal damage with runes, spells, fire field and what not)
I know I can getPlayerSlotItem but that will only tell me that he has a weapon equiped
am trying to fix firestorm event this : Firestorm Event | Tfs 1.2 (https://otland.net/threads/firestorm-event-tfs-1-2.237061/)
am getting these errors
Lua Script Error: [Main Interface]
in a timer event called from:
data/firestorm_event.lua:66:in function 'dostartfirestorm'...
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, how are you? So I am using this script for every lvl that upa earns "Skills Points" I am with 2 doubt.
1st I wanted that when the upa character appeared a message on the screen something like "+1 Skill Points!" I saw that in Script there is a message area, but it is not working...
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, i've got this code to change Gold Coin into Platinum Coin automatically, but there's no console error and the gold it's not changing.
function onThink(creature, interval)
local player = creature:getPlayer()
if not player then
I'm making a script that when equipping [Wand + Shield], [Sword, Axe, Mace + Shield], [Crossbow] have an attribute bonus in [ML], [SWORD, AXE, MACE], [DISTANCE] respectively.
But I have a lot of problems, the first is that activation message creature: say ("Damage Bonus", TALKTYPE_MONSTER_SAY...
Hello people !!! I wonder if you can help me create a simple WORK system.
How would that work?
There will be 1 NPC for each JOB.
The crafting systems I already have.
I need the NPC to WORK, enlist the player to work based on their level, giving a simple mission to get him from the JOB. A basic...
Hello! I´m working on a little project, a 7.6 server (XML - it´s old, I know, but usually simple, just for a few friends and I.), and monsters can move diagonally, is it possible to make 1 specific monster/creature unmovable so it just stands still wherever it is placed in its spawn?
So this is my first "contribuition" it's a critical system based on the weapon that you use and a dodge system based on the player speed and free cap.
It has effects and texts for melee and ranged attacks. Wands/spells have only texts.
Monsters can crit/dodge and everything...
Have done little research and now i know that it's fault of script idle.lua which kicks after specified amount of time is any possible solution on this? maybe before kick removing of onThink statement in my script? idk ;/
Hello OTLanders i need your help ! I've scripts(3) which send...