5mok3
Emporia
jajaja
that error is because your vps saxxx :G
im sorry dude..
that error is because your vps saxxx :G
im sorry dude..
hä? explain me? what do you mean with update?Up up update
why luaghing xDOriginally Posted by Speedy01
fixed my prob
i can change all items i wand
Quote:
Originally Posted by Speedy01
ok make mistake does´nt fix
I laughed hard at this
I have a question xD.
TFS 0.3.6 will be for Tibia 8.50 or 8.52? Maybe You'll do it for 8.50/1/2 ? Would be great...
<event type="think" name="Idle" event="script" value="idle.lua"/>
local config = {
idleWarning = getConfigValue('idleWarningTime'),
idleKick = getConfigValue('idleKickTime')
}
function onThink(cid, interval)
if(getTileInfo(getCreaturePosition(cid)).nologout or getCreatureNoMove(cid) or
getPlayerCustomFlagValue(cid, PlayerCustomFlag_AllowIdle)) then
return true
end
local idleTime = getPlayerIdleTime(cid) + interval
doPlayerSetIdleTime(cid, idleTime)
if(config.idleKick > 0 and idleTime > config.idleKick) then
doRemoveCreature(cid)
elseif(config.idleWarning > 0 and idleTime == config.idleWarning) then
local message = "You have been idle for " .. math.ceil(config.idleWarning / 60000) .. " minutes"
if(config.idleKick > 0) then
message = message .. ", you will be disconnected in "
local diff = math.ceil((config.idleWarning - config.idleKick) / 60000)
if(diff > 1) then
message = message .. diff .. " minutes"
else
message = message .. "one minute"
end
message = message .. " if you are still idle"
end
doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, message .. ".")
end
return true
end
-- Limits
idleKick = 1
idleWarningTime = 14 * 60 * 1000
idleKickTime = 15 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 50
maxItemsPerHouseTile = 50