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

Login problems (Incorrect Password)

Filleyo

New Member
Joined
Jun 9, 2010
Messages
9
Reaction score
0
Hello there! I've encountered a little problem when connecting to "your own OT-Server".

I've followed the guide: http://otland.net/f137/nothing-full...niform-server-forgotten-server-0-3-6-a-77593/ (Great guide btw, credits to the author)

Allthough the server seems to work properly, I got everything setup with the MYSQL-part and the forgotten server is up and running.

The problem is when im trying to logon to the server, I checked the database and saw the account 1/1.. (which means account name: 1 password: 1. As far as i have understood).

When i try this i get incorrect password, I tried with 2/2 and 123/123. It says "invalid account name".

note: I also tried to logon with the orginal tibia account and it said invalid account name, this should mean that im connected to the server?

at the moment, im stuck and thats why im posting this. I've tried for hours and cant seem to find anything. Would be great if any experienced guy OR girl could help me sort this out.


Thank you


//FilleYO
 
are you sure that you are using correct database? your ip in ip-changer is valid too?

Yes I'm sure im using the correct database, since i see all the tables and all the information about the server. Also, the server starts without any MYSQL-errors. I checked the config and the settings is right when it comes to connect to the database.


If thats now what you wondered.

The ip in my ip-changer should be valid since the 1/1 login says incorecct password. I created a new account and it said incorrect password. When i try with some random account or my tibia account it states incorrect account name, which means a large amount of ?????


thank you again for trying to helping me out.

edit: I also tried opening ports, didn't work either (read somewhere it could matter)
 
post your config.lua, please :)

-- The Forgotten Server Config
-- Credits FrankFarmer @ Otland

-- Account manager
accountManager = true
namelockManager = true
newPlayerChooseVoc = false
newPlayerSpawnPosX = 95
newPlayerSpawnPosY = 117
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 1
newPlayerMagicLevel = 0
generateAccountNumber = false

-- Unjustified kills
redSkullLength = 2 * 24 * 60 * 60
blackSkullLength = 3 * 24 * 60 * 60
dailyFragsToRedSkull = 10
weeklyFragsToRedSkull = 20
monthlyFragsToRedSkull = 30
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = true
useFragHandler = true
advancedFragList = false

-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 10
banLength = 1 * 24 * 60 * 60
killsBanLength = 1 * 12 * 60 * 60
finalBanLength = 2 * 24 * 60 * 60
ipBanishmentLength = 2 * 24 * 60 * 60
broadcastBanishments = true
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = false

-- Battle
worldType = "pvp"
protectionLevel = 8
pvpTileIgnoreLevelAndVocationProtection = true
pzLocked = 60 * 1000
huntingDuration = 60 * 1000
criticalHitChance = 7
criticalHitMultiplier = 1
displayCriticalHitNotify = false
removeWeaponAmmunition = true
removeWeaponCharges = true
removeRuneCharges = true
whiteSkullTime = 15 * 60 * 1000
noDamageToSameLookfeet = false
showHealingDamage = true
showHealingDamageForMonsters = false
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = false
oldConditionAccuracy = false
loginProtectionPeriod = 10 * 1000
deathLostPercent = 10
stairhopDelay = 2 * 1000
pushCreatureDelay = 2 * 1000
deathContainerId = 1987
gainExperienceColor = 215
addManaSpentInPvPZone = true
squareColor = 0
allowFightback = true

-- Connection config
worldId = 0
ip = "127.0.0.1"
bindOnlyConfiguredIpAddress = false
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 300
motd = "asd"
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = false
allowClones = false
serverName = "asd"
loginMessage = "asd"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = true

-- Database
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "otland"
sqlPass = "helloforumsrofl___"
sqlDatabase = "otland"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "sha1"

-- Deathlist
deathListEnabled = true
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 2
maxDeathRecords = 5

-- Guilds
ingameGuildManagement = false
levelToFormGuild = 8
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20

-- Highscores
highscoreDisplayPlayers = 20
updateHighscoresAfterMinutes = 60

-- Houses
buyableAndSellableHouses = true
houseNeedPremium = true
bedsRequirePremium = true
levelToBuyHouse = 8
housesPerAccount = 1
houseRentAsPrice = false
housePriceAsRent = true
housePriceEachSquare = 500
houseRentPeriod = "weekly"
houseCleanOld = 0
guildHalls = true

-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 500

-- Map
mapName = "project-society"
mapAuthor = "frankfarmer"
randomizeTiles = true
useHouseDataStorage = true
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"

-- Startup
defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = true
removePremiumOnInit = true
confirmOutdatedVersion = false

