Forum tibijczyków

Tu mogą wchodzić tylko tibijczycy


#1 2009-01-31 15:00:46

PolakxD

Administrator

Zarejestrowany: 2009-01-30
Posty: 23
Punktów :   

Poradnik jak skonfigurować config.lua na silniku Xibarnia v0.3 for 8.1

Napoczątku ściągamy silnik poszukajcie na google.pl to nie boli
Potem otwieramy plik i otwieramy za pomocą notatnika config.lua i robimy wszystko według instrukcji:

-------- config.lua --------
-- Config file for OTServ --
----------------------------

-- size length for sending the socket bytes(ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING)
outputminbytesize = 64---zostaw

-- data directory location
datadir = "data/"----zostaw

-- map location
map = "data/world/map.otbm"----zostaw

-- mapkind
-- options: OTBM for binary map, XML for OTX map
mapkind = "OTBM"----zostaw

-- map store location (for XML only)
mapstore = "data/world/map-mapstore.xml"------zostaw

-- house store location (for XML only)
housestore = "data/world/map-housestore.xml"-----zostaw

-- server name
servername = "Xibarnia v0.3"------Nazwa Servera

-- server location
location = "Poland"----Kraj właściciela Servera

-- server ip (the ip that server listens on)
ip = "192.168.1.2"-----ip ots

-- server port (the port that server listens on)
port = "7171"-----port ots

-- server url
url = ""-----strona servera(nie konieczna)

-- server owner name
ownername = "Xibarnia v0.3"----nazwa właściciela servera

-- server owner email
owneremail = ""----adres e-mail właściciela servera(nie konieczny)

-- world name
worldname = "Xibarnia v0.3"----Nazwa świata

-- world type
-- options: pvp, no-pvp, pvp-enforced
worldtype = "pvp"----tryb ots pvp,no-pvp i pvp-enforced

-- exhausted time in ms (1000 = 1 second) for none-aggressive spells/weapons
exhausted = 1000----co ile ma być zmęczenie z walki czarami i bronią

-- exhausted time in ms (1000 = 1 second) for aggressive spells/weapons
fightexhausted = 2000-----ile ma trwać zmęczenie z walki  czarami ibronią

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

-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
pzlocked = 6000----zostaw

-- minimum amount of time between actions ('Use') (1000 = 1 second)
minactioninterval = 200-----Co ile można użyć Use (1000 to 1 sekunda)

-- minimum amount of time between extended actions ('Use with...') (1000 = 1 second)
minactionexinterval = 1000------zostaw

-- house rent period
-- options: daily, weekly, monthly
houserentperiod = "monthly"-----co ile trzeba płacić za domki daily,weekly i monthly

-- rates (experience, skill, magic level, loot and spawn)
rate_exp = 50-----ile razy ma być exp
rate_skill = 1000------ile razy mają być skille
rate_mag = 1000----ile razy ma być magic lv
rate_loot = 10----ile razy ma być loot
rate_spawn = 100

-- despawn configs
-- how many floors can a monster go from his spawn before despawning
despawnrange = 2-----zostaw

-- how many square metters can a monster be far from his spawn before despawning
despawnradius = 50----zostaw

-- max number of messages a player can say before getting muted (default 4), set to 0 to disable muting
maxmessagebuffer = 4-----zostaw

-- motd (the message box that you sometimes get before you choose characters)
motd = "Witam na Xibarnia v0.3!"-----powitanie graczy
motdnum = "1"----zostaw

-- login message
loginmsg = "Witam na Xibarnia OTS"----powitanie przy zalogowaniu

-- how many logins attempts until ip is temporary disabled
-- set to 0 to disable
logintries = 5------zostaw

-- how long the retry timeout until a new login can be made (without disabling the ip)
retrytimeout = 5000-----zostaw

-- how long the player need to wait until the ip is allowed again
logintimeout = 60 * 1000-----zostaw

-- allow clones (multiple logins of the same char)
-- options: 0 (no), 1 (yes)
allowclones = 0----czy pare graczy może wchodzić na tą samą postać

-- only one player online per account
-- options: 0 (no), 1 (yes)
checkaccounts = 0----zostaw

-- max number of players allowed
maxplayers = "100"-----ile max graczy może być na serverze żeby nie było kolejek

