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

Help Me!.!.!.!

taif

Haze Fan
Joined
Feb 7, 2009
Messages
65
Reaction score
2
Location
Sweden
Hi all I know this is a stupid thread but I need help.
When I'm trying to put on a 8.3-8.4 server i get this error:

[04/03/2009 20:38:00] > ERROR: Failed to connect to sqlite database file, make sure it exists and is readable.

Please help me!^_^
 
Post you config file :)

-- The Worldera Config By Ates

-- Account Manager
accountManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 32369
newPlayerSpawnPosY = 32241
newPlayerSpawnPosZ = 7
newPlayerTownId = 5
newPlayerLevel = 8
newPlayerMagicLevel = 1
generateAccountNumber = "no"

-- Banishments
broadcastBanishments = "yes"
killsToBan = 5

-- Battle
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 50
killsToRedSkull = 3
pzLocked = 30000
deathLosePercent = 11
criticalHitChance = 11
removeAmmoWhenUsingDistanceWeapon = "no"
removeChargesFromRunes = "yes"
timeToDecreaseFrags = 24 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000

-- Commands
displayGamemastersWithOnlineCommand = "no"

-- Connection Config
ip = "127.0.0.1"
port = 7171
loginTries = 100
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "Welcome to the (Your server name) by (Name)"
onePlayerOnlinePerAccount = "yes"
allowClones = 0
serverName = "Worldera"
loginMessage = "Welcome to the (Your server name) by (Name)"
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"

-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 10

-- Guilds
ingameGuildSystem = "no"

-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60

-- Houses
housePriceEachSQM = 1000
houseRentPeriod = "never"

-- Idle
kickIdlePlayerAfterMinutes = 15

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
mapName = "world"
mapAuthor = "Ates"
randomizeTiles = "yes"

-- Messaging
maxMessageBuffer = 100

-- MySQL
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "pass"
mysqlDatabase = "tfs"
mysqlPort = 3306

-- Premium Account
freePremium = "no"

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

-- Rates
rateExp = 5
rateSkill = 100
rateLoot = 3
rateMagic = 16
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 = 30
saveGlobalStorage = "yes"

-- Spawns
deSpawnRange = 2
deSpawnRadius = 50

-- SqLite
sqliteDatabase = "forgottenserver.s3db"

-- SQL
sqlType = "mysql"
passwordType = "plain"

-- Startup
defaultPriority = "high"

-- Status
ownerName = "YourNameHere"
ownerEmail = "YourEmailHere"
url = "YourSiteHere"
location = "Europe/Sweden"
 
-- The Worldera Config By Ates

-- MySQL
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = "pass"
mysqlDatabase = "tfs"
mysqlPort = 3306

-- SqLite
sqliteDatabase = "forgottenserver.s3db"

-- SQL
sqlType = "mysql"
passwordType = "plain"

As you can see if I am not mistaken, you need to make sure the mysqlpass is correct, the database name is correct, and you you have to put sqlite in sqltype instead of my sql. And if that don't work make sure you have imported the sql file.

Hope it helped.
Rep++
 
Back
Top