Ir para conteúdo

[Tutorial]Criando Website Com Xampp


Posts Recomendados

alguem poderia me ajudar numa coisa

 

eu to seguindo tutorial , ta dando tudo certo ,

 

porem eu n consigu achar o arquivo que termina ".sql" na pasta do meu server...

 

se alguem puder me ajudar

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

alguem poderia me ajudar numa coisa

 

eu to seguindo tutorial , ta dando tudo certo ,

 

porem eu n consigu achar o arquivo que termina ".sql" na pasta do meu server...

 

se alguem puder me ajudar

 

Olhe na pasta Schemas geralmente fica lá o arquivo mysql.sql.

Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...

Galera preciso Muito Resolve Isso Ajuda ae '-' Sempre eu ligo o Xampp Certin troco o ip quando eu vo abri o sv da erro Unabled to confg lua

a senha da DB ta certina com o config lua oque sera que é?

 

 

accountManager = false

namelockManager = true

newPlayerChooseVoc = false

newPlayerSpawnPosX = 73

newPlayerSpawnPosY = 38

newPlayerSpawnPosZ = 7

newPlayerTownId = 1

newPlayerLevel = 5

newPlayerMagicLevel = 0

generateAccountNumber = false

 

lightInterval = 7500

lightChange = 1

startupTime = 351

startupLight = 40

 

limitPokeballs = 6

happyDropTime = 30

minHappinessEffectDelay = 25

maxHappinessEffectDelay = 40

PokemonStageVeryHappy = 215

PokemonStageHappy = 160

PokemonStageOK = 110

PokemonStageSad = 50

PokemonStageMad = 0

maximumHunger = 120

stateHunger = 100

increaseHunger = 7

decreaseHappy = 1

decreaseHungryHappy = 4

useTeleportWithFly = false

dropHappyDuringBattles = false

allowBlockSpawn = true

 

redSkullLength = 30 * 24 * 60 * 60

blackSkullLength = 45 * 24 * 60 * 60

dailyFragsToRedSkull = 3

weeklyFragsToRedSkull = 5

monthlyFragsToRedSkull = 10

dailyFragsToBlackSkull = dailyFragsToRedSkull

weeklyFragsToBlackSkull = weeklyFragsToRedSkull

monthlyFragsToBlackSkull = monthlyFragsToRedSkull

dailyFragsToBanishment = dailyFragsToRedSkull

weeklyFragsToBanishment = weeklyFragsToRedSkull

monthlyFragsToBanishment = monthlyFragsToRedSkull

blackSkulledDeathHealth = 40

blackSkulledDeathMana = 0

useBlackSkull = true

useFragHandler = true

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

maxViolationCommentSize = 200

violationNameReportActionType = 2

autoBanishUnknownBytes = false

 

worldType = "pvp"

protectionLevel = 1000

pvpTileIgnoreLevelAndVocationProtection = true

pzLocked = 18 * 1000

huntingDuration = 60 * 1000

criticalHitChance = 7

criticalHitMultiplier = 1

displayCriticalHitNotify = false

removeWeaponAmmunition = true

removeWeaponCharges = true

removeRuneCharges = true

whiteSkullTime = 15 * 60 * 1000

noDamageToSameLookfeet = false

showHealingDamage = false

showHealingDamageForMonsters = false

fieldOwnershipDuration = 5 * 1000

stopAttackingAtExit = false

oldConditionAccuracy = false

loginProtectionPeriod = 10 * 1000

deathLostPercent = 1

stairhopDelay = 0 * 1000

pushCreatureDelay = 1 * 1000

deathContainerId = 0

gainExperienceColor = 215

addManaSpentInPvPZone = true

squareColor = 0

allowFightback = true

 

worldId = 0

ip = "pokemonrenascence.no-ip.biz"

bindOnlyConfiguredIpAddress = false

loginPort = 7171

gamePort = 7172

adminPort = 7171

statusPort = 7171

loginTries = 10

retryTimeout = 5 * 1000

loginTimeout = 60 * 1000

maxPlayers = 50

motd = "Bem vindo ao Pokemon .....!"

displayOnOrOffAtCharlist = false

onePlayerOnlinePerAccount = false

allowClones = true

serverName = "Pokemon ......"

loginMessage = "Bem vindo ao Pokemon .....!!"

statusTimeout = 5 * 60 * 1000

replaceKickOnLogin = true

forceSlowConnectionsToDisconnect = false

loginOnlyWithLoginServer = false

premiumPlayerSkipWaitList = true

 

sqlType = "mysql"

sqlHost = "localhost"

sqlPort = 3306

sqlUser = "root"

sqlPass = "senha certinha"

sqlDatabase = "pokemon renascence"

sqlFile = "forgottenserver.s3db"

sqlKeepAlive = 0

mysqlReadTimeout = 10

mysqlWriteTimeout = 10

encryptionType = "sha1"

 

deathListEnabled = true

deathListRequiredTime = 1 * 60 * 1000

deathAssistCount = 19

maxDeathRecords = 10

 

ingameGuildManagement = true

levelToFormGuild = 40

premiumDaysToFormGuild = 0

guildNameMinLength = 2

guildNameMaxLength = 25

 

highscoreDisplayPlayers = 15

updateHighscoresAfterMinutes = 60

 

buyableAndSellableHouses = true

houseNeedPremium = true

bedsRequirePremium = true

levelToBuyHouse = 1

housesPerAccount = 0

houseRentAsPrice = false

housePriceAsRent = false

housePriceEachSquare = 2975

houseRentPeriod = "never"

houseCleanOld = 0

guildHalls = false

 

timeBetweenActions = 500

timeBetweenExActions = 500

hotkeyAimbotEnabled = true

 

mapName = "kpdo"

mapAuthor = ".."

randomizeTiles = true

storeTrash = false

cleanProtectedZones = true

mailboxDisabledTowns = "1"

 

defaultPriority = "high"

niceLevel = 5

coresUsed = "-1"

 

optimizeDatabaseAtStartup = true

removePremiumOnInit = 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 = "C:\Users\MARKESON\Desktop\Pokemon Renascence novo"

bankSystem = true

displaySkillLevelOnAdvance = true

promptExceptionTracerErrorBox = true

separateViplistPerCharacter = false

maximumDoorLevel = 500

maxMessageBuffer = 4

 

saveGlobalStorage = false

useHouseDataStorage = false

storePlayerDirection = false

 

checkCorpseOwner = true

monsterLootMessage = 3

monsterLootMessageType = 22

 

ghostModeInvisibleEffect = false

ghostModeSpellEffects = false

 

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

rateExperienceFromPlayers = 0

rateSkill = 1

rateMagic = 1.0

rateLoot = 20

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.0

rateStaminaUnderNormal = 1.0

staminaThresholdOnlyPremium = true

 

experienceShareRadiusX = 30

experienceShareRadiusY = 30

experienceShareRadiusZ = 1

experienceShareLevelDifference = 200 * 200

extraPartyExperienceLimit = 20

extraPartyExperiencePercent = 20

experienceShareActivity = 2 * 60 * 1000

 

globalSaveEnabled = false

globalSaveHour = 8

shutdownAtGlobalSave = true

cleanMapAtGlobalSave = false

 

deSpawnRange = 2

deSpawnRadius = 25

 

maxPlayerSummons = 1

teleportAllSummons = trueteleportPlayerSummons = true

 

ownerName = "Pokemon Dash Online [Advanced]"

ownerEmail = ""

url = ""

location = "Brazil"

displayGamemastersWithOnlineCommand = false

 

adminLogsEnabled = false

displayPlayersLogging = true

prefixChannelLogs = ""

runFile = ""

outLogName = ""

errorLogName = ""

truncateLogsOnStartup = false

Link para o comentário
Compartilhar em outros sites

