• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Windows Website Setup with Gesior

DrakenWarrior

Yep....
Joined
Feb 11, 2013
Messages
214
Reaction score
15
Location
Rookgaard
Check server configuration
Can't load file config.lua from C:/Users/Seth/Desktop/Mystic Spirit/config.lua File doesn't exist in selected directory.

The error file.
 
Hello.

C:/Users/Seth/Desktop/Mystic Spirit/

is config.lua in that folder if yes can you paste here and remove DB password.


Best Regards
mlody.1039
 
Code:
-- The Forgotten Server Config

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

    -- 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 = "no"

    -- Connection Config
    ip = "127.0.0.1"
    bindOnlyGlobalAddress = "no"
    loginProtocolPort = 7171
    gameProtocolPort = 7172
    adminProtocolPort = 7171
    statusProtocolPort = 7171
    loginTries = 10
    retryTimeout = 5 * 1000
    loginTimeout = 60 * 1000
    maxPlayers = "1000"
    motd = "Welcome to the Forgotten Server!"
    onePlayerOnlinePerAccount = "yes"
    allowClones = "no"
    serverName = "Forgotten"
    loginMessage = "Welcome to the Forgotten Server!"
    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

    -- Houses
    housePriceEachSQM = 1000
    houseRentPeriod = "never"

    -- Idle
    kickIdlePlayerAfterMinutes = 15

    -- Item Usage
    timeBetweenActions = 200
    timeBetweenExActions = 1000

    -- Map
    mapName = "realmap"
    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 = "localhost"
    mysqlUser = "adminserv"
    mysqlPass = ""
    mysqlDatabase = "adminserv"
    mysqlPort = 3306

    -- Premium Account
    freePremium = "no"

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

    -- Rates
    rateExp = 5
    rateSkill = 3
    rateLoot = 2
    rateMagic = 3
    rateSpawn = 1

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

    -- Stamina
    staminaSystem = "yes"

    -- SQLite
    sqliteDatabase = "forgottenserver.s3db"

    -- SQL
    sqlType = "sqlite"
    passwordType = "sha1"

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

    -- Shutdown
    freeMemoryAtShutdown = "yes"

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

Code:
-- The Forgotten Server Config

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

-- 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 = "no"

-- Connection Config
ip = "127.0.0.1"
bindOnlyGlobalAddress = "no"
loginProtocolPort = 7171
gameProtocolPort = 7172
adminProtocolPort = 7171
statusProtocolPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "Welcome to the Forgotten Server!"
onePlayerOnlinePerAccount = "yes"
allowClones = "no"
serverName = "Forgotten"
loginMessage = "Welcome to the Forgotten Server!"
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

-- Houses
housePriceEachSQM = 1000
houseRentPeriod = "never"

-- Idle
kickIdlePlayerAfterMinutes = 15

-- Item Usage
timeBetweenActions = 200
timeBetweenExActions = 1000

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

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

-- Messaging
maxMessageBuffer = 4

-- MySQL
sqlType = "mysql"
mysqlHost = "localhost"
mysqlUser = "adminserv"
mysqlPass = ""
mysqlDatabase = "adminserv"
mysqlPort = 3306
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "sha1"

-- Premium Account
freePremium = "no"

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

-- Rates
rateExp = 5
rateSkill = 3
rateLoot = 2
rateMagic = 3
rateSpawn = 1

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

-- Stamina
staminaSystem = "yes"

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

-- Shutdown
freeMemoryAtShutdown = "yes"

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