Ir para conteúdo

[Resolvido] [Duvida] Erros na hora de por ot on em vps linux. (Real server 8.6)

Featured Replies

Postado

Bom galera os erros são o seguintes, nunca to conseguindo por o ot on, nem mesmo o site (que ja desisti, dai resolvi por pra acc manager), na hora que ligo ot , aparecem os seguintes erros:


[14:12:57.970] >> Loading config (config.lua)
[14:12:57.970] >> Opening logs
[14:12:57.976] > Using plaintext encryption

[14:12:57.976] > WARNING: This method is completely unsafe!
[14:12:57.976] > Please set encryptionType = "sha1" (or any other available method) in config.lua
I/O warning : failed to load external entity ""
[14:13:27.976] >> Checking software version...failed - could not parse remote file (are you connected to any network?)
[14:13:27.976] >> Loading RSA key
[14:13:27.977] >> Starting SQL connection
[14:13:27.979] Failed connecting to database - MYSQL ERROR: Access denied for user 'root'@'localhost' (using password: NO) (1045)

[14:13:27.979] > ERROR: Couldn't estabilish connection to SQL database!

 

OK, mas aii eu vi em alguns topicos aqui no site que para resolver é nescessario alterar no config. lua a configuração encryptionType de plain  para sha1, mas quando eu faço da o seguinte erro:


[14:18:05.212] >> Loading config (config.lua)
[14:18:05.213] >> Opening logs
[14:18:05.218] > Using SHA1 encryption
I/O warning : failed to load external entity ""
[14:18:05.219] >> Checking software version...failed - could not parse remote file (are you connected to any network?)
[14:18:05.219] >> Loading RSA key
[14:18:05.219] >> Starting SQL connection
[14:18:05.221] Failed connecting to database - MYSQL ERROR: Unknown database 'realserver' (1049)

[14:18:05.221] > ERROR: Couldn't estabilish connection to SQL database!
 

Bom, eu seinceramente não to conseguindo, e agora pra completar aparece esse outro erro ;

[14:18:05.219] >> Checking software version...failed - could not parse remote file (are you connected to any network?)

 

Help ae!

ia esquecendo do meu config.lua

 

    -- Real Server Config
    
    -- Account manager
    accountManager = true
    namelockManager = true
    newPlayerChooseVoc = true
    newPlayerSpawnPosX = 32360
    newPlayerSpawnPosY = 31782
    newPlayerSpawnPosZ = 7
    newPlayerTownId = 2
    newPlayerLevel = 8
    newPlayerMagicLevel = 0
    generateAccountNumber = false

    -- 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 = true
    useFragHandler = true
    advancedFragList = false

    -- Banishments
    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

    -- Battle
    worldType = "pvp"
    protectionLevel = 1
    pvpTileIgnoreLevelAndVocationProtection = true
    pzLocked = 60 * 1000
    huntingDuration = 60 * 1000
    criticalHitChance = 7
    criticalHitMultiplier = 1
    displayCriticalHitNotify = false
    removeWeaponAmmunition = true
    removeWeaponCharges = true
    removeRuneCharges = true
    whiteSkullTime = 15 * 60 * 1000
    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 = "maxehteeralot.zapto.org"
    bindOnlyConfiguredIpAddress = false
    loginPort = 7171
    gamePort = 7172
    adminPort = 7171
    statusPort = 7171
    loginTries = 10
    retryTimeout = 5 * 1000
    loginTimeout = 60 * 1000
    maxPlayers = 1000
    motd = "Welcome to Maxehteeral ot! enjoy!"
    displayOnOrOffAtCharlist = false
    onePlayerOnlinePerAccount = true
    allowClones = false
    serverName = "Real Server"
    loginMessage = "Welcome to Maxehteeral ot, divirta-se!"
    statusTimeout = 5 * 60 * 1000
    replaceKickOnLogin = true
    forceSlowConnectionsToDisconnect = false
    loginOnlyWithLoginServer = false
    premiumPlayerSkipWaitList = false

    -- Database
    sqlType = "sqlite"
    sqlHost = "localhost"
    sqlPort = 3306
    sqlUser = "root"
    sqlPass = "**************"
    sqlDatabase = "realserver"
    sqlFile = "realserver.s3db"
    sqlKeepAlive = 0
    mysqlReadTimeout = 10
    mysqlWriteTimeout = 10
    encryptionType = "sha1"

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

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

    -- Highscores
    highscoreDisplayPlayers = 15
    updateHighscoresAfterMinutes = 60

    -- Houses
    buyableAndSellableHouses = true
    houseNeedPremium = true
    bedsRequirePremium = true
    levelToBuyHouse = 50
    housesPerAccount = 0
    houseRentAsPrice = false
    housePriceAsRent = false
    housePriceEachSquare = 1000
    houseRentPeriod = "never"
    houseCleanOld = 0
    guildHalls = false

    -- Item usage
    timeBetweenActions = 200
    timeBetweenExActions = 1000
    hotkeyAimbotEnabled = true

    -- Map
    mapName = "real"
    mapAuthor = "Doidin"
    randomizeTiles = true
    storeTrash = true
    cleanProtectedZones = true
    mailboxDisabledTowns = "-1"

    -- Process
    defaultPriority = "high"
    niceLevel = 5
    coresUsed = "-1"

    -- Startup
    optimizeDatabaseAtStartup = true
    removePremiumOnInit = true
    confirmOutdatedVersion = false

    -- Spells
    formulaLevel = 5.0
    formulaMagic = 1.0
    bufferMutedOnSpellFailure = false
    spellNameInsteadOfWords = false
    emoteSpells = false

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

    -- Miscellaneous
    dataDirectory = "data/"
    bankSystem = true
    displaySkillLevelOnAdvance = false
    promptExceptionTracerErrorBox = true
    separateViplistPerCharacter = false
    maximumDoorLevel = 500
    maxMessageBuffer = 4

    -- Saving
    saveGlobalStorage = true
    useHouseDataStorage = false
    storePlayerDirection = false

    -- Loot
    checkCorpseOwner = true
    monsterLootMessage = 3
    monsterLootMessageType = 25

    -- Ghost mode
    ghostModeInvisibleEffect = false
    ghostModeSpellEffects = true

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

    -- Premium
    freePremium = false
    premiumForPromotion = false

    -- Blessings
    blessingOnlyPremium = false
    blessingReductionBase = 30
    blessingReductionDecreament = 5
    eachBlessReduction = 8

    -- Rates
    experienceStages = false
    rateExperience = 15.0
    rateExperienceFromPlayers = 0
    rateSkill = 25.0
    rateMagic = 10.0
    rateLoot = 5.0
    rateSpawn = 2

    -- Monster rates
    rateMonsterHealth = 1.0
    rateMonsterMana = 1.0
    rateMonsterAttack = 1.0
    rateMonsterDefense = 1.0

    -- Experience from players
    minLevelThresholdForKilledPlayer = 0.9
    maxLevelThresholdForKilledPlayer = 1.1

    -- Stamina
    rateStaminaLoss = 1
    rateStaminaGain = 3
    rateStaminaThresholdGain = 12
    staminaRatingLimitTop = 41 * 60
    staminaRatingLimitBottom = 14 * 60
    rateStaminaAboveNormal = 1.5
    rateStaminaUnderNormal = 0.5
    staminaThresholdOnlyPremium = false

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

    -- Global save
    globalSaveEnabled = false
    globalSaveHour = 8
    shutdownAtGlobalSave = false
    cleanMapAtGlobalSave = false

    -- Spawns
    deSpawnRange = 2
    deSpawnRadius = 50

    -- Summons
    maxPlayerSummons = 2
    teleportAllSummons = false
    teleportPlayerSummons = false

    -- Status
    ownerName = "Matheus"
    ownerEmail = "@tibiaking.com"
    url = "http://TibiaKing.com/"
    location = "Brazil"
    displayGamemastersWithOnlineCommand = false

    -- Logs
    adminLogsEnabled = false
    displayPlayersLogging = true
    prefixChannelLogs = ""
    runFile = ""
    outLogName = ""
    errorLogName = ""
    truncateLogsOnStartup = false

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

  • Respostas 9
  • Visualizações 4.7k
  • Created
  • Última resposta

Top Posters In This Topic

Postado
  • Autor

Lol (q comedia), bom saber, tem como você ou alguem me ajudar a conseguir por? ja tentei e não consegui =/ (não achei tutorial pra por em linux (obs: o msql (fazer site em linux vps))

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

Postado

OBS: se não for usar site ignore a parte de enviar arquivos do site, o resto faça.

 

Acesse seu putty e digite os seguintes comandos um por vez.

 

apt-get update
apt-get install apache2
cd /var/www
apt-get install php5
/etc/init.d/apache2 restart

 

No próximo comando escolha uma senha para o mysql.

 

apt-get install mysql-server
apt-get install libapache2-mod-auth-mysql
apt-get install php5-mysql

 

No próximo comando escolha uma senha para o phpmyadmin.

 

apt-get install phpmyadmin

 

(SE FOR UBUNTU) echo “include /etc/phpmyadmin/apache.conf” | sudo tee -a /etc/apache2/apache2.conf

 

(SE FOR DEBIAN) ln -fvs /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf

 

Depois digite:

 

/etc/init.d/apache2 restart ou service apache2 restart

 

Feito isso acesse:

 

http://seuip/phpmyadmin

 

Pronto instalado.

 

Se estiver instalando para otserver:

 

Acesse seu ip/phpmyadmin e crie uma nova database, feito isso, clique em importar, aguarde finalizar.

Acesse seu vps ou dedicado pelo filezila, e na barra de endereço digite /var vai ver uma pasta com o nome ‘www’ delete essa pasta, vá no seu computador renomeio a pasta do seu site para ”www” sem aspas obvio, jogue essa pasta para o mesmo diretório onde deletou o ”www” feito isso aguarde finalizar o envio, na barra de endereço do filezila digite /var/www/config tem um arquivo com o nomeconfig.ini abra ele coloque o diretório da pasta do otserver por exemplo; seguindo o tutorial de como compilar um otserver, você terá a pasta do seu ot em / ou seja no config.ini ficará“/otserv/” finalizando.. vá na pasta do otserv /otserv configure o config.lua com a senha da database criada aqui, coloque o ip da maquina nome da database criada pronto salve e acesse seu ip no navegador.

 

Arquivos úteis

Database completa para otserver 8.60

logo.png

 

topo2.png

 

[email protected]

Tel: 47 3348-0525

Skype: Weblara.com

 

www.weblara.com.br

Postado
  • Autor

vou tentar aqui xandele, se der certo eu edito aqui, mas, toda via, obrigado =D

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.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo