Ir para conteúdo
Banner com Efeitos

Featured Replies

Postado

Esse é o erro que aparece quando entro no meu site quem souber da uma força ai sou novo com ot server :cry:

 

Database error. Unknown database type in /otserv/config.lua . Must be equal to: "mysql" or "sqlite". Now is: ""

 

Meu config lua ai pra voces ver....

    accountManager = true
    namelockManager = true    newPlayerChooseVoc = false
    newPlayerSpawnPosX = 857
    newPlayerSpawnPosY = 964
    newPlayerSpawnPosZ = 7
    newPlayerTownId = 1
    newPlayerLevel = 8
    newPlayerMagicLevel = 0
    generateAccountNumber = false
    generateAccountSalt = false


    useRookSystem = false
    rookTownId = 1
    rookLevelToGetRooked = 5
    rookLevelToLeaveRook = 8


    useFragHandler = true
    redSkullLength = 1 * 24 * 60 * 60
    blackSkullLength = 2 * 24 * 60 * 60
    fragsLimit = 24 * 60 * 60
    fragsSecondLimit = 7 * 24 * 60 * 60
    fragsThirdLimit = 30 * 24 * 60 * 60
    fragsToRedSkull = 20
    fragsSecondToRedSkull = 75
    fragsThirdToRedSkull = 10
    fragsToBlackSkull = fragsToRedSkull
    fragsSecondToBlackSkull = fragsSecondToRedSkull
    fragsThirdToBlackSkull = fragsThirdToRedSkull
    fragsToBanishment = fragsToRedSkull
    fragsSecondToBanishment = fragsSecondToRedSkull
    fragsThirdToBanishment = fragsThirdToRedSkull
    blackSkulledDeathHealth = 40
    blackSkulledDeathMana = 0
    useBlackSkull = true
    advancedFragList = false


    notationsToBan = 3
    warningsToFinalBan = 4
    warningsToDeletion = 5
    banLength = 7 * 24 * 60 * 60
    killsBanLength = 7 * 24 * 60 * 60
    finalBanLength = 30 * 24 * 60 * 60
    ipBanLength = 1 * 24 * 60 * 60
    allowedMaxSizePackets = 20


    worldType = "open"
    protectionLevel = 100
    pvpTileIgnoreLevelAndVocationProtection = true
    pzLocked = 60 * 1000
    huntingDuration = 60 * 1000
    criticalHitChance = 7
    criticalHitMultiplier = 1
    displayCriticalHitNotify = false
    removeWeaponAmmunition = false
    removeWeaponCharges = false    removeRuneCharges = false    whiteSkullTime = 5 * 60 * 1000
    noDamageToSameLookfeet = false
    showHealthChange = false
    showManaChange = true
    showHealthChangeForMonsters = false
    showManaChangeForMonsters = false
    fieldOwnershipDuration = 5 * 1000
    stopAttackingAtExit = false
    loginProtectionPeriod = 10 * 1000
    deathLostPercent = 10
    stairhopDelay = 2 * 1000
    pushCreatureDelay = 1 * 1000
    deathContainerId = 1987
    gainExperienceColor = 215
    addManaSpentInPvPZone = true
    recoverManaAfterDeathInPvPZone = false
    squareColor = 0
    allowFightback = true
    fistBaseAttack = 7
    useFairfightReduction = true
    optionalWarAttackableAlly = false

    worldId = 0
    ip = "IP do meu ot"
    bindOnlyGlobalAddress = false
    loginPort = 7171
    gamePort = "7172"
    loginTries = 3
    retryTimeout = 5 * 1000
    loginTimeout = 60 * 1000
    maxPlayers = 1000
    motd = "Seja muito bem-vindo, esperamos que tenha um bom jogo!"
    displayOnOrOffAtCharlist = true
    onePlayerOnlinePerAccount = false    allowClones = 0
    serverName = "Atena-Global"
    loginMessage = "Obrigado por se conectar ao nosso servidor, espero que seja uma constante diversão ficar online."
    statusTimeout = 5 * 60 * 1000
    replaceKickOnLogin = true
    forceSlowConnectionsToDisconnect = false
    loginOnlyWithLoginServer = false
    premiumPlayerSkipWaitList = false
    packetsPerSecond = 50


    rsaPrime1 = "14299623962416399520070177382898895550795403345466153217470516082934737582776038882967213386204600674145392845853859217990626450972452084065728686565928113"
    rsaPrime2 = "7630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212884101"
    rsaPublic = "65537"
    rsaModulus = "109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413"
    rsaPrivate = "46730330223584118622160180015036832148732986808519344675210555262940258739805766860224610646919605860206328024326703361630109888417839241959507572247284807035235569619173792292786907845791904955103601652822519121908367187885509270025388641700821735345222087940578381210879116823013776808975766851829020659073"


    sqlType = "mysql"
    sqlHost = "localhost"
    sqlPort = 3306
    sqlUser = "root"
    sqlPass = "Meu pass"
    sqlDatabase = "database"
    sqlKeepAlive = 0
    mysqlReadTimeout = 10
    mysqlWriteTimeout = 10
    mysqlReconnectionAttempts = 3
    encryptionType = "sha1"


    deathListEnabled = true
    deathListRequiredTime = 1 * 60 * 1000
    deathAssistCount = 19
    maxDeathRecords = 5
    multipleNames = false


    externalGuildWarsManagement = false
    ingameGuildManagement = false
    levelToFormGuild = 8
    premiumDaysToFormGuild = 5
    guildNameMinLength = 4
    guildNameMaxLength = 20


    buyableAndSellableHouses = true
    houseNeedPremium = false
    bedsRequirePremium = false
    levelToBuyHouse = 150

    housesPerAccount = 0
    houseRentAsPrice = false
    housePriceAsRent = false
    housePriceEachSquare = 1000
    houseSkipInitialRent = true
    houseRentPeriod = "never"
    houseCleanOld = 0
    guildHalls = false
    houseProtection = true


    timeBetweenActions = 200
    timeBetweenExActions = 1000
    timeBetweenCustomActions = 500
    hotkeyAimbotEnabled = true
    tibiaClassicSlots = false
    canOnlyRopePlayers = true


    mapName = "Mapa.otbm"
    mapAuthor = "ChaitoSoft.com"
    randomizeTiles = true
    storeTrash = true
    cleanProtectedZones = true

    mailboxDisabledTowns = ""
    mailMaxAttempts = 20
    mailBlockPeriod = 60 * 60 * 1000
    mailAttemptsFadeTime = 10 * 60 * 1000


    marketEnabled = false
    marketOfferDuration = 30 * 24 * 60 * 60
    premiumToCreateMarketOffer = false
    checkExpiredMarketOffersEachMinutes = 60
    maxMarketOffersAtATimePerPlayer = 100


    daemonize = false
    defaultPriority = "high"
    niceLevel = 5
    serviceThreads = 1
    coresUsed = "-1"


    startupDatabaseOptimization = true
    updatePremiumStateAtStartup = true
    confirmOutdatedVersion = false
    skipItemsVersionCheck = false


    formulaLevel = 5.0
    formulaMagic = 1.0
    bufferMutedOnSpellFailure = false
    spellNameInsteadOfWords = false
    emoteSpells = true    unifiedSpells = true
    enableCooldowns = true


    allowChangeOutfit = true
    allowChangeColors = true
    allowChangeAddons = true
    disableOutfitsForPrivilegedPlayers = false
    addonsOnlyPremium = false


    dataDirectory = "data/"
    logsDirectory = "data/logs/"
    bankSystem = true
    promptExceptionTracerErrorBox = true
    maximumDoorLevel = 500
    maxMessageBuffer = 4
    logPlayersStatements = true
    tradeLimit = 100
    useCapacity = true

    playerFollowExhaust = 0


    defaultDepotSizePremium = 2000
    defaultDepotSize = 1000


    useMounts = true
    unmountPlayerInPz = true


    separateVipListPerCharacter = false
    vipListDefaultLimit = 20
    vipListDefaultPremiumLimit = 100

    houseDataStorage = "binary"
    saveGlobalStorage = true
    storePlayerDirection = false
    savePlayerData = true


    checkCorpseOwner = true
    monsterLootMessage = 3
    monsterLootMessageType = 29

    ghostModeInvisibleEffect = false
    ghostModeSpellEffects = true

    idleWarningTime = 14 * 60 * 1000
    idleKickTime = 15 * 60 * 1000
    reportsExpirationAfterReads = 1
    playerQueryDeepness = -1
    tileLimit = 0
    protectionTileLimit = 0
    houseTileLimit = 0

    freePremium = true
    premiumForPromotion = false


    blessings = true
    blessingOnlyPremium = false
    blessingReductionBase = 50
    blessingReductionDecrement = 5
    eachBlessReduction = 8
    pvpBlessingThreshold = 40
    fairFightTimeRange = 60

    experienceStages = true
    rateExperience = 350.0
    rateExperienceFromPlayers = 5    

    rateSkill = 60.0
    rateMagic = 40.0
    rateLoot = 1.5
    rateSpawn = 2

    rateMonsterHealth = 1.0
    rateMonsterMana = 1.0
    rateMonsterAttack = 1.0
    rateMonsterDefense = 1.0

    minLevelThresholdForKilledPlayer = 0.9
    maxLevelThresholdForKilledPlayer = 1.1


    rateStaminaLoss = 1
    rateStaminaGain = 3
    rateStaminaThresholdGain = 12
    staminaRatingLimitTop = 40 * 60
    staminaRatingLimitBottom = 14 * 60
    staminaLootLimit = 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
    globalSaveMinute = 0
    shutdownAtGlobalSave = true
    cleanMapAtGlobalSave = false
    closeInstanceOnShutdown = true

    deSpawnRange = 2
    deSpawnRadius = 50
    monsterSpawnWalkback = true
    allowBlockSpawn = true

    maxPlayerSummons = 2
    teleportAllSummons = false
    teleportPlayerSummons = false

    statusPort = 7171
    ownerName = "ChaitoSoft.com"
    ownerEmail = "[email protected]"
    url = "http://chaitosoft.com"
    location = "deepweb"
    displayGamemastersWithOnlineCommand = false

    disableLuaErrors = true
    displayPlayersLogging = true
    prefixChannelLogs = ""
    runFile = ""
    outputLog = ""
    truncateLogOnStartup = false

    managerPort = 7171
    managerLogs = true
    managerPassword = ""
    managerLocalhostOnly = true
    managerConnectionsLimit = 1

    adminPort = 7171
    adminLogs = true
    adminPassword = ""
    adminLocalhostOnly = true
    adminConnectionsLimit = 1
    adminRequireLogin = true
    adminEncryption = ""
    adminEncryptionData = ""

 

  • Respostas 7
  • Visualizações 445
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • sqlType = "mysql"     sqlHost = "localhost"     sqlPort = 3306     sqlUser = "root"     sqlPass = "Meu pass"     sqlDatabase = "database"     sqlKeepAlive = 0     mysqlReadTimeout = 10     mysqlWriteT

Postado

sqlType = "mysql"
    sqlHost = "localhost"
    sqlPort = 3306
    sqlUser = "root"
    sqlPass = "Meu pass"
    sqlDatabase = "database"
    sqlKeepAlive = 0
    mysqlReadTimeout = 10
    mysqlWriteTimeout = 10
    mysqlReconnectionAttempts = 3
    encryptionType = "sha1"

Configure da seguinte forma as linhas em vermelho:

 

sqlType = "mysql"

    sqlHost = "localhost"

    sqlPort = 3306

    sqlUser = "root"

    sqlPass = "suasenhadophpmyadmin"

    sqlDatabase = "nomedadatabasephpmyadmin"

    sqlKeepAlive = 0

    mysqlReadTimeout = 10

    mysqlWriteTimeout = 10

    mysqlReconnectionAttempts = 3

    encryptionType = "sha1"

Editado por Absolute (veja o histórico de edições)

YDmXTU2.png

 

Entenda tudo sobre VPS, DEDICADOS & HOSPEDAGENS. => Clique aqui

Global Full Download 10.9x - TFS 1.2/FERUMBRAS/KRAILOS. => Clique aqui

 

Muitos querem aquilo que você tem, 
mas vão desistir quando souberem o preço que você pagou.

 

skype-favicon.png lu.lukinha

message-16.png [email protected]

Postado
  • Autor

Eu ja fiz aquilo mudei minha senha do phpmyadmin e coloquei nome da database phpmyadmin mudei o nome dela pra ve se era erro no nome coloquei Basedoot e ainda continua database error, tem como abrir outra database ou seila ? Thanks

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Conteúdo Similar

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo