Ir para conteúdo
  • Cadastre-se

Erro Com Data Base Help!


Posts Recomendados

  • Administrador

Bom,Estou fazendo um server e quando eu inicio o meo server da esse erro

error: database connection failed!

Mais o mysql do xampp entra o site funciona 100% só quando vou iniciar o server da esse erro,Alguem pode me ajudar?

Editado por Erimyth (veja o histórico de edições)

TibiaKing Team- KingTópicos
www.tibiaking.com

Link para o post
Compartilhar em outros sites

No config.lua provavelmente esta alguma coisa errada!

Poste o seu config.lua

# Regras Gerais - TibiaKing.com #
Contato: [email protected]
Não respondo dúvidas via MP.


1C2tu.png4Tlqo.png1C2tu.png


 

Link para o post
Compartilhar em outros sites

foi mais rapido em Augusto..

Editado por Sociopata
augusto foi mais rapido (veja o histórico de edições)


Regras Gerais 

 

"Califórnia Brasileira :cool: "

Link para o post
Compartilhar em outros sites
  • Administrador

ta aqui,auauauaugusto...(8,kkkkk

@edit ta aew


    accountManager = false

    namelockManager = false

    newPlayerChooseVoc = false

    newPlayerSpawnPosX = 95

    newPlayerSpawnPosY = 117

    newPlayerSpawnPosZ = 7

    newPlayerTownId = 1

    newPlayerLevel = 1

    newPlayerMagicLevel = 0

    generateAccountNumber = false


    redSkullLength = 72 * 24 * 60 * 60

    blackSkullLength = 97 * 24 * 60 * 60

    dailyFragsToRedSkull = 12

    weeklyFragsToRedSkull = 124

    monthlyFragsToRedSkull = 350

    dailyFragsToBlackSkull = dailyFragsToRedSkull

    weeklyFragsToBlackSkull = weeklyFragsToRedSkull

    monthlyFragsToBlackSkull = monthlyFragsToRedSkull

    dailyFragsToBanishment = dailyFragsToRedSkull

    weeklyFragsToBanishment = weeklyFragsToRedSkull

    monthlyFragsToBanishment = monthlyFragsToRedSkull

    blackSkulledDeathHealth = 40

    blackSkulledDeathMana = 0

    useBlackSkull = false

    useFragHandler = true

    advancedFragList = false


    notationsToBan = 3

    warningsToFinalBan = 4

    warningsToDeletion = 5

    banLength = 7 * 24 * 60 * 60

    killsBanLength = 1 * 24 * 60 * 60

    finalBanLength = 30 * 24 * 60 * 60

    ipBanishmentLength = 1 * 24 * 60 * 60

    broadcastBanishments = false

    maxViolationCommentSize = 200

    violationNameReportActionType = 2

    autoBanishUnknownBytes = true


    worldType = "open"

    protectionLevel = 80

    pvpTileIgnoreLevelAndVocationProtection = true

    pzLocked = 60 * 1000

    huntingDuration = 60 * 1000

    criticalHitChance = 7

    criticalHitMultiplier = 1

    displayCriticalHitNotify = false

    removeWeaponAmmunition = false

    removeWeaponCharges = true

    removeRuneCharges = true

    whiteSkullTime = 12 * 60 * 1000

    noDamageToSameLookfeet = false

    showHealingDamage = true

    showHealingDamageForMonsters = true

    fieldOwnershipDuration = 5 * 1000

    stopAttackingAtExit = false

    oldConditionAccuracy = false

    loginProtectionPeriod = 10 * 1000

    deathLostPercent = 5

    stairhopDelay = 2 * 1000

    pushCreatureDelay = 2 * 1000

    deathContainerId = 1987

    gainExperienceColor = 200

    addManaSpentInPvPZone = true

    squareColor = 0

    allowFightback = true


    worldId = 0

    ip = "YOURIP"

    bindOnlyConfiguredIpAddress = true

    loginPort = 7171

    gamePort = 7172

    adminPort = 7171

    statusPort = 7171

    loginTries = 3

    retryTimeout = 5 * 1000

    loginTimeout = 60 * 1000

    maxPlayers = 5000

    motd = "Brand NEW RL MAP SERVER DON'T FORGET TO INVITE YOUR FRIENDS!"

    displayOnOrOffAtCharlist = false

    onePlayerOnlinePerAccount = true

    allowClones = false

    serverName = "Welcome"

    loginMessage = "Welcome!"

    statusTimeout = 0 * 60 * 1000

    replaceKickOnLogin = true

    forceSlowConnectionsToDisconnect = false

    loginOnlyWithLoginServer = false

    premiumPlayerSkipWaitList = true


    sqlType = "mysql"

    sqlHost = "localhost"

    sqlPort = 3306

    sqlUser = "root"

    sqlPass = "YOURDBPASSWORD"

    sqlDatabase = "YOURDBNAME"

    sqlFile = "forgottenserver.s3db"

    sqlKeepAlive = 10

    mysqlReadTimeout = 0

    mysqlWriteTimeout = 0

    encryptionType = "plain"


    deathListEnabled = true

    deathListRequiredTime = 1 * 60 * 1000

    deathAssistCount = 19

    maxDeathRecords = 5


    ingameGuildManagement = false

    levelToFormGuild = 8

    premiumDaysToFormGuild = 0

    guildNameMinLength = 4

    guildNameMaxLength = 20


    highscoreDisplayPlayers = 15

    updateHighscoresAfterMinutes = 60


    buyableAndSellableHouses = true

    houseNeedPremium = false

    bedsRequirePremium = false

    levelToBuyHouse = 120

    housesPerAccount = 1

    houseRentAsPrice = false

    housePriceAsRent = true

    housePriceEachSquare = 1000

    houseRentPeriod = "never"

    houseCleanOld = 1

    guildHalls = true


    timeBetweenActions = 200

    timeBetweenExActions = 1000

    hotkeyAimbotEnabled = true


    mapName = "World.otbm"

    mapAuthor = "someone"

    randomizeTiles = false

    storeTrash = true

    cleanProtectedZones = true

    mailboxDisabledTowns = ""


    defaultPriority = "high"

    niceLevel = 5

    coresUsed = "-1"


    startupDatabaseOptimization = false

    updatePremiumStateAtStartup = false

    confirmOutdatedVersion = false


    formulaLevel = 5.0

    formulaMagic = 1.0

    bufferMutedOnSpellFailure = false

    spellNameInsteadOfWords = false

    emoteSpells = false


    allowChangeOutfit = true

    allowChangeColors = true

    allowChangeAddons = true

    disableOutfitsForPrivilegedPlayers = false

    addonsOnlyPremium = true


    dataDirectory = "data/"

    bankSystem = true

    displaySkillLevelOnAdvance = true

    promptExceptionTracerErrorBox = true

    maximumDoorLevel = 500

    maxMessageBuffer = 4


    separateVipListPerCharacter = false

    vipListDefaultLimit = 20

    vipListDefaultPremiumLimit = 100


    saveGlobalStorage = true

    useHouseDataStorage = true

    storePlayerDirection = false


    checkCorpseOwner = true

    monsterLootMessage = 3

    monsterLootMessageType = 25


    ghostModeInvisibleEffect = false

    ghostModeSpellEffects = true


    idleWarningTime = 14 * 60 * 1000

    idleKickTime = 15 * 60 * 1000

    reportsExpirationAfterReads = 1

    playerQueryDeepness = 2

    tileLimit = 100

    protectionTileLimit = 100

    houseTileLimit = 100


    freePremium = false

    premiumForPromotion = false


    blessings = true

    blessingOnlyPremium = true

    blessingReductionBase = 30

    blessingReductionDecrement = 5

    eachBlessReduction = 8


    experienceStages = true

    rateExperience = 1.0

    rateExperienceFromPlayers = 0

    rateSkill = 115.0

    rateMagic = 75.0

    rateLoot = 4.0

    rateSpawn = 1

    paralyzeDelay = 1500

    rateExperienceFromEnemies = 0


    rateMonsterHealth = 1.0

    rateMonsterMana = 1.0

    rateMonsterAttack = 1.0

    rateMonsterDefense = 1.0


    minLevelThresholdForKilledPlayer = 0.9

    maxLevelThresholdForKilledPlayer = 1.1


    rateStaminaLoss = 1

    rateStaminaGain = 1

    rateStaminaThresholdGain = 2

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

    globalSaveMinute = 55

    shutdownAtGlobalSave = false

    cleanMapAtGlobalSave = false


    deSpawnRange = 2

    deSpawnRadius = 50


    maxPlayerSummons = 2

    teleportAllSummons = false

    teleportPlayerSummons = false


    statusPort = 7171

    ownerName = "Velington"

    ownerEmail = ""

    url = ""

    location = "Europe"

    displayGamemastersWithOnlineCommand = false


    displayPlayersLogging = false

    prefixChannelLogs = ""

    runFile = ""

    outputLog = ""

    truncateLogsOnStartup = false


    managerPort = 7171

    managerLogs = true

    managerPassword = ""

    managerLocalhostOnly = true

    managerConnectionsLimit = 1


    adminPort = 7171

    adminLogs = true

    adminPassword = ""

    adminLocalhostOnly = true

    adminConnectionsLimit = 1

    adminRequireLogin = true

    adminEncryption = ""

    adminEncryptionData = ""



Editado por Erimyth (veja o histórico de edições)

TibiaKing Team- KingTópicos
www.tibiaking.com

Link para o post
Compartilhar em outros sites

pode ser uma coisa besta assim ou tbm os espaços q vc nao deixo entre os finais das devidas "areas"

rateMonsterHealth = 1.0

rateMonsterMana = 1.0

rateMonsterAttack = 1.0

rateMonsterDefense = 1.0

minLevelThresholdForKilledPlayer = 0.9

maxLevelThresholdForKilledPlayer = 1.1

----------------------------------------------------------------------->>>> esse espaço q to falando

rateStaminaLoss = 1

rateStaminaGain = 1

rateStaminaThresholdGain = 2

staminaRatingLimitTop = 40 * 60

staminaRatingLimitBottom = 14 * 60

staminaLootLimit = 14 * 60

rateStaminaAboveNormal = 1.5

rateStaminaUnderNormal = 0.5

PARA FICAR MAIS FACIL POSTE O CONFIG.LUA SEM MODIFICAR Q EU AJEITO PRA VC AMIGO


Regras Gerais 

 

"Califórnia Brasileira :cool: "

Link para o post
Compartilhar em outros sites

ta agr se nao der certo quando chegar eu te ajudo se vc estiver online claro (coloca os dados certos)

accountManager = false

namelockManager = false

newPlayerChooseVoc = false

newPlayerSpawnPosX = 95

newPlayerSpawnPosY = 117

newPlayerSpawnPosZ = 7

newPlayerTownId = 1

newPlayerLevel = 8

newPlayerMagicLevel = 0

generateAccountNumber = false

redSkullLength = 72 * 24 * 60 * 60

blackSkullLength = 97 * 24 * 60 * 60

dailyFragsToRedSkull = 12

weeklyFragsToRedSkull = 124

monthlyFragsToRedSkull = 350

dailyFragsToBlackSkull = dailyFragsToRedSkull

weeklyFragsToBlackSkull = weeklyFragsToRedSkull

monthlyFragsToBlackSkull = monthlyFragsToRedSkull

dailyFragsToBanishment = dailyFragsToRedSkull

weeklyFragsToBanishment = weeklyFragsToRedSkull

monthlyFragsToBanishment = monthlyFragsToRedSkull

blackSkulledDeathHealth = 40

blackSkulledDeathMana = 0

useBlackSkull = false

useFragHandler = true

advancedFragList = false

notationsToBan = 3

warningsToFinalBan = 4

warningsToDeletion = 5

banLength = 7 * 24 * 60 * 60

killsBanLength = 1 * 24 * 60 * 60

finalBanLength = 30 * 24 * 60 * 60

ipBanishmentLength = 1 * 24 * 60 * 60

broadcastBanishments = false

maxViolationCommentSize = 200

violationNameReportActionType = 2

autoBanishUnknownBytes = true

worldType = "open"

protectionLevel = 80

pvpTileIgnoreLevelAndVocationProtection = true

pzLocked = 60 * 1000

huntingDuration = 60 * 1000

criticalHitChance = 7

criticalHitMultiplier = 1

displayCriticalHitNotify = false

removeWeaponAmmunition = false

removeWeaponCharges = true

removeRuneCharges = true

whiteSkullTime = 12 * 60 * 1000

noDamageToSameLookfeet = false

showHealingDamage = true

showHealingDamageForMonsters = true

fieldOwnershipDuration = 5 * 1000

stopAttackingAtExit = false

oldConditionAccuracy = false

loginProtectionPeriod = 10 * 1000

deathLostPercent = 5

stairhopDelay = 2 * 1000

pushCreatureDelay = 2 * 1000

deathContainerId = 1987

gainExperienceColor = 200

addManaSpentInPvPZone = true

squareColor = 0

allowFightback = true

worldId = 0

ip = "YOURIP"

bindOnlyConfiguredIpAddress = true

loginPort = 7171

gamePort = 7172

adminPort = 7171

statusPort = 7171

loginTries = 3

retryTimeout = 5 * 1000

loginTimeout = 60 * 1000

maxPlayers = 5000

motd = "Brand NEW RL MAP SERVER DON'T FORGET TO INVITE YOUR FRIENDS!"

displayOnOrOffAtCharlist = false

onePlayerOnlinePerAccount = true

allowClones = false

serverName = "Welcome"

loginMessage = "Welcome!"

statusTimeout = 0 * 60 * 1000

replaceKickOnLogin = true

forceSlowConnectionsToDisconnect = false

loginOnlyWithLoginServer = false

premiumPlayerSkipWaitList = true

sqlType = "mysql"

sqlHost = "localhost"

sqlPort = 3306

sqlUser = "root"

sqlPass = "YOURDBPASSWORD"

sqlDatabase = "global"

sqlFile = "global.s3db"

sqlKeepAlive = 10

mysqlReadTimeout = 0

mysqlWriteTimeout = 0

encryptionType = "plain"

deathListEnabled = true

deathListRequiredTime = 1 * 60 * 1000

deathAssistCount = 19

maxDeathRecords = 5

ingameGuildManagement = false

levelToFormGuild = 8

premiumDaysToFormGuild = 0

guildNameMinLength = 4

guildNameMaxLength = 20

highscoreDisplayPlayers = 15

updateHighscoresAfterMinutes = 60

buyableAndSellableHouses = true

houseNeedPremium = false

bedsRequirePremium = false

levelToBuyHouse = 120

housesPerAccount = 1

houseRentAsPrice = false

housePriceAsRent = true

housePriceEachSquare = 1000

houseRentPeriod = "never"

houseCleanOld = 1

guildHalls = true

timeBetweenActions = 200

timeBetweenExActions = 1000

hotkeyAimbotEnabled = true

mapName = "World.otbm"

mapAuthor = "someone"

randomizeTiles = false

storeTrash = true

cleanProtectedZones = true

mailboxDisabledTowns = ""

defaultPriority = "high"

niceLevel = 5

coresUsed = "-1"

startupDatabaseOptimization = false

updatePremiumStateAtStartup = false

confirmOutdatedVersion = false

formulaLevel = 5.0

formulaMagic = 1.0

bufferMutedOnSpellFailure = false

spellNameInsteadOfWords = false

emoteSpells = false

allowChangeOutfit = true

allowChangeColors = true

allowChangeAddons = true

disableOutfitsForPrivilegedPlayers = false

addonsOnlyPremium = true

dataDirectory = "data/"

bankSystem = true

displaySkillLevelOnAdvance = true

promptExceptionTracerErrorBox = true

maximumDoorLevel = 500

maxMessageBuffer = 4

separateVipListPerCharacter = false

vipListDefaultLimit = 20

vipListDefaultPremiumLimit = 100

saveGlobalStorage = true

useHouseDataStorage = true

storePlayerDirection = false

checkCorpseOwner = true

monsterLootMessage = 3

monsterLootMessageType = 25

ghostModeInvisibleEffect = false

ghostModeSpellEffects = true

idleWarningTime = 14 * 60 * 1000

idleKickTime = 15 * 60 * 1000

reportsExpirationAfterReads = 1

playerQueryDeepness = 2

tileLimit = 100

protectionTileLimit = 100

houseTileLimit = 100

freePremium = false

premiumForPromotion = false

blessings = true

blessingOnlyPremium = true

blessingReductionBase = 30

blessingReductionDecrement = 5

eachBlessReduction = 8

experienceStages = true

rateExperience = 10.0

rateExperienceFromPlayers = 0

rateSkill = 115.0

rateMagic = 75.0

rateLoot = 4.0

rateSpawn = 1

paralyzeDelay = 1500

rateExperienceFromEnemies = 0

rateMonsterHealth = 1.0

rateMonsterMana = 1.0

rateMonsterAttack = 1.0

rateMonsterDefense = 1.0

minLevelThresholdForKilledPlayer = 0.9

maxLevelThresholdForKilledPlayer = 1.1

rateStaminaLoss = 1

rateStaminaGain = 1

rateStaminaThresholdGain = 2

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

globalSaveMinute = 55

shutdownAtGlobalSave = false

cleanMapAtGlobalSave = false

deSpawnRange = 2

deSpawnRadius = 50

maxPlayerSummons = 2

teleportAllSummons = false

teleportPlayerSummons = false

statusPort = 7171

ownerName = "Velington"

ownerEmail = ""

url = ""

location = "Europe"

displayGamemastersWithOnlineCommand = false

displayPlayersLogging = false

prefixChannelLogs = ""

runFile = ""

outputLog = ""

truncateLogsOnStartup = false

managerPort = 7171

managerLogs = true

managerPassword = ""

managerLocalhostOnly = true

managerConnectionsLimit = 1

adminPort = 7171

adminLogs = true

adminPassword = ""

adminLocalhostOnly = true

adminConnectionsLimit = 1

adminRequireLogin = true

adminEncryption = ""

adminEncryptionData = ""


Regras Gerais 

 

"Califórnia Brasileira :cool: "

Link para o post
Compartilhar em outros sites
  • Administrador

okay Testando.....qual quer coisa eu dou um edit aquie

@edit

Xii cara ainda ta com o erro :\

Editado por Erimyth (veja o histórico de edições)

TibiaKing Team- KingTópicos
www.tibiaking.com

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