Postado Dezembro 23, 2013 11 anos Galera estou com um erro no meu otserv que e o seguinte eu ligo meu server na VPS Normalmente sem erros ! Mas quando os players vão logar aparece o seguinte erro ! Cannot Connect to the game server. Error:Connection refused. (10061) Ja abri as portas no firewall a 7171 e a 7172 para os dois UDP,TCP (Lembrando meu servidor esta na VPS , tem internet com IP fixo !) Minha Config.lua accountManager = "false" namelockManager = "no" newPlayerChooseVoc = "yes" newPlayerSpawnPosX = 160 newPlayerSpawnPosY = 54 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 8 newPlayerMagicLevel = 0 generateAccountNumber = "no" redSkullLength = 180 * 60 * 1000 blackSkullLength = 240 * 60 * 1000 dailyFragsToRedSkull = 10 weeklyFragsToRedSkull = 100 monthlyFragsToRedSkull = 300 dailyFragsToBlackSkull = 20 weeklyFragsToBlackSkull = 120 monthlyFragsToBlackSkull = 480 dailyFragsToBanishment = 0 weeklyFragsToBanishment = 0 monthlyFragsToBanishment = 0 blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true useFragHandler = true advancedFragList = false notationsToBan = 3 warningsToFinalBan = 1 warningsToDeletion = 5 banLength = 3 * 24 * 60 * 60 killsBanLength = 1 * 24 * 60 * 60 finalBanLength = 5 * 24 * 60 * 60 ipBanishmentLength = 9999 * 24 * 60 * 60 broadcastBanishments = false maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = false worldType = "open" protectionLevel = 100 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 30 * 1000 huntingDuration = 45 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = false removeWeaponAmmunition = false removeWeaponCharges = false removeRuneCharges = "false" whiteSkullTime = 2 * 60 * 1000 noDamageToSameLookfeet = false showHealingDamage = true showHealingDamageForMonsters = false fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = false oldConditionAccuracy = false loginProtectionPeriod = 0 * 1000 deathLostPercent = 10 stairhopDelay = 0 * 1000 pushCreatureDelay = 0 * 500 deathContainerId = 1987 gainExperienceColor = 18 addManaSpentInPvPZone = true squareColor = 0 allowFightback = true worldId = 0 ip = "fenixbaiak.servegame.com" bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 2 * 1000 loginTimeout = 5 * 1000 maxPlayers = 1000 motd = "*Bem Vindo ao FenixBaiak !" displayOnOrOffAtCharlist = true onePlayerOnlinePerAccount = false allowClones = false serverName = "Baiak" loginMessage = "Bem-Vindo ao FenixBaiak !" statusTimeout = 10 * 100 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "minhasenha" sqlDatabase = "nomedaminhaBD" sqlFile = "" sqlKeepAlive = 0 mysqlReadTimeout = 5000 mysqlWriteTimeout = 5000 encryptionType = "sha1" deathListEnabled = true deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 ingameGuildManagement = true levelToFormGuild = 100 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 highscoreDisplayPlayers = 100 updateHighscoresAfterMinutes = 2 buyableAndSellableHouses = true houseNeedPremium = false bedsRequirePremium = false levelToBuyHouse = 100 housesPerAccount = 1 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 10000 houseRentPeriod = "weekly" houseCleanOld = 0 guildHalls = false timeBetweenActions = 200 timeBetweenExActions = 1000 checkCorpseOwner = false hotkeyAimbotEnabled = true maximumDoorLevel = 500 mapName = "Baiak Yurots.otbm" mapAuthor = "Hollister World OT Server" randomizeTiles = true useHouseDataStorage = false storeTrash = true cleanProtectedZones = true mailboxDisabledTowns = "-1" defaultPriority = "high" niceLevel = 5 coresUsed = "-1" optimizeDatabaseAtStartup = true removePremiumOnInit = true confirmOutdatedVersion = false maxMessageBuffer = 10 bufferMutedOnSpellFailure = false dataDirectory = "data/" allowChangeOutfit = true allowChangeColors = true allowChangeAddons = true disableOutfitsForPrivilegedPlayers = false bankSystem = true saveGlobalStorage = true displaySkillLevelOnAdvance = false spellNameInsteadOfWords = false emoteSpells = true promptExceptionTracerErrorBox = true storePlayerDirection = false monsterLootMessage = 3 monsterLootMessageType = 25 separateViplistPerCharacter = false ghostModeInvisibleEffect = true ghostModeSpellEffects = true idleWarningTime = 1 * 60 * 1000 idleKickTime = 2 * 60 * 1000 expireReportsAfterReads = 1 playerQueryDeepness = 2 maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 freePremium = true premiumForPromotion = false blessingOnlyPremium = false blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 8 experienceStages = true rateExperience = 250 rateExperienceFromPlayers = 0 rateSkill = 80 rateMagic = 35 rateLoot = 7 rateSpawn = 4 rateMonsterHealth = 1.0 rateMonsterMana = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 minLevelThresholdForKilledPlayer = 0.9 maxLevelThresholdForKilledPlayer = 1.1 rateStaminaLoss = 0 rateStaminaGain = 10 rateStaminaThresholdGain = 12 staminaRatingLimitTop = 40 * 60 staminaRatingLimitBottom = 14 * 60 rateStaminaAboveNormal = 1.0 rateStaminaUnderNormal = 1.0 staminaThresholdOnlyPremium = false experienceShareRadiusX = 30 experienceShareRadiusY = 30 experienceShareRadiusZ = 1 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 20 extraPartyExperiencePercent = 5 experienceShareActivity = 2 * 60 * 1000 globalSaveEnabled = false globalSaveHour = 24 shutdownAtGlobalSave = true cleanMapAtGlobalSave = false deSpawnRange = 2 deSpawnRadius = 50 maxPlayerSummons = 2 teleportAllSummons = false teleportPlayerSummons = false ownerName = "FenixBaiak" ownerEmail = "fenixsuport@hotmail.com.br" url = "http://fenixbaiak.servegame.com/" location = "Brazil" displayGamemastersWithOnlineCommand = false adminLogsEnabled = true displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = false Editado Dezembro 23, 2013 11 anos por guilhermex1 (veja o histórico de edições)
Postado Dezembro 23, 2013 11 anos se for mysql você tem que editar essa parte: sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "minhasenha" sqlDatabase = "nomedaminhaBD" sqlFile = "" sqlKeepAlive = 0 mysqlReadTimeout = 5000 mysqlWriteTimeout = 5000 encryptionType = "sha1" 16/11/2014 23/11/2014 RIP AnneMotta 21/01/2012 - 15/01/2014 Liga das lendas: DIAMOND É A META
Postado Dezembro 23, 2013 11 anos Autor olha cara ta editada eu so troquei pra nao verem minha senha e nome da DB ! mais que parte eu teria que editar ?
Postado Dezembro 23, 2013 11 anos Você ligou a sua DataBase através do XAMPP ou de outro programa MySQL ? 愛"A alma permanece em suas criações" 平(Não dou suporte por mensagem privada.)
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.