brubru01 0 Postado Junho 29, 2011 Share Postado Junho 29, 2011 Eae pessoal beleza? intão, quando eu passo a pasta htdocs para o xampp e abro o admin do apache aparece essa msg aki Warning: parse_ini_file(C:/Documents and Settings/Administrador/Desktop/Devias/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 C:/Documents and Settings/Administrador/Desktop/Devias/config.lua . Must be equal to: "mysql" or "sqlite". Now is: "" oque eu faço? para instalar o site normalmente? Obrigado Link para o comentário Compartilhar em outros sites More sharing options...
ultimate1996 102 Postado Junho 29, 2011 Share Postado Junho 29, 2011 (editado) Pode postar seu config.lua aqui? Editado Junho 29, 2011 por RaizenUrameshi Link para o comentário Compartilhar em outros sites More sharing options...
brubru01 0 Postado Junho 30, 2011 Autor Share Postado Junho 30, 2011 Claro. : -- Account manager accountManager = false namelockManager = true newPlayerChooseVoc = false newPlayerSpawnPosX = 32369 newPlayerSpawnPosY = 31782 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 8 newPlayerMagicLevel = 0 generateAccountNumber = false -- requirements. useFragHandler = true redSkullLength = 1 * 24 * 60 * 60 blackSkullLength = 1 * 24 * 60 * 60 dailyFragsToRedSkull = 6 weeklyFragsToRedSkull = 50 monthlyFragsToRedSkull = 100 dailyFragsToBlackSkull = dailyFragsToRedSkull weeklyFragsToBlackSkull = weeklyFragsToRedSkull monthlyFragsToBlackSkull = monthlyFragsToRedSkull dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true advancedFragList = false -- Banishments notationsToBan = 3 warningsToFinalBan = 4 warningsToDeletion = 5 banLength = 1 * 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 -- Battle worldType = "open" protectionLevel = 100 pvpTileIgnoreLevelAndVocationProtection = false pzLocked = 30 * 1000 huntingDuration = 15 * 1000 criticalHitChance = 75 criticalHitMultiplier = 1 displayCriticalHitNotify = false removeWeaponAmmunition = true removeWeaponCharges = false removeRuneCharges = true whiteSkullTime = 5 * 60 * 1000 noDamageToSameLookfeet = false showHealingDamage = false showHealingDamageForMonsters = false fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = true 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 = "208.115.215.101" bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7169 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 1000 motd = "Ola Mudamos para um dedicado de port maior. capacidade 500 players sem lag agora Tempo de AFK 15 minutos.!" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = false serverName = "Deberian ATS" loginMessage = "Welcome to the Deberian ATS News.!" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false -- Database sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "xxxx" sqlDatabase = "xxxxx" sqlFile = "xxxxxx.s3db" sqlKeepAlive = 10 mysqlReadTimeout = 0 mysqlWriteTimeout = 0 encryptionType = "sha1" -- Deathlist deathListEnabled = true deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 -- Guilds ingameGuildManagement = false levelToFormGuild = 8 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 -- Highscores highscoreDisplayPlayers = 15 updateHighscoresAfterMinutes = 60 -- Houses buyableAndSellableHouses = true houseNeedPremium = true bedsRequirePremium = true levelToBuyHouse = 200 housesPerAccount = 1 houseRentAsPrice = true housePriceAsRent = true housePriceEachSquare = 1000 houseRentPeriod = "weekly" houseCleanOld = 1 guildHalls = false -- Item usage timeBetweenActions = 200 timeBetweenExActions = 1000 hotkeyAimbotEnabled = true -- Map mapName = "realwar.otbm" mapAuthor = "Fera Holy Kina" randomizeTiles = true storeTrash = true cleanProtectedZones = true mailboxDisabledTowns = "no" -- Process defaultPriority = "high" niceLevel = 5 coresUsed = "-1" -- Startup startupDatabaseOptimization = true updatePremiumStateAtStartup = true confirmOutdatedVersion = false -- Spells formulaLevel = 5.0 formulaMagic = 1.0 bufferMutedOnSpellFailure = false spellNameInsteadOfWords = false emoteSpells = false -- Outfits allowChangeOutfit = true allowChangeColors = true allowChangeAddons = true disableOutfitsForPrivilegedPlayers = false addonsOnlyPremium = true -- Miscellaneous dataDirectory = "data/" bankSystem = true displaySkillLevelOnAdvance = false promptExceptionTracerErrorBox = true maximumDoorLevel = 500 maxMessageBuffer = 4 -- VIP list separateVipListPerCharacter = false vipListDefaultLimit = 20 vipListDefaultPremiumLimit = 100 -- Saving-related saveGlobalStorage = true useHouseDataStorage = false storePlayerDirection = false -- Loot checkCorpseOwner = true monsterLootMessage = 3 monsterLootMessageType = 25 -- Ghost mode ghostModeInvisibleEffect = false ghostModeSpellEffects = true -- Limits idleWarningTime = 14 * 60 * 1000 idleKickTime = 15 * 60 * 1000 reportsExpirationAfterReads = 1 playerQueryDeepness = 2 maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 -- Premium-related freePremium = false premiumForPromotion = true -- Blessings blessings = true blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecrement = 5 eachBlessReduction = 10 -- Rates experienceStages = true rateExperience = 5.0 rateExperienceFromPlayers = 0 rateSkill = 50.0 rateMagic = 30.0 rateLoot = 4 rateSpawn = 3 -- Monster rates rateMonsterHealth = 1.0 rateMonsterMana = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 -- Experience from players minLevelThresholdForKilledPlayer = 0.9 maxLevelThresholdForKilledPlayer = 1.1 -- Stamina rateStaminaLoss = 1 rateStaminaGain = 18 rateStaminaThresholdGain = 12 staminaRatingLimitTop = 40 * 60 staminaRatingLimitBottom = 14 * 60 staminaLootLimit = 14 * 60 rateStaminaAboveNormal = 1.5 rateStaminaUnderNormal = 0.5 staminaThresholdOnlyPremium = true -- Party experienceShareRadiusX = 30 experienceShareRadiusY = 30 experienceShareRadiusZ = 1 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 20 extraPartyExperiencePercent = 5 experienceShareActivity = 2 * 60 * 1000 -- Global save globalSaveEnabled = false globalSaveHour = 8 globalSaveMinute = 0 shutdownAtGlobalSave = true cleanMapAtGlobalSave = false -- Spawns deSpawnRange = 2 deSpawnRadius = 50 -- Summons maxPlayerSummons = 2 teleportAllSummons = true teleportPlayerSummons = false -- Status statusPort = 7171 ownerName = "GOD" ownerEmail = "@otland.net" url = "http://otland.net/" location = "Brasil" displayGamemastersWithOnlineCommand = false -- Logs displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outputLog = "" truncateLogsOnStartup = false -- Manager managerPort = 7171 managerLogs = true managerPassword = "" managerLocalhostOnly = true managerConnectionsLimit = 1 -- Admin adminPort = 7171 adminLogs = true adminPassword = "" adminLocalhostOnly = true adminConnectionsLimit = 1 adminRequireLogin = true adminEncryption = "" adminEncryptionData = "" Link para o comentário Compartilhar em outros sites More sharing options...
ultimate1996 102 Postado Junho 30, 2011 Share Postado Junho 30, 2011 Você tem que arrumar o config.lua e retirar todos os espaços e linhas começadas com " -- " Deve ficar assim : Retire-os e tente denovo ^^ Link para o comentário Compartilhar em outros sites More sharing options...
Posts Recomendados