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

Linux Ubuntu 16.04 TFS database problem

AdventureOts

Member
Joined
Sep 26, 2016
Messages
74
Reaction score
17
Everything is working as far as the website, database, ect. The only problem I am having now is the server wont connect to the database even though all information is correct.

Maybe I am missing something and someone more experienced with hosting TFS on ubuntu can help me.

show.png
 
Just old errors now. Its seems like it is just freezing.

show.png



Code:
-- Combat settings
-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"
worldType = "pvp"
hotkeyAimbotEnabled = true
protectionLevel = 1000
killsToRedSkull = 10
killsToBlackSkull = 40
pzLocked = 10000
removeChargesFromRunes = false
timeToDecreaseFrags = 6 * 60 * 60 * 1000
whiteSkullTime = 5 * 60 * 1000
stairJumpExhaustion = 0
experienceByKillingPlayers = false
expFromPlayersLevelRange = 75
allowWalkthrough = false

-- Connection Config
-- NOTE: maxPlayers set to 0 means no limit
ip = "server-ip-here"
bindOnlyGlobalAddress = false
loginProtocolPort = 7171
gameProtocolPort = 7172
statusProtocolPort = 7171
maxPlayers = 0
motd = "Welcome to NataSOt!"
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "NataSOt"
statusTimeout = 5000
replaceKickOnLogin = true
maxPacketsPerSecond = 50

-- Cast
enableLiveCasting = true
liveCastPort = 7173

-- Store Config
storeImagesUrl = "http://link/to/store"
storeCoinPacket = 5

-- Deaths
-- NOTE: Leave deathLosePercent as -1 if you want to use the default
-- death penalty formula. For the old formula, set it to 10. For
-- no skill/experience loss, set it to 0.
deathLosePercent = 0

-- Houses
-- NOTE: set housePriceEachSQM to -1 to disable the ingame buy house functionality
housePriceEachSQM = 10000
houseRentPeriod = "never"

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
-- NOTE: set mapName WITHOUT .otbm at the end
mapName = "adventureots"
mapAuthor = "Nathan"

-- Market
marketOfferDuration = 30 * 24 * 60 * 60
premiumToCreateMarketOffer = true
checkExpiredMarketOffersEachMinutes = 60
maxMarketOffersAtATimePerPlayer = 100

-- MySQL
mysqlHost = "127.0.0.1"
mysqlUser = "forgottenserver"
mysqlPass = "mypasshere"
mysqlDatabase = "forgottenserver"
mysqlPort = 3380
mysqlSock = ""
passwordType="sha1"

-- Misc.
allowChangeOutfit = true
freePremium = true
kickIdlePlayerAfterMinutes = 120
maxMessageBuffer = 4
emoteSpells = true
classicEquipmentSlots = false

-- Rates
-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xml
rateExp = 60
rateSkill = 20
rateLoot = 4
rateMagic = 40
rateSpawn = 1

-- Monsters
deSpawnRange = 2
deSpawnRadius = 50

-- Stamina
staminaSystem = false

-- Scripts
warnUnsafeScripts = false
convertUnsafeScripts = false

-- Startup
-- NOTE: defaultPriority only works on Windows and sets process
-- priority, valid values are: "normal", "above-normal", "high"
defaultPriority = "high"
startupDatabaseOptimization = false

-- Status server information
ownerName = "Nathan"
ownerEmail = ""
url = ""
location = "USA"
 
Back
Top Bottom