Config.lua

Status
Zamknięty.

grzesika

Active User
Zarejestrowany
Dołączył
Listopad 27, 2009
Posty
65
Liczba reakcji
0
Sci?gn??em Mazurski OTS 1.0 ale niemog?em edytowac pliku config.lua wiec jeden gosc poradzi? mi skopiowac zawartosc wrzucic do notatnika i podmienic z config.lua ale jak odpalam otsa to Failed to load Config.lua ! czy cos takiego....
co dalej ???
 
Odp: Config.lua

Czy config.lua, kt?ry wklei?e? by? r?wnie? z Mazurskiego?, chyba nie chcesz powiedzie?, ?e by? on z innego silnika. Spr?buj wklei? poni?szy config.lua, a mo?e to pomo?e.

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

-- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour)
autosave = 250

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

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

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

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

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

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

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


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

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

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

-- 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)
whiteskulltime = 10

-- how long do you have red skull (1 = 1min)
redskulltime = 3*60

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

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

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

-- Access To Use GM Command Window (CTRL + Y)
accessctrly = 2

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

--GM Msg
gmmsg = "no"

-- Life Ring Configuration
LifeRingHealth = "150"
LifeRingMana = "150"

-- ROH Configuration
RoHHealth = "300"
RoHMana = "300"

-- predkosc ataku ~hit->hit~ (1000 = 1 sec)--
speed = 100

-- predkosc pierwszego ataku ~click->hit~ (1000 = 1 sec)--
first = 100

--access to talk on chat in red
colortxt = 2

--Auto clean(0 - off, 1 - one minute, 60 - one hour)
autoclean = 200

--Auto restart(0 - off, 1 - one minute, 60 - one hour)
autorestart = 0

-- house price for 1 sqm
priceforsqm = 5000

-- max houses for player
maxhouses = 1

-- !buyhouse enabled?
buyhouse = "yes"

-- How many increase magic damage blue robe?
bluerobe = 10

-- How many increase magic damage mystic turban?
mysticturban = 10

-- Level To Say in Trade?
tradelvl = 30

--bolty maja sie konczyc? (yes/no)
bolts = "no"

Regards!
 
Odp: Config.lua

Ok.Ok ale czy to moge wkleic w notatniku ? zrobilem nazwe notatnika na config.lua a w folderze z ots pokazuje sie config.lua.txt....
 
Odp: Config.lua

Usu? sobie z g??wnego folderu OTSa plik config.lua a wklej poni?szy, kt?re zamieszczam Ci do pobrania.
config.rar
Oczywi?cie najpierw go wypakuj i wklej do g??wnego folderu.
Regards!
 
Odp: Config.lua

aha i o co chodzi w tym



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

-- Access To Use GM Command Window (CTRL + Y)
accessctrly = 2



w tych numerkach?
 
Odp: Config.lua

dzieki wielkie ale mam problem jak otwieram ten plik winrarem to niemoge go edytowac... co zrobic ??
 
Odp: Config.lua

dzieki wielkie ale mam problem jak otwieram ten plik winrarem to niemoge go edytowac... co zrobic ??
Wypakuj go sobi? wpierw na pulpit.
Regards!
 
Odp: Config.lua

a no tak ;d a z tymi numerkami ? ocb reput leci na 100% ;]
 
Odp: Config.lua

--------------------------------------------------------------------------------------
------------------------------- GM access rights --------------------------------
--------------------------------------------------------------------------------------
1 to tutor, 2 to senior tutor, 3 to gm.

-- access to walk into houses and open house doors Mozliwosc GMa wej?cia do domu.
accesshouse = 3

-- access to login without waiting in the queue or when server is closed Mozliwo?? wej?cia bez czekania lub kiedy serwer jest zamkniety.
accessenter = 1

-- access to ignore damage, exhaustion, cap limit and be ignored by monsters Mozliwo?c ignorowania dmgu, exha, capa i monsterow.
accessprotect = 3

-- access to broadcast messages and talk in colors (#c blabla - in public channels) Mozliwo?c pisania kolorowo.
accesstalk = 1

-- access to move distant items from/to distant locations Mozliwo?c przenoszenia itemow w dystansie.
accessremote = 3

-- access to see id and position of the item you are looking at Mozliwo?c widzenia id itemow na ktore patrzysz.
accesslook = 2

S?u?? pomoc? na przysz?o??.
Regards!

#down
Raczej nie, nie jestem pewny.
 
Ostatnia edycja:
Odp: Config.lua

reput polecia? ;d ale jak ustawie 1 ze tutor to god , senior tutor i gm beda mogli tez ?
 
Odp: Config.lua

i jeszcze 1 malutkie pytanko o co chodzi w gmmsg ?
 
Odp: Config.lua

To chyba odpowiada za pisanie na czerwono, tzn /B.
Regards!
 
Status
Zamknięty.
Back
Do góry