• 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!

[8.5] The Forgotten Server 0.3.5pl1 (Crying Damson)

Status
Not open for further replies.
Up up update
hä? explain me? what do you mean with update?

Originally 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
why luaghing xD
just because i maked a mistake?
make better and say me how i can change all items without error
 
Code:
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...
Why? for 8.52 No ;/ 8.50
 
I have question...

On my serwer I use TFS 0.3.5pl1 (CD) don't work idle kick ; /

Player's can stay 100 hours + and server didn't kick him.... What i must do ?


In creaturescripts.lua :
Code:
	<event type="think" name="Idle" event="script" value="idle.lua"/>

idle.lua:
Code:
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

In Config.lua :
Code:
	-- Limits
	idleKick = 1
	idleWarningTime = 14 * 60 * 1000
	idleKickTime = 15 * 60 * 1000
	expireReportsAfterReads = 1
	playerQueryDeepness = 2
	maxItemsPerPZTile = 50
	maxItemsPerHouseTile = 50
 
Thanks guys, keep up the good work and i might donate
 
where can you download donation version? and how do i donate?
 
This engine can be extinguished and no ping seem pretty underdeveloped versions of the engine elf ^ ^
 
Status
Not open for further replies.
Back
Top