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!
local canCreateBossAroundPos = true -- Can we create around the stone position?
local forceBossCreating = true -- If position is not walkable, should we force the boss creating?
local configs = -- Stone configs
{
-- [uniqueId] = { config }
[12610] = { storageId = 12610, bosses =...
TFS 1.3 Client 10.98
An arena that always spawns with 3 monsters on basic, each monster kill spawns another one instantly and 10% stronger than the previous one. Player get rewards based on how many "enchanted" monsters he killed. However, the player has limited time in the arena which is 3...
You don't need to add that in login.lua just login_events my bad.
Do you have it registered as creaturescript as
<event type="kill" name="FeroxaKill" script="YourScriptName.lua"/>
Might not be the best way and requiers weapon to be in left hand and shield in right hand but works okay xD
local combat = Combat()
combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITAREA)...
So close yet so far xD
Well now it shouts in console:
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/testitem.lua:onEquip
data/movements/scripts/testitem.lua:6: attempt to index global 'item' (a nil value)
stack traceback:
[C]: in function '__index'...
Okay the loop part seems pretty logical now but I encounter a new problem.
I've added the code below because it could not find a player when I tried to equip an item.
local player = Player(cid)
if not player then return false end
But now for some reason when I try to equip an item it says in...
Okay I've changed it to movements, the equip part works as it should but dequip ain't removing the storage dunno tho how to make it as negative value, it can be stacked infinitly. Can you please take a look?
local gear = {
[21691] = {slot = CONST_SLOT_NECKLACE, amount = -500}
}...
Hello, I'm trying to make a script that will set a certain value of storage to item from table when equipped, it "KINDA" works but not so far, by that I mean it do set the storage but every time a player gets hit it adds the storage once more and so on, also it does not remove the storage upon...
Yeah sure about the exhaustion thing, but there seems to be a problem with the previous one, it drops me this error when I click the bones.
Lua Script Error: [Action Interface]
data/actions/scripts/boss1.lua:onUse
data/actions/scripts/boss1.lua:25: attempt to compare number with boolean
stack...
Hello, I was wondering if it is possible to add a timer on the roshamuul bones after clicking on it. So basically when u click on bones they transform into other id and triggers revertBone function then after clicking again the script should send a message when the bones were used, for example...