Mistic Molesta
New User
- Dołączył
- Kwiecień 6, 2008
- Posty
- 0
- Liczba reakcji
- 0
Pytanie tak jak w temacie ... Jestem zielony w tych sprawach :/
----config.lua--------------
-- Config file for otserv
-- Comments start with a --
----------------------------
-- datadir
datadir = "data/" <---- to zostawiamy
-- mapfile
-- sets what map to load
mapfile = "data/world/map.otx" <---- to zostawiamy
-- loginmsg
-- the message the player gets when he logs in
loginmsg = "Witaj na moim OTS" <---- tu wpisz co ma sie pokazac jak ktos bedzie chcial sie zalogowac na twoim ots.
-- port
-- the port otserv listens on
port = "7171" <---- to zostawiamy
-- servername
-- name of our server
servername = "OteesLandia" <---- nazwa servera ( tj. antica, lunara itp.
-- ownername
-- name of the owner of our server
ownername = "Rysiu" <---- nazwa w?asciciela
-- owneremail
-- email of the owner of our server
owneremail = "xlaski@zpodlaski.pl" <---- to zostawiamy, ale mozesz wpisac mail'a swojego
-- url
-- the url for more server info
url = "http://www.otfans.org" <---- strona servera ( niekonieczna )
-- location
-- the location of the server
location = "Polska" <---- kraj
-- ip
-- the ip the server should redirect too
ip = "tu wstaw swoje ip" <---- o tym napisze nizej
-- motd
-- The messagebox you sometimes get before you choose characters
-- not working yet
motd = "Welcome to the NeXus" <---- to co wyswietli przed wybraniem postaci
motdnum="1"
-- max number of players allowed
maxplayers = "850" <---- ile graczy na servie
-- exhausted time in ms (1000 = 1sec)
exhausted = 3*100 <---- ustawienia exhausted, lepiej zostawic
-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec)
exhaustedadd = 3*100 <---- zostawic
-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec)
pzlocked = 1*10*1000 <---- zostawic
-- allow multiple logins of the same char
allowclones = 1 <---- zostawic
-- vocation names
vocations = {"a sorcerer", "a druid", "a paladin", "a knight"} <---- zostawic, ew. jesli chce sie zmienic nazwy profesji
--Pvp ON/OFF ( ON = 1 // OFF = 0)
pvp = 1 <---- server pvp albo nie pvp
--- SQL part (probaly buggy)
sql_host = "localhost"
sql_user = "root"
sql_pass = ""
sql_db = "otserv" <---- zostawic
<?xml version="1.0"?>
<account pass="haslo" type="1" premDays="666">
<characters>
<character name="Ziutek" />
</characters>
</account>
<?xml version="1.0"?>
<player name="Ziutek" account="2" sex="1" lookdir="0" exp="98800" voc="1" level="20" access="0" cap="600" maglevel="30" pkills="0" mkills="0" pktime="0"><spawn x="337" y="82" z="7"/><temple x="337" y="82" z="7"/><guild status="0" nicks="0" name="" rank="" nick=""/><health now="200" max="200" food="0"/><mana now="400" max="400" spent="0"/><look type="128" head="0" body="0" legs="0" feet="0"/><skills><skill skillid="0" level="10" tries="0"/><skill skillid="1" level="15" tries="0"/><skill skillid="2" level="10" tries="0"/><skill skillid="3" level="10" tries="0"/><skill skillid="4" level="10" tries="0"/><skill skillid="5" level="18" tries="0"/><skill skillid="6" level="35" tries="0"/></skills><inventory><slot slotid="1"><item id="1730"/></slot><slot slotid="2"><item id="1890"/></slot><slot slotid="3"><item id="1411"/></slot><slot slotid="4"><item id="1736"/></slot><slot slotid="5"><item id="1788"/></slot><slot slotid="6"><item id="1724"/></slot><slot slotid="7"><item id="1877"/></slot><slot slotid="8"><item id="1874"/></slot></inventory></player>
player name="Ziutek" <-- wiadomo trzeba wpisac ta nazwe ktora wybralismy.
account="2" <-- wpisujemy ta liczbe ktora wybralismy w account ( WA?NE I NIE POMYLI? )
sex="1" <--- p?e?
expa tyle ile na jaki lvl chcesz, standartowo 98800 czyli tyle expa ile na 20 lvl
access="0" <--- tutaj jest tak
access="0" <--- zwykly player
access="3" <--- GM