pode ser que o seu servidor nao esta achando a pasta config. talvez vc mudou o nome da mesma. ou pode se que vc mexeu em algo errado ai que ocasionou o erro, mais se fosse isso o executar daria uma pista mais concreta.. é so procurar ali na pesquisa que vc acha uma resposta pro seu problema rapidinho :D

Link para o comentário
Compartilhar em outros sites

to com probleminha aqui

essa e minha config.lua

 

accountManager = no

namelockManager = false

newPlayerChooseVoc = true

newPlayerSpawnPosX = 1020

newPlayerSpawnPosY = 1025

newPlayerSpawnPosZ = 7

newPlayerTownId = 1

newPlayerLevel = 400

newPlayerMagicLevel = 0

generateAccountNumber = false

 

redSkullLength = 1 * 24 * 60 * 60

blackSkullLength = 2 * 24 * 60 * 60

dailyFragsToRedSkull = 10

weeklyFragsToRedSkull = 15

monthlyFragsToRedSkull = 20

dailyFragsToBlackSkull = 15

weeklyFragsToBlackSkull = 20

monthlyFragsToBlackSkull = 25

dailyFragsToBanishment = dailyFragsToRedSkull

weeklyFragsToBanishment = weeklyFragsToRedSkull

monthlyFragsToBanishment = monthlyFragsToRedSkull

blackSkulledDeathHealth = 4000

blackSkulledDeathMana = 1000

useBlackSkull = true

useFragHandler = true

advancedFragList = false

 

warningsToFinalBan = 4

warningsToDeletion = 5

banLength = 1 * 24 * 60 * 60

killsBanLength = 1 * 24 * 60 * 60

finalBanLength = 1 * 24 * 60 * 60

ipBanishmentLength = 1 * 24 * 60 * 60

broadcastBanishments = true

maxViolationCommentSize = 200

violationNameReportActionType = 2

autoBanishUnknownBytes = false

 

-- Battle

-- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.

-- loginProtectionPeriod is the famous Tibia anti-magebomb system.

-- deathLostPercent set to nil enables manual mode.

worldType = "pvp"

protectionLevel = 100

pvpTileIgnoreLevelAndVocationProtection = true

pzLocked = 60 * 1000

huntingDuration = 60 * 1000

criticalHitChance = 7

criticalHitMultiplier = 1

displayCriticalHitNotify = true

removeWeaponAmmunition = false

removeWeaponCharges = false

removeRuneCharges = true

whiteSkullTime = 5 * 60 * 1000

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

 

-- Connection config

worldId = 0

ip = "*********************"

bindOnlyConfiguredIpAddress = false

loginPort = 7171

gamePort = 7172

adminPort = 7171

statusPort = 7171

loginTries = 10

retryTimeout = 5 * 1000

loginTimeout = 60 * 1000

maxPlayers = 400

motd = "Radbr-Monstro Servidor 100% Free,Chame Amigos :)"

displayOnOrOffAtCharlist = false

onePlayerOnlinePerAccount = true

allowClones = false

serverName = "Monstro"

loginMessage = "Mostro, estamos Melhorando."

statusTimeout = 5 * 60 * 1000

replaceKickOnLogin = true

forceSlowConnectionsToDisconnect = true

loginOnlyWithLoginServer = false

premiumPlayerSkipWaitList = false

 

-- Database

-- NOTE: sqlFile is used only by mysql database, and sqlKeepAlive by mysql database.

-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.

sqlType = "mysql"

sqlHost = "localhost"

sqlPort = 3306

sqlUser = "root"

sqlPass = "*********"

sqlDatabase = "otserv"

sqlFile = "otserv.s3db"

sqlKeepAlive = 0

mysqlReadTimeout = 10

mysqlWriteTimeout = 10

encryptionType = "plain"

 

-- Deathlist

deathListEnabled = true

deathListRequiredTime = 1 * 60 * 1000

deathAssistCount = 19

maxDeathRecords = 5

 

-- Guilds

ingameGuildManagement = true

levelToFormGuild = 250

premiumDaysToFormGuild = 0

guildNameMinLength = 5

guildNameMaxLength = 30

 

-- Highscores

highscoreDisplayPlayers = 10

updateHighscoresAfterMinutes = 3

 

-- Houses

buyableAndSellableHouses = true

houseNeedPremium = true

bedsRequirePremium = true

levelToBuyHouse = 100

housesPerAccount = 0

houseRentAsPrice = false

housePriceAsRent = false

housePriceEachSquare = 5000

houseRentPeriod = "never"

houseCleanOld = 0

guildHalls = false

 

-- Item usage

timeBetweenActions = 200

timeBetweenExActions = 1000

checkCorpseOwner = true

hotkeyAimbotEnabled = true

maximumDoorLevel = 500

 

-- Map

-- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.

-- useHouseDataStorage usage may be found at README.

mapName = "snows"

mapAuthor = "Samuka And Vihh E Slayer"

randomizeTiles = true

useHouseDataStorage = false

storeTrash = true

cleanProtectedZones = true

mailboxDisabledTowns = "-1"

 

-- Startup

-- NOTE: defaultPriority works only on Windows and niceLevel on *nix

-- coresUsed are seperated by comma cores ids used by server process,

-- default is -1, so it stays untouched (automaticaly assigned by OS).

defaultPriority = "high"

niceLevel = 5

coresUsed = "-1"

optimizeDatabaseAtStartup = true

removePremiumOnInit = true

confirmOutdatedVersion = false

 

-- Muted buffer

maxMessageBuffer = 10

bufferMutedOnSpellFailure = false

 

-- Miscellaneous

-- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,

-- called "exception tracer" (__EXCEPTION_TRACER__ flag).

-- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's)

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

 

-- Ghost mode

ghostModeInvisibleEffect = false

ghostModeSpellEffects = true

 

-- Limits

idleWarningTime = 59 * 60 * 1000

idleKickTime = 60 * 60 * 1000

expireReportsAfterReads = 1

playerQueryDeepness = 2

maxItemsPerPZTile = 0

maxItemsPerHouseTile = 0

 

-- Premium-related

freePremium = true

premiumForPromotion = true

 

-- Blessings

-- NOTE: blessingReduction* regards items/containers loss.

-- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.

blessingOnlyPremium = true

blessingReductionBase = 30

blessingReductionDecreament = 5

eachBlessReduction = 8

 

-- Rates

-- NOTE: experienceStages configuration is located in data/XML/stages.xml.

-- rateExperienceFromPlayers 1 to disable.

experienceStages = true

rateExperience = 2000

rateSkill = 99999

rateMagic = 9999

rateLoot = 1000

rateSpawn = 1000

 

-- Monster rates

rateMonsterHealth = 1.0

rateMonsterMana = 1.0

rateMonsterAttack = 1.0

rateMonsterDefense = 1.0

 

-- Experience from players

-- NOTE: min~Threshold* set to 100 will disable the minimum threshold:

-- player will gain experience from every lower leveled player.

-- max~Threshold* set to 1000 will disable the maximum threshold:

-- player will gain experience from every higher leveled player.

minLevelThresholdForKilledPlayer = 8

maxLevelThresholdForKilledPlayer = 2000

 

-- Stamina

-- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.

-- rateStaminaHits multiplies every hit done a creature, which are later

-- multiplied by player attack speed.

-- rateStaminaGain is divider of every logged out second, eg:

-- 60000 / 3 = 20000 milliseconds, what gives 20 stamina seconds for 1 minute being logged off.

-- rateStaminaThresholdGain is divider for the premium stamina.

-- staminaRatingLimit* is in minutes.

rateStaminaLoss = 1

rateStaminaGain = 3

rateStaminaThresholdGain = 12

staminaRatingLimitTop = 41 * 60

staminaRatingLimitBottom = 14 * 60

rateStaminaAboveNormal = 1.5

rateStaminaUnderNormal = 0.5

staminaThresholdOnlyPremium = true

 

-- Party

-- NOTE: experienceShareLevelDifference is float number.

-- experienceShareLevelDifference is highestLevel * value

experienceShareRadiusX = 30

experienceShareRadiusY = 30

experienceShareRadiusZ = 1

experienceShareLevelDifference = 2 / 3

extraPartyExperienceLimit = 20

extraPartyExperiencePercent = 5

experienceShareActivity = 2 * 60 * 1000

 

-- Global save

-- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,

-- if you want such a system please check out data/globalevents/globalevents.xml.

globalSaveEnabled = false

globalSaveHour = 3

shutdownAtGlobalSave = false

cleanMapAtGlobalSave = false

 

-- Spawns

deSpawnRange = 2

deSpawnRadius = 50

 

-- Summons

maxPlayerSummons = 2

teleportAllSummons = false

teleportPlayerSummons = false

 

-- Status

ownerName = "New-rad"

ownerEmail = ""

url = ""

location = "Brazil"

displayGamemastersWithOnlineCommand = false

 

-- Logs

-- NOTE: This kind of logging does not work in GUI version.

-- For such, please compile the software with __GUI_LOGS__ flag.

adminLogsEnabled = false

displayPlayersLogging = true

prefixChannelLogs = ""

runFile = ""

outLogName = ""

errorLogName = ""

truncateLogsOnStartup = false

 

Fis igual o tutorial tudo serto com o xampp 1.6.5 gesior do tutorial tambêm mas fis igual o tutorial e seiu seguinte erro

STEP 1

 

Check server configuration

 

Warning: Error parsing C:/Users/Bruno Lopes/Desktop/Newrad/config.lua on line 162 in C:\Program Files\xampp\htdocs\install.php on line 130

 

 

File config.lua loaded from C:/Users/Bruno Lopes/Desktop/Newrad/config.lua and looks like fine server config file. Now you can check database(mysql) connection: STEP 2 - check database connection

Meu molden so tem a porta 7171 Liberada !! sera que e por causa disto ?

ps : apacher e mysql ON !!

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

PASSO 1

 

Verifique a configuração do servidor

 

Aviso: erro de análise C Usuários :/ / Bruno Lopes / Desktop / Newrad / config.lua na linha 162 em C: \ Arquivos de programas \ xampp \ htdocs \ install.php on-line 130

 

 

Arquivo config.lua carregado de Usuários C :/ / Bruno Lopes / Desktop / Newrad / config.lua e se parece com lima fina servidor de configuração. Agora você pode verificar a conexão de banco de dados (mysql): PASSO 2 - verificar a conexão de banco de dados

 

 

Pode ser libere a porta 7172 também.

Link para o comentário
Compartilhar em outros sites

Você tem que retirar tbm os exemplos no config.lua, veja abaixo

 

Exemplo

-- Muted buffer
maxMessageBuffer = 10
bufferMutedOnSpellFailure = false

 

Tem que tirar o que ta apartir do -- ficando assim

maxMessageBuffer = 10
bufferMutedOnSpellFailure = false

 

tem que fazer isso no fongi.lua todo!

Link para o comentário
Compartilhar em outros sites

  • 2 weeks later...

Ae galera quando eu vou na parte do phpMyAdmin Da o seguinte Erro :

 

 

post-354920-0-28300000-1352090246_thumb.png

 

 

E agora como faço para consertar isso ?

 

Malz ae pela imagem ficou pequeno né agora esse tá grande :

 

 

post-354920-0-13993700-1352090421_thumb.png

 

 

e para quem não consegiu ler :

 

Bem vindo ao phpMyAdmin

 

 

 

Erro

 

Mensagens do MySQL : b_help.png#2003 - Can't connect to MySQL server on 'localhost' (10061)

Conexão para controle do usuário como definido nas configurações falhou.

 

 

 

Bem vindo ao phpMyAdmin

 

 

Erro

 

Mensagens do MySQL : b_help.png#2003 - Can't connect to MySQL server on 'localhost' (10061)

Conexão para controle do usuário como definido nas configurações falhou.

 

Esse que postei agora tá pegando o outro spoiler não ta .

 

Meu config.lua

 

 

accountManager = true

namelockManager = true

newPlayerChooseVoc = false

newPlayerSpawnPosX = 51

newPlayerSpawnPosY = 74

newPlayerSpawnPosZ = 7

newPlayerTownId = 1

newPlayerLevel = 5

newPlayerMagicLevel = 0

generateAccountNumber = false

 

lightInterval = 7500

 

lightChange = 1

 

startupTime = 351

 

startupLight = 40

 

limitPokeballs = 6

happyDropTime = 30

minHappinessEffectDelay = 25

maxHappinessEffectDelay = 40

PokemonStageVeryHappy = 215

PokemonStageHappy = 160

PokemonStageOK = 110

PokemonStageSad = 50

PokemonStageMad = 0

maximumHunger = 120

stateHunger = 100

increaseHunger = 7

decreaseHappy = 1

decreaseHungryHappy = 4

useTeleportWithFly = false

dropHappyDuringBattles = false

 

allowBlockSpawn = false

 

Unjustified kills

NOTE: *Banishment and *BlackSkull variables are >summed up<

(dailyFragsToRedSkull + dailyFragsToBanishment) with their

*RedSkull equivalents.

Auto banishing works only if useBlackSkull set to negative.

advancedFragList is not advised if you use huge frags

requirements.

redSkullLength = 30 * 24 * 60 * 60

blackSkullLength = 45 * 24 * 60 * 60

dailyFragsToRedSkull = 3

weeklyFragsToRedSkull = 5

monthlyFragsToRedSkull = 10

dailyFragsToBlackSkull = dailyFragsToRedSkull

weeklyFragsToBlackSkull = weeklyFragsToRedSkull

monthlyFragsToBlackSkull = monthlyFragsToRedSkull

dailyFragsToBanishment = dailyFragsToRedSkull

weeklyFragsToBanishment = weeklyFragsToRedSkull

monthlyFragsToBanishment = monthlyFragsToRedSkull

blackSkulledDeathHealth = 40

blackSkulledDeathMana = 0

useBlackSkull = true

useFragHandler = true

advancedFragList = false

 

violationNameReportActionType 1 = just a report, 2 = name lock, 3 = player banishment

killsBanLength works only if useBlackSkull option is disabled.

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

maxViolationCommentSize = 200

violationNameReportActionType = 2

autoBanishUnknownBytes = false

 

NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.

loginProtectionPeriod is the famous Tibia anti-magebomb system.

deathLostPercent set to nil enables manual mode.

worldType = "pvp"

protectionLevel = 1000

pvpTileIgnoreLevelAndVocationProtection = true

pzLocked = 18 * 1000

huntingDuration = 60 * 1000

criticalHitChance = 7

criticalHitMultiplier = 1

displayCriticalHitNotify = false

removeWeaponAmmunition = true

removeWeaponCharges = true

removeRuneCharges = true

whiteSkullTime = 15 * 60 * 1000

noDamageToSameLookfeet = false

showHealingDamage = false

showHealingDamageForMonsters = false

fieldOwnershipDuration = 5 * 1000

stopAttackingAtExit = false

oldConditionAccuracy = false

loginProtectionPeriod = 10 * 1000

deathLostPercent = 1

stairhopDelay = 0 * 1000

pushCreatureDelay = 1 * 1000

deathContainerId = 0

gainExperienceColor = 215

addManaSpentInPvPZone = true

squareColor = 0

allowFightback = true

 

worldId = 0

ip = "127.0.0.1"

bindOnlyConfiguredIpAddress = false

loginPort = 7171

gamePort = 7172

adminPort = 7171

statusPort = 7171

loginTries = 10

retryTimeout = 5 * 1000

loginTimeout = 60 * 1000

maxPlayers = 50

motd = "Bem vindo A PokeXExtremo!"

displayOnOrOffAtCharlist = false

onePlayerOnlinePerAccount = false

allowClones = true

serverName = "PokeXAoExtremo"

loginMessage = "Bem vindo A PokeXExtremo!"

statusTimeout = 5 * 60 * 1000

replaceKickOnLogin = true

forceSlowConnectionsToDisconnect = false

loginOnlyWithLoginServer = false

premiumPlayerSkipWaitList = true

 

NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.

To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.

sqlType = "mysql"

sqlHost = "localhost"

sqlPort = 3306

sqlUser = "root"

sqlPass = "laurindo100"

sqlDatabase = "theforgottenserver"

sqlFile = "forgottenserver.s3db"

sqlKeepAlive = 0

mysqlReadTimeout = 10

mysqlWriteTimeout = 10

encryptionType = "sha1"

 

deathListEnabled = true

deathListRequiredTime = 1 * 60 * 1000

deathAssistCount = 19

maxDeathRecords = 10

 

ingameGuildManagement = true

levelToFormGuild = 40

premiumDaysToFormGuild = 0

guildNameMinLength = 2

guildNameMaxLength = 25

 

highscoreDisplayPlayers = 15

updateHighscoresAfterMinutes = 60

 

buyableAndSellableHouses = true

houseNeedPremium = true

bedsRequirePremium = true

levelToBuyHouse = 50

housesPerAccount = 0

houseRentAsPrice = false

housePriceAsRent = false

housePriceEachSquare = 2975

houseRentPeriod = "never"

houseCleanOld = 0

guildHalls = false

 

timeBetweenActions = 500

timeBetweenExActions = 500

hotkeyAimbotEnabled = true

 

NOTE: storeTrash costs more memory, but will perform alot faster cleaning.

mapName = "mastermap"

mapAuthor = "brun123"

randomizeTiles = true

storeTrash = false

cleanProtectedZones = true

mailboxDisabledTowns = "1"

 

NOTE: defaultPriority works only on Windows and niceLevel on *nix

coresUsed are seperated by comma cores ids used by server process,

default is -1, so it stays untouched (automaticaly assigned by OS).

defaultPriority = "high"

niceLevel = 5

coresUsed = "-1"

 

optimizeDatabaseAtStartup = true

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

 

NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,

called "exception tracer" (__EXCEPTION_TRACER__ flag).

dataDirectory = "data/"

bankSystem = true

displaySkillLevelOnAdvance = true

promptExceptionTracerErrorBox = true

separateViplistPerCharacter = false

maximumDoorLevel = 500

maxMessageBuffer = 4

 

Saving-related

useHouseDataStorage usage may be found at README.

saveGlobalStorage = false

useHouseDataStorage = false

storePlayerDirection = false

 

monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's)

checkCorpseOwner = true

monsterLootMessage = 3

monsterLootMessageType = 22

 

ghostModeInvisibleEffect = true

ghostModeSpellEffects = true

 

idleWarningTime = 14 * 60 * 1000

idleKickTime = 15 * 60 * 1000

expireReportsAfterReads = 1

playerQueryDeepness = 2

maxItemsPerPZTile = 0

maxItemsPerHouseTile = 0

 

freePremium = true

premiumForPromotion = true

 

NOTE: blessingReduction* regards items/containers loss.

eachBlessReduction is how much each bless reduces the experience/magic/skills loss.

blessingOnlyPremium = true

blessingReductionBase = 30

blessingReductionDecreament = 5

eachBlessReduction = 8

 

NOTE: experienceStages configuration is located in data/XML/stages.xml.

rateExperienceFromPlayers 0 to disable.

experienceStages = false

rateExperience = 0

rateExperienceFromPlayers = 0

rateSkill = 1

rateMagic = 1.0

rateLoot = 1

rateSpawn = 1

 

rateMonsterHealth = 1.0

rateMonsterMana = 1.0

rateMonsterAttack = 1.0

