Ajuda - Busca - Membros - Calendário
Versão Completa: [Tibia/OT]Config.LUA
htmlstaff.org - forum > Canal, forum, lista, site e outros > Jogos > Artigos/tutoriais e dicas de Jogos
Puro_Osso
Façam o seguinte, abram o Bloco de notas, cole o código e salve no formato .LUA...
Editem do jeito que quiser.

QUOTE
---------------------------- OTServ configuration ------------------------------

-- datadir
datadir = "data/"

-- sets what map to load
mapfile = "data/world/test.otx"

-- the message the player gets when he logs in
loginmsg = "Bem Vindo ao Chen's Server."

-- the port otserv listens on
port = "7171"

-- name of our server
servername = "Chen's Server"

-- name of the owner of our server
ownername = "Puro_Osso"

-- email of the owner of our server
owneremail = ""

-- the url for more server info
url = ""

-- the location of the server
location = "Brasil"

-- the ip the server should redirect too
ip = "127.0.0.1"

-- The messagebox you sometimes get before you choose characters
motd = "Welcome to Chen's Server"
motdnum="1"

-- use md5 passwords for accounts, yes/no
md5passwords = "no"

-- world type. options: pvp, no-pvp, pvp-enforced
worldtype = "pvp"

-- max number of players allowed
maxplayers = "50"

-- exhausted time in ms (1000 = 1sec)
exhausted = 200

-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec)
exhaustedadd = 0

-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec)
pzlocked = 10*1000

-- allow multiple logins of the same char
allowclones = 0

-- vocation names
vocations = {"a master sorcerer", "an elder druid", "a royal paladin", "an elite knight"}


--- SQL part
sql_host = "localhost"
sql_user = "root"
sql_pass = ""
sql_db  = "otserv"


--- SQL MAP part
sqlmap = "test_map"
map_host = "localhost"
map_user = "root"
map_pass = ""
map_db  = ""

---------------------------- YurOTS configuration ------------------------------

-- how often do server saves its state
autosave = 5*60*1000

-- experience multiplier (how much faster you got exp from monsters)
expmul = 10

-- skill multipliers: 1 - rl tibia, 10 - ten times faster etc. {no-voc, sorcerer, druid, paladin, knight}
weaponmul = {"1", "100", "100", "100", "100"}
shieldmul = {"1", "100", "100", "100", "100"}
manamul = {"1", "100", "100", "100", "100"}

-- how much points of life,mana,cap do you get when advancing {no-voc, sorcerer, druid, paladin, knight}
capgain = {"100", "100", "100", "100", "100"}
managain = {"100", "100", "100", "100", "100"};
hpgain = {"100", "100", "100", "100", "100"};

-- how much faster do you recovery life,mana after eating food
healthtickmul = 50
manatickmul = 50

-- cap system enabled = 1, disabled = 0
capsystem = "yes"

-- how much % of exp/skills/stuff do you lose when dying
diepercent = 7

-- how many summons player can have
maxsummons = 5

-- summons for sorc/druid only = 1, for all vocations = 0
summonsallvoc = "no"

-- anti-afk - maximum idle time to kick player
kicktime = 15*60*1000  -- 15 minutes

-- how many unjustified kills to get a red skull
redunjust = 3

-- how many unjustified kills to get banned
banunjust = 20

-- how long do you have white skull after killing player
whitetime = 15*60*1000  -- 15 minutes

-- how long do you have red skull
redtime = 6*60*60*1000  -- 6 hours

-- how long do you have to wait to lose 1 unjustified kill
fragtime = 12*60*60*1000  -- 12 hours

-- damage of burst arrows blast
-- default is from (2*lvl+3*mlvl)*0.24 to (2*lvl+3*mlvl)*0.55
burstarrowdmg = {"2.0", "3.0", "0.24", "0.55"}


Qualquer dúvida, posta aí...

flw.vlw
Felipekf
POr favor me ajuda a fazer um ot
Felipefiorentin@hotmail.com
c tive um tmpo ajuda aee
XD
Uzumaki Naruto
ow puro-osso me add no msn to precisando muito da sua ajuda ^^
igor_taiger@hotmail.com
por favorrrr
Rafael Hamdan
Fala Puro Osso!

Monto server de tibia há 3 anos, e tenho um atualmente.
Lembre-se que esse config.lua rodará somente no YurOTS.
Outros servidores precisam de mais coisas, mais configurações, e outros menos.

Depois vou postar um tuto de como criar um servidor de tibia com as ultimas versões, novos itens e arrumar os principais bugs.

//Atenciosamente,
Rafael Hamdan ~~
Esta é uma versão simplificada de nosso conteúdo principal. Para ver a versão completa com maiores informações, formatação e imagens, por favor clique aqui.
Invision Power Board © 2001-2009 Invision Power Services, Inc.