Ir para conteúdo
  • Cadastre-se

[Database error] Unknown database type


Posts Recomendados

Warning: parse_ini_file(/otserv/config.lua) [function.parse-ini-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\config-and-functions.php on line 13
 Database error. Unknown database type in /otserv/config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""
 
 
 
O meu site está dando este erro acima, mas já fiz tudo certo no config.lua, criei database mysql e da errado, tentei com outra Gesior e funcionou.
 
O problema é que a melhor Gesior é a que ta com o erro, por favor me ajudem, me disseram que era colocar permissoes 777 no config. ini, alguem sabe?
Link para o post
Compartilhar em outros sites

amigo o caminho do otserv está configurado errado.

no local onde está "(/otserv/config.lua)" procure seu arquivo config.ini e procure por esta linha "(/otserv/config.lua)" no lugar de otserv substitua pelo caminho do seu servidor para que ele possa encontrar seu config.lua

Exemplo :

 

 

 

C:/Users/Lekstar/Desktop/pastadoservidor/config.lua

 

caso não funcione me avise aqui.

te ajudei ? REP + 

Link para o post
Compartilhar em outros sites

Pode ser 3 coisas, 

1 - As configurações para conexão mysql estão erradas (sqlType, sqlPass e etc ...)
2 - O caminho informado na instalação (config.php) até o config.lua esta errado.
3 - Os comentários do config.lua não fora retirados.

Esperto ter ajudado.

Link para o post
Compartilhar em outros sites
  • 10 months later...

Pode ser 3 coisas, 

1 - As configurações para conexão mysql estão erradas (sqlType, sqlPass e etc ...)

2 - O caminho informado na instalação (config.php) até o config.lua esta errado.

3 - Os comentários do config.lua não fora retirados.

Esperto ter ajudado.

 

meu config.lua

 

accountManager = true
namelockManager = true
newPlayerChooseVoc = true
newPlayerSpawnPosX = 32360
newPlayerSpawnPosY = 31782
newPlayerSpawnPosZ = 7
newPlayerTownId = 2
newPlayerLevel = 8
newPlayerMagicLevel = 2
generateAccountNumber = false

redSkullLength = 10 * 24 * 60 * 60
blackSkullLength = 20 * 24 * 60 * 60
dailyFragsToRedSkull = 10
weeklyFragsToRedSkull = 20
monthlyFragsToRedSkull = 30
dailyFragsToBlackSkull = dailyFragsToRedSkull
weeklyFragsToBlackSkull = weeklyFragsToRedSkull
monthlyFragsToBlackSkull = monthlyFragsToRedSkull
dailyFragsToBanishment = dailyFragsToRedSkull
weeklyFragsToBanishment = weeklyFragsToRedSkull
monthlyFragsToBanishment = monthlyFragsToRedSkull
blackSkulledDeathHealth = 40
blackSkulledDeathMana = 0
useBlackSkull = true
useFragHandler = true
advancedFragList = true

notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 3 * 24 * 60 * 60
killsBanLength = 2 * 24 * 60 * 60
finalBanLength = 7 * 24 * 60 * 60
ipBanishmentLength = 7 * 24 * 60 * 60
broadcastBanishments = false
maxViolationCommentSize = 200
violationNameReportActionType = 2
autoBanishUnknownBytes = true

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

worldId = 0
ip = "dw.servegame.com"
bindOnlyConfiguredIpAddress = false
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = 1000
motd = "Paracotos Online"
displayOnOrOffAtCharlist = false
onePlayerOnlinePerAccount = true
allowClones = false
serverName = "Real Paracotos Online"
loginMessage = "Bienvenidos a Paracotos Online Espero les guste !"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = true
forceSlowConnectionsToDisconnect = false
loginOnlyWithLoginServer = false
premiumPlayerSkipWaitList = false

sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "edward"
sqlDatabase = "data"
sqlFile = "realserver.s3db"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"

deathListEnabled = true
deathListRequiredTime = 2 * 60 * 1000
deathAssistCount = 19
maxDeathRecords = 5

ingameGuildManagement = true
levelToFormGuild = 25
premiumDaysToFormGuild = 0
guildNameMinLength = 4
guildNameMaxLength = 20

highscoreDisplayPlayers = 10
updateHighscoresAfterMinutes = 15

buyableAndSellableHouses = true
houseNeedPremium = true
bedsRequirePremium = true
levelToBuyHouse = 50
housesPerAccount = 0
houseRentAsPrice = false
housePriceAsRent = false
housePriceEachSquare = 5000
houseRentPeriod = "monthly",yes
houseCleanOld = 0
guildHalls = true

timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = true
hotkeyAimbotEnabled = true
maximumDoorLevel = 500

mapName = "realmap"
mapAuthor = "Edward Ortiz"
randomizeTiles = true
useHouseDataStorage = false
storeTrash = true
cleanProtectedZones = true
mailboxDisabledTowns = "-1"

defaultPriority = "high"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = true
removePremiumOnInit = true
confirmOutdatedVersion = false

maxMessageBuffer = 4
bufferMutedOnSpellFailure = false

dataDirectory = "data/"
allowChangeOutfit = true
allowChangeColors = true
allowChangeAddons = true
disableOutfitsForPrivilegedPlayers = false
bankSystem = true
saveGlobalStorage = true
displaySkillLevelOnAdvance = false
spellNameInsteadOfWords = false
emoteSpells = false
promptExceptionTracerErrorBox = true
storePlayerDirection = false
monsterLootMessage = 3
monsterLootMessageType = 25
separateViplistPerCharacter = false

ghostModeInvisibleEffect = true
ghostModeSpellEffects = true

idleWarningTime = 14 * 60 * 1000
idleKickTime = 15 * 60 * 1000
expireReportsAfterReads = 1
playerQueryDeepness = 2
maxItemsPerPZTile = 0
maxItemsPerHouseTile = 0

freePremium = false
premiumForPromotion = true

blessingOnlyPremium = true
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 8

experienceStages = true
rateExperience = 50.0
rateExperienceFromPlayers = 0
rateSkill = 40.0
rateMagic = 30.0
rateLoot = 3.5
rateSpawn = 1

rateMonsterHealth = 1.0
rateMonsterMana = 1.0
rateMonsterAttack = 1.0
rateMonsterDefense = 1.0

minLevelThresholdForKilledPlayer = 0.9
maxLevelThresholdForKilledPlayer = 1.1

rateStaminaLoss = 1
rateStaminaGain = 3
rateStaminaThresholdGain = 12
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 1.5
rateStaminaUnderNormal = 0.5
staminaThresholdOnlyPremium = true

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

globalSaveEnabled = true
globalSaveHour = 8
shutdownAtGlobalSave = false
cleanMapAtGlobalSave = false

deSpawnRange = 2
deSpawnRadius = 50

maxPlayerSummons = 2
teleportAllSummons = false
teleportPlayerSummons = false

ownerName = "God Paracotos"
ownerEmail = "[email protected]"
url = "http://XTibia.com/"
location = "Venezuela"
displayGamemastersWithOnlineCommand = true

adminLogsEnabled = false
displayPlayersLogging = true
prefixChannelLogs = ""
runFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = false

Database error. Unknown database type in C:\Users\admin\Desktop\Realconfig.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

Link para o post
Compartilhar em outros sites
  • 11 months later...

Eu estava com esse problema e consegui resolver.

É bem como "Lekstar" mensionou, vamos lá...

voce tem que ir na pasta XAMPP e digitar na caixa de busca: config.ini

em seguida voce abre e edita o caminho onde está o config.lua do seu servidor.

 

install = "yes"

server_path = (coloque aqui o caminho do config.lua do servidor...)

signatures = "1"

 

EXEMPLO:

 

install = "yes"

server_path = (C:\Users\UsuarioPC\Desktop\MapaEditBaiak2.2)

signatures = "1"

 

é isso ai, foi assim que resolvi aqui

Link para o post
Compartilhar em outros sites
8 horas atrás, floripalucas disse:

Eu estava com esse problema e consegui resolver.

É bem como "Lekstar" mensionou, vamos lá...

voce tem que ir na pasta XAMPP e digitar na caixa de busca: config.ini

em seguida voce abre e edita o caminho onde está o config.lua do seu servidor.

 

install = "yes"

server_path = (coloque aqui o caminho do config.lua do servidor...)

signatures = "1"

 

EXEMPLO:

 

install = "yes"

server_path = (C:\Users\UsuarioPC\Desktop\MapaEditBaiak2.2)

signatures = "1"

 

é isso ai, foi assim que resolvi aqui

tópico de 2015 vei

OuhEeY.png

Link para o post
Compartilhar em outros sites
  • 3 months later...
Em 29/03/2016 at 03:29, floripalucas disse:

Eu estava com esse problema e consegui resolver.

É bem como "Lekstar" mensionou, vamos lá...

voce tem que ir na pasta XAMPP e digitar na caixa de busca: config.ini

em seguida voce abre e edita o caminho onde está o config.lua do seu servidor.

 

install = "yes"

server_path = (coloque aqui o caminho do config.lua do servidor...)

signatures = "1"

 

EXEMPLO:

 

install = "yes"

server_path = (C:\Users\UsuarioPC\Desktop\MapaEditBaiak2.2)

signatures = "1"

 

é isso ai, foi assim que resolvi aqui

vlw man ajudou pra caramba muito grato

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.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo