Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Olá! Desde já peço desculpas caso eu tenha postado na área errado, e agradeço a ajuda de todos.

A situação é  aseguinte, eu baixei um OTServ old, porém ele é mysql, tentei ver mil e uns tutoriais de como usar o xampp e tudo mais, porém no champ deu tudo certo, mas na hora de abrir o arquivo executável do OT ele aparece erro ao conectar com o database, tive a ideia de passar para sqlite, que acho muito mais simples, obviamente terei de ver como cria o account manager vulgo 1/1, mas não é o foco da dúvida, o problema é, mesmo passando pra sqlite, e pegando a database.s3db de um outro OTServ já feito em sqlite, ele deu o mesmo erro!! segue abaixo o config.lua, e um print do executável

 

--- DIRECTORY PATH ---

    

DataDir = "data/"

--- BANS ---

    
NotationsToBan = 3
    
WarningsToFinalBan = 4
    
WarningsToDeletion = 5
    
BanLength = 1 * 24 * 60 * 60
    
FinalBanLength = 7 * 24 * 60 * 60
    
IPBanishmentLength = 24 * 60 * 60
    
KillsToBan = 7

--- COMBAT ---

   
 
-- World type
    
-- options: pvp, no-pvp, pvp-enforced
    
WorldType = "pvp"

    

-- Exhausted time in ms (1000 = 1 second) for yelling
    
Exhausted = 1000

    
-- Exhausted time in ms (1000 = 1 second) for aggressive spells/weapons
    
FightExhausted = 2000

    
-- Exhausted time in ms (1000 = 1 second) for none-aggressive spells/weapons
    
HealExhausted = 500    
-- How many ms to add if the player is already exhausted and tries to yell (1000 = 1 second)
    
ExhaustedAdd = 200

    
-- How long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
    
PZLock = 60000

    
-- How long a field belongs to a player before it no longer causes PZ lock for the owner
    
FieldOwnershipDuration = 5000

    
-- In mili seconds
    
TimeToDecreaseFrags = 24 * 60 * 60 * 1000

    
-- Time white skull will remain after killing a player, in minutes
    
WhiteSkullTime = 3

    
-- amount of kills that leads to red skull
    
KillsToRedSkull = 5


    
-- Remove ammunition
  
  
-- If false, ammunition will not be removed when using distance weapons
    
-- (or other weapons that use ammunition)
    
RemoveAmmunition = false
   
-- Remove rune charges

-- This only applies to runes done using the default functions. 
    
-- Custom runes made using actions will not be affected.
    
RemoveRuneCharges = false


    
-- Remove weapon charges
    
-- Set to false to disable charges disappearing from weapons on use
    
RemoveWeaponCharges = false    

-- Top player on a stacked tile will be unable to heal
    
UHTrap = true

---- CONNECTION ----

    

-- Server ip (the ip that server listens on)
    
IP = "127.0.0.1"

    
-- Server port (the port that server listens on)
    
Port = "7171"

    
-- How many logins attempts until ip is temporary disabled 
    
-- Set to 0 to disable
    
LoginTries = 5

    
-- How long the retry timeout until a new login can be made (without disabling the ip)
    
RetryTimeout = 5000

    
-- How long the player need to wait until the ip is allowed again
    
LoginTimeout = 60 * 1000

    
-- Allow clones (multiple logins of the same char)
    
AllowClones = false

    
-- Only one player online per account
    
CheckAccounts = true

---- DATABASE ----

    
-- SQL type
    
-- options: mysql, sqlite, odbc or pgsql
    
SQL_Type = "sqlite"

    
--- SQL connection part
    
SQL_DB   = "otxserver"

    
-- these settings are not used by SQLite
    
SQL_Host = "localhost"
    
SQL_Port = 3306
    
SQL_User = "root"
    
SQL_Pass = ""

---- HOUSES ----

   
 
-- house rent period
    
-- options: daily, weekly, monthly
    
HouseRentPeriod = "monthly"

    
-- Price for a tile
    
HousePrice = 100

    
HouseLevel = 1
    
PremOnlyHouse = false    
PremOnlyBeds = false

--- INFO ---

    

-- Login message
    
LoginMsg = "Welcome to Tibia OS"

    

-- Server name
    
ServerName = ""

 
   
-- World name
    
WorldName = "Tibia-OS"

    

-- Server owner name
    
OwnerName = "Pasturry"

    

-- Server owner email
    
OwnerEmail = ""

    

-- Server url
    
URL = ""

    

-- Server location
    
Location = "Chile"


---- ITEM USAGE ----

   
 
-- Minimum amount of time between actions ('Use') (1000 = 1 second)
    
MinActionInterval = 200

   
 
-- Minimum amount of time between extended actions ('Use with...') (1000 = 1 second)
    
MinActionExInterval = 1000

---- MAP ----

    

-- Map location
    
Map = "data/world/World2.otbm"

    

-- Mapkind
    
-- Options: OTBM for binary map, XML for OTX map
    
MapKind = "OTBM"

    

-- Type of map storage, 
    
-- 'relational' - Slower, but possible to run database queries to change all items to another id for example.
    
-- 'binary' - Faster, but you cannot run DB queries.
    
-- To switch, load server with the current type, change the type in config.lua 
    
-- type /reload config and the save the server with /closeserver serversave
    
MapStoreType = "binary"

---- RATES ----

    

-- Rates (experience, skill, magic level, loot and spawn)
    
RateExp = 8
    
RateSkill = 7
    
RateMag = 4
    
RateLoot = 10
    
RateSpawn = 3


--- SPAWNS ---

    
-- Despawn configs
    
-- How many floors can a monster go from his spawn before despawning
    
DespawnRange = 2

    

-- How many square metters can a monster be far from his spawn before despawning
    
DespawnRadius = 50

--- STATUS ---

    
-- Message Of The Day box that you sometimes get before you choose characters)
    

MOTD = "Welcome To Tibia OS"
    
MOTD_Num = "1"

    

-- Max number of players allowed
    
MaxPlayers = "100"

--- OTHER ---

    

-- Accounts password type
    

-- options: plain, md5, sha1
    
PasswordType = "plain"

    

-- Max number of messages a player can say before getting muted (default 4), set to 0 to disable muting
    
MaxMessageBuffer = 4

    

-- Save client debug assertion reports
    
SaveClientDebug = false

    

-- Should the server use account balance system or depot system for paying houses?
    
UseAccBalance = true

    

-- Time after player will be kicked when idle, in minutes
    
MaxIdleTime = 15

    

-- Level on which player will get rooked
    
LevelToRook = 5

    

-- TownId to which player will be teleported
    RookTempleId = 4   

-- if your website is not showing player deaths, then keep this as false
    
StorePlayerDeaths = false

    

-- ID of temple to which player will get teleported when his prem end out
    
-- 0 to disable
    
-- not tested yet
    
FACCTempleID = 4 


-- Example: 1500 <= 1,5 seconds push delay
    Pushdelay = 1500
    
-- Example: 10 <= every 10 minutes automatic server save
    Servesave = 5

 

 

image.thumb.png.55a63dfd32c1af8cf14cca2dec315830.png

Link para o post
Compartilhar em outros sites
  • Moderador
  • Moderador

@Wizard2018 Editei pra você o seu arquivo, ler as linhas em que eu escrevi e faz as devidas modificações.

Spoiler

--- DIRECTORY PATH ---
DataDir = "data/" << Aqui você coloca o diretório do Servidor.

 

--- BANS ---
NotationsToBan = 3
WarningsToFinalBan = 4
WarningsToDeletion = 5
BanLength = 1 * 24 * 60 * 60
FinalBanLength = 7 * 24 * 60 * 60
IPBanishmentLength = 24 * 60 * 60
KillsToBan = 7

 

--- COMBAT ---
-- World type
-- options: pvp, no-pvp, pvp-enforced
WorldType = "pvp"

 

-- Exhausted time in ms (1000 = 1 second) for yelling
Exhausted = 1000

 

-- Exhausted time in ms (1000 = 1 second) for aggressive spells/weapons
FightExhausted = 2000

 

-- Exhausted time in ms (1000 = 1 second) for none-aggressive spells/weapons
HealExhausted = 500

 

-- How many ms to add if the player is already exhausted and tries to yell (1000 = 1 second)
ExhaustedAdd = 200
    
-- How long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
PZLock = 60000
    
-- How long a field belongs to a player before it no longer causes PZ lock for the owner
FieldOwnershipDuration = 5000

 

-- In mili seconds
TimeToDecreaseFrags = 24 * 60 * 60 * 1000

 

-- Time white skull will remain after killing a player, in minutes
WhiteSkullTime = 3
    
-- amount of kills that leads to red skull
KillsToRedSkull = 5

 

-- Remove ammunition
-- If false, ammunition will not be removed when using distance weapons
-- (or other weapons that use ammunition)
RemoveAmmunition = false
   
