Ir para conteúdo
  • 0

Erro ao abrir servidor


ZeetoTV

Pergunta

3 respostass a esta questão

Posts Recomendados

  • 0
13 horas atrás, ZeetoTV disse:

Então, eu to tentando abrir um server só que sempre que eu abro ele fecha logo em seguida... a única coisa que da pra ver é essa tela aqui por 1 seg

 

931d3b6ebfbf4752a6c290e77d8a8f1a.png

 

posta seu config.lua e manda o nome da database.

Editado por Ed'Specter
Link para o comentário
Compartilhar em outros sites

  • 0

Eu não sei ainda mexer com esse lance de database então não sei se tenho e nem como ver o nome (caso tenha), eu mappeio casualmente por diversão e queria ter um servidor offline só pra eu entrar mesmo e testar as coisas q eu faço, e sou da época que era só rodar o .exe e logar no sv. meu intuito é somente esse, um sv que só eu consiga entrar (de preferencia offline msm) pra testar as coisas.

config lua

 

Spoiler
-- Combat settings-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"worldType = "pvp"hotkeyAimbotEnabled = trueprotectionLevel = 1killsToRedSkull = 3killsToBlackSkull = 6pzLocked = 60000removeChargesFromRunes = truetimeToDecreaseFrags = 24 * 60 * 60 * 1000whiteSkullTime = 15 * 60 * 1000stairJumpExhaustion = 2000experienceByKillingPlayers = falseexpFromPlayersLevelRange = 75-- Connection Config-- NOTE: maxPlayers set to 0 means no limitip = "127.0.0.1"bindOnlyGlobalAddress = falseloginProtocolPort = 7171gameProtocolPort = 7172statusProtocolPort = 7171maxPlayers = 0motd = "Welcome to The Forgotten Server!"onePlayerOnlinePerAccount = trueallowClones = falseserverName = "Forgotten"statusTimeout = 5000replaceKickOnLogin = truemaxPacketsPerSecond = 25-- Deaths-- NOTE: Leave deathLosePercent as -1 if you want to use the default-- death penalty formula. For the old formula, set it to 10. For-- no skill/experience loss, set it to 0.deathLosePercent = -1-- Houses-- NOTE: set housePriceEachSQM to -1 to disable the ingame buy house functionalityhousePriceEachSQM = 1000houseRentPeriod = "never"-- Item UsagetimeBetweenActions = 200timeBetweenExActions = 1000-- Map-- NOTE: set mapName WITHOUT .otbm at the endmapName = "forgotten"mapAuthor = "Komic"-- MarketmarketOfferDuration = 30 * 24 * 60 * 60premiumToCreateMarketOffer = truecheckExpiredMarketOffersEachMinutes = 60maxMarketOffersAtATimePerPlayer = 100-- MySQLmysqlHost = "127.0.0.1"mysqlUser = "forgottenserver"mysqlPass = ""mysqlDatabase = "forgottenserver"mysqlPort = 3306mysqlSock = ""-- Misc.allowChangeOutfit = truefreePremium = falsekickIdlePlayerAfterMinutes = 15maxMessageBuffer = 4emoteSpells = falseclassicEquipmentSlots = false-- Rates-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xmlrateExp = 5rateSkill = 3rateLoot = 2rateMagic = 3rateSpawn = 1-- MonstersdeSpawnRange = 2deSpawnRadius = 50-- StaminastaminaSystem = true-- ScriptswarnUnsafeScripts = trueconvertUnsafeScripts = true-- Startup-- NOTE: defaultPriority only works on Windows and sets process-- priority, valid values are: "normal", "above-normal", "high"defaultPriority = "high"startupDatabaseOptimization = false-- Status server informationownerName = ""ownerEmail = ""url = "https://otland.net/"location = "Sweden"

 

Link para o comentário
Compartilhar em outros sites

  • 0
1 hora atrás, ZeetoTV disse:

Eu não sei ainda mexer com esse lance de database então não sei se tenho e nem como ver o nome (caso tenha), eu mappeio casualmente por diversão e queria ter um servidor offline só pra eu entrar mesmo e testar as coisas q eu faço, e sou da época que era só rodar o .exe e logar no sv. meu intuito é somente esse, um sv que só eu consiga entrar (de preferencia offline msm) pra testar as coisas.

 

config lua

 

 

  Mostrar conteúdo oculto
-- Combat settings-- NOTE: valid values for worldType are: "pvp", "no-pvp" and "pvp-enforced"worldType = "pvp"hotkeyAimbotEnabled = trueprotectionLevel = 1killsToRedSkull = 3killsToBlackSkull = 6pzLocked = 60000removeChargesFromRunes = truetimeToDecreaseFrags = 24 * 60 * 60 * 1000whiteSkullTime = 15 * 60 * 1000stairJumpExhaustion = 2000experienceByKillingPlayers = falseexpFromPlayersLevelRange = 75-- Connection Config-- NOTE: maxPlayers set to 0 means no limitip = "127.0.0.1"bindOnlyGlobalAddress = falseloginProtocolPort = 7171gameProtocolPort = 7172statusProtocolPort = 7171maxPlayers = 0motd = "Welcome to The Forgotten Server!"onePlayerOnlinePerAccount = trueallowClones = falseserverName = "Forgotten"statusTimeout = 5000replaceKickOnLogin = truemaxPacketsPerSecond = 25-- Deaths-- NOTE: Leave deathLosePercent as -1 if you want to use the default-- death penalty formula. For the old formula, set it to 10. For-- no skill/experience loss, set it to 0.deathLosePercent = -1-- Houses-- NOTE: set housePriceEachSQM to -1 to disable the ingame buy house functionalityhousePriceEachSQM = 1000houseRentPeriod = "never"-- Item UsagetimeBetweenActions = 200timeBetweenExActions = 1000-- Map-- NOTE: set mapName WITHOUT .otbm at the endmapName = "forgotten"mapAuthor = "Komic"-- MarketmarketOfferDuration = 30 * 24 * 60 * 60premiumToCreateMarketOffer = truecheckExpiredMarketOffersEachMinutes = 60maxMarketOffersAtATimePerPlayer = 100-- MySQLmysqlHost = "127.0.0.1"mysqlUser = "forgottenserver"mysqlPass = ""mysqlDatabase = "forgottenserver"mysqlPort = 3306mysqlSock = ""-- Misc.allowChangeOutfit = truefreePremium = falsekickIdlePlayerAfterMinutes = 15maxMessageBuffer = 4emoteSpells = falseclassicEquipmentSlots = false-- Rates-- NOTE: rateExp is not used if you have enabled stages in data/XML/stages.xmlrateExp = 5rateSkill = 3rateLoot = 2rateMagic = 3rateSpawn = 1-- MonstersdeSpawnRange = 2deSpawnRadius = 50-- StaminastaminaSystem = true-- ScriptswarnUnsafeScripts = trueconvertUnsafeScripts = true-- Startup-- NOTE: defaultPriority only works on Windows and sets process-- priority, valid values are: "normal", "above-normal", "high"defaultPriority = "high"startupDatabaseOptimization = false-- Status server informationownerName = ""ownerEmail = ""url = "https://otland.net/"location = "Sweden"

 

 

esse é seu config lua ? o.O

 

tenta configurar esse :

 

Spoiler

-- The Forgotten Server Config

    -- Account manager

    accountManager = "yes"

    namelockManager = "no"

    newPlayerChooseVoc = "yes"

    newPlayerSpawnPosX = 156

    newPlayerSpawnPosY = 53

    newPlayerSpawnPosZ = 3

    newPlayerTownId = 1

    newPlayerLevel = 8

    newPlayerMagicLevel = 0

    generateAccountNumber = "no"

    -- Unjustified kills

    -- NOTE: *Banishment and *BlackSkull variables are >summed up<

    -- (dailyFragsToRedSkull + dailyFragsToBanishment) with their

    -- *RedSkull equivalents.

    -- Auto banishing works only if useBlackSkull set to negative.

    -- advancedFragList is not advised if you use huge frags

    -- requirements.

    redSkullLength = 50 * 62 * 70 * 90

    blackSkullLength = 64 * 72 * 80 * 95

    dailyFragsToRedSkull = 50

    weeklyFragsToRedSkull = 80

    monthlyFragsToRedSkull = 100

    dailyFragsToBlackSkull = dailyFragsToRedSkull

    weeklyFragsToBlackSkull = weeklyFragsToRedSkull

    monthlyFragsToBlackSkull = monthlyFragsToRedSkull

    dailyFragsToBanishment = dailyFragsToRedSkull

    weeklyFragsToBanishment = weeklyFragsToRedSkull

    monthlyFragsToBanishment = monthlyFragsToRedSkull

    blackSkulledDeathHealth = 40

    blackSkulledDeathMana = 0

    useBlackSkull = true

    useFragHandler = true

    advancedFragList = false

    -- Banishments

    -- violationNameReportActionType 1 = just a report, 2 = name lock, 3 = player banishment

    -- killsBanLength works only if useBlackSkull option is disabled.

    notationsToBan = 3

    warningsToFinalBan = 4

    warningsToDeletion = 5

    banLength = 7 * 24 * 60 * 60

    killsBanLength = 8 * 24 * 60 * 60

    finalBanLength = 30 * 24 * 60 * 60

    ipBanishmentLength = 1 * 24 * 60 * 60

    broadcastBanishments = true

    maxViolationCommentSize = 200

    violationNameReportActionType = 2

    autoBanishUnknownBytes = false

    -- Battle

    -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.

    -- loginProtectionPeriod is the famous Tibia anti-magebomb system.

    -- deathLostPercent set to nil enables manual mode.

    worldType = "pvp"

    protectionLevel = 80

    pvpTileIgnoreLevelAndVocationProtection = true

    pzLocked = 20 * 700

    huntingDuration = 60 * 1000

    criticalHitChance = 7

    criticalHitMultiplier = 1

    displayCriticalHitNotify = true

    removeWeaponAmmunition = false

    removeWeaponCharges = false

    removeRuneCharges = "no"

    whiteSkullTime = 5 * 10 * 100

    noDamageToSameLookfeet = false

    showHealingDamage = false

    showHealingDamageForMonsters = false

    fieldOwnershipDuration = 5 * 1000

    stopAttackingAtExit = false

    oldConditionAccuracy = false

    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 = "127.0.0.1"

    bindOnlyConfiguredIpAddress = false

    loginPort = 7171

    gamePort = 7172

    adminPort = 7171

    statusPort = 7171

    loginTries = 10

    retryTimeout = 5 * 1000

    loginTimeout = 60 * 1000

    maxPlayers = 841

    motd = "Bem Vindo ao Hunter Ot! "

    displayOnOrOffAtCharlist = false

    onePlayerOnlinePerAccount = false

    allowClones = false

    serverName = "Hunter Ot"

    loginMessage = "Bem-Vindo ao Baiak Hunter. Bom jogo"

    statusTimeout = 5 * 60 * 1000

    replaceKickOnLogin = true

    forceSlowConnectionsToDisconnect = false

    loginOnlyWithLoginServer = false

    premiumPlayerSkipWaitList = false

    -- Database

    -- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.

    -- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.

    sqlType = "sqlite"

    sqlHost = "127.0.0.1"

    sqlPort = 3306

    sqlUser = "root"

    sqlPass = "senhaaki"

    sqlDatabase = "database"

    sqlFile = "forgottenserver.s3db"

    sqlKeepAlive = 0

    mysqlReadTimeout = 10

    mysqlWriteTimeout = 10

    encryptionType = "plain"

    -- Deathlist

    deathListEnabled = true

    deathListRequiredTime = 1 * 60 * 1000

    deathAssistCount = 19

    maxDeathRecords = 5

    -- Guilds

    ingameGuildManagement = true

    levelToFormGuild = 100

    premiumDaysToFormGuild = 0

    guildNameMinLength = 4

    guildNameMaxLength = 20

    -- Highscores

    highscoreDisplayPlayers = 15

    updateHighscoresAfterMinutes = 1

    -- Houses

    buyableAndSellableHouses = true

    houseNeedPremium = true

    bedsRequirePremium = true

    levelToBuyHouse = 200

    housesPerAccount = 0

    houseRentAsPrice = false

    housePriceAsRent = false

    housePriceEachSquare = 100000

    houseRentPeriod = "never"

    houseCleanOld = 0

    guildHalls = false

    -- Item usage

    timeBetweenActions = 200

    timeBetweenExActions = 1000

    checkCorpseOwner = true

    hotkeyAimbotEnabled = true

    maximumDoorLevel = 500

    -- Map

    -- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.

    -- useHouseDataStorage usage may be found at README.

    mapName = "Baiak Yurots"

    mapAuthor = "Baiak Lula"

    randomizeTiles = true

    useHouseDataStorage = false

    storeTrash = true

    cleanProtectedZones = true

    mailboxDisabledTowns = "-1"

    -- Startup

    -- NOTE: defaultPriority works only on Windows and niceLevel on *nix

    -- coresUsed are seperated by comma cores ids used by server process,

    -- default is -1, so it stays untouched (automaticaly assigned by OS).

    defaultPriority = "high"

    niceLevel = 5

    coresUsed = "-1"

    optimizeDatabaseAtStartup = true

    removePremiumOnInit = true

    confirmOutdatedVersion = false

    -- Muted buffer

    maxMessageBuffer = 4

    bufferMutedOnSpellFailure = false

    -- Miscellaneous

    -- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,

    -- called "exception tracer" (__EXCEPTION_TRACER__ flag).

    -- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's)

    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

    -- Ghost mode

    ghostModeInvisibleEffect = true

    ghostModeSpellEffects = true

    -- Limits

    idleWarningTime = 14 * 60 * 1000

    idleKickTime = 1000 * 1000 * 10000

    expireReportsAfterReads = 1

    playerQueryDeepness = 2

    maxItemsPerPZTile = 0

    maxItemsPerHouseTile = 0

    -- Premium-related

    freePremium = false

    premiumForPromotion = false

    -- Blessings

    -- NOTE: blessingReduction* regards items/containers loss.

    -- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.

    blessingOnlyPremium = true

    blessingReductionBase = 30

    blessingReductionDecreament = 5

    eachBlessReduction = 8

    -- Rates

    -- NOTE: experienceStages configuration is located in data/XML/stages.xml.

    -- rateExperienceFromPlayers 0 to disable.

    experienceStages = "yes"

    rateExperience = 500

    rateExperienceFromPlayers = 0

    rateSkill = 300

    rateMagic = 250

    rateLoot = 10

    rateSpawn = 7

    -- Monster rates

    rateMonsterHealth = 1.0

    rateMonsterMana = 1.0

    rateMonsterAttack = 1.0

    rateMonsterDefense = 1.0

    -- Experience from players

    -- NOTE: min~Threshold* set to 0 will disable the minimum threshold:

    -- player will gain experience from every lower leveled player.

    -- max~Threshold* set to 0 will disable the maximum threshold:

    -- player will gain experience from every higher leveled player.

    minLevelThresholdForKilledPlayer = 0.9

    maxLevelThresholdForKilledPlayer = 1.1

    -- Stamina

    -- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.

    -- rateStaminaHits multiplies every hit done a creature, which are later

    -- multiplied by player attack speed.

    -- rateStaminaGain is divider of every logged out second, eg:

    -- 60000 / 3 = 20000 milliseconds, what gives 20 stamina seconds for 1 minute being logged off.

    -- rateStaminaThresholdGain is divider for the premium stamina.

    -- staminaRatingLimit* is in minutes.

    rateStaminaLoss = 1

    rateStaminaGain = 3

    rateStaminaThresholdGain = 12

    staminaRatingLimitTop = 41 * 60

    staminaRatingLimitBottom = 14 * 60

    rateStaminaAboveNormal = 1.5

    rateStaminaUnderNormal = 0.5

    staminaThresholdOnlyPremium = true

    -- Party

    -- NOTE: experienceShareLevelDifference is float number.

    -- experienceShareLevelDifference is highestLevel * value

    experienceShareRadiusX = 30

    experienceShareRadiusY = 30

    experienceShareRadiusZ = 1

    experienceShareLevelDifference = 2 / 3

    extraPartyExperienceLimit = 20

    extraPartyExperiencePercent = 5

    experienceShareActivity = 2 * 60 * 1000

    -- Global save

    -- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,

    -- if you want such a system please check out data/globalevents/globalevents.xml.

    globalSaveEnabled = false

    globalSaveHour = 8

    shutdownAtGlobalSave = true

    cleanMapAtGlobalSave = false

    -- Spawns

    deSpawnRange = 2

    deSpawnRadius = 50

    -- Summons

    maxPlayerSummons = 2

    teleportAllSummons = false

    teleportPlayerSummons = false

    -- Status

    ownerName = "[ADM] Jon Snow"

    ownerEmail = ""

    url = "http://xtibia.com/"

    location = "Brazil"

    displayGamemastersWithOnlineCommand = false

    -- Logs

    -- NOTE: This kind of logging does not work in GUI version.

    -- For such, please compile the software with __GUI_LOGS__ flag.

    adminLogsEnabled = false

    displayPlayersLogging = true

    prefixChannelLogs = ""

    runFile = ""

    outLogName = ""

    errorLogName = ""

    truncateLogsOnStartup = false

 

 

no fórum tem diversos topicos, ensinando passo a passo do config.lua

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...