Old Old School Server
Welcome 2 Old School
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  GalleriesGalleries   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Config.lua

 
Post new topic   Reply to topic    Old School Server Forum Index -> OTS
View previous topic :: View next topic  
Author Message
RHTM
Hoster
<font color=blue>Hoster</font>



Joined: 14 Feb 2007
Posts: 1341
Read: 0 topics

Warns: 0/5
Location: Wrocław

PostPosted: Sat 1:14, 17 Feb 2007    Post subject: Config.lua

---------------------------- BIG SERVER configuration ------------------------------

-- datadir
datadir = "data/"

-- sets what map to load
map = "data/world/Enforteriaq.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 = "Welcome 2 Old School Server"

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

-- name of our server
servername = "Old School"

-- name of the owner of our server
ownername = "GM RHTM"

-- email of the owner of our server
owneremail = "bit-rhtm@o2.pl"

-- the url for more server info
url = "oldschoolserver.fora.pl"

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

-- the ip the server should redirect too
ip = "89.78.194.15"

-- The messagebox you sometimes get before you choose characters
motd = "Welcome 2 Old School"
motdnum="0"

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

-- exhausted time in ms (1000 = 1sec)
exhausted = 1450

-- exhausted time in ms (1000 = 1sec)
exhaustedheal = 1450

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

-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1sec)
pzlocked = 20*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"}


--- 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 = "Old School"

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

-- do you want premium players to wait in queue as others? (yes/no)
queuepremmy = "yes"

-- how many summons player can have
maxsummons = 3

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

-- 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 premium player can keep in his/her depot
maxdepotitemspremium = 2000

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

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

-- 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"}

--------------------------- DAMAGE PERCENTS ---------------------------------

-- Forms of attacks with any weapon
-- Full Attack,Balanced,Full Defense
attackforms = {"2.0", "1.0", "0.5"}

-- Forms of Defense of the Shield (NO IS INCLUDED ARMOR)
-- Full Attack,Balanced,Full Defense
defenseforms = {"0.5", "0.7", "1.0"}

-- Damage Form/x
-- Knight, Paladin
-- Default - {"2.0","1.5"}
dmg = {"2.0","1.5"}

-- speed of attack in seconds (no-voc, sorc, druid, pally, knight)
speed = {"2.0", "1.8", "1.8", "0.9", "0.6"}

-- changes the time a player waits until his character starts hitting the monster
-- in miliseconds, so 1000 = 1sec, 1500 = 1,5secs and 2000 = 2secs
opoznienie = "800"

--------------------------- DIE PERCENTS ---------------------------------

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

-- how much % of {exp, mana, skill, eq, bp} do you lose when dying
diepercent_promotion = {"6", "6", "6", "6", "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 = 5

-- how much % of exp/skills/stuff do you lose when dying if you have 2 blessings and you have promotion
diebless2promotion = 4

-- how much % of exp/skills/stuff do you lose when dying if you have 3 blessings and you have promotion
diebless3promotion = 3

-- how much % of exp/skills/stuff do you lose when dying if you have 4 blessings and you have promotion
diebless4promotion = 2

-- how much % of exp/skills/stuff do you lose when dying if you have 5 blessings and you have promotion
diebless5promotion = 1

--------------------------- Multipliers and gains ------------------------------

-- experience multiplier (how much faster you got exp from monsters)
expmul = 6

-- experience multiplier for pvp-enforced (how much faster you got exp from players)
expmulpvp = 1

-- skill multipliers: 1 - rl tibia, 10 - ten times faster etc. {no-voc, sorcerer, druid, paladin, knight}
weaponmul = {"1", "2", "2", "10", "15"}
distmul = {"1", "2", "2", "15", "2"}
shieldmul = {"1", "5", "5", "20", "20"}
manamul = {"1", "3", "3", "3", "3"}

-- 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 = 20
manatickmul = 20

promotionhealthtickmul = 30
promotionmanatickmul = 30




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

-- unjustified kill time (1 = 1min)
whiteskulltime = 3

-- redskull time (1 = 1min)
redskulltime = 12*60

-- unjustified kills to get a red skull
redskull = 4

-- unjustified kills to get banned
redskullban = 5

-- how many days the pk ban lasts (1=1day)
pkbandays = 2

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

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

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

-- access to login without waiting in the queue or when server is closed
accessenter = 5

-- access to ignore damage, exhaustion, cap limit and be ignored by monsters
accessprotect = 4

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

-- access to see id and position of the item you are looking at
accesslook = 5
----------------------------------- BIG SERVER OPTIONS ----------------------------


-- How many premmy days the player get when say !buypremmy
manypremmydays = 3

-- How many the player pay when say !buypremmy
prricepremmy = 10000

-- !buyhouse yes/no
buyhouse = "no"

-- minimum level to buy house
levelhouse = 100

-- house price for 1 sqm
priceforsqm = 4000

-- max houses for player
maxhouses = 1

--How many Hp/Mana you recover while Sleeping per second (60 seconds = [life +1 and mana +1])
bedregain = 4

--Distance away from spawn to remove a monster
dist = 100

-- hours to lost in sex change
sexchangehours = 5

--How many mana and Hp you recovery using Life Ring
liferingmana = "10"
liferinghealth = "10"

--How many mana and Hp you recovery using Ring of Healing
healingringmana = "16"
healingringhealth = "16"

--How many mana and Hp you recovery using Golden Boots
goldenmana = "8"
goldenhealth = "8"

--How many mana and Hp you recovery using Demon Armor
demonarmormana = "6"
demonarmorhealth = "6"

--How many mana and Hp you recovery using Demon Legs
demonlegsmana = "7"
demonlegshealth = "7"

--How many mana and Hp you recovery using Golden Helmet
goldenhelmetmana = "15"
goldenhelmethealth = "15"


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

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

-- How many % increase fire when u have dragon scale mail?
dsmfire = 2

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

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

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

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

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

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

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

-- Name of City when depot id is 7 (for send parcels and letter)
city7 = "city7"

-- Name of City when depot id is 8 (for send parcels and letter)
city8 = "city8"

-- Name of City when depot id is 9 (for send parcels and letter)
city9 = "city9"

-- Name of City when depot id is 10 (for send parcels and letter)
city10 = "city10"


The post has been approved 0 times

Last edited by RHTM on Thu 18:32, 05 Apr 2007; edited 4 times in total
Back to top
View user's profile
Matikkk
Newbie



Joined: 30 Dec 2007
Posts: 8
Read: 0 topics

Warns: 0/5

PostPosted: Tue 12:34, 05 Feb 2008    Post subject:

MysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEdMysteR SPamEd

The post has been approved 0 times
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Old School Server Forum Index -> OTS All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001, 2002 phpBB Group
Regulamin