-- Remove rune charges
-- This only applies to runes done using the default functions. 
-- Custom runes made using actions will not be affected.
RemoveRuneCharges = false

 

-- Remove weapon charges
-- Set to false to disable charges disappearing from weapons on use
RemoveWeaponCharges = false  

 

-- Top player on a stacked tile will be unable to heal
UHTrap = true

 

---- CONNECTION ----
-- Server ip (the ip that server listens on)
IP = "127.0.0.1" << Aqui se configura o IP para se conectar ao Servidor, o IP: 127.0.0.1, é o nosso IP de teste, apenas o IP Local pode entrar no Servidor usando este IP.

 

-- Server port (the port that server listens on)
Port = "7171"

 

-- How many logins attempts until ip is temporary disabled 
-- Set to 0 to disable
LoginTries = 5

 

-- How long the retry timeout until a new login can be made (without disabling the ip)
RetryTimeout = 5000

 

-- How long the player need to wait until the ip is allowed again
LoginTimeout = 60 * 1000

 

-- Allow clones (multiple logins of the same char)
AllowClones = false

 

-- Only one player online per account
CheckAccounts = true

 

---- DATABASE ----
-- SQL type
-- options: mysql, sqlite, odbc or pgsql
SQL_Type = "sqlite" << Aqui você consegue mudar a Plataforma do seu Servidor, Sqlite é uma plataforma onde não se pode usar Site. Já o Mysql, é permitido o uso do Site.

 

--- SQL connection part
SQL_DB = "otxserver" << Aqui é o nome da sua DB = Database, cadastrada no Banco De Dados do PhpMyAdmin. Essa linha é somente para o uso do Xampp, PhpMyAdmin.
SQLFile = "" << Aqui é o nome da sua DB = Database. O formato do arquivo estar salvo como (.s3db). Essa linha é somente para o uso da Plataforma Sqlite, sem Site.
    
-- these settings are not used by SQLite
SQL_Host = "localhost" << Aqui você tem duas opções, primeiro tente com o localhost, depois, tente com o IP de teste: 127.0.0.1
SQL_Port = 3306
SQL_User = "root"
SQL_Pass = "" << Aqui você coloca a senha cadastrada no Banco De Dados do PhpMyAdmin.

 

---- HOUSES ----
-- house rent period
-- options: daily, weekly, monthly
HouseRentPeriod = "monthly"
    
-- Price for a tile
HousePrice = 100
HouseLevel = 1
PremOnlyHouse = false    
PremOnlyBeds = false

 

--- INFO ---
-- Login message
LoginMsg = "Welcome to Tibia OS"

 

-- Server name
ServerName = ""


-- World name
WorldName = "Tibia-OS"

 

-- Server owner name
OwnerName = "Pasturry"

 

-- Server owner email
OwnerEmail = ""

 

-- Server url
URL = ""

 

-- Server location
Location = "Chile"

 

---- ITEM USAGE ----
-- Minimum amount of time between actions ('Use') (1000 = 1 second)
MinActionInterval = 200

 

-- Minimum amount of time between extended actions ('Use with...') (1000 = 1 second)
MinActionExInterval = 1000

 

---- MAP ----
-- Map location
Map = "data/world/World2.otbm"

 

-- Mapkind
-- Options: OTBM for binary map, XML for OTX map
MapKind = "OTBM"

 

-- Type of map storage, 
-- 'relational' - Slower, but possible to run database queries to change all items to another id for example.
-- 'binary' - Faster, but you cannot run DB queries.
-- To switch, load server with the current type, change the type in config.lua 
-- type /reload config and the save the server with /closeserver serversave
MapStoreType = "binary"

 

---- RATES ----
-- Rates (experience, skill, magic level, loot and spawn)
RateExp = 8
RateSkill = 7
RateMag = 4
RateLoot = 10
RateSpawn = 3

 

--- SPAWNS ---
-- Despawn configs 
-- How many floors can a monster go from his spawn before despawning
DespawnRange = 2

 

-- How many square metters can a monster be far from his spawn before despawning
DespawnRadius = 50

 

--- STATUS ---
-- Message Of The Day box that you sometimes get before you choose characters)
MOTD = "Welcome To Tibia OS"
MOTD_Num = "1"

 

-- Max number of players allowed
MaxPlayers = "100"

 

--- OTHER ---
-- Accounts password type
-- options: plain, md5, sha1
PasswordType = "plain"

 

-- Max number of messages a player can say before getting muted (default 4), set to 0 to disable muting
MaxMessageBuffer = 4

 

-- Save client debug assertion reports
SaveClientDebug = false

 

-- Should the server use account balance system or depot system for paying houses?
UseAccBalance = true

 

-- Time after player will be kicked when idle, in minutes
MaxIdleTime = 15

 

-- Level on which player will get rooked
LevelToRook = 5

 

-- TownId to which player will be teleported
RookTempleId = 4   

 

-- if your website is not showing player deaths, then keep this as false
StorePlayerDeaths = false

 

-- ID of temple to which player will get teleported when his prem end out
-- 0 to disable
-- not tested yet
FACCTempleID = 4 

 

-- Example: 1500 <= 1,5 seconds push delay
Pushdelay = 1500
    
-- Example: 10 <= every 10 minutes automatic server save
Servesave = 5

 

Meu Curso sobre Programação para OTServer

Programando OTServer

 

Peça o seu script! Entre agora mesmo no grupo

Developing

 

Conteúdos:

 

Discord: Belmont#7352

Não esqueça do REP+ :)     

Link para o post
Compartilhar em outros sites

 

 

12 horas atrás, movie disse:

Qual o nome do seu arquivo .s3db?

 

o database que peguei é otxserver.s3db

 

 

2 horas atrás, Phineasz disse:

@Wizard2018 Editei pra você o seu arquivo, ler as linhas em que eu escrevi e faz as devidas modificações.

  Ocultar conteúdo

--- DIRECTORY PATH ---
DataDir = "data/" << Aqui você coloca o diretório do Servidor.

 

--- BANS ---
NotationsToBan = 3
WarningsToFinalBan = 4
WarningsToDeletion = 5
BanLength = 1 * 24 * 60 * 60
FinalBanLength = 7 * 24 * 60 * 60
IPBanishmentLength = 24 * 60 * 60
KillsToBan = 7

 

--- COMBAT ---
-- World type
-- options: pvp, no-pvp, pvp-enforced
WorldType = "pvp"

 

-- Exhausted time in ms (1000 = 1 second) for yelling
Exhausted = 1000

 

-- Exhausted time in ms (1000 = 1 second) for aggressive spells/weapons
FightExhausted = 2000

 

-- Exhausted time in ms (1000 = 1 second) for none-aggressive spells/weapons
HealExhausted = 500

 

-- How many ms to add if the player is already exhausted and tries to yell (1000 = 1 second)
ExhaustedAdd = 200
    
-- How long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
PZLock = 60000
    
-- How long a field belongs to a player before it no longer causes PZ lock for the owner
FieldOwnershipDuration = 5000

 

-- In mili seconds
TimeToDecreaseFrags = 24 * 60 * 60 * 1000

 

-- Time white skull will remain after killing a player, in minutes
WhiteSkullTime = 3
    
-- amount of kills that leads to red skull
KillsToRedSkull = 5

 

-- Remove ammunition
-- If false, ammunition will not be removed when using distance weapons
-- (or other weapons that use ammunition)
RemoveAmmunition = false
   
-- Remove rune charges
-- This only applies to runes done using the default functions. 
-- Custom runes made using actions will not be affected.
RemoveRuneCharges = false

 

-- Remove weapon charges
-- Set to false to disable charges disappearing from weapons on use
RemoveWeaponCharges = false  

 

-- Top player on a stacked tile will be unable to heal
UHTrap = true

 

---- CONNECTION ----
-- Server ip (the ip that server listens on)
IP = "127.0.0.1" << Aqui se configura o IP para se conectar ao Servidor, o IP: 127.0.0.1, é o nosso IP de teste, apenas o IP Local pode entrar no Servidor usando este IP.

 

-- Server port (the port that server listens on)
Port = "7171"

 

-- How many logins attempts until ip is temporary disabled 
-- Set to 0 to disable
LoginTries = 5

 

-- How long the retry timeout until a new login can be made (without disabling the ip)
RetryTimeout = 5000

 

-- How long the player need to wait until the ip is allowed again
LoginTimeout = 60 * 1000

 

-- Allow clones (multiple logins of the same char)
AllowClones = false

 

-- Only one player online per account
CheckAccounts = true

 

---- DATABASE ----
-- SQL type
-- options: mysql, sqlite, odbc or pgsql
SQL_Type = "sqlite" << Aqui você consegue mudar a Plataforma do seu Servidor, Sqlite é uma plataforma onde não se pode usar Site. Já o Mysql, é permitido o uso do Site.

 

