Posta o config.lua
- Fórum
- OTServ
- Suporte
- Resolvidos
- Ajuda Player.cpp
info
Grupo: Herói
Registrado: 25/10/11
Posts: 2.2k
Reputação: +862
Gênero: Masculino
Char no Tibia: Sociopata

info
Grupo: Campones
Registrado: 16/10/15
Posts: 67
Reputação: +1

-------- config.lua --------
-- Config file for OTServ --
----------------------------
-- data directory location
datadir = "data/"
-- map location
map = "data/world/Evolutions.otbm"
-- mapkind
-- options: OTBM for binary map, XML for OTX map
mapkind = "OTBM"
-- map store location (for XML only)
mapstore = "data/world/Evolutions-mapstore.xml"
-- house store location (for XML only)
housestore = "data/world/Evolutions-housestore.xml"
-- bans storage (for XML only)
banIdentifier = "data/bans.xml"
-- server name
servername = "Drink Servidor 7.92 RPG"
-- server location
location = "Brasil"
-- server ip (the ip that server listens on)
ip = "186.192.1.212"
-- server port (the port that server listens on)
port = "7171"
-- server url
url = "drink.servegame.com"
-- server owner name
ownername = "Drink Server"
-- server owner email
owneremail = "Drink Server Souls RPG."
-- world type
-- options: pvp, no-pvp, pvp-enforced
worldtype = "pvp"
-- exhausted time in ms (1000 = 1 second)
exhausted = 800
-- exhausted time in ms for non-aggressive spells (1000 = 1 second)
exhaustedheal = 1000
-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1 second)
exhaustedadd = 0
-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
pzlocked = 60*3000
-- house rent period
-- options: daily, weekly, monthly
houserentperiod = "weekly"
-- motd (the message box that you sometimes get before you choose characters)
motd = "Bem vindo ao Drink Server RPG 7.92."
motdnum = "1"
-- login message
loginmsg = "Sejam Bem Vindos ao Drink Server RPG."
-- how many logins attempts until ip is temporary disabled
-- set to 0 to disable
logintries = 0
-- how long the retry timeout until a new login can be made (without disabling the ip)
retrytimeout = 60*5000
-- how long the player need to wait until the ip is allowed again
logintimeout = 3000
-- allow clones (multiple logins of the same char)
-- options: 0 (no), 1 (yes)
allowclones = 0
-- max number of players allowed
maxplayers = "150"
-- SQL type
-- options: mysql, sqlite
sql_type = "mysql"
--- MySQL part (ignore if you are using SQLite)
sql_host = "localhost"
sql_user = "root"
sql_pass = "thttu"
sql_db = "otserv"
--- SQLite part (ignore if you are using MySQL)
sqlite_db = "db.s3db"
-------------------------------------------------------------------------------------------------
---------------------------- Evolutions Basic Configuration ----------------------------
-------------------------------------------------------------------------------------------------
-- world name (shows in the character list)
worldname = "Drink Continent"
-- time to save the server (default = 1)
autosave = 1
-- do you want to enable cap system? (yes/no)
capsystem = "yes"
-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 15
-- how many summons player can have
maxsummons = 1
-- maximum items in depot
maxdepotitems = 1000
-- learn spells (yes/no)
learnspells = "no"
-- do you want everyone to have premium
freepremium = "yes"
-- remove ammunation? (bolts/arrows)
removeammunation = "no"
-- remove rune charges? (sd/hmm/gfb)
removerunecharges = "yes"
-- use item hotkeys? (yes/no)
itemhotkeys = "yes"
-- shoot trough battle window on players? (yes/no)
battlewindowplayers = "yes"
-- use account manager? (yes/no)
accountmanager = "yes"
-- summon follows master everywhere
summonsfollow = "yes"
-- allow outfit change
outfitchange = "yes"
-- damage to players with the same feet
feetdamage = "yes"
-- guild system type (SQL only)(ingame/online)
-- online guild system requires the latest Swelia AAC
guildsystem = "ingame"
-------------------------------------------------------------------------------------
----------------------------------- Multipliers -----------------------------------
-------------------------------------------------------------------------------------
-- experience multiplier (how much faster you got exp from monsters)
expmul = 1
-- experience multiplier for pvp-enforced (how much faster you got exp from players)
expmulpvp = 1
-- monster lootrating (how much faster you get items from monsters)
lootmul = 7878
-- skill multiplier (another multiplier in data/vocations.xml)
skillmul = 5454
-- manaspent multiplier (another multiplier in data/vocations.xml)
manamul = 4545
-- how many monsters spawn at a time in 1 spawn
spawnmul = 2
-- Price for each SQM when buying a house
houseprice = 25
-- level to buy a house
houselevel = 300
-- maximum death entries per player
maxdeathentries = 10
-- max message buffer (default = 4)
-- how fast you get muted
messagebuffer = 8
-- minimum action interval (default = 200)
minactioninterval = 200
-- protection for those under this level
protectionlimit = 10
-- chance to make a critical hit (10 = 10%)
criticalhit = 10
-- sistema de critical chance and damage {chance, vezes(x) damage}
criticaldamage = {"15", "3"}
---------------------------------------------------------------------------------------
-------------------------- Skull System configuration -------------------------
---------------------------------------------------------------------------------------
-- time to lose a white Drink (1 = 1 minute)
whitetime = 3
-- time to lose one frag (1 = 1 minute)
fragtime = 200*0.5 --1440 = 24h--
-- ban unjust, how many frags you need to get banned (1 = 1 frag)
banunjust = 7
-- red Drink unjust, how many frags you need to get a red Drink (1 = 1 frag)
redunjust = 5
-- bantime, for how long the player is banned (1 = 1 hour)
bantime = 2
--------------------------------------------------------------------------------------
------------------------------- GM access rights --------------------------------
--------------------------------------------------------------------------------------
-- access to walk into houses and open house doors
accesshouse = 3
-- access to login without waiting in the queue or when server is closed
accessenter = 1
-- access to ignore damage, exhaustion, cap limit and be ignored by monsters
accessprotect = 3
-- access to broadcast messages and talk in colors (#c blabla - in public channels)
accesstalk = 1
-- access to move distant items from/to distant locations
accessremote = 3
-- access to see id and position of the item you are looking at
accesslook = 2
Editado Outubro 29 por deivisonamorim
info
Grupo: Campones
Registrado: 16/10/15
Posts: 67
Reputação: +1

@up
info
Grupo: Campones
Registrado: 16/10/15
Posts: 67
Reputação: +1

@up
info
Grupo: Campones
Registrado: 16/10/15
Posts: 67
Reputação: +1

?@up
info
Grupo: Campones
Registrado: 13/04/15
Posts: 73
Reputação: +18
Char no Tibia: [ADM] Harlock

Nem posso ajudar, tou muito ocupado.
Sem Flood
info
Grupo: Campones
Registrado: 16/10/15
Posts: 67
Reputação: +1

@up
info
Grupo: Conde
Registrado: 14/04/15
Posts: 956
Reputação: +333
Gênero: Masculino

Caro membro, seu tópico foi movido de Otserv > Programação para Otserv > Suporte Otserv.



info
Grupo: Campones
Registrado: 16/10/15
Posts: 67
Reputação: +1
Editado Outubro 29 por deivisonamorim