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

The players can't connect to my server after some time.

Atentador

New Member
Joined
Aug 8, 2008
Messages
44
Reaction score
0
Please, somebody can help me?
My server is online, with the port 7171 opened, the IP is normal, everything in config.lua is correct, but after some time my players can't make login in my server, but the players what is already online don't disconect or kicked, they play normal.
Anybody knows what the problem? :/

-> The server is opened for 2 years, and now I'm having this problems.
-> Sorry for my english.
 
Firewall is ok, I use Kapersky (I used NOD 32 too, but I change when this problem start.) the ports is ok and I use the last forgotten server.
I already searched for bugs but I don't found anything... :/

Here is my config.lua:
PHP:
-- The Forgotten Server Config

	-- Account manager
	accountManager = "yes"
	namelockManager = "yes"
	newPlayerChooseVoc = "yes"
	newPlayerSpawnPosX = 1000
	newPlayerSpawnPosY = 1000
	newPlayerSpawnPosZ = 7
	newPlayerTownId = 1
	newPlayerLevel = 8
	newPlayerMagicLevel = 0
	generateAccountNumber = "no"

	-- Banishments
	notationsToBan = 3
	warningsToFinalBan = 4
	warningsToDeletion = 5
	banLength = 7 * 24 * 60 * 60
	finalBanLength = 30 * 24 * 60 * 60
	ipBanishmentLength = 1 * 24 * 60 * 60
	broadcastBanishments = "yes"
	killsToBan = 5
	maxViolationCommentSize = 200

	-- Battle
	-- NOTE: loginProtectionPeriod is the famous Tibia anti-magebomb system.
	-- deathLostPercent set to nil enables manual mode.
	worldType = "pvp"
	hotkeyAimbotEnabled = "yes"
	protectionLevel = 25
	pvpTileIgnoreLevelAndVocationProtection = "yes"
	killsToRedSkull = 3
	pzLocked = 60 * 1000
	criticalHitChance = 4
	displayCriticalHitNotify = "yes"
	removeWeaponAmmunition = "yes"
	removeWeaponCharges = "yes"
	removeRuneCharges = "yes"
	timeToDecreaseFrags = 24 * 60 * 60 * 1000
	whiteSkullTime = 15 * 60 * 1000
	noDamageToSameLookfeet = "no"
	experienceByKillingPlayers = "no"
	showHealingDamage = "yes"
	fieldOwnershipDuration = 5 * 1000
	stopAttackingAtExit = "yes"
	oldConditionAccuracy = "no"
	loginProtectionPeriod = 10
	deathLostPercent = 10

	-- Connection config
	worldId = 0
	ip = "***.**.**.**"
	port = 7171
	loginTries = 10
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = "1000"
	motd = "..."
	displayOnOrOffAtCharlist = "no"
	onePlayerOnlinePerAccount = "yes"
	allowClones = 0
	serverName = "danGer"
	loginMessage = "Bem vindo ao danGer Server! [Comunidade: http://www.orkut.com.br/Community.aspx?cmm=67036573] - [BOTs e MCs não serão tolerados.]"
	adminLogsEnabled = "yes"
	statusTimeout = 5 * 60 * 1000
	replaceKickOnLogin = "yes"
	forceSlowConnectionsToDisconnect = "no"
	loginOnlyWithLoginServer = "no"

	-- Database
	-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
	-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
	sqlType = "mysql"
	sqlHost = "localhost"
	sqlPort = 3306
	sqlUser = "****"
	sqlPass = "****"
	sqlDatabase = "****"
	sqlFile = "forgottenserver.s3db"
	sqlKeepAlive = 60
	mysqlReadTimeout = 10
	optimizeDatabaseAtStartup = "yes"
	passwordType = "plain"

	-- Deathlist
	deathListEnabled = "yes"
	maxDeathRecords = 10

	-- Guilds
	ingameGuildManagement = "yes"
	levelToFormGuild = 8
	guildNameMinLength = 4
	guildNameMaxLength = 20

	-- Highscores
	highscoreDisplayPlayers = 25
	updateHighscoresAfterMinutes = 30

	-- Houses
	buyableAndSellableHouses = "yes"
	housesPerAccount = 0
	levelToBuyHouse = 50
	houseRentAsPrice = "no"
	housePriceAsRent = "no"
	housePriceEachSQM = 5000
	houseRentPeriod = "never"

	-- Item usage
	timeBetweenActions = 200
	timeBetweenExActions = 1000

	-- Map
	-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
	-- useHouseDataStorage usage may be found at README.
	mapName = "danger"
	mapAuthor = "Atentador"
	randomizeTiles = "yes"
	useHouseDataStorage = "no"
	storeTrash = "yes"
	cleanProtectedZones = "yes"

	-- Miscellaneous
	-- NOTE: defaultPriority works only on Windows
	-- promptExceptionTracerErrorBox works only with precompiled support feature,
	-- called "exception tracer" (__EXCEPTION_TRACER__ flag).
	defaultPriority = "high"
	maxMessageBuffer = 4
	kickIdlePlayerAfterMinutes = 10
	allowChangeOutfit = "yes"
	allowChangeColors = "yes"
	disableOutfitsForPrivilegedPlayers = "no"
	displayGamemastersWithOnlineCommand = "no"
	bankSystem = "yes"
	saveGlobalStorage = "yes"
	displaySkillLevelOnAdvance = "yes"
	spellNameInsteadOfWords = "no"
	emoteSpells = "no"
	expireReportsAfterReads = 1
	promptExceptionTracerErrorBox = "yes"

	-- Premium account
	freePremium = "no"
	removePremiumOnInit = "yes"
	premiumForPromotion = "yes"
	blessingsOnlyPremium = "yes"
	houseNeedPremium = "yes"
	bedsRequirePremium = "yes"

	-- Rates
	-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
	rateExperience = 25.0
	rateSkill = 17.0
	rateMagic = 14.0
	rateLoot = 1
	rateSpawn = 1
	experienceStages = "yes"

	-- Party
	-- NOTE experienceShareLevelDifference is float number.
	-- 0.66666666666667 is highestLevel * 2 / 3
	experienceShareRadiusX = 30
	experienceShareRadiusY = 30
	experienceShareRadiusZ = 1
	experienceShareLevelDifference = 0.66666666666667
	extraPartyExperienceLimit = 40
	extraPartyExperiencePercent = 10

	-- Global save
	-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
	-- if you want such a system please check out data/globalevents/globalevents.xml.
	globalSaveEnabled = "no"
	globalSaveHour = 8
	shutdownAtGlobalSave = "yes"
	cleanMapAtGlobalSave = "no"

	-- Spawns
	deSpawnRange = 2
	deSpawnRadius = 50

	-- Summons
	maxPlayerSummons = 2
	teleportAllSummons = "no"
	teleportPlayerSummons = "no"

	-- Status
	ownerName = ""
	ownerEmail = "@otland.net"
	url = "http://otland.net/"
	location = "Europe"

	-- Logs
	-- NOTE: This kind of logging does not work in GUI version.
	-- For such, please compile the software with __GUI_LOGS__ flag.
	outLogName = ""
	errorLogName = ""
	truncateLogsOnStartup = "no"

I'm waiting for more opinions. :thumbup:
It seems that the server "closes" or start to reject connections after a while.
Thanks.
 
it seems like all you'r connections are stable , have you tried hosting another server for like 1 hour and see if i it disconnects ?, the problem might be with the tfs verison
 
i had this problem also on my old computer, but i reinstalled it and it worked fine all time after that using tfs 0.2 it said on the homepage server offline and people could not connect but people who still were online could lvl
 
i had this problem also on my old computer, but i reinstalled it and it worked fine all time after that using tfs 0.2 it said on the homepage server offline and people could not connect but people who still were online could lvl

Can you explain to me what you have reinstalled?
Thanks for the atention. :D
 
I had a similar problem once, and the problem was that I had triggers on the port 7171, insted of reading, I just fill'd all fields in the port forwarding-section on my router with 7171.. So after 7171 seconds, the port closed. :p Thought it could help
 
Back
Top