--- SQL connection part
SQL_DB = "otxserver" << Aqui é o nome da sua DB = Database, cadastrada no Banco De Dados do PhpMyAdmin. Essa linha é somente para o uso do Xampp, PhpMyAdmin.
SQLFile = "" << Aqui é o nome da sua DB = Database. O formato do arquivo estar salvo como (.s3db). Essa linha é somente para o uso da Plataforma Sqlite, sem Site.
    
-- these settings are not used by SQLite
SQL_Host = "localhost" << Aqui você tem duas opções, primeiro tente com o localhost, depois, tente com o IP de teste: 127.0.0.1
SQL_Port = 3306
SQL_User = "root"
SQL_Pass = "" << Aqui você coloca a senha cadastrada no Banco De Dados do PhpMyAdmin.

 

---- HOUSES ----
-- house rent period
-- options: daily, weekly, monthly
HouseRentPeriod = "monthly"
    
-- Price for a tile
HousePrice = 100
HouseLevel = 1
PremOnlyHouse = false    
PremOnlyBeds = false

 

--- INFO ---
-- Login message
LoginMsg = "Welcome to Tibia OS"

 

-- Server name
ServerName = ""


-- World name
WorldName = "Tibia-OS"

 

-- Server owner name
OwnerName = "Pasturry"

 

-- Server owner email
OwnerEmail = ""

 

-- Server url
URL = ""

 

-- Server location
Location = "Chile"

 

---- ITEM USAGE ----
-- Minimum amount of time between actions ('Use') (1000 = 1 second)
MinActionInterval = 200

 

-- Minimum amount of time between extended actions ('Use with...') (1000 = 1 second)
MinActionExInterval = 1000

 

---- MAP ----
-- Map location
Map = "data/world/World2.otbm"

 

-- Mapkind
-- Options: OTBM for binary map, XML for OTX map
MapKind = "OTBM"

 

-- Type of map storage, 
-- 'relational' - Slower, but possible to run database queries to change all items to another id for example.
-- 'binary' - Faster, but you cannot run DB queries.
-- To switch, load server with the current type, change the type in config.lua 
-- type /reload config and the save the server with /closeserver serversave
MapStoreType = "binary"

 

---- RATES ----
-- Rates (experience, skill, magic level, loot and spawn)
RateExp = 8
RateSkill = 7
RateMag = 4
RateLoot = 10
RateSpawn = 3

 

--- SPAWNS ---
-- Despawn configs 
-- How many floors can a monster go from his spawn before despawning
DespawnRange = 2

 

-- How many square metters can a monster be far from his spawn before despawning
DespawnRadius = 50

 

--- STATUS ---
-- Message Of The Day box that you sometimes get before you choose characters)
MOTD = "Welcome To Tibia OS"
MOTD_Num = "1"

 

-- Max number of players allowed
MaxPlayers = "100"

 

--- OTHER ---
-- Accounts password type
-- options: plain, md5, sha1
PasswordType = "plain"

 

-- Max number of messages a player can say before getting muted (default 4), set to 0 to disable muting
MaxMessageBuffer = 4

 

-- Save client debug assertion reports
SaveClientDebug = false

 

-- Should the server use account balance system or depot system for paying houses?
UseAccBalance = true

 

-- Time after player will be kicked when idle, in minutes
MaxIdleTime = 15

 

-- Level on which player will get rooked
LevelToRook = 5

 

-- TownId to which player will be teleported
RookTempleId = 4   

 

-- if your website is not showing player deaths, then keep this as false
StorePlayerDeaths = false

 

-- ID of temple to which player will get teleported when his prem end out
-- 0 to disable
-- not tested yet
FACCTempleID = 4 

 

-- Example: 1500 <= 1,5 seconds push delay
Pushdelay = 1500
    
-- Example: 10 <= every 10 minutes automatic server save
Servesave = 5

 

 

obrigado pela ajuda,, vo fazer as devidas edições aqui e ja retorno com o resultado

 

2 horas atrás, Phineasz disse:

@Wizard2018 Editei pra você o seu arquivo, ler as linhas em que eu escrevi e faz as devidas modificações.

  Ocultar conteúdo

--- DIRECTORY PATH ---
DataDir = "data/" << Aqui você coloca o diretório do Servidor.

 

--- BANS ---
NotationsToBan = 3
WarningsToFinalBan = 4
WarningsToDeletion = 5
BanLength = 1 * 24 * 60 * 60
FinalBanLength = 7 * 24 * 60 * 60
IPBanishmentLength = 24 * 60 * 60
KillsToBan = 7

 

--- COMBAT ---
-- World type
-- options: pvp, no-pvp, pvp-enforced
WorldType = "pvp"

 

-- Exhausted time in ms (1000 = 1 second) for yelling
Exhausted = 1000

 

-- Exhausted time in ms (1000 = 1 second) for aggressive spells/weapons
FightExhausted = 2000

 

-- Exhausted time in ms (1000 = 1 second) for none-aggressive spells/weapons
HealExhausted = 500

 

-- How many ms to add if the player is already exhausted and tries to yell (1000 = 1 second)
ExhaustedAdd = 200
    
-- How long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
PZLock = 60000
    
-- How long a field belongs to a player before it no longer causes PZ lock for the owner
FieldOwnershipDuration = 5000

 

-- In mili seconds
TimeToDecreaseFrags = 24 * 60 * 60 * 1000

 

-- Time white skull will remain after killing a player, in minutes
WhiteSkullTime = 3
    
-- amount of kills that leads to red skull
KillsToRedSkull = 5

 

-- Remove ammunition
-- If false, ammunition will not be removed when using distance weapons
-- (or other weapons that use ammunition)
RemoveAmmunition = false
   
-- Remove rune charges
-- This only applies to runes done using the default functions. 
-- Custom runes made using actions will not be affected.
RemoveRuneCharges = false

 

-- Remove weapon charges
-- Set to false to disable charges disappearing from weapons on use
RemoveWeaponCharges = false  

 

-- Top player on a stacked tile will be unable to heal
UHTrap = true

 

---- CONNECTION ----
-- Server ip (the ip that server listens on)
IP = "127.0.0.1" << Aqui se configura o IP para se conectar ao Servidor, o IP: 127.0.0.1, é o nosso IP de teste, apenas o IP Local pode entrar no Servidor usando este IP.

 

-- Server port (the port that server listens on)
Port = "7171"

 

-- How many logins attempts until ip is temporary disabled 
-- Set to 0 to disable
LoginTries = 5

 

-- How long the retry timeout until a new login can be made (without disabling the ip)
RetryTimeout = 5000

 

-- How long the player need to wait until the ip is allowed again
LoginTimeout = 60 * 1000

 

-- Allow clones (multiple logins of the same char)
AllowClones = false

 

-- Only one player online per account
CheckAccounts = true

 

---- DATABASE ----
-- SQL type
-- options: mysql, sqlite, odbc or pgsql
SQL_Type = "sqlite" << Aqui você consegue mudar a Plataforma do seu Servidor, Sqlite é uma plataforma onde não se pode usar Site. Já o Mysql, é permitido o uso do Site.

 

--- SQL connection part
SQL_DB = "otxserver" << Aqui é o nome da sua DB = Database, cadastrada no Banco De Dados do PhpMyAdmin. Essa linha é somente para o uso do Xampp, PhpMyAdmin.
SQLFile = "" << Aqui é o nome da sua DB = Database. O formato do arquivo estar salvo como (.s3db). Essa linha é somente para o uso da Plataforma Sqlite, sem Site.
    
-- these settings are not used by SQLite
SQL_Host = "localhost" << Aqui você tem duas opções, primeiro tente com o localhost, depois, tente com o IP de teste: 127.0.0.1
SQL_Port = 3306
SQL_User = "root"
SQL_Pass = "" << Aqui você coloca a senha cadastrada no Banco De Dados do PhpMyAdmin.

 

---- HOUSES ----
-- house rent period
-- options: daily, weekly, monthly
HouseRentPeriod = "monthly"
    
-- Price for a tile
HousePrice = 100
HouseLevel = 1
PremOnlyHouse = false    
PremOnlyBeds = false

 

--- INFO ---
-- Login message
LoginMsg = "Welcome to Tibia OS"

 

-- Server name
ServerName = ""


-- World name
WorldName = "Tibia-OS"

 

-- Server owner name
OwnerName = "Pasturry"

 

-- Server owner email
OwnerEmail = ""

 

-- Server url
URL = ""

 

-- Server location
Location = "Chile"

 

---- ITEM USAGE ----
-- Minimum amount of time between actions ('Use') (1000 = 1 second)
MinActionInterval = 200

 

-- Minimum amount of time between extended actions ('Use with...') (1000 = 1 second)
MinActionExInterval = 1000

 

---- MAP ----
-- Map location
Map = "data/world/World2.otbm"

 

-- Mapkind
-- Options: OTBM for binary map, XML for OTX map
MapKind = "OTBM"

 

-- Type of map storage, 
-- 'relational' - Slower, but possible to run database queries to change all items to another id for example.
-- 'binary' - Faster, but you cannot run DB queries.
-- To switch, load server with the current type, change the type in config.lua 
-- type /reload config and the save the server with /closeserver serversave
MapStoreType = "binary"

 

---- RATES ----
-- Rates (experience, skill, magic level, loot and spawn)
RateExp = 8
RateSkill = 7
RateMag = 4
RateLoot = 10
RateSpawn = 3

 

--- SPAWNS ---
-- Despawn configs 
-- How many floors can a monster go from his spawn before despawning
DespawnRange = 2

 

-- How many square metters can a monster be far from his spawn before despawning
DespawnRadius = 50

 

--- STATUS ---
-- Message Of The Day box that you sometimes get before you choose characters)
MOTD = "Welcome To Tibia OS"
MOTD_Num = "1"

 

-- Max number of players allowed
MaxPlayers = "100"

 

--- OTHER ---
-- Accounts password type
-- options: plain, md5, sha1
PasswordType = "plain"

 

-- Max number of messages a player can say before getting muted (default 4), set to 0 to disable muting
MaxMessageBuffer = 4

 

-- Save client debug assertion reports
SaveClientDebug = false

 

-- Should the server use account balance system or depot system for paying houses?
UseAccBalance = true

 

-- Time after player will be kicked when idle, in minutes
MaxIdleTime = 15

 

-- Level on which player will get rooked
LevelToRook = 5

 

-- TownId to which player will be teleported
RookTempleId = 4   

 

-- if your website is not showing player deaths, then keep this as false
StorePlayerDeaths = false

 

-- ID of temple to which player will get teleported when his prem end out
-- 0 to disable
-- not tested yet
FACCTempleID = 4 

 

-- Example: 1500 <= 1,5 seconds push delay
Pushdelay = 1500
    
-- Example: 10 <= every 10 minutes automatic server save
Servesave = 5

 

 

então, eu copiei e colei o config.lua q vc editou, alterei onde tinha q alterar e apaguei onde vc escreveu as partes de alteração, tudo certinho, porém na hora de abrir o executável, continuou dando o mesmo problema

Editado por Wizard2018
duplicidade de resposta (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
  • Moderador

@Wizard2018 Vixxi, o erro ali estar dizendo que Falhou Na Conexão Com A Database, ou é a DB que você estar usando ou é outra coisa ai que eu não sei. Tenta mudar a DB e ver se da certo

Meu Curso sobre Programação para OTServer

Programando OTServer

 

Peça o seu script! Entre agora mesmo no grupo

Developing

 

Conteúdos:

 

Discord: Belmont#7352

Não esqueça do REP+ :)     

Link para o post
Compartilhar em outros sites
Em 01/03/2019 em 19:04, Phineasz disse:

@Wizard2018 Vixxi, o erro ali estar dizendo que Falhou Na Conexão Com A Database, ou é a DB que você estar usando ou é outra coisa ai que eu não sei. Tenta mudar a DB e ver se da certo

 

cara, tentei outras DB, deu a mesma coisa, depois peguei outro OT pra testar, um q ja fosse SQLite, e todas as DB deu certo, o problema ta no executável eu acho...

vo ve se consigo configurar e usar o xampp... 

Link para o post
Compartilhar em outros sites

Vi que você ta usando protocolo 7.4, vou te dar 1 conselho Utilize OTHire ou OTX, avesta é uma distro MUITO antiga.

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

 

 

 

Nós somos aquilo que fazemos repetidamente. Excelência, não é um modo de agir, mas um hábito.

                                                                                                                                                                                                                                        Aristóteles 

Link para o post
Compartilhar em outros sites
5 minutos atrás, Way20 disse:

Vi que você ta usando protocolo 7.4, vou te dar 1 conselho Utilize OTHire ou OTX, avesta é uma distro MUITO antiga.

 

infelizmente eu só achei avesta :/

mas vou dar uma olhada em outros fóruns ver se acho algo, brigado pelo conselho

42 minutos atrás, Way20 disse:

Vi que você ta usando protocolo 7.4, vou te dar 1 conselho Utilize OTHire ou OTX, avesta é uma distro MUITO antiga.

 

achei tanto OTHire quanto OTX porém não vem com executável pra upa o ot, e são todos mysql tbm '-

Link para o post
Compartilhar em outros sites
Em 06/03/2019 em 14:08, Wizard2018 disse:

infelizmente eu só achei avesta :/

mas vou dar uma olhada em outros fóruns ver se acho algo, brigado pelo conselho

achei tanto OTHire quanto OTX porém não vem com executável pra upa o ot, e são todos mysql tbm '-

 

Acho que você tá achando as sources, daí tem que compilar...

Link para o post
Compartilhar em outros sites
Em 06/03/2019 em 14:08, Wizard2018 disse:

infelizmente eu só achei avesta :/

mas vou dar uma olhada em outros fóruns ver se acho algo, brigado pelo conselho

achei tanto OTHire quanto OTX porém não vem com executável pra upa o ot, e são todos mysql tbm '-

 

OTHire eu não posso afirmar com certeza, mas OTX eu sei que roda em sqlite normalmente.

 

 

 

Nós somos aquilo que fazemos repetidamente. Excelência, não é um modo de agir, mas um hábito.

                                                                                                                                                                                                                                        Aristóteles 

Link para o post
Compartilhar em outros sites
Em 10/03/2019 em 16:00, Slowstk disse:

Acho que você tá achando as sources, daí tem que compilar...

 

nem manjo de compilaçao ;/

Em 11/03/2019 em 00:11, WooX disse:

OTHire eu não posso afirmar com certeza, mas OTX eu sei que roda em sqlite normalmente.

 

to lgd, mas infelizmente soh achei otx 7.6

3 horas atrás, jakons disse:

@Wizard2018 

Tente trocar a porta para SQL_Port = 3306

 

tentei e tbm n deu certo =[

Link para o post
Compartilhar em outros sites
2 minutos atrás, Wizard2018 disse:

nem manjo de compilaçao ;/

to lgd, mas infelizmente soh achei otx 7.6

tentei e tbm n deu certo =[

 

Cara a do github aceita 3 protocolos, 7.4, 7.6 e 7.7.

 

 

 

Nós somos aquilo que fazemos repetidamente. Excelência, não é um modo de agir, mas um hábito.

                                                                                                                                                                                                                                        Aristóteles 

Link para o post
Compartilhar em outros sites
Em 14/03/2019 em 16:40, Wizard2018 disse:

nem manjo de compilaçao ;/

to lgd, mas infelizmente soh achei otx 7.6

tentei e tbm n deu certo =[

 

 

Cara, é bem fácil compilar OTX, já vem pronto, só baixar o msvc, as libs e o boost, abrir o projeto e clicar em compilar...

https://github.com/mattyx14/otxserver/wiki/Compilling-on-Windows

Link para o post
Compartilhar em outros sites

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

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.


  • Conteúdo Similar

    • Por Muvuka
      Alguem tem anti-nuker igual a esse 
       

       
    • Por Muvuka
      [SQLite] -=[TFS]=- 0.4 8.60 Alguem faz apk mobile pra mim ip: dexsoft.ddns.net
       
      pra mim
       
      https://www.mediafire.com/file/5klqnyy6k7jda0u/OTClientV8.rar/file
       
      TA TUDO AI
    • Por yuriowns
      Salve rapazes, estou precisando de um client próprio para o meu servidor 7.4, preciso que algum programador experiente e com referências faça um client do jeito que eu procuro. Responda aqui para fazermos um orçamento, obrigado!

      Não sei se estou no lugar certo, se não me desculpem e peço que movam por gentileza!
    • Por paulo thush
      Pessoal to com um grande problema, estou com um servidor TFS 1.4x 10.98, recentemente começou dar um problema, sempre quando falava "trade" com o npc dava um erros, com qual quer npc, o erro e o seguinte.
       
       
      me falaram que o problema e nas sourcer que precisava mudar umas coisas me passaram um link no github esse aqui 
      https://github.com/otland/forgottenserver/pull/3996/files
       
      porem eu vi vídeos no youtube ensinando a compilar, já vi muitos tópicos como compilar a sourcer, ai quando vou compilar da esse erro
      já tentei instalar, desinstala muitas coisas, alterar também não vai, minha sourcer e essa 
      https://github.com/otland/forgottenserver
       
       
      Alguém poderia me ajuda com esse erro, ou ate compilar 100% as sourcer. os Tópicos que eu tentei para compilar e esse daqui, se não poder o link me desculpe.
      https://forums.otserv.com.br/index.php?/forums/topic/169234-windowsvc2019-compilando-sources-tfs-14-vcpkg/
       
      alguém me da uma luz por favor kkk
    • Por Ryzek
      Uso tfs 0.4 trunk3884 bem simples.
      Queria acrescentar magic effects para 255 pois o meu só vai até 69. Encontrei um tópico que falava sobre porém parece ter sido removido, não consigo acessar!
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo