Postado Agosto 6, 2016 8 anos -- Database -- 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 = "12345" sqlDatabase = "database" sqlFile = "database.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain" Database error. Unknown database type in D:/tibialol/config.lua . Must be equal to: "mysql" or "sqlite". Now is: "" e cê eu tiro os -- server n fica on da esse erro na distro dai > ERROR: Unable to load config.lua! cê puder ajudar agradeço
Postado Agosto 6, 2016 8 anos @kauan13 1) Tem que tirar esses -- 2) Nessa parte: sqlDatabase = "database"sqlFile = "database.s3db" Você ta colocando o nome da database que criou no PhpMyAdmin corretamente? E a database que tu usa, não é s3db, e sim .sql Obs: Se lhe ajudei, de um REP+ :D
Postado Agosto 6, 2016 8 anos Autor ent coloquei assim sqlFile = "war.sql" continua o erro na distro sv verão 860 Editado Agosto 6, 2016 8 anos por kauan13 (veja o histórico de edições)
Postado Agosto 6, 2016 8 anos @kauan13 Se o seu arquivo da database se chama "War" e for formato "SQL" tem que estar sqlFile = "war.sql" Obs: Se o arquivo estiver dentro de uma pasta, vamos dizer que esta dendo da pasta "Schemas", ficaria assim: sqlFile = "schemas/war.sql" Obs: Se lhe ajudei, de um REP+ :D
Postado Agosto 6, 2016 8 anos Autor @Mathwsz ta dentro 1 pasta chamda myql coloquei tudo certo ak esta a config.lua Spoiler accountManager = true namelockManager = true newPlayerChooseVoc = true newPlayerSpawnPosX = 552 newPlayerSpawnPosY = 226 newPlayerSpawnPosZ = 7 newPlayerTownId = 12 newPlayerLevel = 150 newPlayerMagicLevel = 0 generateAccountNumber = false redSkullLength = 30 * 24 * 60 * 60 blackSkullLength = 45 * 24 * 60 * 60 dailyFragsToRedSkull = 1000 weeklyFragsToRedSkull = 1000 monthlyFragsToRedSkull = 1000 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-enforced" protectionLevel = 1 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 30 * 1000 huntingDuration = 60 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = false removeWeaponAmmunition = false removeWeaponCharges = false removeRuneCharges = false whiteSkullTime = 3 * 60 * 1000 noDamageToSameLookfeet = true showHealingDamage = true showHealingDamageForMonsters = false fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = false oldConditionAccuracy = false loginProtectionPeriod = 10 * 1000 deathLostPercent = 10 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 gainExperienceColor = 215 addManaSpentInPvPZone = true squareColor = 0 allowFightback = true paralyzeDelay = 1400 worldId = 0 ip = "191.5.222.207" bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 1000 motd = "Bem vindo ao Friday 13 War" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = true allowClones = false serverName = "Friday 13" loginMessage = "Bem vindo ao Friday 13 War" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "12345" sqlDatabase = "database" sqlFile = "MySQL/database.sql" sqlKeepAlive = 0 mysqlReadTimeout = 10 mysqlWriteTimeout = 10 encryptionType = "plain" deathListEnabled = false deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 ingameGuildManagement = true levelToFormGuild = 8 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 highscoreDisplayPlayers = 10 updateHighscoresAfterMinutes = 1 buyableAndSellableHouses = true houseNeedPremium = true bedsRequirePremium = true levelToBuyHouse = 1 housesPerAccount = 0 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 1000 houseRentPeriod = "never" houseCleanOld = 0 guildHalls = false timeBetweenActions = 200 timeBetweenExActions = 1000 hotkeyAimbotEnabled = true mapName = "Fibula X-Dream2" mapAuthor = "Jack" randomizeTiles = true storeTrash = true cleanProtectedZones = true mailboxDisabledTowns = "-1" defaultPriority = "high" niceLevel = 5 coresUsed = "-1" optimizeDatabaseAtStartup = true removePremiumOnInit = true confirmOutdatedVersion = false formulaLevel = 3.0 formulaMagic = 1.0 bufferMutedOnSpellFailure = false spellNameInsteadOfWords = false emoteSpells = true allowChangeOutfit = true allowChangeColors = false allowChangeAddons = true disableOutfitsForPrivilegedPlayers = true addonsOnlyPremium = false dataDirectory = "data/" bankSystem = true displaySkillLevelOnAdvance = false promptExceptionTracerErrorBox = true separateViplistPerCharacter = false maximumDoorLevel = 500 maxMessageBuffer = 20 saveGlobalStorage = true useHouseDataStorage = false storePlayerDirection = false checkCorpseOwner = true monsterLootMessage = 3 monsterLootMessageType = 25 ghostModeInvisibleEffect = false ghostModeSpellEffects = true idleWarningTime = 15 * 60 * 1000 idleKickTime = 16 * 60 * 1000 expireReportsAfterReads = 1 playerQueryDeepness = 2 maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 freePremium = false premiumForPromotion = true blessingOnlyPremium = false blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 0 experienceStages = false rateExperience = 3 rateExperienceFromPlayers = 5 rateSkill = 80.0 rateMagic = 50.0 rateLoot = 0.1 rateSpawn = 1 rateMonsterHealth = 1.0 rateMonsterMana = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 minLevelThresholdForKilledPlayer = 0.5 maxLevelThresholdForKilledPlayer = 3.0 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 = true cleanMapAtGlobalSave = false deSpawnRange = 2 deSpawnRadius = 50 maxPlayerSummons = 2 teleportAllSummons = false teleportPlayerSummons = false ownerName = "Jack-&-Will" ownerEmail = "" url = "Friday" location = "Brasil" displayGamemastersWithOnlineCommand = false adminLogsEnabled = false displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = false Editado Agosto 6, 2016 8 anos por kauan13 (veja o histórico de edições)
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.