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!
--Functions by Printer
function Player.setExhaustion(self, value, time)
self:setStorageValue(value, time + os.time())
end
function Player.getExhaustion(self, value)
local storage = self:getStorageValue(value)
if not storage or storage <= os.time() then
return 0
end...
TFS 1.2
local config = {
freeTemple = Position(438, 503, 8), -- This is the Free account temple position
topArea = Position(370, 592, 7), -- This is the top left Co-ord for checking the Premium area.
bottomArea = Position(403, 645, 7) -- This is the bottom right co-ord for checking...
Steps:
Item 1 is in a certain place
Item 2 is in a certain place
How to check that both places are with the same item? In case of different ids items, would it return false?
TFS 1.3
Thanks in advance !
local shutdownAtServerSave = true
local cleanMapAtServerSave = false
local function serverSave()
if shutdownAtServerSave then
Game.setGameState(GAME_STATE_SHUTDOWN)
else
Game.setGameState(GAME_STATE_NORMAL)
end
if cleanMapAtServerSave then
cleanMap()...
local spec = Game.getSpectators(Position(31809, 33077, 9), false, true, 12, 12, 12, 12)
if spec then
for _, s in ipairs(spec) do
if s:isPlayer() then
s:sendChannelMessage("", string.format(STATUSDEFAULT.messages.channel_slower.msg...
Use this function
function clearBossRoom(playerId, centerPosition, rangeX, rangeY, exitPosition)
local spectators, spectator = Game.getSpectators(centerPosition, false, false, rangeX, rangeX, rangeY, rangeY)
for i = 1, #spectators do
spectator = spectators[i]
if...