• Index
  •  » Artykuły
  •  » Confing.LUA Trevland i YurOTS (Konfiguracja) (7.6)

#1 2009-04-08 13:05:37

Satura

Administrator

Zarejestrowany: 2009-04-07
Posty: 7
Punktów :   

Confing.LUA Trevland i YurOTS (Konfiguracja) (7.6)

Oto tu wam pokażę jak skonfigurować Confing.LUA w YurOTS i Trevland

---------------------------- OTServ configuration ------------------------------

-- datadir
datadir = "data/" <-----Zostawić

-- sets what map to load
map = "data/world/Test.otbm" <-----Zostawić

-- OTBM for binary, SQL for SQL map, XML for OTX maps <-----Zostawić
mapkind = "OTBM"

-- SQL for acc/player info from SQL, XML for acc/player info from XML <-----Lepiej Zostawić
sourcedata = "XML"

-- the message the player gets when he logs in
loginmsg = "Tekst" <-----Ten tekst pojawi się w pierwszym oknie jak gracz będzie się chciał zalogować.

-- the port otserv listens on
port = "7171" <-----Port Serwera (Zazwyczaj jest to 7171)

-- name of our server
servername = "Nazwa" <-----Nazwa Serwera

-- name of the owner of our server
ownername = "Nazwa" <-----Nazwa Wlasciciela

-- email of the owner of our server
owneremail = "E-Mail" <-----E-Mail wlasciciela

-- the url for more server info
url = "LINK" <-----Link do informacji o serwerze

-- the location of the server
location = "Miejsce" <-----Gdzie znajduje sie serwer

-- the ip the server should redirect too
ip = "IP" <-----IP Serwera

-- The messagebox you sometimes get before you choose characters
motd = "Witamy na Basta Lubelski OTS.Tworzony przez Muffer." <-----Co będzie pisać po zalogowaniu gracza na serwer
motdnum="0" <-----Zostawić

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

-- world type. options: pvp, no-pvp, pvp-enforced
worldtype = "no-pvp" <-----Tryb serwera PVP,NO-PVP,PVP-ENFORCED

-- max number of players allowed
maxplayers = "35" <-----Maksymalna ilość graczy na serwerze

-- exhausted time in ms (1000 = 1sec)
exhausted = 150 <-----Exhausted na czas blokowania spamowania

-- exhaustion time for healing spells (1000 = 1sec)
exhaustedheal = 850 <-----Exhausted na blokowanie czarów uleczających

-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec)
exhaustedadd = 250 <-----Exhausted na używanie czarów atakujących

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

-- allow multiple logins of the same char
allowclones = 0 <-----Czy można się zalogować na 1 postać parenaście osób (0/1) = (TAK/NIE)

-- vocation names
vocations = {"a sorcerer", "a druid", "a paladin", "a knight"} <-----Nazwy VOCATION Free Account
promoted_vocations = {"a master sorcerer", "an elder druid", "a royal paladin", "an elite knight"} <-----Nazwy VOCATION Premium Account


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


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

------------------------- YurOTS basic configuration ---------------------------

-- name of your world (seen on the character list when logging in)
worldname = "Nazwa serwera 2" <-----Nazwa serwera 2

-- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour)
autosave = 10 <-----Co ile min na być save

-- do you want to enable cap system? (yes/no)
capsystem = "no" <-----Cap system (YES/NO)

-- do you want players to learn spells before they can use them? (yes/no)
learnspells = "no" <-----Czy gracze muszą kupywać czary

-- do you want to give premium account to all players? (yes/no)
freepremmy = "no" <-----Czy gracze mają darmowe Premium Account

-- do you want premium players to wait in queue as others? (yes/no)
queuepremmy = "no" <-----Czy gracze muszą kupywac Premium Account

-- how much % of {exp, mana, skill, eq, bp} do you lose when dying
diepercent = {"8", "8", "8", "8", "100"} <-----Ile % spada lub co wypada po Dedzie

-- how many summons player can have
maxsummons = 2 <-----Ile mozna maksymalnie stworzyc summonow

-- do you want to give summons for all vocations? (yes/no)
summonsallvoc = "no" <-----Czy wszystkie Profesje moga tworzyc summony

-- chance of losing a spear when shot (0 - none lost, 100000 - all lost)
spearlosechance = 50 <-----Czy jak walisz spearami i nie pocelujesz to znikaja

-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 15 <-----Po ilu min. wyrzuci gracza bez ruchu z serwera

-- maximum number of items player can keep in his/her depot
maxdepotitems = 1000 <-----Maksymalna ilosc itemow w Depozycie

-- maximum number of items on a house tile (including those in containers)
maxhousetileitems = 1000 <-----Maksymalna ilosc itemkow w Domku

-- how much death entries are saved in players file (old are deleted)
maxdeathentries = 10 <-----Po ilu dniach niegrania usuwa chara

-- mana consumend by {snakebite, moonlight, volcanic, quagmire, tempest} rod
rodmana = {"2", "3", "5", "8", "13"} <-----Ile many ma zabierac dany Rod

-- mana consumed by wand of {vortex, dragonbreath, plague, cosmic energy, inferno}
wandmana = {"2", "3", "5", "8", "13"} <-----Ile many ma zabierac dany Wand

-- shooting range of {snakebite, moonlight, volcanic, quagmire, tempest} rod
rodrange = {"4", "3", "2", "1", "3"} <-----Zadawane obrażenia danego Roda

-- shooting range of wand of {vortex, dragonbreath, plague, cosmic energy, inferno}
wandrange = {"4", "3", "2", "1", "3"} <-----Zadawane obrażenia danego Wanda

-- damage of burst arrows blast
-- default is from (1*lvl+5*mlvl)*0.24 to (1*lvl+5*mlvl)*0.55 <-----Zadawane obrażenia
burstarrowdmg = {"1.0", "5.0", "0.24", "0.55"} <-----Zadawane obrażenia

--------------------------- Multipliers and gains ------------------------------

-- experience multiplier (how much faster you got exp from monsters)
expmul = 5 <-----Jaki ma byc EXP na serwie

-- experience multiplier for pvp-enforced (how much faster you got exp from players)
expmulpvp = 0 <-----Jaki EXP podaczas PVP-ENFORCED

-- skill multipliers: 1 - rl tibia, 10 - ten times faster etc. {no-voc, sorcerer, druid, paladin, knight}
weaponmul = {"2", "3", "3", "5", "20"} <-----Skille broni dla danej profesji
distmul = {"2", "3", "3", "20", "5"} <-----Skille dystansu dla danej profesji
shieldmul = {"2", "5", "5", "20", "20"} <-----Skille obrony dla danej profesji
manamul = {"3", "15", "15", "5", "5"} <-----Skille magic-lvla dla danej profesji

-- how much points of life,mana,cap do you get when advancing {no-voc, sorcerer, druid, paladin, knight}
capgain = {"10", "10", "10", "20", "25"} <-----Ile ma dostawać dana profesja za lvl Capa
managain = {"5", "30", "30", "15", "5"} <-----Ile ma dostawać dana profesja za lvl Many
hpgain = {"5", "5", "5", "10", "15"} <-----Ile ma dostawać dana profesja za lvl Hp

-- how much faster do you recovery life,mana after eating food (1 - rl tibia)
healthtickmul = 10 <-----Ile dostaje sie zycia po zjedzeniu food
manatickmul = 5 <-----Ile dostaje sie many po zjedzeniu food

-------------------------------- Skull system ----------------------------------

-- how many unjustified kills to get a red skull
redunjust = 3 <-----Po zabiciu ilu ludzi dostaje sie Red-Skulla

-- how many unjustified kills to get banned
banunjust = 6 <-----Po zabiciu ilu ludzi dostaje sie Bana

-- how long do you have white skull after attacking player (1 = 1min)
hittime = 1 <-----Ile trwa White-Skull po zaatakowaniu postaci

-- how long do you have white skull after killing player (1 = 1min)
whitetime = 15 <-----Ile trwa White-Skull po zabiciu postaci

-- how long do you have red skull (1 = 1min)
redtime = 6*60 <-----Ile trwa Red-Skull

-- how long do you have to wait to lose 1 unjustified kill (1 = 1min)
fragtime = 12*60 <-----Ile trwa Frag

------------------------------ GM access rights --------------------------------

-- access to walk into houses and open house doors
accesshouse = 3 <-----Kto może otwierać drzwi wszystkich domków (0=gracz/1=tutor/2=senior tutor/3=gm/4=god)

-- access to login without waiting in the queue or when server is closed
accessenter = 3 <-----Kto może wchodzic na serwer podczas gdzy serwer jest zamkniety (0=gracz/1=tutor/2=senior tutor/3=gm/4=god)

-- access to ignore damage, exhaustion, cap limit and be ignored by monsters
accessprotect = 3 <-----Kogo nie można dedzić,nie ma exhausted,nie posiada cap i nie bija go potwory (0=gracz/1=tutor/2=senior tutor/3=gm/4=god)

-- access to broadcast messages and talk in colors (#c blabla - in public channels)
accesstalk = 1 <-----Kto moze pisac komenda ( /B ) (0=gracz/1=tutor/2=senior tutor/3=gm/4=god)

-- access to move distant items from/to distant locations
accessremote = 3 <-----Ktro może przestawiac itemki nie stojac kolo niego (0=gracz/1=tutor/2=senior tutor/3=gm/4=god)

-- access to see id and position of the item you are looking at
accesslook = 3 <-----Kto widzi ID itemkow (0=gracz/1=tutor/2=senior tutor/3=gm/4=god)

----------------------------- Treveland Extra ------------------------------------

-- Life Ring Configuration
LifeRingHealth = "10" <-----Ile daje many Health Ring
LifeRingMana = "10" <-----Ile daje many Health Ring

-- ROH Configuration
RoHHealth = "15" <-----Ile daje zycia Ring of Healing
RoHMana = "15" <-----Ile daje many Ring of Healing


-- house price for 1 sqm, 1 = 1gp/sqm
priceforsqm = 1000 <-----Ile GP kosztuje 1 kratka domku

-- max houses for player
maxhouses = 1 <-----Maksymalna ilosc dowmkow

Offline

 
  • Index
  •  » Artykuły
  •  » Confing.LUA Trevland i YurOTS (Konfiguracja) (7.6)

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.shinsengumi.pun.pl www.feralheart-super-gierka.pun.pl www.ib4um.pun.pl www.fightingdreamers.pun.pl www.clubpenguin.pun.pl