Wszystko o Mmorpg

Wszystko o mmorpg

Forum Wszystko o Mmorpg Strona Główna -> Poradniki -> [Poradnik]Mój pierwszy ots.... Jak go zrobić?
Napisz nowy temat  Odpowiedz do tematu Zobacz poprzedni temat :: Zobacz następny temat 
[Poradnik]Mój pierwszy ots.... Jak go zrobić?
PostWysłany: Pią 10:58, 10 Lut 2006
Gumisiek
Administrator

 
Dołączył: 07 Lut 2006
Posty: 24
Przeczytał: 0 tematów

Ostrzeżeń: 0/7





A więc pokolei:

Wpierw ściągamy ots'a
[link widoczny dla zalogowanych]

Wypakowujemy go do wybranego folderu i otwieramy plik confing.lua i edytujemy

Cytat:
---------------------------- OTServ configuration ------------------------------

-- datadir
datadir = "data/"

-- sets what map to load
map = "data/world/Spartakos.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 = "Tutaj wpisujemy text jaki nam się pojawi po wejściu na ots"

-- the port otserv listens on
port = "7171"

-- name of our server
servername = "Nazwa naszego server'a"

-- name of the owner of our server
ownername = "Nick właściciela ots'a"

-- email of the owner of our server
owneremail = "e-mail właściciela"

-- the url for more server info
url = "Stronka po więcej danych(można dać acc maker:P)"

-- the location of the server
location = "Poland"

-- the ip the server should redirect too
ip = "Wchodźimy na [link widoczny dla zalogowanych] i wpisujemy tutaj te "numerki"(nasze ip) jakie się pojawiły"

-- The messagebox you sometimes get before you choose characters
motd = "Tutaj wpisujemy text jaki się pojawi po wpisaniu pass'ów jeszcze zanim wybierzemy postać"
motdnum="0"

-- use md5 passwords for accounts, yes/no
md5passwords = "no"

-- world type. options: pvp, no-pvp, pvp-enforced
worldtype = "no-pvp" <---- czy świat ma być pvp czy nie:P

-- max number of players allowed
maxplayers = "Maxymalna ilość graczy jaka może być w grze(bez przesady bo jak za dużo osób wejdzie będą lagi:P"

-- exhausted time in ms (1000 = 1sec)
exhausted = 2000 Czas exhausted

-- exhaustion time for healing spells (1000 = 1sec)
exhaustedheal = 1000 Czas exhausted

-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec)
exhaustedadd = 300 Czas exhausted

-- 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 sorcerer", "a druid", "a paladin", "a knight"}
promoted_vocations = {"a master sorcerer", "an elder druid", "a royal paladin", "an elite knight"} Tutaj możemy zmienić nazwę np. z Sorc na Mag Razz


--- 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 = "Nazwa twojego ots'a "

-- 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 = "no"

-- 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 = "yes"

-- how much % of {exp, mana, skill, eq, bp} do you lose when dying
diepercent = {"10", "7", "7", "7", "100"}
diebless0 = 10

-- how much % of exp/skills/stuff do you lose when dying if you have 1 blessing
diebless1 = 9
-- how much % of exp/skills/stuff do you lose when dying if you have 2 blessings
diebless2 = 8
-- how much % of exp/skills/stuff do you lose when dying if you have 3 blessings
diebless3 = 7
-- how much % of exp/skills/stuff do you lose when dying if you have 4 blessings
diebless4 = 6
-- how much % of exp/skills/stuff do you lose when dying if you have 5 blessings
diebless5 = 3

-- hours to lost in sex change
sexchangehours = 5

-- how many summons player can have
maxsummons = 2

--Distance away from spawn to remove a monster - The Chaos
dist = 10

-- Name of City when depot id is 1 (for send parcels)
city1 = "koza koza"

-- Name of City when depot id is 2 (for send parcels)
city2 = "koza koza2"

-- Name of City when depot id is 3 (for send parcels)
city3 = "koza koza3"

-- Name of City when depot id is 4 (for send parcels)
city4 = "city4"

-- Name of City when depot id is 5 (for send parcels)
city5 = "city5"

-- Name of City when depot id is 6 (for send parcels)
city6 = "city6"

--Exp color
-- COLORS
-- (darkblue = 2, red = 180, orange = 199, gray = 121, green = 84)
-- (lime = 102, yellow = 169, light blue = 71, white = 983)
expcolor = 71

--Do you want the fancy animations?!
animations = "no"
-- color of advance animations
-- (darkblue = 2, red = 180, orange = 199, gray = 121, green = 84)
-- (lime = 102, yellow = 169, light blue = 71, white = 983)
anicolor = 180

--Do you want Atack Animations (Fire AXE etc.)?! yes/no
atackanimations = "no"

-- How many % increase magic damage when u have blue robe?
bluerobe = 5

-- How many % increase magic damage when u have mystic turban?
mysticturban = 5

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

-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 15

-- maximum number of items player can keep in his/her depot
maxdepotitems = 1000

-- maximum number of items on a house tile (including those in containers)
maxhousetileitems = 10

-- house price for 1 sqm
priceforsqm = 1000

-- max houses for player
maxhouses = 2

-- how much death entries are saved in players file (old are deleted)
maxdeathentries = 10

-- mana consumend by {snakebite, moonlight, volcanic, quagmire, tempest} rod
rodmana = {"2", "3", "5", "8", "13"}

-- mana consumed by wand of {vortex, dragonbreath, plague, cosmic energy, inferno}
wandmana = {"2", "3", "5", "8", "13"}

-- shooting range of {snakebite, moonlight, volcanic, quagmire, tempest} rod
rodrange = {"4", "3", "2", "1", "3"}

-- shooting range of wand of {vortex, dragonbreath, plague, cosmic energy, inferno}
wandrange = {"4", "3", "2", "1", "3"}

-- 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 = 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}
weaponmul = {"1", "1", "1", "1", "40"}
distmul = {"1", "1", "1", "40", "1"}
shieldmul = {"1", "1", "1", "20", "20"}
manamul = {"1", "30", "3", "2", "2"}

-- how much points of life,mana,cap do you get when advancing {no-voc, sorcerer, druid, paladin, knight}
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)
healthtickmul = 5
manatickmul = 5


-------------------------------- Skull system ----------------------------------

-- how many unjustified kills to get a red skull
redunjust = 3

-- how many unjustified kills to get banned
banunjust = 6

-- 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 = 6*60

-- how long do you have to wait to lose 1 unjustified kill (1 = 1min)
fragtime = 12*60

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

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

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


Post został pochwalony 0 razy
Zobacz profil autora
[Poradnik]Mój pierwszy ots.... Jak go zrobić?
Forum Wszystko o Mmorpg Strona Główna -> Poradniki
Możesz pisać nowe tematy
Możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Wszystkie czasy w strefie EET (Europa)  
Strona 1 z 1  

  
  
 Napisz nowy temat  Odpowiedz do tematu  


fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin
Regulamin