-- Muted buffer
maxMessageBuffer = 4
bufferMutedOnSpellFailure = false

-- Miscellaneous
dataDirectory = "data/"
allowChangeOutfit = true
allowChangeColors = true
allowChangeAddons = true
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = false
spellNameInsteadOfWords = false
emoteSpells = true
promptExceptionTracerErrorBox = false
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 25
separateViplistPerCharacter = false

-- Ghost mode
ghostModeInvisibleEffect = true
ghostModeSpellEffects = true

-- Limits
idleWarningTime = 14 * 60 * 1000
idleKickTime = 9999 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0

-- Premium-related
freePremium = true
premiumForPromotion = true

-- Blessings
blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8

-- Rates
experienceStages = true
rateExperience = 6.0
rateExperienceFromPlayers = 0
rateSkill = 25.0
rateMagic = 15.0
rateLoot = 4.5
rateSpawn = 1

-- Monster rates
rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0

-- Experience from players
minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1

-- Stamina
rateStaminaLoss = 0
rateStaminaGain = 1000 / 2
rateStaminaThresholdGain = 4
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.0
rateStaminaUnderNormal = 1.0
staminaThresholdOnlyPremium = true

-- Party
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
experienceShareActivity = 2 * 60 * 1000

-- Global save
globalSaveEnabled = false
globalSaveHour = 8
shutdownAtGlobalSave = true
cleanMapAtGlobalSave = false

-- Spawns
deSpawnRange = 2
deSpawnRadius = 50

-- Summons
maxPlayerSummons = 2
teleportAllSummons = false
teleportPlayerSummons = false

-- Status
ownerName = "asd"
ownerEmail = ""
url = ""
location = "Sweden"
displayGamemastersWithOnlineCommand = false

-- Logs
adminLogsEnabled = true
displayPlayersLogging = true
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = false

-- Credits FrankFarmer @ Otland
 
change encryptionType from "sha1" to "plain", and try login again.

#offtop
awwwwww. sorry for double-post, mods can stick it.


Worked!

the guide states that i should use sha1 instead of plain because of security issues, is that hard to accomplish?

thank you for your help, ill try +rep you.
 
I got the same problem, Here's my config.lua, if someone can check trough it ;) <3<3

Code:
-- The Forgotten Server Config

	-- Account Manager
	accountManager = "no"
	newPlayerChooseVoc = "no"
	newPlayerSpawnPosX = 95
	newPlayerSpawnPosY = 117
	newPlayerSpawnPosZ = 7
	newPlayerTownId = 1
	newPlayerLevel = 1
	newPlayerMagicLevel = 0
	generateAccountNumber = "yes"

	-- Banishments
	broadcastBanishments = "yes"
	banDays = 7
	finalBanDays = 30
	killsToBan = 0

	-- Battle
	worldType = "pvp"
	hotkeyAimbotEnabled = "yes"
	protectionLevel = 1
	killsToRedSkull = 3
	killsToBlackSkull = 6
	pzLocked = 60000
	criticalHitChance = 7
	removeAmmoWhenUsingDistanceWeapon = "yes"
	removeChargesFromRunes = "yes"
	removeChargesFromWeapons = "yes"
	timeToDecreaseFrags = 24 * 60 * 60 * 1000
	whiteSkullTime = 15 * 60 * 1000
	oldConditionAccuracy = "no"
	stairJumpExhaustion = 2000

	-- Commands
	displayGamemastersWithOnlineCommand = "yes"

	-- Connection Config
	ip = "83.254.250.37"
	bindOnlyGlobalAddress = "no"
	loginProtocolPort = 7171
	gameProtocolPort = 7172
	adminProtocolPort = 7171
	statusProtocolPort = 7171
	loginTries = 10
	retryTimeout = 5 * 1000
	loginTimeout = 60 * 1000
	maxPlayers = "100"
	motd = "Aluminera 9.60"
	onePlayerOnlinePerAccount = "yes"
	allowClones = "no"
	serverName = "Aluminera"
	loginMessage = "GAWD, It works!"
	adminLogsEnabled = "no"
	statusTimeout = 5 * 60 * 1000
	replaceKickOnLogin = "yes"

	-- Death
	-- note: Leave deathLosePercent as -1 if you want to use Tibia's
	-- death penalty formula. For the old formula, set it to 10. For
	-- no skill/experience loss, set it to 0.
	deathLosePercent = -1
	deathListEnabled = "yes"
	maxDeathRecords = 5

	-- Guilds
	ingameGuildSystem = "yes"
	levelToCreateGuild = 8
	minGuildNameLength = 4
	maxGuildNameLength = 20

	-- Highscores
	highscoreDisplayPlayers = 15
	updateHighscoresAfterMinutes = 60

	-- Houses
	housePriceEachSQM = 10000
	houseRentPeriod = "never"

	-- Idle
	kickIdlePlayerAfterMinutes = 15

	-- Item Usage
	timeBetweenActions = 200
	timeBetweenExActions = 1000

	-- Map
	mapName = "forgotten"
	mapAuthor = "Komic"
	randomizeTiles = "no"
	mapStorageType = "relational"

	-- Market
	marketEnabled = "yes"
	marketOfferDuration = 30 * 24 * 60 * 60
	premiumToCreateMarketOffer = "yes"
	checkExpiredMarketOffersEachMinutes = 60
	maxMarketOffersAtATimePerPlayer = 100

	-- Messaging
	maxMessageBuffer = 4

	-- MySQL
	mysqlHost = "127.0.0.1"
	mysqlUser = "dis user"
	mysqlPass = "dat pw.."
	mysqlDatabase = "dis name"
	mysqlPort = 3306


	-- Premium Account
	freePremium = "no"

	-- PVP Server
	displayOnOrOffAtCharlist = "no"
	allowChangeOutfit = "yes"
	noDamageToSameLookfeet = "no"
	experienceByKillingPlayers = "no"

	-- Rates
	rateExp = 320
	rateSkill = 6
	rateLoot = 2
	rateMagic = 6
	rateSpawn = 2

	-- Real Server Save
	-- note: serverSaveHour means like 03:00, not that it will save every 3 hours,
	-- if you want such a system use autoSaveEachMinutes. this serversave method
	-- may be unstable, we recommend using otadmin if you want real serversaves.
	serverSaveEnabled = "no"
	serverSaveHour = 3
	shutdownAtServerSave = "yes"
	cleanMapAtServerSave = "yes"

	-- Server saving
	autoSaveEachMinutes = 15
	saveGlobalStorage = "no"

	-- Spawns
	deSpawnRange = 2
	deSpawnRadius = 50

	-- SqLite
	sqliteDatabase = "forgottenserver.s3db"

	-- SQL
	sqlType = "mysql"
	passwordType = "dis pw"

	-- Startup
	defaultPriority = "high"
	startupDatabaseOptimization = "yes"

	-- Shutdown
	freeMemoryAtShutdown = "yes"

	-- Status
	ownerName = "God EpicnezZ"
	ownerEmail = "@otland.net"
	url = "http://otland.net/"
	location = "Europe"
I think it might be the same sha1 problem, but my db makes the pw in sha1, And I cant allow sha1 in my config
 
Last edited:
hmm made by you have MYSQL in table accounts, is why all passwords works why in database have all passwords in sha1. but 1/1 <- have plain u need changed encryption account try this query:
SQL:
UPDATE accounts SET password = sha1('sometext') WHERE name = '1' LIMIT 1
or for fixed all passwords use
SQL:
UPDATE accounts SET password=SHA1(password);
 
hmm made by you have MYSQL in table accounts, is why all passwords works why in database have all passwords in sha1. but 1/1 <- have plain u need changed encryption account try this query:
SQL:
UPDATE accounts SET password = sha1('sometext') WHERE name = '1' LIMIT 1
or for fixed all passwords use
SQL:
UPDATE accounts SET password=SHA1(password);

Where should I put this lines?
 
If you ask for help, give as much information as possible, what exactly happens, which server do you use, how did you created the account, is the password both plain or both sha1 in config.lua and the database?
 
I got this problem also when turned to 10 --> servers. Atm i'm trying to set up tfs 1.2 10,77 server. I have uniserver and connection to mysql seems fine, but still it doesn't understand my account wich i created at phpmyadmin. 9.8 server worked fine for me, but i want to make newer version. Still got many problems with these new versions :/ I think maybe problem is with my connection. I made port forward with program and i think it must work if 9.8 server worked. I tried both 127.0.0.0 and my own ip address at config file. With 127 it says "account name or password is not correct" and with my own ip address it refuse to connect. At 9.8 server i had same problem and changed encryption type to plain and it worked, but now it doesn't help :/

Edit: Got it working. Now i got some problem with character login. It just say "connecting to the game world please wait" doesn't go further from it. Enabled connection with firewall and tried with different forgotten.exe.

Edit: All working now! Downloaded tibia launcher and NET Framework 4.5.2. I keep this post, because you can find some good tips from it if you have problems with connections :)
 
Last edited:
Back
Top