Ir para conteúdo
  • Cadastre-se

Problema ao instalar o site em linux


Posts Recomendados

Meu problema e na hora de instalar; aparece isso: Database error. Unknown database type in \otserv\config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

Meu config.lua esta abaixo, qual o problema?

(deixando claro que onde estao "----" fui eu que editei agora para posta-lo aqui)

accountManager = true

namelockManager = true

newPlayerChooseVoc = true

newPlayerSpawnPosX = 32369

newPlayerSpawnPosY = 32241

newPlayerSpawnPosZ = 7

newPlayerTownId = 1

newPlayerLevel = 8

newPlayerMagicLevel = 0

generateAccountNumber = false

generateAccountSalt = false

useFragHandler = true

redSkullLength = 3 * 24 * 60 * 60

blackSkullLength = 3 * 24 * 60 * 60

dailyFragsToRedSkull = 5

weeklyFragsToRedSkull = 25

monthlyFragsToRedSkull = 75

dailyFragsToBlackSkull = 8

weeklyFragsToBlackSkull = 40

monthlyFragsToBlackSkull = 120

dailyFragsToBanishment = dailyFragsToRedSkull

weeklyFragsToBanishment = weeklyFragsToRedSkull

monthlyFragsToBanishment = monthlyFragsToRedSkull

blackSkulledDeathHealth = 50

blackSkulledDeathMana = 0

useBlackSkull = false

advancedFragList = false

notationsToBan = 3

warningsToFinalBan = 4

warningsToDeletion = 5

banLength = 7 * 24 * 60 * 60

killsBanLength = 7 * 24 * 60 * 60

finalBanLength = 30 * 24 * 60 * 60

ipBanishmentLength = 1 * 24 * 60 * 60

broadcastBanishments = false

maxViolationCommentSize = 200

violationNameReportActionType = 2

autoBanishUnknownBytes = false

worldType = "open"

protectionLevel = 1

pvpTileIgnoreLevelAndVocationProtection = true

pzLocked = 60 * 1000

huntingDuration = 60 * 1000

criticalHitChance = 7

criticalHitMultiplier = 1

displayCriticalHitNotify = false

removeWeaponAmmunition = false

removeWeaponCharges = true

removeRuneCharges = true

whiteSkullTime = 10 * 60 * 1000

noDamageToSameLookfeet = false

showHealingDamage = false

showHealingDamageForMonsters = false

fieldOwnershipDuration = 5 * 1000

stopAttackingAtExit = true

loginProtectionPeriod = 10 * 1000

deathLostPercent = 10

stairhopDelay = 2 * 1000

pushCreatureDelay = 2 * 500

deathContainerId = 1987

gainExperienceColor = 215

addManaSpentInPvPZone = true

squareColor = 0

allowFightback = true

fistBaseAttack = 7

worldId = 0

ip = "------"

bindOnlyGlobalAddress = false

loginPort = 7171

gamePort = 7172

loginTries = 10

retryTimeout = 5 * 1000

loginTimeout = 60 * 1000

maxPlayers = 1000

motd = "-------"

displayOnOrOffAtCharlist = false

onePlayerOnlinePerAccount = true

allowClones = false

serverName = "-------"

loginMessage = "------------------

statusTimeout = 5 * 60 * 1000

replaceKickOnLogin = true

forceSlowConnectionsToDisconnect = false

loginOnlyWithLoginServer = false

premiumPlayerSkipWaitList = false

sqlType = "mysql"

sqlHost = "localhost"

sqlPort = 3306

sqlUser = "----------"

sqlPass = "------------"

sqlDatabase = "-------------"

sqlFile = "otserv.s3db"

sqlKeepAlive = 0

mysqlReadTimeout = 10

mysqlWriteTimeout = 10

encryptionType = "plain"

deathListEnabled = true

deathListRequiredTime = 1 * 60 * 1000

deathAssistCount = 19

maxDeathRecords = 5

ingameGuildManagement = false

levelToFormGuild = 50

premiumDaysToFormGuild = 0

guildNameMinLength = 4

guildNameMaxLength = 20

highscoreDisplayPlayers = 15

updateHighscoresAfterMinutes = 60

buyableAndSellableHouses = true

houseNeedPremium = false

bedsRequirePremium = false

levelToBuyHouse = 100

housesPerAccount = 1

houseRentAsPrice = true

housePriceAsRent = true

housePriceEachSquare = 3000

houseRentPeriod = true

houseCleanOld = 0

guildHalls = false

timeBetweenActions = 200

timeBetweenExActions = 1000

hotkeyAimbotEnabled = true

mapName = "--------------"

mapAuthor = "Catrax"

randomizeTiles = true

storeTrash = true

cleanProtectedZones = true

mailboxDisabledTowns = ""

defaultPriority = "high"

niceLevel = 5

coresUsed = "-1"

startupDatabaseOptimization = true

updatePremiumStateAtStartup = true

confirmOutdatedVersion = false

formulaLevel = 5.0

formulaMagic = 1.0

bufferMutedOnSpellFailure = false

spellNameInsteadOfWords = false

emoteSpells = false

allowChangeOutfit = true

allowChangeColors = true

allowChangeAddons = true

disableOutfitsForPrivilegedPlayers = false

addonsOnlyPremium = false

dataDirectory = "data/"

logsDirectory = "data/logs/"

bankSystem = true

displaySkillLevelOnAdvance = false

promptExceptionTracerErrorBox = true

maximumDoorLevel = 500

maxMessageBuffer = 4

separateVipListPerCharacter = false

vipListDefaultLimit = 20

vipListDefaultPremiumLimit = 100

saveGlobalStorage = true

useHouseDataStorage = false

storePlayerDirection = false

checkCorpseOwner = true

monsterLootMessage = 3

monsterLootMessageType = 25

ghostModeInvisibleEffect = false

ghostModeSpellEffects = true

idleWarningTime = 14 * 60 * 10000000000

idleKickTime = 14 * 60 * 10000000000

reportsExpirationAfterReads = 1

playerQueryDeepness = 2

tileLimit = 0

protectionTileLimit = 0

houseTileLimit = 0

freePremium = false

premiumForPromotion = false

blessings = true

blessingOnlyPremium = false

blessingReductionBase = 30

blessingReductionDecrement = 5

eachBlessReduction = 8

experienceStages = true

rateExperience = 80.0

rateExperienceFromPlayers = 2

rateSkill = 12.0

rateMagic = 7.0

rateLoot = 1.0

rateSpawn = 2

rateMonsterHealth = 1.0

rateMonsterMana = 1.0

rateMonsterAttack = 1.0

rateMonsterDefense = 1.0

minLevelThresholdForKilledPlayer = 0.9

maxLevelThresholdForKilledPlayer = 1.1

rateStaminaLoss = 1

rateStaminaGain = 3

rateStaminaThresholdGain = 24

staminaRatingLimitTop = 40 * 60

staminaRatingLimitBottom = 14 * 60

staminaLootLimit = 14 * 60

rateStaminaAboveNormal = 1.0

rateStaminaUnderNormal = 0.5

staminaThresholdOnlyPremium = true

experienceShareRadiusX = 30

experienceShareRadiusY = 30

experienceShareRadiusZ = 1

experienceShareLevelDifference = 2 / 3

extraPartyExperienceLimit = 20

extraPartyExperiencePercent = 5

experienceShareActivity = 2 * 60 * 1000

globalSaveEnabled = false

globalSaveHour = 8

globalSaveMinute = 0

shutdownAtGlobalSave = true

cleanMapAtGlobalSave = false

deSpawnRange = 2

deSpawnRadius = 50

maxPlayerSummons = 2

teleportAllSummons = false

teleportPlayerSummons = false

statusPort = 7171

ownerName = "Spectrum OTserv"

ownerEmail = "[email protected]"

url = "http://revolutionot.no-ip.org/"

location = "brazil"

displayGamemastersWithOnlineCommand = false

displayPlayersLogging = true

prefixChannelLogs = ""

runFile = ""

outputLog = ""

truncateLogOnStartup = false

managerPort = 7171

managerLogs = true

managerPassword = ""

managerLocalhostOnly = true

managerConnectionsLimit = 1

adminPort = 7171

adminLogs = true

adminPassword = ""

adminLocalhostOnly = true

adminConnectionsLimit = 1

adminRequireLogin = true

adminEncryption = ""

adminEncryptionData = ""

Link para o post
Compartilhar em outros sites

Teste uma vez com SQL Lite, pode ser sua database com erro.... ou até mesmo as configurações do seu CONFIG.Lua, mais 1º testa com SQL Lite acho que é a database.

                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~Assinatura~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                pmnz1.jpg

Link para o post
Compartilhar em outros sites

Qual a versão do seu servidor?

Se for 8.7, modifique para:

PS: não esqueça de arruma-lo(modificar)


accountManager = false

namelockManager = true

newPlayerChooseVoc = true

newPlayerSpawnPosX = 0

newPlayerSpawnPosY = 0

newPlayerSpawnPosZ = 0

newPlayerTownId = 1

newPlayerLevel = 1

newPlayerMagicLevel = 0

generateAccountNumber = false

generateAccountSalt = false


useFragHandler = true

redSkullLength = 2 * 24 * 60 * 60

blackSkullLength = 5 * 24 * 60 * 60

dailyFragsToRedSkull = 5

weeklyFragsToRedSkull = 8

monthlyFragsToRedSkull = 15

dailyFragsToBlackSkull = dailyFragsToRedSkull

weeklyFragsToBlackSkull = weeklyFragsToRedSkull

monthlyFragsToBlackSkull = monthlyFragsToRedSkull

dailyFragsToBanishment = dailyFragsToRedSkull

weeklyFragsToBanishment = weeklyFragsToRedSkull

monthlyFragsToBanishment = monthlyFragsToRedSkull

blackSkulledDeathHealth = 40

blackSkulledDeathMana = 0

useBlackSkull = true

advancedFragList = false


notationsToBan = 3

warningsToFinalBan = 4

warningsToDeletion = 5

banLength = 1 * 24 * 60 * 60

killsBanLength = 1 * 24 * 60 * 60

finalBanLength = 7 * 24 * 60 * 60

ipBanishmentLength = 2 * 60 * 60

broadcastBanishments = true

maxViolationCommentSize = 200

violationNameReportActionType = 2

autoBanishUnknownBytes = false


worldType = "open"

protectionLevel = 20

pvpTileIgnoreLevelAndVocationProtection = true

pzLocked = 30 * 1000

huntingDuration = 40 * 1000

criticalHitChance = 7

criticalHitMultiplier = 1

displayCriticalHitNotify = true

removeWeaponAmmunition = true

removeWeaponCharges = true

removeRuneCharges = true

whiteSkullTime = 5 * 60 * 1000

noDamageToSameLookfeet = false

showHealingDamage = true

showHealingDamageForMonsters = false

fieldOwnershipDuration = 5 * 1000

stopAttackingAtExit = false

loginProtectionPeriod = 10 * 1000

deathLostPercent = 10

stairhopDelay = 2 * 1000

pushCreatureDelay = 2 * 1000

deathContainerId = 1987

gainExperienceColor = 215

addManaSpentInPvPZone = true

squareColor = 0

allowFightback = true

fistBaseAttack = 7


worldId = 0

ip = "----MODIFIQUE-----"

bindOnlyGlobalAddress = false

loginPort = 7171

gamePort = 7172

loginTries = 10

retryTimeout = 5 * 1000

loginTimeout = 60 * 1000

maxPlayers = 1000

motd = "Welcome to the server!"

displayOnOrOffAtCharlist = false

onePlayerOnlinePerAccount = true

allowClones = 0

serverName = "Forgotten"

loginMessage = "Welcome to the Forgotten Server!"

statusTimeout = 5 * 60 * 1000

replaceKickOnLogin = true

forceSlowConnectionsToDisconnect = false

loginOnlyWithLoginServer = false

premiumPlayerSkipWaitList = false


rsaPrime1 = "14299623962416399520070177382898895550795403345466153217470516082934737582776038882967213386204600674145392845853859217990626450972452084065728686565928113"

rsaPrime2 = "7630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212884101"

rsaPublic = "65537"

rsaModulus = "109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413"

rsaPrivate = "46730330223584118622160180015036832148732986808519344675210555262940258739805766860224610646919605860206328024326703361630109888417839241959507572247284807035235569619173792292786907845791904955103601652822519121908367187885509270025388641700821735345222087940578381210879116823013776808975766851829020659073"


sqlType = "mysql"

sqlHost = "localhost"

sqlPort = 3306

sqlUser = "root"

sqlPass = "----MODIFIQUE-----"

sqlDatabase = "otserv"

sqlFile = "theforgottenserver.s3db"

sqlKeepAlive = 0

mysqlReadTimeout = 10

mysqlWriteTimeout = 10

encryptionType = "sha1"


deathListEnabled = true

deathListRequiredTime = 1 * 60 * 1000

deathAssistCount = 10

maxDeathRecords = 5


ingameGuildManagement = false

levelToFormGuild = 30

premiumDaysToFormGuild = 0

guildNameMinLength = 4

guildNameMaxLength = 20


highscoreDisplayPlayers = 10

updateHighscoresAfterMinutes = 60


buyableAndSellableHouses = true

houseNeedPremium = false

bedsRequirePremium = true

levelToBuyHouse = 20

housesPerAccount = 0

houseRentAsPrice = false

housePriceAsRent = false

housePriceEachSquare = 615

houseRentPeriod = "never"

houseCleanOld = 0

guildHalls = false


timeBetweenActions = 200

timeBetweenExActions = 1000

hotkeyAimbotEnabled = true


mapName = "rpg.otbm"

mapAuthor = "interrogado"

randomizeTiles = true

storeTrash = true

cleanProtectedZones = true

mailboxDisabledTowns = ""


defaultPriority = "high"

niceLevel = 5

coresUsed = "-1"


startupDatabaseOptimization = true

updatePremiumStateAtStartup = true

confirmOutdatedVersion = false


formulaLevel = 5.0

formulaMagic = 1.0

bufferMutedOnSpellFailure = false

spellNameInsteadOfWords = false

emoteSpells = false

unifiedSpells = true

enableCooldowns = true


allowChangeOutfit = true

allowChangeColors = true

allowChangeAddons = true

disableOutfitsForPrivilegedPlayers = false

addonsOnlyPremium = false


dataDirectory = "data/"

logsDirectory = "data/logs/"

bankSystem = true

displaySkillLevelOnAdvance = false

promptExceptionTracerErrorBox = true

maximumDoorLevel = 500

maxMessageBuffer = 4

tradeLimit = 100


useMounts = true

mountCooldown = 2000

unmountPlayerInPz = true


separateVipListPerCharacter = false

vipListDefaultLimit = 15

vipListDefaultPremiumLimit = 50


houseDataStorage = "binary"

saveGlobalStorage = true

storePlayerDirection = false

savePlayerData = true


checkCorpseOwner = false

monsterLootMessage = 3

monsterLootMessageType = 19


ghostModeInvisibleEffect = true

ghostModeSpellEffects = true


idleWarningTime = 14 * 60 * 1000

idleKickTime = 15 * 60 * 1000

reportsExpirationAfterReads = 1

playerQueryDeepness = 2

tileLimit = 0

protectionTileLimit = 0

houseTileLimit = 0


freePremium = false

premiumForPromotion = true


blessings = true

blessingOnlyPremium = false

blessingReductionBase = 30

blessingReductionDecrement = 5

eachBlessReduction = 8

pvpBlessingThreshold = 40

fairFightTimeRange = 60


experienceStages = true

rateExperience = 10.0

rateExperienceFromPlayers = 0

rateSkill = 5.0

rateMagic = 3.0

rateLoot = 2.0

rateSpawn = 1


rateMonsterHealth = 1.0

rateMonsterMana = 1.0

rateMonsterAttack = 1.0

rateMonsterDefense = 1.0


minLevelThresholdForKilledPlayer = 0.9

maxLevelThresholdForKilledPlayer = 1.1


rateStaminaLoss = 1

rateStaminaGain = 5

rateStaminaThresholdGain = 12

staminaRatingLimitTop = 40 * 60

staminaRatingLimitBottom = 14 * 60

staminaLootLimit = 14 * 60

rateStaminaAboveNormal = 1.5

rateStaminaUnderNormal = 0.5

staminaThresholdOnlyPremium = false


experienceShareRadiusX = 30

experienceShareRadiusY = 30

experienceShareRadiusZ = 1

experienceShareLevelDifference = 2 / 3

extraPartyExperienceLimit = 20

extraPartyExperiencePercent = 5

experienceShareActivity = 2 * 60 * 1000


globalSaveEnabled = false

globalSaveHour = 8

globalSaveMinute = 0

shutdownAtGlobalSave = true

cleanMapAtGlobalSave = true


deSpawnRange = 2

deSpawnRadius = 50

monsterSpawnWalkback = true


maxPlayerSummons = 2

teleportAllSummons = true

teleportPlayerSummons = false


statusPort = 7171

ownerName = ""

ownerEmail = "@otland.net"

url = "http://otland.net/"

location = "Europe"

displayGamemastersWithOnlineCommand = false


displayPlayersLogging = true

prefixChannelLogs = ""

runFile = ""

outputLog = ""

truncateLogOnStartup = false


managerPort = 7171

managerLogs = true

managerPassword = ""

managerLocalhostOnly = true

managerConnectionsLimit = 1


adminPort = 7171

adminLogs = true

adminPassword = ""

adminLocalhostOnly = true

adminConnectionsLimit = 1

adminRequireLogin = true

adminEncryption = ""

adminEncryptionData = ""


Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo