AL

Config.lua 100%

Por allankardec, 22 de abr. de 2007 em Tutoriais de Scripting

otserv
tibia
30
18k
hassioH
03 de maio de 2007 às 21:50

Bom pra novatos...

parabéns

2 semanas depois...
vitor_tucV
11 de maio de 2007 às 17:33

:getlost: Onde está ( mana , life ) ... in conf.lua ?? :blink:

 

 

Valendo sempre !

2 semanas depois...
franlineF
19 de maio de 2007 às 05:59

Perfeito!

me ajudou muito..pois tava meio bugado aki!

vlw!!! :*

franlineF
19 de maio de 2007 às 06:00

Vc tamem pode faze de otras versoes pro povo que ainda usa..

Editado Maio 19 por franline

1 mês depois...
victor222V
08 de junho de 2007 às 00:09

Como que eu faço pra tira exhausted???

 

tah ai a config.lua

 

-------- config.lua --------

-- Config file for OTServ --

----------------------------

 

-- data directory location

datadir = "data/"

 

-- map location

map = "data/world/test.otbm"

 

-- mapkind

-- options: OTBM for binary map, XML for OTX map

mapkind = "OTBM"

 

-- map store location (for XML only)

mapstore = "data/world/test-mapstore.xml"

 

-- house store location (for XML only)

housestore = "data/world/test-housestore.xml"

 

-- bans storage (for XML only)

banIdentifier = "data/bans.xml"

 

-- server name

servername = "Montenegro 7.92"

 

-- server location

location = "Brazil"

 

-- server ip (the ip that server listens on)

ip = "auto"

 

-- server port (the port that server listens on)

port = "7171"

 

-- server url

url = "http://www.tibiaot.rg.com.br"

 

-- server owner name

ownername = "GOD Montenegro"

 

-- server owner email

owneremail = "Seu E-mail"

 

-- world type

-- options: pvp, no-pvp, pvp-enforced

worldtype = "pvp"

 

-- exhausted time in ms (1000 = 1 second)

exhausted = 0

 

-- exhausted time in ms for non-aggressive spells (1000 = 1 second)

exhaustedheal = 0

 

-- 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*1000

 

-- house rent period

-- options: daily, weekly, monthly

houserentperiod = "weekly"

 

-- motd (the message box that you sometimes get before you choose characters)

motd = "Bem-Vindos Ao Montenegro"

motdnum = "1"

 

-- login message

loginmsg = "Bem-Vindos Ao Montenegro"

 

-- 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*1000

 

-- how long the player need to wait until the ip is allowed again

logintimeout = 0

 

-- allow clones (multiple logins of the same char)

-- options: 0 (no), 1 (yes)

allowclones = 0

 

-- max number of players allowed

maxplayers = "100"

 

-- SQL type

-- options: mysql, sqlite

sql_type = "mysql"

 

--- MySQL part (ignore if you are using SQLite)

sql_host = "localhost"

sql_user = "root"

sql_pass = ""

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 = "Montenegro 7.92 RPG"

 

-- time to save the server (default = 5)

autosave = 1

 

-- do you want to enable cap system? (yes/no)

capsystem = "no"

 

-- anti-afk - maximum idle time to kick player (1 = 1min)

kicktime = 15

 

-- how many summons player can have

maxsummons = 2

 

-- 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 = "no"

 

-- 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 = 2

 

-- monster lootrating (how much faster you get items from monsters)

lootmul = 4

 

-- skill multiplier (another multiplier in data/vocations.xml)

skillmul = 100

 

-- manaspent multiplier (another multiplier in data/vocations.xml)

manamul = 100

 

-- how many monsters spawn at a time in 1 spawn

spawnmul = 1

 

-- Price for each SQM when buying a house

houseprice = 0

 

-- level to buy a house

houselevel = 10

 

-- maximum death entries per player

maxdeathentries = 10

 

-- max message buffer (default = 4)

-- how fast you get muted

messagebuffer = 4

 

-- minimum action interval (default = 200)

minactioninterval = 200

 

-- protection for those under this level

protectionlimit = 20

 

-- critical damage and chance {chance, extra damage percent}

criticaldamage = {"0", "0"}

 

---------------------------------------------------------------------------------------

-------------------------- Skull System configuration -------------------------

---------------------------------------------------------------------------------------

 

-- time to lose a white skull (1 = 1 minute)

whitetime = 15

 

-- time to lose one frag (1 = 1 minute)

fragtime = 1*60

 

-- ban unjust, how many frags you need to get banned (1 = 1 frag)

banunjust = 6

 

-- red skull unjust, how many frags you need to get a red skull (1 = 1 frag)

redunjust = 3

 

-- bantime, for how long the player is banned (1 = 1 hour)

bantime = 24*1

 

--------------------------------------------------------------------------------------

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

 

 

 

 

 

 

 

 

nessa parte

-- exhausted time in ms (1000 = 1 second)

exhausted = 0

 

-- exhausted time in ms for non-aggressive spells (1000 = 1 second)

exhaustedheal = 0

 

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

exhaustedadd = 0

 

eu colokei tudo zero mas o certo naum seria sai o exhausted ou tem que fazer outra coisa

agradeço se responderem

flws

1 mês depois...
-LMS--
08 de julho de 2007 às 11:34

Ótimo tutorial kra, poucos que já vi são tão bem organizados.

Parabéns

Editado Julho 8 por -LMS-

2 semanas depois...
tavares1000T
16 de julho de 2007 às 12:04

ja sabia maisvai ajudar muita gente concerteza

belo tuto

filipiesF
17 de julho de 2007 às 19:02

po,deve ter dado um trabalhao eim :D

 

mas o tutorial ta bom ^^

filipiesF
17 de julho de 2007 às 19:03

po,deve ter dado um trabalhao eim :D

 

mas o tutorial ta bom ^^

GM VolcanoG
20 de julho de 2007 às 21:09

Parabens ^^

Ficou ótimo, + vc poderia por uns "

"..

Eu axo que ficaria melhor!!

Editado Julho 20 por GM Volcano

4 meses depois...
21 de novembro de 2007 às 20:29

Ajudou bastante, valew :nuts:

williamstsW
23 de novembro de 2007 às 16:41

Otimo tutor,

tinha coisas que eu nem sabia para que serviam....

=P

Apesar de ser um tutor no qual muitos postam

identicos, esse se torna um dos mais completos,

pois contem a explicação de cada iten, e está na

mesma ordem do config.lua original!

Esta de parabens Kardec

8 meses depois...
vitimanV
27 de julho de 2008 às 17:03

Boa kra tava

presisando disso pra meu servidor

pq eu nao tinha os Soucer Lua Comum

so editado ai nao pegava

3 anos depois...
JaraguahOtJ
09 de setembro de 2011 às 21:35

eii tem como tu mim responder uma coisa?

é que no meu ot eu coloquei o tfs 0.4 so que as msg de broadcast estão bem rapidas entende, tipo de 1 em 1 segundo envia uma tipo de premium tlg !rank e etc, tem como tu mim falar como eu posso aumentar o tempo de enviar essas msg se nao qual o arquivo eu vo eu ja procurei o arquivo broadcast so que nao vem com quase nada de informaçoes entede.

 

do 3 rep

1 mês depois...
PardalziinP
25 de outubro de 2011 às 21:55

Cara tá otimo o tutorial, perfeito.. com ctz irei indicar para varias pessoas

 

@filipifoda double post é considerado flood ou algo do tipo.. DENUNCIADO