• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Problem z połączeniem do servera

badovskz

New Member
Joined
Feb 8, 2018
Messages
16
Reaction score
0
Witam

Skonfigurowałem server na VPS windows. Problem mój wygląda tak iż nie mogę zalogować się do tego serwera z mojego komputera, ale z maszyny już można.
Wstępnie myślałem że to może wina portu 7171/7172, ale obydwa odblokowałem lecz nic nie pomogło.

Dodaje mój config.lua, prosiłbym o wskazanie ewentualnego błędu lub błędów :)

Lua:
-- The Forgotten Server Config

        -- Account manager
        accountManager = "yes"
        namelockManager = "yes"
        newPlayerChooseVoc = "no"
        newPlayerSpawnPosX = 95
        newPlayerSpawnPosY = 117
        newPlayerSpawnPosZ = 7
        newPlayerTownId = 1
        newPlayerLevel = 1
        newPlayerMagicLevel = 0
        generateAccountNumber = "no"

        -- Unjustified kills
        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 = "yes"
        advancedFragList = "no"

        -- Banishments
        notationsToBan = 3
        warningsToFinalBan = 4
        warningsToDeletion = 5
        banLength = 7 * 24 * 60 * 60
        finalBanLength = 30 * 24 * 60 * 60
        ipBanishmentLength = 1 * 24 * 60 * 60
        broadcastBanishments = "yes"
        maxViolationCommentSize = 200
        violationNameReportActionType = 2
        autoBanishUnknownBytes = "no"

        -- Battle
        worldType = "pvp"
        protectionLevel = 1
        pvpTileIgnoreLevelAndVocationProtection = "yes"
        pzLocked = 60 * 1000
        huntingDuration = 60 * 1000
        criticalHitChance = 7
        criticalHitMultiplier = 1
        displayCriticalHitNotify = "no"
        removeWeaponAmmunition = "yes"
        removeWeaponCharges = "yes"
        removeRuneCharges = "yes"
        whiteSkullTime = 15 * 60 * 1000
        noDamageToSameLookfeet = "no"
        showHealingDamage = "no"
        showHealingDamageForMonsters = "no"
        fieldOwnershipDuration = 5 * 1000
        stopAttackingAtExit = "no"
        oldConditionAccuracy = "no"
        loginProtectionPeriod = 10 * 1000
        deathLostPercent = 10
        stairhopDelay = 2 * 1000
        pushCreatureDelay = 2 * 1000
        deathContainerId = 1987
        gainExperienceColor = 215
        addManaSpentInPvPZone = "yes"
        squareColor = 0
        allowFightback = "yes"

        -- Connection config
        worldId = 0
        ip = "185.242.132.134"
        bindOnlyConfiguredIpAddress = "no"
        loginPort = 7171
        gamePort = 7172
        adminPort = 7171
        statusPort = 7171
        loginTries = 10
        retryTimeout = 5 * 1000
        loginTimeout = 60 * 1000
        maxPlayers = 1000
        motd = "Welcome to the Forgotten Server!"
        displayOnOrOffAtCharlist = "no"
        onePlayerOnlinePerAccount = "yes"
        allowClones = "no"
        serverName = "Forgotten"
        loginMessage = "Welcome to the Forgotten Server!"
        statusTimeout = 5 * 60 * 1000
        replaceKickOnLogin = "yes"
        forceSlowConnectionsToDisconnect = "no"
        loginOnlyWithLoginServer = "no"
        premiumPlayerSkipWaitList = "no"

        -- Database
        sqlType = "mysql"
        mysqlHost = "xxxxxxxxx"
        mysqlPort = 3306
        mysqlUser = "xxxxxx"
        mysqlPass = "xxxxxxxxxxx"
        mysqlDatabase = "xxxxxx"
        mysqlSock = ""
        passwordType = "sha1"
        encryptionType = "sha1"

        -- Deathlist
        deathListEnabled = "yes"
        deathListRequiredTime = 1 * 60 * 1000
        deathAssistCount = 19
        maxDeathRecords = 5

        -- Guilds
        ingameGuildManagement = "yes"
        levelToFormGuild = 8
        premiumDaysToFormGuild = 0
        guildNameMinLength = 4
        guildNameMaxLength = 20

        -- Highscores
        highscoreDisplayPlayers = 15
        updateHighscoresAfterMinutes = 60

        -- Houses
        buyableAndSellableHouses = "yes"
        houseNeedPremium = "yes"
        bedsRequirePremium = "yes"
        levelToBuyHouse = 1
        housesPerAccount = 0
        houseRentAsPrice = "no"
        housePriceAsRent = "no"
        housePriceEachSquare = 1000
        houseRentPeriod = "never"
        guildHalls = "no"

        -- Item usage
        timeBetweenActions = 200
        timeBetweenExActions = 1000
        checkCorpseOwner = "yes"
        hotkeyAimbotEnabled = "yes"
        maximumDoorLevel = 500

        -- Map
        mapName = "forgotten"
        mapAuthor = "Komic"
        randomizeTiles = "yes"
        useHouseDataStorage = "no"
        storeTrash = "yes"
        cleanProtectedZones = "yes"
        mailboxDisabledTowns = "-1"

        -- Startup
        defaultPriority = "high"
        niceLevel = 5
        coresUsed = "-1"
        optimizeDatabaseAtStartup = "yes"
        removePremiumOnInit = "yes"
        confirmOutdatedVersion = "no"

        -- Muted buffer
        maxMessageBuffer = 4
        bufferMutedOnSpellFailure = "no"

        -- Miscellaneous
        dataDirectory = "data/"
        allowChangeOutfit = "yes"
        allowChangeColors = "yes"
        allowChangeAddons = "yes"
        disableOutfitsForPrivilegedPlayers = "no"
        bankSystem = "yes"
        saveGlobalStorage = "yes"
        displaySkillLevelOnAdvance = "no"
        spellNameInsteadOfWords = "no"
        emoteSpells = "no"
        promptExceptionTracerErrorBox = "yes"
        storePlayerDirection = "no"
        monsterLootMessage = 3
        monsterLootMessageType = 25

        -- Ghost mode
        ghostModeInvisibleEffect = "no"
        ghostModeSpellEffects = "yes"

        -- Limits
        idleWarningTime = 14 * 60 * 1000
        idleKickTime = 15 * 60 * 1000
        expireReportsAfterReads = 1
        playerQueryDeepness = 2
        maxItemsPerPZTile = 0
        maxItemsPerHouseTile = 0

        -- Premium-related
        freePremium = "no"
        premiumForPromotion = "yes"

        -- Blessings
        blessingsOnlyPremium = "yes"
        blessingReductionBase = 30
        blessingReductionDecreament = 5
        eachBlessReduction = 8

        -- Rates
        experienceStages = "no"
        rateExperience = 5.0
        rateExperienceFromPlayers = 0
        rateSkill = 3.0
        rateMagic = 3.0
        rateLoot = 2.0
        rateSpawn = 1

        -- Experience from players
        minLevelThresholdForKilledPlayer = 0.9
        maxLevelThresholdForKilledPlayer = 1.1

        -- Stamina
        rateStaminaLoss = 1
        rateStaminaGain = 1000 / 3
        rateStaminaThresholdGain = 4
        staminaRatingLimitTop = 41 * 60
        staminaRatingLimitBottom = 14 * 60
        rateStaminaAboveNormal = 1.5
        rateStaminaUnderNormal = 0.5
        staminaThresholdOnlyPremium = "yes"

        -- Party
        experienceShareRadiusX = 30
        experienceShareRadiusY = 30
        experienceShareRadiusZ = 1
        experienceShareLevelDifference = 2 / 3
        extraPartyExperienceLimit = 20
        extraPartyExperiencePercent = 5
        experienceShareActivity = 2 * 60 * 1000

        -- Global save
        globalSaveEnabled = "no"
        globalSaveHour = 8
        shutdownAtGlobalSave = "yes"
        cleanMapAtGlobalSave = "no"

        -- Spawns
        deSpawnRange = 2
        deSpawnRadius = 50

        -- Summons
        maxPlayerSummons = 2
        teleportAllSummons = "no"
        teleportPlayerSummons = "no"

        -- Status
        ownerName = ""
        ownerEmail = "@otland.net"
        url = "http://otland.net/"
        location = "Europe"
        displayGamemastersWithOnlineCommand = "no"

        -- Logs
        adminLogsEnabled = "no"
        displayPlayersLogging = "yes"
        prefixChannelLogs = ""
        runFile = ""
        outLogName = ""
        errorLogName = ""
        truncateLogsOnStartup = "no"

#edit
Zapomniałem dodać. Zalogować się mogę normalnie, wyskakuje mi lista postaci, i jak zatwierdzam, wyskakuje mi

Cannot connection to the game server
Error : Connection time out . (10060)
Post automatically merged:

temat do kosza, problem rozwiązany :).
 
Last edited:
@slawkens
Znając życie problem został rozwiązany poprzez zmianę:
ip = "185.242.132.134"
na ip="127.0.0.1"
gdyż wtedy adres IP będzie ustalany z góry jako host lokalny z IP rozgłoszeniowym.
Komputer bądź inna stacja jeśli posiada połączenie z internetem posiada ip rozgłoszeniowe, po wpisaniu ip lokalnego rozwiązują się problemy z widocznością w sieci. Tym samym rozwiązuje problem z łącznością z maszyną wirtualną na której jest serwer gry.
 
Back
Top