rateMonsterDefense = 1.0

 

NOTE: min~Threshold* set to 0 will disable the minimum threshold:

player will gain experience from every lower leveled player.

max~Threshold* set to 0 will disable the maximum threshold:

player will gain experience from every higher leveled player.

minLevelThresholdForKilledPlayer = 0.9

maxLevelThresholdForKilledPlayer = 1.1

 

NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.

rateStaminaHits multiplies every hit done a creature, which are later

multiplied by player attack speed.

rateStaminaGain is divider of every logged out second, eg:

60000 / 3 = 20000 milliseconds, what gives 20 stamina seconds for 1 minute being logged off.

rateStaminaThresholdGain is divider for the premium stamina.

staminaRatingLimit* is in minutes.

rateStaminaLoss = 1

rateStaminaGain = 3

rateStaminaThresholdGain = 12

staminaRatingLimitTop = 41 * 60

staminaRatingLimitBottom = 14 * 60

rateStaminaAboveNormal = 1.0

rateStaminaUnderNormal = 1.0

staminaThresholdOnlyPremium = true

 

NOTE: experienceShareLevelDifference is float number.

experienceShareLevelDifference is highestLevel * value

experienceShareRadiusX = 30

experienceShareRadiusY = 30

experienceShareRadiusZ = 1

experienceShareLevelDifference = 200 * 200

extraPartyExperienceLimit = 20

extraPartyExperiencePercent = 20

experienceShareActivity = 2 * 60 * 1000

 

NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,

if you want such a system please check out data/globalevents/globalevents.xml.

globalSaveEnabled = false

globalSaveHour = 8

shutdownAtGlobalSave = true

cleanMapAtGlobalSave = false

 

deSpawnRange = 2

deSpawnRadius = 25

 

maxPlayerSummons = 1

teleportAllSummons = true

teleportPlayerSummons = true

 

ownerName = "Pokemon Dash Online [Advanced]"

ownerEmail = ""

url = ""

location = "Brazil"

displayGamemastersWithOnlineCommand = false

 

NOTE: This kind of logging does not work in GUI version.

For such, please compile the software with __GUI_LOGS__ flag.

adminLogsEnabled = false

displayPlayersLogging = true

prefixChannelLogs = ""

runFile = ""

outLogName = ""

errorLogName = ""

truncateLogsOnStartup = false

 

 

Agora vejam o video que eu fiz para demostar para vcs :

 

 

 

Link para o comentário
Compartilhar em outros sites

Olá. sou novo aqui no xTibia, mas sou experiente na área de Banco de Dados e Web.

Vamos lá o erro acontece por alguns motivos.

 

 

 

Você pode especificar no link de conexão.....

deste modo...:

$conn = new PDO('mysql:127.1.1;port=3307;dbname=megasenax', 'root', 'senha');

 

você expecificando 127.0.0.1 ao inves de mysql:localhost;port=3307.....muitas das vezes resolve.

.Ali no teu config.lua

 

sqlType = "mysql"

sqlHost = "localhost"

sqlPort = 3306

sqlUser = "root"

sqlPass = "laurindo100"

sqlDatabase = "theforgottenserver"

sqlFile = "forgottenserver.s3db"

sqlKeepAlive = 0

mysqlReadTimeout = 10

mysqlWriteTimeout = 10

encryptionType = "sha1"

 

Irá ficar assim:

 

 

sqlType = "mysql"

sqlHost = "127.0.0.1"

sqlPort = 3306

sqlUser = "root"

sqlPass = "laurindo100"

sqlDatabase = "theforgottenserver"

sqlFile = ""

sqlKeepAlive = 0

mysqlReadTimeout = 10

mysqlWriteTimeout = 10

encryptionType = "sha1"

 

Espero ter ajudado, forte abraço amigo.

Qualquer dúvida poste abaixo.

 

@OffTopic Piabeta, você é dono dessa empresa ai ?...

Estou interessado abraços

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

×
×
  • Criar Novo...