Matejek
Active User
- Dołączył
- Grudzień 9, 2008
- Posty
- 115
- Liczba reakcji
- 18
Witam
Poradnik w 100% napisany przez Matej 97 (Matej 97 to ja :], prosz? dla niego jakby co dawa? reputacje!
Napisz? poradnik pod tytu?em 'Jak Zrobi? OTS'
Postanowi?em napisa? ten poradnik z powodu, wielu pyta? 'Jak Zrobi? Ten OTS'.
Wiele poradnik?w nie trzyma si? kupy. Opisuj? tylko jak skonfigurowa? config.lua i jak zrobi? postacie.
Co jest nam potrzebne by zrobi? OTS?
1.Dobre ??cze Internetowe
2.Dobry, szybki komputer
3.R??ne programy
4.Cierpliwo??
Pobieramy przyk?adowy silnik na przyk?ad 'Mazurski 1.0'*
Mazurski 1.0-Pierwszy silnik Mazurskiego, podobno lepszy o 100% od YurOTS 0.9.4 ...
Link do Mazurskiego 1.0
Skan:
Nie masz wystarczających uprawnień, aby zobaczyć link.
Zaloguj or Rejestracja
VirusTotalSkaner wykry? jednego Wirusa, GameThifaTibia.
Jak nazwa m?wi podgl?da pasy, kt?re wpisujemy do clienta Tibii.
Ja ten silnik mam na swoim komputerze od ok. 1 miesi?ca i ?adnych hak?w nie mia?em, a pozatem na dole skanera pisze wyra?nie:
'UWAGA: VirusTotal jest darmow? us?ug? utrzymywan? przez Hispasec Sistemas. Nie ma ?adnych gwarancji co do dost?pno?ci lub ci?g?o?ci tej us?ugi. Pomimo, ?e wykrywalno?? z?o?liwego oprogramowania w przypadku kilku skaner?w antywirusowych jest o wiele wi?ksza, ni? tylko jednego, raporty nie mog? by? 100% miernikiem szkodliwo?ci lub nieszkodliwo?ci danego pliku. Obecnie nie istnieje rozwi?zanie gwarantuj?ce 100% wykrywalno?? z?o?liwego oprogramowania.'
Nie chcesz nie pobieraj, ja tylko poda?em przyk?adowy silnik.
Link do Mazurskiego 1.0:
Nie masz wystarczających uprawnień, aby zobaczyć link.
Zaloguj or Rejestracja
Config.lua
PHP:
---------------------------- 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 = "Witamy na Nazwa OTS"
-- the port otserv listens on
port = "7171"
-- name of our server
servername = "Nazwa OTS"
-- name of the owner of our server
ownername = "Nazwa OTS"
-- 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 = "twoje ip"
-- The messagebox you sometimes get before you choose characters
motd = "Witamy na Nazwa OTS"
motdnum="100"
-- 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 = "500"
-- 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 = 500
-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec)
pzlocked = 50*1000
-- allow multiple logins of the same char
allowclones = 0
-- vocation names
vocations = {" sorcerer", " druid", " paladin", " knight"}
promoted_vocations = {" Master Sorcerer", " Elder Druid", " Royal Paladin", " Elite Knight"}
--- 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 OTS" <--- nazwa Twojego OTS
-- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour)
autosave = 250 <--- Co ile ma si? w??cza? Auto Save System
-- do you want to enable cap system? (yes/no)
capsystem = "no" <-- Czy ma si? zmniejsza? 'Cap' jak co? si? we?mie
-- do you want players to learn spells before they can use them? (yes/no)
learnspells = "no" <--- Czy maj? si? ko?czy? runy?
-- do you want to give premium account to all players? (yes/no)
freepremmy = "no" <--- Czy ma by? darmowy PACC ?
-- do you want premium players to wait in queue as others? (yes/no)
queuepremmy = "no" <-- Czy ma by? darmowy PACC?
-- how much % of {exp, mana, skill, eq, bp} do you lose when dying
diepercent = {"1", "1", "1", "1", "100"}
-- how many summons player can have
maxsummons = 2 <--- Ile summon?w na jednego gracza na OTS?
-- do you want to give summons for all vocations? (yes/no)
summonsallvoc = "no" <-- Czy wszystkie prof. mog? summowa? ?
-- chance of losing a spear when shot (0 - none lost, 100000 - all lost)
spearlosechance = 50 <-- Chyba ile jest u?y? w jednym spears.
-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 10 <-- Po Ilu Minutach ma si? w??czy? Auto Kick System?
-- maximum number of items player can keep in his/her depot
maxdepotitems = 1000 <--- Ile mo?na w?o?y? rzeczy do DEPO?
-- maximum number of items on a house tile (including those in containers)
maxhousetileitems = 100000 <--- Ile mo?e by? max items w domku or max items na jeden SQM
-- 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 = 500 <-- Exp na serverze za potwory
-- experience multiplier for pvp-enforced (how much faster you got exp from players)
expmulpvp = 10 <-- exp za graczy na serverze
-- skill multipliers: 1 - rl tibia, 10 - ten times faster etc. {no-voc, sorcerer, druid, paladin, knight}
weaponmul = {"1", "1", "1", "1", "60"}
distmul = {"1", "1", "1", "60", "1"}
shieldmul = {"1", "1", "1", "25", "25"}
manamul = {"1", "10", "10", "10", "10"}
-- 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", "15", "20"}
-- how much faster do you recovery life,mana after eating food (1 - rl tibia)
healthtickmul = 200 <--- Ile ma dawa? HP za zjedzenia food'a na OTS
manatickmul = 250 <--- Ile ma dawa? MN za zjedzenie food'a na OTS
-------------------------------- Skull system ----------------------------------
-- how many unjustified kills to get a red skull
redskull = 3 <--- Za ile frag ma by? RS?
-- how many unjustified kills to get banned
banunjust = 6 <-- Za ile frag ma by? BAN?
-- how long do you have white skull after attacking player (1 = 1min)
hittime = 5 <-- Ile czasu znika skull ?
-- how long do you have white skull after killing player (1 = 1min)
whiteskulltime = 10 <--- Ile czasu znika skull ?
-- how long do you have red skull (1 = 1min)
redskulltime = 3*60 <--- Czas ile ma trwa? RS?
-- how long do you have to wait to lose 1 unjustified kill (1 = 1min)
fragtime = 2*60 <--- Ile czasu ma trwa? jeden frag ?
-- how many days the pk ban lasts (1=1day)
pkbandays = 1 <-- Na ile ban za fragi ?
------------------------------ GM access rights --------------------------------
-- access to walk into houses and open house doors
accesshouse = 3 <--- Nie wa?ne.
-- access to login without waiting in the queue or when server is closed
accessenter = 2 <--- Nie wa?ne
-- access to ignore damage, exhaustion, cap limit and be ignored by monsters
accessprotect = 2 <--- Nie wa?ne
-- access to broadcast messages and talk in colors (#c blabla - in public channels)
accesstalk = 1 <--- Mo?e si? przyda? gdy masz BroadCast kt?ry gada :s
-- access to move distant items from/to distant locations
accessremote = 3 <--- Nie wa?ne
-- access to see id and position of the item you are looking at
accesslook = 2 <--- Nie wa?ne
-- Access To Use GM Command Window (CTRL + Y)
accessctrly = 2 <--- Nie wa?ne
-- Parcel System configuration
city1 = "" -- A name of city with depots ID 1
city2 = "" -- A name of city with depots ID 2
city3 = "" -- A name of city with depots ID 3
city4 = "" -- A name of city with depots ID 4
city5 = "" -- A name of city with depots ID 5
city6 = "" -- A name of city with depots ID 6
city7 = "" -- A name of city with depots ID 7
city8 = "" -- A name of city with depots ID 8
Co all wy?ej to nazwy miast potrzebne do PARCEL SYSTEM
--GM Msg
gmmsg = "no" <-- Czy gracze mog? pisa? do gm na pryv ?
-- Life Ring Configuration
LifeRingHealth = "150" <--- Ile ma dawa? HP life ring?
LifeRingMana = "150" <--- Ile ma dawa? MN life ring ?
-- ROH Configuration
RoHHealth = "300" <--- To co wy?ej tylko ROH (HP)
RoHMana = "300" <---To co wy?ej tylko ROH (MN)
-- predkosc ataku ~hit->hit~ (1000 = 1 sec)--
speed = 100 <--- Przydatne je?li ma si? skrypt na FAST ATTACK.
-- predkosc pierwszego ataku ~click->hit~ (1000 = 1 sec)--
first = 100 <--- Sama nazwa m?wi.
--access to talk on chat in red
colortxt = 2 <--- Nie wa?ne
--Auto clean(0 - off, 1 - one minute, 60 - one hour)
autoclean = 200 <--- Co ile ma by? Auto Clean System
--Auto restart(0 - off, 1 - one minute, 60 - one hour)
autorestart = 0 <--- Co ile ma by? Auto Restart System (zalecanie nie w??cza?)
-- house price for 1 sqm
priceforsqm = 5000 <---- Cena jednego SQM
-- max houses for player
maxhouses = 1 <---- Ile domk?w na jednego gracza?
-- !buyhouse enabled?
buyhouse = "yes" <---- Czy ma dzia?a? komenda !buyhouse ?
-- How many increase magic damage blue robe?
bluerobe = 10 <--- Ile ma dawa? % b. robe do ataku magicznego?
-- How many increase magic damage mystic turban?
mysticturban = 10 <---- To samo co wy?ej tylko M. Turban
-- Level To Say in Trade?
tradelvl = 30 <--- Od kt?rego lvl mo?na rozmawia? na Trade-Chat?
--bolty maja sie konczyc? (yes/no)
bolts = "no" <--- Czy maj? si? ko?czy? bolty?
Pierw w??czamy notatnik i wpisujemy:
PHP:
<?xml version="1.0"?>
<account pass="tibia" type="1" premDays="90">
<characters>
<character name="D'Jok"/>
</characters>
</account>
Gdzie jest Character Name wpisujemy jaki chcemy mie? nick.
Gdzie jest premDays to chodzi o PACC.
Gdy to zrobimy zapisujemy to w folderze Accounts.
Nast?pnie otwieramy ponownie Notatnik i wpisujemy to:
PHP:
<?xml version="1.0"?>
<player name="D'Jok" account="111111" sex="1" lookdir="3" exp="22850493501550" voc="1" level="11111" access="6" cap="0" maglevel="100" lastlogin="1237815676" lastlogout="0" premticks="1052842000" promoted="0" banned="0"><spawn x="136" y="52" z="6"/><temple x="160" y="54" z="7"/><skull type="0" kills="0" ticks="0" absolve="0"/><health now="55700" max="55700" food="1000"/><mana now="332890" max="332890" spent="55550"/><ban banned="0" banstart="0" banend="0" comment="" reason="" action="" deleted="0" finalwarning="0" banrealtime=""/><look type="134" head="0" body="113" legs="88" feet="114"/><skills><skill skillid="0" level="11" tries="2"/><skill skillid="1" level="10" tries="0"/><skill skillid="2" level="11" tries="51"/><skill skillid="3" level="10" tries="0"/><skill skillid="4" level="16" tries="1301"/><skill skillid="5" level="10" tries="0"/><skill skillid="6" level="10" tries="0"/></skills><spells/><deaths/><inventory><slot slotid="1"><item id="2471"/></slot><slot slotid="3"><item id="1988"><inside><item id="2160" count="48"/><item id="2640"/><item id="2148" count="70"/><item id="2268" count="44"/><item id="2160" count="100"/><item id="2152" count="33"/><item id="2152" count="85"/><item id="2159" count="100"/><item id="2159" count="7"/><item id="2127"/><item id="2595"><inside><item id="2599" text="D'Jok
Town 1"/></inside></item></inside></item></slot><slot slotid="5"><item id="2148" count="85"/></slot><slot slotid="6"><item id="2453"/></slot><slot slotid="7"><item id="2469"/></slot><slot slotid="8"><item id="2195"/></slot><slot slotid="10"><item id="2543" count="10"/></slot></inventory><depots><depot depotid="1"><item id="2590"><inside><item id="2594"><inside><item id="2640"/></inside></item></inside></item></depot></depots><storage><data key="2195" value="1"/><data key="2352" value="1"/><data key="2438" value="1"/><data key="2444" value="1"/><data key="2469" value="1"/><data key="2474" value="1"/><data key="2505" value="1"/><data key="2508" value="1"/><data key="2528" value="1"/><data key="2534" value="1"/><data key="2640" value="1"/><data key="2645" value="1"/><data key="2647" value="1"/><data key="4564" value="1"/><data key="6544" value="1"/></storage></player>
Gdzie Player Name to wpisujemy to co wpisali?my wche?iej w Character Name.
W account wpisujemy nasze g?rne passy czyli Account Number.
Sex- chodzi tu o p?e?
Voc- profesja
Voc 1: Sorc
Voc 2

Voc 3: Pall
Voc 4: Knight
Acces- s?u?y nam jako ranga
Acces 1-tutor
=//= =S. Tutor
=//= - GM
=//= - GoD
=//= - Hoster
Reszta jest niewa?na.
Gdy to zrobimy zapisujemy to w folderze Players.
Acc Maker
Acc Makera napisze p??niej, narazie jestem zm?czony.
Ostatnia edycja: