Ir para conteúdo

Erro..


dragonballhugo

Posts Recomendados

No gesior Website la eu fiz o tutorial certinho mesmo.

Ja tentei de tudo e sei q to fzendo certo ,importei a database mtas vezes, ja tentei varias vezes mais sempre da isso Can't connect to MySQL database.

Na hora Check server configuration

File config.lua loaded from C:/Documents and Settings/Hugo/Meus documentos/Downloads/Styller Yourots {Editado 2.0}(Sem dlls )(8.60)/Styller Yourots {Editado 2.0}(Sem dlls )(8.60)/config.lua and looks like fine server config file. Now you can check database(mysql) connection: STEP 2 - check database connection

Check database connection

If you don't see any errors press link to STEP 3 - Add tables and columns to DB. If you see some errors it mean server has wrong configuration. Check FAQ or ask author of acc. maker.Can't connect to MySQL database.

-

Can't connect to MySQL database.

alguem me ajuda por favor vlw

Editado por HugOwxD
Link para o comentário
Compartilhar em outros sites

Olha , oque tem de errado ai? o.0

 

accountManager = true

namelockManager = true

newPlayerChooseVoc = true

newPlayerSpawnPosX = 160

newPlayerSpawnPosY = 51

newPlayerSpawnPosZ = 7

newPlayerTownId = 1

newPlayerLevel = 8

newPlayerMagicLevel = 2

generateAccountNumber = false

 

redSkullLength = 2 * 5 * 20 * 20

blackSkullLength = 20 * 24 * 60 * 60

dailyFragsToRedSkull = 9

weeklyFragsToRedSkull = 30

monthlyFragsToRedSkull = 50

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

pvpTileIgnoreLevelAndVocationProtection = true

pzLocked = 60 * 500

huntingDuration = 60 * 1000

criticalHitChance = 7

criticalHitMultiplier = 1

displayCriticalHitNotify = true

removeWeaponAmmunition = false

removeWeaponCharges = false

removeRuneCharges = false

whiteSkullTime = 15 * 20 * 500

noDamageToSameLookfeet = false

showHealingDamage = true

showHealingDamageForMonsters = true

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

bindOnlyConfiguredIpAddress = false

loginPort = 7171

gamePort = 7172

adminPort = 7171

statusPort = 7171

loginTries = 10

retryTimeout = 5 * 1000

loginTimeout = 60 * 1000

maxPlayers = 150

motd = "Bem vindo ao SkullWar,Interessou em itens vip? Visite o site (!site)."

displayOnOrOffAtCharlist = false

onePlayerOnlinePerAccount = true

allowClones = false

serverName = "Real Server"

loginMessage = "Bem vindo ao SkullWar,Interessou em itens vip? Visite o site (!site)."

statusTimeout = 5 * 60 * 1000

replaceKickOnLogin = true

forceSlowConnectionsToDisconnect = false

loginOnlyWithLoginServer = false

premiumPlayerSkipWaitList = false

 

sqlType = "mysql"

sqlHost = "localhost"

sqlPort = 3306

sqlUser = "root"

sqlPass = "boteiasenhacerta¬¬"

sqlDatabase = "forgottenserver"

sqlFile = "forgottenserver.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 = "never"

houseCleanOld = 0

guildHalls = true

 

timeBetweenActions = 200

timeBetweenExActions = 1000

checkCorpseOwner = true

hotkeyAimbotEnabled = true

maximumDoorLevel = 500

 

mapName = "realmap"

mapAuthor = "Real Team"

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

spellNameInsteadOfWords = false

emoteSpells = true

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

rateExperience = 150.0

rateExperienceFromPlayers = 0

rateSkill = 100.0

rateMagic = 80.0

rateLoot = 3.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 = 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 = false

globalSaveHour = 8

shutdownAtGlobalSave = false

cleanMapAtGlobalSave = false

 

deSpawnRange = 2

deSpawnRadius = 50

 

maxPlayerSummons = 2

teleportAllSummons = false

teleportPlayerSummons = false

 

ownerName = "Doidin"

ownerEmail = "doidin@xtibia.com"

url = "http://XTibia.com/"

location = "Brazil"

displayGamemastersWithOnlineCommand = true

 

adminLogsEnabled = false

displayPlayersLogging = true

prefixChannelLogs = ""

runFile = ""

outLogName = ""

errorLogName = ""

truncateLogsOnStartup = false

Link para o comentário
Compartilhar em outros sites

nessa parte

sqlDatabase = "forgottenserver"

 

vai o nome da database lá no phpadmin, na maioria dos tutorial, eles ensinam a colocar "otserv"

 

+ tanto faz, resumindo: vc deve botar ali o nome da coluna aonde vc importo aquele arquivo .SQL

Link para o comentário
Compartilhar em outros sites

É pode ser exatamente o que o Felipe falou:

 

sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "boteiasenhacerta¬¬"
sqlDatabase = "forgottenserver"  <- bota nome da sua database que você criou no phpmyadmin.
sqlFile = "forgottenserver.S3DB"
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
encryptionType = "plain"

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...