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

Lua how to make a 8.54 serv to 8.54-8.57

xkevinz

Member
Joined
Aug 15, 2007
Messages
358
Reaction score
5
i tried to use the 8.54-8.57 mystic spirit but everytime i ran the exe it would say cannot connect to mysql database o.o
 
accountManager = "yes"
accountManager = "yes"
namelockManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 501
newPlayerSpawnPosY = 807
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 50
newPlayerMagicLevel = 0
generateAccountNumber = "no"


redSkullLength = 3 * 24 * 60 * 60
blackSkullLength = 5 * 24 * 60 * 60
dailyFragsToRedSkull = 10
weeklyFragsToRedSkull = 50
monthlyFragsToRedSkull = 100
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = "yes"
advancedFragList = "no"


notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = "no"

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


worldId = 0
ip = "--"
bindOnlyConfiguredIpAddress = "no"
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 800
motd = "--"
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "no"
allowClones = "no"
serverName = "--"
loginMessage = "-"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
premiumPlayerSkipWaitList = "no"


-- Database
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "--"
sqlDatabase = "---"
sqlFile = "mysql.sql"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"


deathListEnabled = "yes"
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5


ingameGuildManagement = "yes"
levelToFormGuild = 200
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20


highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60


buyableAndSellableHouses = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"
levelToBuyHouse = 1000
housesPerAccount = 1
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSquare = 10000
houseRentPeriod = "never"
guildHalls = "yes"


timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = "yes"
hotkeyAimbotEnabled = "yes"
maximumDoorLevel = 500


mapName = "---"
mapAuthor = "-----"
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"
mailboxDisabledTowns = "-1"


defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = "yes"
removePremiumOnInit = "yes"
confirmOutdatedVersion = "no"


maxMessageBuffer = 4
bufferMutedOnSpellFailure = "no"


dataDirectory = "data/"
allowChangeOutfit = "yes"
allowChangeColors = "yes"
allowChangeAddons = "yes"
disableOutfitsForPrivilegedPlayers = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "no"
formulaLevel = 1
formulaMagic = 4.0
bufferMutedOnSpellFailure = false
spellNameInsteadOfWords = false
emoteSpells = false
paralyzeDelay = 2000
promptExceptionTracerErrorBox = "yes"
storePlayerDirection = "no"
monsterLootMessage = 3
monsterLootMessageType = 25


ghostModeInvisibleEffect = "no"
ghostModeSpellEffects = "yes"


idleWarningTime = 599 * 60 * 1000
idleKickTime = 600 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0


freePremium = "yes"
premiumForPromotion = "yes"

blessingsOnlyPremium = "yes"
blessingReductionBase = 5
blessingReductionDecreament = 5
eachBlessReduction = 4


experienceStages = "yes"
rateExperience = 300.0
rateExperienceFromPlayers = 0
rateSkill = 150.0
rateMagic = 30.0
rateLoot = 5.0
rateSpawn = 1


minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1


rateStaminaLoss = 1
rateStaminaGain = 4000 / 3
rateStaminaThresholdGain = 4
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 1.0
staminaThresholdOnlyPremium = "yes"


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


globalSaveEnabled = "no"
globalSaveHour = 1
shutdownAtGlobalSave = "no"
cleanMapAtGlobalSave = "no"


deSpawnRange = 2
deSpawnRadius = 100


maxPlayerSummons = 2
teleportAllSummons = "no"
teleportPlayerSummons = "no"

ownerName = "------"
ownerEmail = "-----"
url = "-----"
location = "-----"
displayGamemastersWithOnlineCommand = "no"


adminLogsEnabled = "yes"
displayPlayersLogging = "yes"
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = "no"

deadProtection = 201
 
accountManager = "yes"
namelockManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 501
newPlayerSpawnPosY = 807
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 50
newPlayerMagicLevel = 0
generateAccountNumber = "no"


redSkullLength = 3 * 24 * 60 * 60
blackSkullLength = 5 * 24 * 60 * 60
dailyFragsToRedSkull = 10
weeklyFragsToRedSkull = 50
monthlyFragsToRedSkull = 100
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = "yes"
advancedFragList = "no"


notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = "no"

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


worldId = 0
ip = "--" <-------- FIX
bindOnlyConfiguredIpAddress = "no"
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 800
motd = "--"
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "no"
allowClones = "no"
serverName = "--"
loginMessage = "-"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
premiumPlayerSkipWaitList = "no"


-- Database
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "--" <-------- FIX
sqlDatabase = "---" <-------- FIX
sqlFile = "mysql.sql"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"


deathListEnabled = "yes"
deathListRequiredTime = 1 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5


ingameGuildManagement = "yes"
levelToFormGuild = 200
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20


highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60


buyableAndSellableHouses = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"
levelToBuyHouse = 1000
housesPerAccount = 1
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSquare = 10000
houseRentPeriod = "never"
guildHalls = "yes"


timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = "yes"
hotkeyAimbotEnabled = "yes"
maximumDoorLevel = 500


mapName = "---"
mapAuthor = "-----"
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"
mailboxDisabledTowns = "-1"


defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = "yes"
removePremiumOnInit = "yes"
confirmOutdatedVersion = "no"


maxMessageBuffer = 4
bufferMutedOnSpellFailure = "no"


dataDirectory = "data/"
allowChangeOutfit = "yes"
allowChangeColors = "yes"
allowChangeAddons = "yes"
disableOutfitsForPrivilegedPlayers = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "no"
formulaLevel = 1
formulaMagic = 4.0
bufferMutedOnSpellFailure = false
spellNameInsteadOfWords = false
emoteSpells = false
paralyzeDelay = 2000
promptExceptionTracerErrorBox = "yes"
storePlayerDirection = "no"
monsterLootMessage = 3
monsterLootMessageType = 25


ghostModeInvisibleEffect = "no"
ghostModeSpellEffects = "yes"


idleWarningTime = 599 * 60 * 1000
idleKickTime = 600 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0


freePremium = "yes"
premiumForPromotion = "yes"

blessingsOnlyPremium = "yes"
blessingReductionBase = 5
blessingReductionDecreament = 5
eachBlessReduction = 4


experienceStages = "yes"
rateExperience = 300.0
rateExperienceFromPlayers = 0
rateSkill = 150.0
rateMagic = 30.0
rateLoot = 5.0
rateSpawn = 1


minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1


rateStaminaLoss = 1
rateStaminaGain = 4000 / 3
rateStaminaThresholdGain = 4
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 1.0
staminaThresholdOnlyPremium = "yes"


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


globalSaveEnabled = "no"
globalSaveHour = 1
shutdownAtGlobalSave = "no"
cleanMapAtGlobalSave = "no"


deSpawnRange = 2
deSpawnRadius = 100


maxPlayerSummons = 2
teleportAllSummons = "no"
teleportPlayerSummons = "no"

ownerName = "------"
ownerEmail = "-----"
url = "-----"
location = "-----"
displayGamemastersWithOnlineCommand = "no"


adminLogsEnabled = "yes"
displayPlayersLogging = "yes"
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = "no"

deadProtection = 201
 
Back
Top