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!
Lua Script Error: [Test Interface]
data/creaturescripts/scripts/others/login.lua
data/creaturescripts/scripts/others/login.lua:108: attempt to index global 'player' (a nil value)
stack traceback:
[C]: in function '__index'
data/creaturescripts/scripts/others/login.lua:108: in main...
Hello, this script is the same as above, the player speaks '! Vial'
all vial will sumi sure. more if he uses potion the vial is still in the backpack I would like it when it says "! vial" a loop ia happens always removing the potions from the backpack without it needs to be talking.
If he speaks...
the empty potions are only disappearing when he speaks 'vial'
can do for when the player speaks '! vial' from this moment the potion iram begins to remove little.
If he speaks again the potions will not be removed again.
Well I'm looking for this function that when the player speaks '! Vial or! Flask' all empty potions will begin to be removed.
In case he speaks again the potions will reappear
[Warning - Events::load] Can not load script: player.lua
data/events/scripts/player.lua:1056: <eof> expected near 'end'
I removed the end of the error but did not increase the exp gain
I tested it with the other function but it did not work Player.getVipTime(cid) > 0
exp gain in game is 200%...
original
function Player:onGainExperience(source, exp, rawExp)
if not source or source:isPlayer() then
return exp
end
edited
function Player:onGainExperience(source, exp, rawExp)
if not source or source:isPlayer() then
if self:isVip() then
local exp_extra = 1.5 --...
I found the solution ..
making him check the entire room and preventing another player from entering the room if she is busy.
if any player stays in the room stopped after a few minutes he is player out
Tks Summ and Itutorial
global events
l
local config = {
p_time = 1, -- Tempo em segundos para receber os pontos( 3600 = 1hora )
p_points = 1 -- Quantidade de pontos recebida a cada "p_time"
}
local function givePoints(cid, quant)
if os.time() - player:getStorageValue(974859) >= config.p_time then...
[Warning - Event::checkScript] Can not load script: scripts/Feyrist.lua
data/movements/scripts/Feyrist.lua:64: ')' expected near 'to'
I already removed ')'