What's new

Pomoc w zrobieniu w?asnego OTSa

Laki1995

New User
Joined
Apr 8, 2008
Messages
2
Reaction score
0
Jak napisa?em w temacie powiem jak zrobi? w?asny server :) Jest to prosta sprawa . Sciagnijmy serva jakiego chcemy miec ja sam polecam Evolution,YurOTS,albo Devland. We wszystkich przypadkach robimy tak samo :) Wiec zaczynajmy ,kiedy juz sciagniemy silnik otwieramy plik config.lua przez np. Worda .Wtedy zobaczymy takie cos :


-------- config.lua --------
-- Evolution 8.1 By Bartex012.
-- Config file for OTServ --
----------------------------

-- data directory location
datadir = "data/"

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

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

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

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

-- bans storage (for XML only)
banIdentifier = "data/bans.xml"

-- server name
servername = "Twist OTS" <<<<<<< Jak sie ma nazywac nasz server

-- server location
location = "Polish" <<<< Lokalizacja oczywiscie malo wazna

-- server ip (the ip that server listens on)
ip = "127.0.0" <<<<<< wpisujemy swoje ip kiedy wlaczymy na poczatku silnik bedzie na koncu pisalo local ip , oraz global ip tutaj wpisujemy to global.
Zaniedlugo napisze jak zrobic ip na neostradzie
-- server port (the port that server listens on)
port = "7171" <<<<<< Port ip

-- server url
url = "" <<<<< jesli ktos ma swoja strone moze tutaj wpisac

-- server owner name
ownername = "Marvolo" <<<<<<<<< imie , nick , pseudo ownera serva

-- server owner email
owneremail = "" <<<<< mail ownera

-- world type
-- options: pvp, no-pvp, pvp-enforced
worldtype = "pvp" <<<<<< wybieramy czy swiat ma byc , pvp ,n-pvp , czy pvp enfo

-- exhausted time in ms (1000 = 1 second)
exhausted = 0 <<<<<<to znaczy zmeczenie ,czyli co ile gracz bedzie mogl atakowac

-- exhausted time in ms for non-aggressive spells (1000 = 1 second)
exhaustedheal = 0 <<<<tak samo jak na gorze lecz leczenie

-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1 second)
exhaustedadd = 0 <<<<< ile bedzie musial czekac jesli bedzie spamowal

-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
pzlocked = 30*1000 <<<<<czas pz , przydatne na serverach pvp-enfo

-- house rent period
-- options: daily, weekly, monthly
houserentperiod = "weekly"

-- motd (the message box that you sometimes get before you choose characters)
motd = "Witamj na Twist OTS. Prosze wybrac postac." <<<<<<kiedy sie wlogujemy na postac taki slogan sie pokaze
motdnum = "1"

-- login message
loginmsg = "Twist OTS. Have fun" <<<< kiedy sie logujemy na konto pisze kolo postaci

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

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

-- how long the player need to wait until the ip is allowed again
logintimeout = 0

-- allow clones (multiple logins of the same char)
-- options: 0 (no), 1 (yes)
allowclones = 0

-- max number of players allowed
maxplayers = "200" <<<<< maksymalna ilosc graczy na servie

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

--- MySQL part (ignore if you are using SQLite)
sql_host = "localhost"
sql_user = "root"
sql_pass = ""
sql_db = "otserv"

--- SQLite part (ignore if you are using MySQL)
sqlite_db = "db.s3db"

-------------------------------------------------------------------------------------------------
---------------------------- Evolutions Basic Configuration ----------------------------
-------------------------------------------------------------------------------------------------

-- world name (shows in the character list)
worldname = "Twist OTS" <<<< nazwa servera

-- time to save the server (default = 5)
autosave = 10 <<<<co ile ma byc save

-- do you want to enable cap system? (yes/no)
capsystem = "no" <<<< czy ma byc cap

-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 15 <<<<< po tylu minutach wyrzuci gracza za afk

-- how many summons player can have
maxsummons = 2 <<<<<<ile mozna miec max przywolanych summonow

-- maximum items in depot
maxdepotitems = 1000 <<<<<<maksymalna ilosc itemow w dp

-- learn spells (yes/no)
learnspells = "no" <<<<< czy bedzie sie trzeba uczyc spellow na servie

-- do you want everyone to have premium
freepremium = "no" <<<<<<<<<czy pacc ma byc od poczatku

-- remove ammunation? (bolts/arrows)
removeammunation = "no" <<<<<<czy arrowy,bolty maja wypadac

-- remove rune charges? (sd/hmm/gfb)
removerunecharges = "no" <<<<<<czy runy maja sie konczyc

-- use item hotkeys? (yes/no)
itemhotkeys = "yes" <<<< czy mozna uzywac hotkey

-- shoot trough battle window on players? (yes/no)
battlewindowplayers = "yes"

-- use account manager? (yes/no)
accountmanager = "yes"

-- summon follows master everywhere
summonsfollow = "yes" <<<<< jesli chcesz zeby summon za toba chodzil

-- allow outfit change
outfitchange = "yes" <<<<<< czy mozna zmienic outfit

-- damage to players with the same feet
feetdamage = "yes"

-- guild system type (SQL only)(ingame/online)
-- online guild system requires the latest Swelia AAC
guildsystem = "ingame"

-------------------------------------------------------------------------------------
----------------------------------- Multipliers -----------------------------------
-------------------------------------------------------------------------------------

-- experience multiplier (how much faster you got exp from monsters)
expmul = 1000 <<<<< chyba najwazniejsza rzecz ile ma byc exp na servie

-- experience multiplier for pvp-enforced (how much faster you got exp from players)
expmulpvp = 2 <<<<< exp z pvp , przydatne do serverow enfo

-- monster lootrating (how much faster you get items from monsters)
lootmul = 25 <<<<<<< jaki loot ,czyli szansa na zdobycie itemka

-- skill multiplier (another multiplier in data/vocations.xml)
skillmul = 15 <<<<<<<<skille

-- manaspent multiplier (another multiplier in data/vocations.xml)
manamul = 20 <<<<<<< ile ma mana rosnac

-- how many monsters spawn at a time in 1 spawn
spawnmul = 2

-- Price for each SQM when buying a house
houseprice = 125

-- level to buy a house
houselevel = 50 <<<<<<od jakiego lvla domki

-- maximum death entries per player
maxdeathentries = 10

-- max message buffer (default = 4)
-- how fast you get muted
messagebuffer = 4

-- minimum action interval (default = 200)
minactioninterval = 200

-- protection for those under this level
protectionlimit = 100

-- critical damage and chance {chance, extra damage percent}
criticaldamage = {"0", "0"}

---------------------------------------------------------------------------------------
-------------------------- Skull System configuration -------------------------
---------------------------------------------------------------------------------------

-- time to lose a white skull (1 = 1 minute)
whitetime = 15

-- time to lose one frag (1 = 1 minute)
fragtime = 1*60

-- ban unjust, how many frags you need to get banned (1 = 1 frag)
banunjust = 8

-- red skull unjust, how many frags you need to get a red skull (1 = 1 frag)
redunjust = 4

-- bantime, for how long the player is banned (1 = 1 hour)
bantime = 10

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

-- access to walk into houses and open house doors
accesshouse = 3

-- 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 = 3

-- 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 = 3

-- access to see id and position of the item you are looking at
accesslook = 2







No i to by bylo na tyle . Zycze milego robienia servera . Jesli beda jakies watpliwoscie prosze pisac :) Jesli pomoglem mozesz dac reputka.Napisze jeszcze pare poradnikow .
 
Top