-- save client debug assertion reports
-- options: 0 (no), 1 (yes)
saveclientdebug = 0----zostaw

-- Set the max query interval for retrieving status information
-- default: 5 minutes / IP
-- set to 0 to disable
statustimeout = 0----zostaw

-- md5 passwords for accounts
-- options: yes, no
md5passwords = "no"----zostaw

-- SQL type
-- options: mysql, sqlite
sql_type = "mysql"-----zostaw

--- SQL connection part
sql_db = "otservown"
sql_host = "localhost"
sql_port = 3306
sql_user = "root"
sql_pass = ""
map_db = ""
sql_port = 3306-----zostaw

-----------------------------------------------------------------------
-----------------Server configuration part-----------------------------

--Enable/Disable hotkeys 1/0
enablehotkeys = 1-----zostaw

--Max entries of the deathlist that will be saved for each player
maxdeathentries = 10----zostaw

--Time the player can be max time afk and get an afk warning
kicktime = 15---ile gracz może sie nie ruszać minut aby nie został automatycznie wylogowany

--Loop time for the automap clean {0 = off}
autocleanmap = 0-----zostaw

-- custom client config
-- players with invalid client version / datsig / sprsig / picsig will be denied.
-- change datsig/sprsig/picsig to 0 to disable checking them.
-- clientversion must be the version of the client you're using multiplied by 100
-- For example, to only accept 7.92 clients, clientversion should be 792
-- clientversion must be checked, so setting it to 0 will not disable checking for it. It will only give EVERYONE an error when logging in.
-- NOTE: Program included in Signature Retreiver map to retreive the tibia.dat/spr/pic its signature!
clientversion=810
datsig=0
sprsig=0
picsig=0
badclienterror="This server requires client version 8.1."-----zostaw

--Cost for each house per SQM
--The minimum level allowed to buy a house
houseprice = 200-----ile ma kosztować kratka domku
houselevel = 20----od jakiego lv mają być domki

--The town id where the player will be send to if premium ends
--Free premium? yes/no
freetownid = 1
freepremium = "no"-----czy ma być darmowe premium konto

--Premday cost per day
--Premdays u will buy when using command
costperday = 1000-----ile ma kosztować pacc
buypremdays = 15---ile dni ma trwać kupiony pacc

--Seconds only the killer with the most experience can move or open the creature it's body
corpsemuted = 10----zostaw

--Time between serversaves in minutes
serversavetime = 5----co ile ma być save servera

--The range u can be from the leader when party sharing experience
partyShareRange = 30

--Created player it's level, experience, health, mana, cap, pos(x, y, z)
newplayerlevel = 1----od jakiego lv zaczynają gracze grać
newplayerexperience = 0----ile exp mają gracze po stworzeniu postaci(musi iść w parze z lv)
newplayerhealth = 105---ile hp ma mieć stworzona postać
newplayermana = 0----ile ma mieć many stworzona postać
newplayercap = 335---ile ma mieć capa stworzona postać
newplayerposx = 100----zostaw
newplayerposy = 100----zostaw
newplayerposz = 7----zostaw
--The accountmanager it's accountnumber, for checks with creating accs
managernumber = 111111
--Do you want the manager to let the player choose vocation? (in case of rookgaard;) yes/no
managerchoosevoc = "no"----czy ma być rookgard

--Remove distance ammo ammount, (1 = Nothing remove, 2 = Only spear not removed, 0 = all remove)
removeammocount = 1----czy bolty,spear i arrowsy mają sie kończyć?

--Remove rune charges, (1 = remove, 0 = not remove)
removerunecharge = 0----czy runy mają sie kończyć

--Use runes as weapon yes/no
useruneasweapon = "yes"----zostaw

--Use capsystem yes/no
capsystem = "no"-----czy ma sie kończyć cap

--Use worldsystem yes/no
useworldsystem = "yes"----zostaw

--Can a player attack hes own summons? yes/no
canattackownsummons = "no"----czy potwory gracza mogą atakować innych graczy

Offline

 

Stopka forum

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


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.lo2konskie.pun.pl www.cosiedzialowczoraj.pun.pl www.narutogamepbf.pun.pl www.margonem.pun.pl www.angelking47.pun.pl