Blog srebro
Jak zrobić swój OTS !
Witam!!! Pokaże wam z jak postawic swoj pierwszy OTS ;]
Więc najpierw szukamy dobrego silnika pod wybrana tibie .. Ja wybrałem pod tibie 7.6 .. Silnika sie szuka na stronie google.pl lub na tibia.net.pl w dziale silniki nie bede podawał linka bo pewnie wiekszosc z was wie jak sie szuka ..;]
Po wybraniu silnika instalujemy go i wypakowujemy ..
Poczatkujacym radze szukac silnikow z zrobionym joz wczesniej account managerem ;] ulatwi wam to sprawe ;]
po wypakowaniu silnika wchodzimy w plik confing.lua < i ustawiamy po swojemu ;] Na dole wkleilem przykaldowo co tam moze bydz .. ;]
-- 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 = "Witam na OldLand. Nie potrzebuje GMow ani tutorow!! Za macro ban. W przypadku debuga zglaszajcie sie do GODow!! Zycze milej gry!"
-- the port otserv listens on
port = "7171"
-- name of our server
servername = "Bydgoszcz OTS"<< Nazwa swojego OTS !
-- name of the owner of our server
ownername = "Bydgoszcz"<<<<<<<< Nazwa swojego OTS !
-- email of the owner of our server
owneremail = "damYQ@interia.pl"
-- the url for more server info
url = "jastroland.pl"
-- the location of the server
location = "Poland"
-- the ip the server should redirect too
ip = "78.87.67.56" << Tu bardzo wazne podajecie IP swojego komputera bez tego nei beda mogli wbic inni gracze ;/
-- The messagebox you sometimes get before you choose characters
motd = "Do NPC mowimy hi."
motdnum="0"
-- use md5 passwords for accounts, yes/no
md5passwords = "no"
-- world type. options: pvp, no-pvp, pvp-enforced
worldtype = "pvp-enforced"
-- max number of players allowed
maxplayers = "100"
-- exhausted time in ms (1000 = 1sec)
exhausted = 100
-- exhaustion time for healing spells (1000 = 1sec)
exhaustedheal = 100
-- how many ms to add if the player is already exhausted and tries to cast a spell (1000 = 1sec)
exhaustedadd = 100
-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec)
pzlocked = 30*1000
-- allow multiple logins of the same char
allowclones = 1
-- vocation names
vocations = {"mag", "druid", "palladyn", "rycerz"}
promoted_vocations = {"mistrz magow", "starszy druid", "krolewski palladyn", "elitarny rycerz"}
--- 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 = "BydgoszczLand"
-- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour)
autosave = 60
-- do you want to enable cap system? (yes/no)
capsystem = "yes"
-- 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 = "yes"
-- 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 = {"3", "3", "3", "3", "50"}
-- how many summons player can have
maxsummons = 2
-- 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 = 100000
-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 5
-- maximum number of items player can keep in his/her depot
maxdepotitems = 10000
-- maximum number of items on a house tile (including those in containers)
maxhousetileitems = 10
-- how much death entries are saved in players file (old are deleted)
maxdeathentries = 5
-- mana consumend by {snakebite, moonlight, volcanic, quagmire, tempest, crystal} rod
rodmana = {"1", "2", "3", "4", "5", "5"}
-- mana consumed by wand of {vortex, dragonbreath, plague, cosmic energy, inferno, undead}
wandmana = {"1", "2", "3", "4", "5", "5"}
-- shooting range of {snakebite, moonlight, volcanic, quagmire, tempest, crystal} rod
rodrange = {"4", "3", "2", "1", "3", "3"}
-- shooting range of wand of {vortex, dragonbreath, plague, cosmic energy, inferno, undead}
wandrange = {"4", "3", "2", "1", "3", "3"}
-- damage of burst arrows blast
-- default is from (1*lvl+5*mlvl)*0.24 to (1*lvl+5*mlvl)*0.55
burstarrowdmg = {"2.0", "4.0", "0.46", "0.89"}
--------------------------- Multipliers and gains ------------------------------
-- experience multiplier (how much faster you got exp from monsters)
expmul = 200 <<
-- experience multiplier for pvp-enforced (how much faster you got exp from players)
expmulpvp = 100<< -- skill multipliers: 1 - rl tibia, 10 - ten times faster etc. {no-voc, sorcerer, druid, paladin, knight}
weaponmul = {"1", "10", "10", "30", "30"}
distmul = {"1", "10", "10", "50", "15"}
shieldmul = {"1", "15", "15", "30", "50"}
manamul = {"1", "20", "20", "10", "8"}
-- 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 = 10
manatickmul = 100
-------------------------------- Skull system ----------------------------------
-- how many unjustified kills to get a red skull
redunjust = 5
-- how many unjustified kills to get banned
banunjust = 10
-- how long do you have white skull after attacking player (1 = 1min)
hittime = 5
-- how long do you have white skull after killing player (1 = 1min)
whitetime = 8
-- how long do you have red skull (1 = 1min)
redtime = 30
-- how long do you have to wait to lose 1 unjustified kill (1 = 1min)
fragtime = 30
-- how many days the pk ban lasts (1=1day)
pkbandays = 1
------------------------------ GM access rights --------------------------------
-- access to walk into houses and open house doors
accesshouse = 2
-- 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
-- Access To Use GM Command Window (CTRL + Y)
accessctrly = 2
-- access for answer reports with CTRL + R
access_ctrl_r = 1
-- Access to report bugs with CTRL + Z
access_ctrl_z = 1
-- Access to talk in orange color (Help channel)
accessorange = 1
-- GameMaster cant attack players on melee or using runes? Yes/no
gmprotected = "no"
-- only gamemaster can use mc system of tibia?
antigmmc = "yes"
--------------------------------------------------------------------------
--------------------------- DIE PERCENTS ---------------------------------
--------------------------- CzepOTS ---------------------------------
--------------------------------------------------------------------------
-- how much % of {exp, mana, skill, eq, bp} do you lose when dying
diepercent = {"5", "10", "10", "10", "100"}
-- how much % of {exp, mana, skill, eq, bp} do you lose when dying
diepercent_promotion = {"3", "3", "3", "3", "100"}
-- how much % of exp/skills/stuff do you lose when dying if you have 1 blessing and you dont have promotion
diebless1 = 9
-- how much % of exp/skills/stuff do you lose when dying if you have 2 blessings and you dont have promotion
diebless2 = 8
-- how much % of exp/skills/stuff do you lose when dying if you have 3 blessings and you dont have promotion
diebless3 = 7
-- how much % of exp/skills/stuff do you lose when dying if you have 4 blessings and you dont have promotion
diebless4 = 6
-- how much % of exp/skills/stuff do you lose when dying if you have 5 blessings and you dont have promotion
diebless5 = 5
-- how much % of exp/skills/stuff do you lose when dying if you have 1 blessing and you have promotion
diebless1promotion = 6
-- how much % of exp/skills/stuff do you lose when dying if you have 2 blessings and you have promotion
diebless2promotion = 5
-- how much % of exp/skills/stuff do you lose when dying if you have 3 blessings and you have promotion
diebless3promotion = 4
-- how much % of exp/skills/stuff do you lose when dying if you have 4 blessings and you have promotion
diebless4promotion = 3
-- how much % of exp/skills/stuff do you lose when dying if you have 5 blessings and you have promotion
diebless5promotion = 2
--------------------------------------------------------------------------
--------------------------- SAVE SERVER ---------------------------------
--------------------------- CzepOTS ---------------------------------
--------------------------------------------------------------------------
-- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour)
autosave = 60
-- Char saving.. yes/no
charSaving = "no"
-- Guild saving.. yes/no
guildSaving = "no"
-- House saving.. yes/no
houseSaving = "yes"
-- how often do server saves characters (1 = 1min) **Requires Char saving.. enabled.
playersave = 30
-- how often do server saves houses (1 = 1min) **Requires House saving.. enabled.
housesave = 15
-- how often do server saves guilds (1 = 1min) **Requires Guild saving.. enabled.
guildsave = 100
--------------------------------------------------------------------------
--------------------------- HOUSE SYSTEM ---------------------------------
--------------------------- CzepOTS ---------------------------------
--------------------------------------------------------------------------
-- !buyhouse enabled?
buyhouse = "yes"
-- Level to buy house using command !buyhouse
levelhouse = 70
-- house price for 1 sqm
priceforsqm = 500
-- max houses for player
maxhouses = 1
-- How long player have house when buying from NPC?
housetime = 7*24*60*60
-- When player don't pay rent for house so items send to depot ? 1=yes 0=no
housedepot = 1
--------------------------------------------------------------------------
--------------------------- CzepOTS ---------------------------------
--------------------------------------------------------------------------
-- Exp color
-- COLORS
-- (darkblue = 2, red = 180, orange = 199, gray = 121, green = 84)
-- (lime = 102, yellow = 169, light blue = 71, white = 983)
expcolor = 199
-- 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
-- Name of City when depot id is 0 (for send parcels)
city0 = "city0"
-- Name of City when depot id is 1 (for send parcels)
city1 = "city1"
-- Name of City when depot id is 2 (for send parcels)
city2 = "city2"
-- Name of City when depot id is 3 (for send parcels)
city3 = "city3"
-- 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"
-- Name of City when depot id is 7 (for send parcels)
city7 = "city7"
-- Name of City when depot id is 8 (for send parcels)
city8 = "city8"
-- Name of City when depot id is 9 (for send parcels)
city9 = "city9"
-- Distance away from spawn to remove a monster
dist = 100
-- Temple Position in Rookgard
rooktemple_x = 85
rooktemple_y = 211
rooktemple_z = 7
-- Level to back in RookGard
rooklvl = 10
-- MSG when dead configuration
diemsg = "yes" -- "Zostales zdegradowany do..." Yes or no?
extradiemsg = "no" -- "Straciles xxx expa."
DieMSG = "Jestes trupem." -- RL Dead Message ("You are dead.")
-- Do you want to add numbers skill when advance?
-- (Example: You advaced to sword fighting level 90.)
AdvanceSkill_ShowNumbers = "yes"
-- Extra Effects (yes/no) [FS burn enemy, P-dagger poisoning enemy etc.]
extraeffects="yes"
-- Level To Say in Trade?
tradelvl = 3
-- Muted System
mutedsystem = "no"
mutedtime = "3"
-- Lvl to Yell?
minlvltoyell = 10
-- How many increase magic damage blue robe?
bluerobe = 200
-- How many increase magic damage mystic turban?
mysticturban = 200
--How many mana and Hp you recovery using Soft Boots ? ID: 2640
softmana = "500"
softhealth = "500"
-- Life Ring Configuration
liferinghealth = "15"
liferingmana = "15"
-- ROH Configuration
healingringmana = "30"
healingringhealth = "30"
-- Level to use Wand of Undead
undeadlvl = 60
-- Min dmg wand of undead
mindmg_undead = 90
-- Max dmg wand of undead
maxdmg_undead = 150
-- Level to use Wand of Inferno
crystallvl = 30
-- Level to use Crystal Rod
crystallvl = 60
-- Min dmg Crystal Rod
mindmg_crystal = 90
-- Max dmg Crystal Rod
maxdmg_crystal = 150
-- How many winged helmet give haste?
wingedhaste = 600
-- Max Depot items for premmiums accounts
maxdepotpremmy = 2000
-- Max Depot items for free accounts
maxdepotfree = 1000
--Mc = 0 You cant use Mc. Mc = 1 You can use MC.
mc = "0"
-- PVP Team Acc 1/1 and 2/2
team = "no"
-- Do you want "Thunder System" ? yes / no
thundersystem = "no"
-- speed of attack in seconds (no-voc, sorc, druid, pally, knight)
speed = {"2.5", "2.0", "2.0", "1.0", "0.7"}
-- Cheats on OTS yes/no [ /cheats-on /cheat-cash - to create 100 crysal coin]
cheats = "no"
-- Position Where Start Snowing (North-West map)
snowX = "139"
snowY = "38"
-- Do you want use "Exori Mas" spell ? (Many Arrows shot to monsters) yes/no
exori_mas = "no"
Teraz mozemy wejsc w data/account i tam sprawdzamy jakie pasy ma HOSTER i ACCOUNT MANAGER ;]
Po sprawdzeniu tego mozemy wejsc na swoj OTS i cieszyc sie gra
Jak Pomogłem Daj REPUTA !!!
.moderator{ background-color: transparent; border-left: 4px solid #292e13; border-right: 1px dotted #292e13; border-top: 1px dotted #292e13; border-bottom: 1px dotted #292e13; padding: 4px; padding-left: 25px; background: #93A063 url(http://i47.tinypic.com/mvmaa1.gif) center left no-repeat; margin: 0px auto 8px auto;} Notka moderatorska: Nie używamy koloru czerwonego, słabo napisany poradnik, zły dział, następnym razem pomyśl zanim zrobisz - kosz