Ir para conteúdo

Featured Replies

Postado
  • Autor

Não foi otro erro: 

Warning: parse_ini_file(C:\Users\Igor\Desktop\Fox World\BlackWorld OT/config.lua) [function.parse-ini-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\shopsystem\config-and-functions.php on line 6
Database error. Unknown database type in C:\Users\Igor\Desktop\Fox World\BlackWorld OT/config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

 

Erro com otra barra:

 

Warning: parse_ini_file(C:\Users\Igor\Desktop\Fox World\BlackWorld OT\config.lua) [function.parse-ini-file]: failed to open stream: No such file or directory in C:\xampp\htdocs\shopsystem\config-and-functions.php on line 6

Database error. Unknown database type in C:\Users\Igor\Desktop\Fox World\BlackWorld OT\config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

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

TRABALHOS

 

 

[iTEM.XML] Ancient Helmt dar HP e Duration: http://www.tibiaking.com/forum/topic/35010-itemxml-helmet-dar-vida-e-duration/

 

[CreatureScripts] OwNeD ao character morrerhttp://www.tibiaking.com/forum/topic/35733-creaturescripta-owned-quando-morrer/

 

  • Respostas 28
  • Visualizações 1.9k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • luanluciano93
    luanluciano93

    Coloca aqui o conteúdo do arquivo config-and-functions.php que está na pasta shopsyste.  Coloque o código e não arquivo para download, e por favor, em spoiler ...

  • luanluciano93
    luanluciano93

    Vou traduzir oque o começo do script faz, e porque está; ocorrendo o erro. Primeiro, ele puxa o arquivo config.ini, que está em 'shopsystem/config/...' Segundo, ele verifica o caminho do config.lu

  • luanluciano93
    luanluciano93

    não é possível cara, eu deixei bem explicado no post =s Vai na pasta shopsystem/config, abre o arquivo config.ini, e verifica se o caminho até o seu config.lua está correto ... no final coloca uma b

Postado
  • Autor

accountManager = "yes"
namelockManager = "no"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 442
newPlayerSpawnPosY = 548
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 100
newPlayerMagicLevel = 5
generateAccountNumber = "no"
 
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 7
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 365 * 24 * 60 * 60
broadcastBanishments = "no"
killsToBan = 8
maxViolationCommentSize = 200
 
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 100
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 10
pzLocked = 90 * 1000
criticalHitChance = 25
displayCriticalHitNotify = "no"
removeWeaponAmmunition = "no"
removeWeaponCharges = "no"
removeRuneCharges = "no"
timeToDecreaseFrags = 420 * 1000
whiteSkullTime = 150 * 1000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"
showHealingDamage = "no"
fieldOwnershipDuration = 10 * 1000
stopAttackingAtExit = "no"
oldConditionAccuracy = "no"
loginProtectionPeriod = 10
 
worldId = 0
ip = "hyperfox.servegame.com"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "100"
motd = "Bem Vindo ao Hyperfox."
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "no"
allowClones = 0
serverName = "Hyperfox"
loginMessage = "Bem Vindo ao Hyperfox! dúvidas use o Help Channel."
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
 
sqlType = "sqlite"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = ""
sqlDatabase = "theforgottenserver"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 60
mysqlReadTimeout = 3
optimizeDatabaseAtStartup = "yes"
passwordType = "plain"
 
deathListEnabled = "yes"
maxDeathRecords = 5
 
ingameGuildManagement = "yes"
levelToFormGuild = 100
guildNameMinLength = 5
guildNameMaxLength = 25
 
highscoreDisplayPlayers = 35
updateHighscoresAfterMinutes = 5
 
buyableAndSellableHouses = "yes"
housesPerAccount = 2
levelToBuyHouse = 100
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSQM = 1500
houseRentPeriod = "never"
 
timeBetweenActions = 200
timeBetweenExActions = 1000
 
mapName = "Foxworld"
mapAuthor = "Renan"
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"
 
defaultPriority = "normal"
maxMessageBuffer = 4
kickIdlePlayerAfterMinutes = 15
allowChangeOutfit = "yes"
allowChangeColors = "yes"
disableOutfitsForPrivilegedPlayers = "yes"
displayGamemastersWithOnlineCommand = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "no"
spellNameInsteadOfWords = "no"
emoteSpells = "no"
expireReportsAfterReads = 1
promptExceptionTracerErrorBox = "yes"
 
freePremium = "no"
removePremiumOnInit = "yes"
premiumForPromotion = "yes"
blessingsOnlyPremium = "yes"
houseNeedPremium = "no"
bedsRequirePremium = "yes"
 
rateExperience = 800
rateSkill = 200
rateMagic = 20
rateLoot = 200
rateSpawn = 4
experienceStages = "yes"
 
experienceShareRadiusX = 30
experienceShareRadiusY = 30
experienceShareRadiusZ = 1
experienceShareLevelDifference = 0.66666666666667
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
 
globalSaveEnabled = "no"
globalSaveHour = 3
shutdownAtGlobalSave = "no"
cleanMapAtGlobalSave = "no"
 
deSpawnRange = 2
deSpawnRadius = 50
 
maxPlayerSummons = 2
teleportAllSummons = "no"
teleportPlayerSummons = "no"
 
ownerName = "Igor"
ownerEmail = "[email protected]"
url = "..."
location = "Brasil"
 
outLogName = "server/out.log"
errorLogName = "server/error.log"
truncateLogsOnStartup = "yes"

TRABALHOS

 

 

[iTEM.XML] Ancient Helmt dar HP e Duration: http://www.tibiaking.com/forum/topic/35010-itemxml-helmet-dar-vida-e-duration/

 

[CreatureScripts] OwNeD ao character morrerhttp://www.tibiaking.com/forum/topic/35733-creaturescripta-owned-quando-morrer/

 

Postado

essa parte:

sqlType = "sqlite"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = ""
sqlDatabase = "theforgottenserver"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 60
mysqlReadTimeout = 3
optimizeDatabaseAtStartup = "yes"
passwordType = "plain"
muda pra essa:
sqlType = 'mysql'mysqlHost = 'localhost'
sqlPort = 3306
mysqlUser = 'root'
mysqlPass = 'SENHA DO PHPMYADMIN'
mysqlDatabase = 'NOME DA SUA DATABASE CRIADA NO PHPMYADMIN'
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTimeout = 10
passwordType = 'sha1'

Eu já tinha dito isso nos comentários acimas.

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

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo