Zrobi?em serv (m?j pierwszy). raczej wszystko wype?ni?em. Po otsie latam ;D
Poprosi?em koleg?, aby sprawdzi?, a on m?wi, ?e off.
Kto? by mi m?g? pom?c ?
I jak res to items z bagu znika. Kto pomo?e oczywi?cie - GM jak b?dzie chcia?
Poprosi?em koleg?, aby sprawdzi?, a on m?wi, ?e off.
Kto? by mi m?g? pom?c ?
Kod:
---------------------------- OTServ configuration ------------------------------
-- datadir
datadir = "data/"
-- sets what map to load
map = "data/world/test.otbm"
-- OTBM for binary, SQL for SQL map, XML for OTX maps
mapkind = "OTBM"
-- SQL for acc/player info from SQL, XML for acc/player info from XML
sourcedata = "XML"
-- the message the player gets when he logs in
loginmsg = "PO ZAKUPIE DOMKOW PROSZE UZYC KOMEND ALETA SIO, ALETA SOM, ALETA GRAV. ZEBY NIE ZOSTAC OKRADNIETYM.. RZECZY NIE ODDAJE!!!! "
-- the port otserv listens on
port = "7171"
-- name of our server
servername = "LoozikOTS"
-- name of the owner of our server
ownername = "GameMaster"
-- email of the owner of our server
owneremail = ""
-- the url for more server info
url = ""
-- the location of the server
location = "Poland"
-- the ip the server should redirect too
ip = "83.26.89.180"
-- The messagebox you sometimes get before you choose characters
motd = "Welcome to Loozik OTServ. We hope you enjoy your time here."
motdnum="0"
-- 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 = "30"
-- exhausted time in ms (1000 = 1sec)
exhausted = 1000
-- exhaustion time for healing spells (1000 = 1sec)
exhaustedheal = 1000
-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec)
exhaustedadd = 1000
-- 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 Mage", "a Druid", "a Palladin", "a Knight"}
promoted_vocations = {"an Elementalist", "an Elder Druid", "an Archer", "a Warrior"}
--- 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 basic configuration ---------------------------
-- name of your world (seen on the character list when logging in)
worldname = "LoozikOTS"
-- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour)
autosave = 10
-- do you want to enable cap system? (yes/no)
capsystem = "yes"
-- do you want players to learn spells before they can use them? (yes/no)
learnspells = "no"
-- do you want to give premium account to all players? (yes/no)
freepremmy = "no"
-- do you want premium players to wait in queue as others? (yes/no)
queuepremmy = "no"
-- how much % of {exp, mana, skill, eq, bp} do you lose when dying
diepercent = {"7", "7", "7", "7", "100"}
-- how many summons player can have
maxsummons = 2
-- do you want to give summons for all vocations? (yes/no)
summonsallvoc = "no"
-- chance of losing a spear when shot (0 - none lost, 100000 - all lost)
spearlosechance = 50000
-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 15
-- maximum number of items player can keep in his/her depot
maxdepotitems = 600
-- maximum number of items on a house tile (including those in containers)
maxhousetileitems = 50
-- how much death entries are saved in players file (old are deleted)
maxdeathentries = 2
-- mana consumend by {snakebite, moonlight, volcanic, quagmire, tempest, crystal} rod
rodmana = {"2", "3", "5", "8", "13", "18"}
-- mana consumed by wand of {vortex, dragonbreath, plague, cosmic energy, inferno, sprite}
wandmana = {"2", "3", "5", "8", "13", "18"}
-- shooting range of {snakebite, moonlight, volcanic, quagmire, tempest, crystal} rod
rodrange = {"4", "3", "2", "1", "3", "1"}
-- shooting range of wand of {vortex, dragonbreath, plague, cosmic energy, inferno, sprite}
wandrange = {"4", "3", "2", "1", "3", "1"}
-- damage of burst arrows blast
-- 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"}
--------------------------- Multipliers and gains ------------------------------
-- experience multiplier (how much faster you got exp from monsters)
expmul = 5
-- 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}
weaponmul = {"1", "1", "1", "1", "10"}
distmul = {"1", "1", "1", "10", "1"}
shieldmul = {"1", "1", "1", "9", "13"}
manamul = {"1", "2", "2", "2", "2"}
-- how much points of life,mana,cap do you get when advancing {no-voc, sorcerer, druid, paladin, knight}
capgain = {"10", "15", "15", "20", "25"}
managain = {"1", "25", "25", "20", "5"}
hpgain = {"5", "5", "5", "15", "25"}
-- how much faster do you recovery life,mana after eating food (1 - rl tibia)
healthtickmul = 100
manatickmul = 100
-------------------------------- Skull system ----------------------------------
-- how many unjustified kills to get a red skull
redunjust = 3
-- how many unjustified kills to get banned
banunjust = 7
-- how long do you have white skull after attacking player (1 = 1min)
hittime = 1
-- how long do you have white skull after killing player (1 = 1min)
whitetime = 15
-- how long do you have red skull (1 = 1min)
redtime = 4*60
-- how long do you have to wait to lose 1 unjustified kill (1 = 1min)
fragtime = 3*60
------------------------------ GM access rights --------------------------------
-- access to walk into houses and open house doors
accesshouse = 2
-- 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 = 2
-- 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 = 2
-- access to see id and position of the item you are looking at
accesslook = 3
--ctry+y
accessctrly = 3
------------------------------ Palladineq addons --------------------------------
-- Life Ring Configuration
LifeRingHealth = "125"
LifeRingMana = "125"
-- ROH Configuration
RoHHealth = "200"
RoHMana = "200"
-- house price for 1 sqm
priceforsqm = 2000
-- max houses for player
maxhouses = 1
-- Level to buy house using command !buyhouse
buyhouselvl = 75
-- !buyhouse enabled?
buyhouse = "yes"
--Dystans po ktorym potwor ma znikac - The Chaos
dist = 20
-- kolorowy exp
--DARKBLUE = 2
--RED = 180
--ORANGE = 199
--GRAY = 121
--GREEN = 84
--LIME = 102
--YELLOW = 169
--LIGHTBLUE = 71
kolor1 = 71
-- BAN za PK - w dniach.
pkbandays = 3
-- fast attack
fast = 250
-- first attack
first = 250
-- Hity GMa
gmhit = 100
-- Additional server comments (Viewed when a player types !info) (To start a new line type \n)
-- Text pokazujacy sie w glownym okienku komendy !info
othercomments = "\n\nPowiedz !komendy aby zobaczyc jakich komend mozesz uzywac"
-- Text pokazujacy sie w okienku !premium
infopremium = "Kazdy gracz ma nieskonczone Premium. Wystarczy dokupic sobie Promocje i bedzie git :D"
-- Text pokazujacy sie w okienku !komendy
komendy = "\n!premium - Informacje o koncie premium\n!info - Ogolne informacje na temat OTSa\n!domki - Informacje jak zakupic domek oraz komendy potrzebne do korzystania z domku.\n!tutor - Informacje o Tutorach, Senior tutorach, GMach.\n!gildie - Informacje jak zarzadzac gildia.\n!buypremmy aby kupic premium.\n!buypromote aby kupic promocje"
-- Text pokazujacy sie w okienku !domki
domki = "Komendy do Domkow\n!buyhouse - Ta komenda mozna zakupic domek stojac przed drzwiami.\nCena domku podana na drzwiach.\nAleta som - Wpisz w okienko wspolwlasciciela domku.\nAleta gom - Komenda przy pomocy ktorej mozna zmienic ownera domku lub go sprzedac.\nUWAGA!! wypisujac sie z domku w ten sposob nie otrzymuje sie pieniedzy za domek chyab ze ktos nam zaplaci.\naleta grav - Komenda sluzaca do uwzglednienia osob mogacych otwierac drzwi domku.\naleta sio - Komenda umozliwiajaca wchodzenie do domku innym.\nNIE MOGA oni otwierac drzwi."
-- Text pokazujacy sie w okienku !gildie
gildie = "Komendy u Guild Mastera\n\nfound - zalozenie nowej gildi\nPozniej podaje sie nazwe gildi (np Epoka Lodowcowa :P)\n Po podaniu nazwy podaje sie Range (mozna np wpisac Leader)\n\nAby zmienic tytul trzeba powiedziec Title\nPozniej podac nick osoby ktorej sie zmienia\nPozniej wpisac tytul (np Niszczyciel)\n\nAby wykopac kogos z gildi wpisz Kick\nA pozniej nick osoby ktora wyrzucasz\n\nAby samemu opuscic gildie nalezy napisac Leave\nYes\n\nAby przekazac Vice Lidera gildi komus wpisz Vice\nI nick osoby na ktora przypisujesz."
-- Text pokazujacy sie w okienku !tutor
tutor = "Tutor:\nJest normalnym graczem, moze zabijac, i moze normalnie expic. Posiada jednak pare obowiazkow.\nMusi od czasu do czasu robic czyszczenie, Kickowac AFKujacych, i pomagac graczom.\n\nSenior Tutor:\nDo seniora mozna zwracac sie z wiekszymi problemami.\nSenior Tutor NIE MOZE zabijac. Kazde takie przewinienie bedize karane np. utrata rangi.\nSenior moze dawac bany i bany na IP.\n\nGameMaster:\n Jedna z wyzszych jednostek na tym serverze.\nPosiada wiekszosc mozliwosci GMa.\n\nGod:\nInaczej Hoster.\nZastrzega sobie prawo do wylaczania servera, zmiany ilosci graczy online, zmianom pvp."
--!buypremmy cena
pricepremmy = 30000
--!buypremmy czas w godzinach
plushours = 48
--!buypromote cena
pricepromote = 20000
I jak res to items z bagu znika. Kto pomo?e oczywi?cie - GM jak b?dzie chcia?