..:> MlodY <:..
Administrator
Dołączył: 16 Lis 2005
Posty: 91
Przeczytał: 0 tematów
Ostrzeżeń: 0/5 Skąd: Z dUzEgO pOkOjU ;D
|
Wysłany: 48805 LisNiedziela2005202005 Temat postu: Robimy OTSa czesc 2 - dostosowujemy OTSa do naszych potrzeb |
|
|
Wchodzimy do folderu glownego OTSa (wypakowalismy tam przed chwila spakowany folder ) i mamy pliczek config.lua Klikamy prawym na niego edytuj i jedziemy:
Cytat: |
---------------------------- OTServ configuration ------------------------------
-- datadir [ZOSTAWIAMY]
datadir = "data/"
-- sets what map to load [FOLDER Z MAPA I JEJ NAZWA]
mapfile = "data/world/test.otx"
-- the message the player gets when he logs in [WIADOMOSC DO LOGUJACEGO SIE GRACZA]
loginmsg = "Witaj na naszym OTSie. ACC MAKER: [link widoczny dla zalogowanych]"
-- the port otserv listens on [PORT ZOSTAWIAMY]
port = "7171"
-- name of our server [NAZWA SERWERA]
servername = "OTS By MlodY"
-- name of the owner of our server [IMIE ZALOZYCIELA]
ownername = "MlodY"
-- email of the owner of our server [E-MAIL]
owneremail = ""
-- the url for more server info [gdzie znajdziemy informacje o serze]
url = "http://mlody.no-ip.info http://otsmlody.fora.pl"
-- the location of the server [raczej polska ;D]
location = "Poland"
-- the ip the server should redirect too [NASZE IP !!!!!!!!!!!!!!!]
ip = "82.143.136.43"
-- The messagebox you sometimes get before you choose characters [PRZYWITANIE GRACZA]
motd = "Welcome On OTS by MlodY [link widoczny dla zalogowanych]"
motdnum="1" [1-WLACZONE, 0-WYLACZONE]
-- use md5 passwords for accounts, yes/no [SAM NIE KUMAM ALE ZOSTAWIAMY ON]
md5passwords = "no"
-- world type. options: pvp, no-pvp, pvp-enforced [3 TRYBY DO WYBORU, MAPA JEST PRZYSTOSOWANA DO NO-PVP]
worldtype = "no-pvp"
-- max number of players allowed [MAX GRACZY]
maxplayers = "30"
-- exhausted time in ms (1000 = 1sec) [TO CZAS KTORY MUSIMY ODCZEKAC ZEBY PONOWNIE ODDAC NP STRZAL Z HMM]
exhausted = 800
-- exhaustion time for healing spells (1000 = 1sec) [TO CO WYZEJ, TYCZY SIE DO UHA]
exhaustedheal = 800
-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec) [ TO SIE MANY TYCZY NP MANA FLUIDY]
exhaustedadd = 300
-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec) [NIE WIEM :p:p:p]
pzlocked = 10*1000
-- allow multiple logins of the same char [JEZELI JEST 1 MOZEMY WLAZIC NA JEDNO KONTO NIESKONCZENIE WIELE RAZY 0 OZNACZA WYLACZENIE OPCJI]
allowclones = 0
-- vocation names [OPCJE CO MA SIE WYSWITLIC PO KLIKNIECIU LOOK NA GRACZA, Z PROMOCJA I BEZ PROMOCJI]
vocations = {"a sorcerer", "a druid", "a paladin", "a knight"}
promoted_vocations = {"a master sorcerer", "an elder druid", "a royal paladin", "an elite knight"}
--- SQL part [NIE RUSZAMY]
sql_host = "localhost"
sql_user = "root"
sql_pass = ""
sql_db = "otserv"
--- SQL MAP part [TEGO TEZ]
sqlmap = "test_map"
map_host = "localhost"
map_user = "root"
map_pass = ""
map_db = ""
---------------------------- YurOTS configuration ------------------------------
-- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour) [CZAS AUTO SAVU NA MAPIE ;D]
autosave = 5
-- experience multiplier (how much faster you got exp from monsters) [ WYNIKA Z TXT ;p]
expmul = 10
-- experience multiplier for pvp-enforced (how much faster you got exp from players)
expmulpvp = 2
-- skill multipliers: 1 - rl tibia, 10 - ten times faster etc. {no-voc, sorcerer, druid, paladin, knight} [TO JEST CIEKAWA RZECZ, POROWNANIE DO TIBI RL I OTSA, SZYBKOSC DODAWANIA SIE SKILLI!!!!]
weaponmul = {"1", "1", "1", "1", "40"}
distmul = {"1", "1", "1", "40", "1"}
shieldmul = {"1", "1", "1", "20", "20"}
manamul = {"3", "3", "2", "2", "2"}
-- how much points of life,mana,cap do you get when advancing {no-voc, sorcerer, druid, paladin, knight} [CAPASITY, MOZEMY WOGOLE WYLACZYC]
capgain = {"10", "10", "10", "20", "25"}
managain = {"5", "30", "30", "15", "5"}
hpgain = {"5", "5", "5", "10", "15"}
-- how much faster do you recovery life,mana after eating food (1 - rl tibia) [PO ZJEDZENIU FOODA CO CHWILE DODAJE SIE NAM ZYCIE I MANA, TUTAJ TO USTAWIAMY]
healthtickmul = 10
manatickmul = 15
-- do you want to enable cap system (yes/no) [CAP SYSTEM ]
capsystem = "no"
-- do you want players to learn spells before they can use them (yes/no) [POZNAWIANIE CZAROW, NO ZNACZY ZE MAMY ODRAZU WSZYSTKIE CZARY ;D]
learnspells = "no"
-- how much % of exp/skills/stuff do you lose when dying [JEZELI GINIEMY TRACIMY SKILLE, USTAWIAMY JAK CHCEMY]
diepercent = 5
-- how many summons player can have [MAKS POTWOROW KTORE GRACZ MOZE ZSUMMONOWAC
maxsummons = 2
-- do you want to give summons for all vocations (yes/no) [OPCJA ZE WSZYSTKIE PROFESJE MOGA SUMMONOWAC POTWORY]
summonsallvoc = "no"
-- chance of losing a spear when shot (0 - none lost, 100000 - all lost)
spearlosechance = 50
-- anti-afk - maximum idle time to kick player (1 = 1min) [TIBIA RL ROX ;D SYSTEM ANTYAFKOWY ]
kicktime = 10
-- how many unjustified kills to get a red skull [ILE ZABIC Z WHITE SKULLEM TO RED]
redunjust = 3
-- how many unjustified kills to get banned [ILE ZABIC TO BAN]
banunjust = 5
-- how long do you have white skull after killing player (1 = 1min) [CZAS TRAWIANIA SKULLA]
whitetime = 15
-- how long do you have red skull (1 = 1min) [CZAS TRWANIA RED SKULLA]
redtime = 6*60
-- how long do you have to wait to lose 1 unjustified kill (1 = 1min) [CZAS TRAWIANIA WHITE SKULLA]
fragtime = 12*60
-- damage of burst arrows blast [OBRAZENIA OD BURST ARROWS]
-- default is from (1*lvl+5*mlvl)*0.24 to (1*lvl+5*mlvl)*0.55
burstarrowdmg = {"1.0", "5.0", "0.24", "0.55"} |
Post został pochwalony 0 razy
|
|