[7.92][Zorzin] Config.lua [Archiwum] - Forum tibia.org.pl

PDA

Pokaż Pełną Wersję : [7.92][Zorzin] Config.lua


Elite Warrior
12-08-2007, 19:24
Ma ktoś może polska lub angielską wersje config.lua do zorzina?

bardzo prosze



A wiesz może gdzie mam zmienić temple? bo chciałem se dać inna mapke, ale nigdzie tego nie widze

Niesiol
12-08-2007, 19:26
napisz tu cały config.lua to ci przetłumaczę na bieżąco

Elite Warrior
12-08-2007, 19:50
znalazłem wersje angielską tego config.lua, ale jak włączam ots to pisze że

Error: Unable to load config.lua

nie wiem co zrobić, a ta wersja br jest taka sama jak angielska ;/

Niesiol
12-08-2007, 19:51
Wklej tu brazyliską wersję, ja ci przetłumacze co, robi co a ty sobie poustawiasz ^^

Elite Warrior
12-08-2007, 19:56
jakbyś mógł powywalaj te po br i wpisz tam po polsku



-------- config.lua --------
-- Config file for OTServ --
----------------------------

-- server ip (the ip that server listens on)
ip = "127.0.0.1"

-- server port (the port that server listens on)
port = "7171"

-- Mostrar os GMS Online no comando !online? (Default: no)
show_gms_online = "no"

-- Regeneraçăo de Life e Mana quando o char está durmindo (Default: 5)
bed_regen = 5

-- Hotkey System? (yes/no)
hotkey_system = "yes"

-- Server Save (em minutos)
serversave = 30

--------------------------------------------------------------------
------------- Runas e Cargas Configs ---------------
--------------------------------------------------------------------

-- * Em price, coloque o preço.
-- * Em charges, coloque o numero de cargas.

-- Heavy Magic Missile (HMM)
price_hmm = 50
charges_hmm = 5

-- Ultimate Healing Rune (UH)
price_uh = 150
charges_uh = 1

-- Great Fireball (GFB)
price_gfb = 100
charges_gfb = 2

-- Explosion Rune (EXPLOSION)
price_explo = 150
charges_explo = 3

-- Sudden Death Rune (SD)
price_sd = 250
charges_sd = 1

--------------------------------------------------------------------
-------------- Surprise Bags Configs -----------------
--------------------------------------------------------------------

-- Dropar Surprise Bags nos Monstros? (yes/no)
surprise_bags = "yes"

-- Porcentagem de dropar a Blue Bag
blue_bag_percent = 10

-- Porcentagem de dropar a Red Bag
red_bag_percent = 10

-- Id da Blue Bag
blue_bag_id = 6570

-- Id da Red Bag
red_bag_id = 6571

--------------------------------------------------------------------
---------------- Rookgaard Configs --------------------
--------------------------------------------------------------------

-- TownID de Rookgaard
rook_townid = 9

-- Players podem ser Rookados? (yes/no)
player_can_be_rooked = "yes"

-- Level para ser Rookado
level_to_be_rooked = 3

--------------------------------------------------------------------
--------- Premium/Promotion Configs ------------
--------------------------------------------------------------------

-- TownID da cidade Free (quando a premium acabar o player será teleportado para este templo)
free_townid = 1

-- Preço de um Dia de Premium Account
premium_price = 4000

-- Preço da Promotion
promotion_price = 20000

-- Mensagem que será mandada quando a premium acabar
prem_msg = "Your premium account has expired."

-- Mensagem que será mandada quando o player for Free e tentar usar uma Magia de Premium
premium_spells_msg = "You need a premium account to cast this spell."

-- Mensagem que será mandada quando o player năo for Promoted e tentar usar uma Magia de Promoted
promotion_spells_msg = "You need a promotion to cast this spell."

--------------------------------------------------------------------
---------- Randomize Ground Configs ------------
--------------------------------------------------------------------

-- Randomize Ground? (yes/no)
randomize_ground = "yes"

-- Water Percent
water_percent = 70

-- Lava Percent
lava_percent = 10

-- Swamp Percent
swamp_percent = 50

-- Tar Percent
tar_percent = 10

-- Mountain Percent
mountain_percent = 50

-- Rocks Percent
rocks_percent = 60

-- Grass Percent
grass_percent = 80

-- Underwater Ground Percent
underwater_percent = 70

--------------------------------------------------------------------
------------------- Stamina Configs ---------------------
--------------------------------------------------------------------

-- Quantos segundos de Stamina perder a cada monstro
stamina_lost_monster = 10

-- Quantos segundos de Stamina adicionar a cada Segundo que o player estiver offline?
stamina_amount = 2

--------------------------------------------------------------------
---------------- Fight Modes Configs ------------------
--------------------------------------------------------------------

-- Full Attack {atk, def}
full_attack = {"100","50"}

-- Balanced {atk, def}
balanced = {"75","75"}

-- Full Defense {atk, def}
full_defense = {"50","100"}

--------------------------------------------------------------------
---------------------- Loss Configs ------------------------
--------------------------------------------------------------------

-- Exp Loss (sem bless, bless1, bless2, bless3, bless4, bless5)
exp_loss = {"10", "9", "8", "7", "6", "5"}

-- Promoted Exp Loss (sem bless, bless1, bless2, bless3, bless4, bless5)
promoted_exp_loss = {"7", "6", "5", "4", "3", "2"}

-- Magic Level Loss (sem bless, bless1, bless2, bless3, bless4, bless5)
magiclevel_loss = {"10", "9", "8", "7", "6", "5"}

-- Promoted Magic Level Loss (sem bless, bless1, bless2, bless3, bless4, bless5)
promoted_magiclevel_loss = {"7", "6", "5", "4", "3", "2"}

-- Skills Loss (sem bless, bless1, bless2, bless3, bless4, bless5)
skills_loss = {"10", "9", "8", "7", "6", "5"}

-- Promoted Skills Loss (sem bless, bless1, bless2, bless3, bless4, bless5)
promoted_skills_loss = {"7", "6", "5", "4", "3", "2"}

-- Items Loss (sem bless, bless1, bless2, bless3, bless4, bless5)
items_loss = {"40", "39", "38", "37", "36", "35"}

-- Promoted Items Loss (sem bless, bless1, bless2, bless3, bless4, bless5)
promoted_items_loss = {"37", "36", "35", "34", "33", "32"}

-- Backpack Loss (sem bless, bless1, bless2, bless3, bless4, bless5)
backpack_loss = {"100", "100", "100", "100", "100", "100"}

-- Promoted Backpack Loss (sem bless, bless1, bless2, bless3, bless4, bless5)
promoted_backpack_loss = {"100", "100", "100", "100", "100", "100"}

--------------------------------------------------------------------

-- Trade Ticks (em segundos)
trade_ticks = 120

-- Mensagem que irá aparecer quando o player tentar mandar mensagem no Trade e tiver com tradeTicks
trade_delay_msg = "You may only place one offer in two minutes."

-- Level que năo pode conversar nos Channels
speak_lvl = 1

-- Mensagem que será enviada quando um player tiver o level que năo é permitido para conversar nos channels
speak_msg = "You may not speak into channels as long as you are on level 1."

-- ID da Bag/Backpack que será adicionada quando o player morrer
bag_id = 1987

-- Rate de Exp para PVP-Enforced (quando matar outro player)
rate_enforced_exp = 3

-- Aparecer a Mensagem quando um player da mesma Account tenta entrar no MC em um char da mesma account? (yes/no)
show_account_already_logged_msg = "yes"

-- Mensagem que irá aparecer quando player da mesma Account tentar entrar no MC em um char da mesma account
account_already_logged_msg = "You may not login in a character of the same account at the same time."

--------------------------------------------------------------------
------------------ Exp Color Configs --------------------
--------------------------------------------------------------------

-- Ficar trocando de cor a Exp randomicamente? (yes/no) (Se for Yes, a Exp vai sair cada hora de uma cor)
exp_color_random = "no"

-- Cor da Exp (apenas se exp_color_random for "no")
exp_color = 0

--------------------------------------------------------------------
--------------- Square Color Configs -----------------
--------------------------------------------------------------------

-- Ficar trocando de cor o Black Square randomicamente? (yes/no) (Se for Yes, o Black Square vai sair cada hora de uma cor)
square_color_random = "no"

-- Cor do Black Square (apenas se square_color_random for "no")
exp_color = 215

--------------------------------------------------------------------
--------------------- Outfit Configs -----------------------
--------------------------------------------------------------------

-- GMs podem trocar de outfit? (yes/no)
gms_change_outfit = "yes"

-- Tutors podem trocar de outfit? (yes/no)
tutors_change_outfit = "yes"

-- Players Normais podem trocar de outfit? (yes/no)
players_change_outfit = "yes"

-- Mensagem que será mandada quando um player năo puder trocar de outfit
change_outfit_msg = "Sorry, you cannot change your outfit."

--------------------------------------------------------------------
---------------------- AFK Configs ------------------------
--------------------------------------------------------------------

-- Tempo em que o player será kickado se ficar AFK (15*60*1000 = 15 minutos)
afk_time = 15*60*1000

-- Tempo em que será mandada a mensagem para o player que ele está AFK (1*60*1000 = 1 minuto antes de ser kickado)
afk_time_msg = 1*60*1000

-- Mensagem que irá aparecer quando ele estiver AFK por um tempo
afk_msg = "You have been idle for 15 minutes. You will be disconnected in one minute if you are still idle then."

-- Turn elemina o AFK Time? (por exemplo.. Ctrl Up, Ctrl Down, Ctrl Left, Ctrl Right) (yes/no)
afk_turn_work = "no"

-- AFK para Gms? (yes/no)
afk_for_gms = "no"

--------------------------------------------------------------------

-- Speed Formula (Default: 220)
speed_form = 220

-- Velocidade de GMs (Default: 1000)
gm_speed = 1000

-- Atirar diretamente runas nos players pelo Battle? (yes/no)
directly_shoot_battle = "no"

-- Cap System (yes/no)
cap_system = "yes"

-- Mostrar o peso do item quando der look nele? (yes/no)
show_item_weight = "yes"

-- Players podem atacar Sumons? (yes/no)
can_attack_summons = "no"

--------------------------------------------------------------------
--------------- Regras do OT Configs -----------------
--------------------------------------------------------------------

-- OBS: As regras vocę edita no arquivo: data/rules.xml

-- Mostrar Janela com as Regras no primeiro Login do player? (yes/no)
show_rules_first_login = "yes"

-- Qual o ID do Item que aparecerá na Janela das Regras
rules_box_itemid = 1990

--------------------------------------------------------------------
--------------- Tutor System Configs -----------------
--------------------------------------------------------------------

-- Mostrar nome do Access de um player quando der look nele? (yes/no)
show_access_name = "yes"

-- Access para mover items de longe
access_to_move_items = 4

--------------------------------------------------------------------
------------ Account Manager Configs -------------
--------------------------------------------------------------------

-- Acc Manager? (yes/no)
acc_manager = "yes"

-- Manager Account Number
manager_accnumber = 111111

-- Manager Password
manager_password = "111111"

-- Account Number que o player vai receber uma Mensagem para que ele entre na Account/Senha digitada acima
manager_receive_msg_account = 1

-- Nome do Acc Manager
manager_name = "Acc Manager"

-- Criar chars em rook? (no-vocation)
manager_rook = "yes"

-- Health do char que será criado
manager_health = 150

-- Mana do char que será criado
manager_mana = 0

-- Exp do char que será criado
manager_exp = 0

-- Level do char que será criado
manager_level = 1

-- Capacity do char que será criado
manager_capacity = 400

-- Magic Level do char que será criado
manager_maglevel = 0

-- TownID do char que será criado
manager_townid = 9

-- Outfit do char que será criado
manager_looktype = 128
manager_lookhead = 20
manager_lookbody = 30
manager_looklegs = 40
manager_lookfeet = 50

-- Adicionar items no char criado? (yes/no)
manager_additems = "yes"

-- Item nos slots (coloque 0 para desativar)
manager_head = 0
manager_necklace = 0
manager_armor = 2650
manager_shield = 0
manager_weapon = 2382
manager_legs = 0
manager_boots = 0
manager_ammunation = 0
manager_ring = 0
manager_backpack = 1987

-- Items dentro da backpack do char criado {id1, count1, id2, count2, id3, count3, id4, count4} (Coloque 0 no ID para desativar)
manager_items_in_backpack = {"2120","1","2674","1","0","1","0","1"}

--------------------------------------------------------------------
------------------ Buyhouse Configs -------------------
--------------------------------------------------------------------

-- Preço de 1 SQM da house
houseprice = 200

-- Level mínimo para comprar uma house
houselevel = 20

-- Mostrar preço da house quando der look na porta da house? (yes/no)
show_house_price = "yes"

-- Houses somente para Premium Players? (yes/no)
houses_only_for_premium_players = "yes"

--------------------------------------------------------------------
---------------- Skull System Configs -----------------
--------------------------------------------------------------------

-- Time to lose a white skull (1 = 1 minute)
whitetime = 15

-- Time to lose one frag (1 = 1 hour)
fragtime = 1

-- Ban unjust, how many frags you need to get banned (1 = 1 frag)
banunjust = 6

-- Red skull unjust, how many frags you need to get a red skull (1 = 1 frag)
redunjust = 3

-- Bantime, for how long the player is banned (1 = 1 hour)
bantime = 24*1


--------------------------------------------------------------------
----------- Protection System Configs -------------
--------------------------------------------------------------------

-- Protection System? (yes/no)
protection_system = "no"

-- Máximo Level em que o player será protegido
protection_level = 20

-- Mensagem que será mandada quando um player tentar atacar um outro que está protected
protection_msg = "You may not attack a player that has level 20 or lower."

--------------------------------------------------------------------
-------------- ItemID Changer Configs --------------
--------------------------------------------------------------------

-- Trocar ItemIDS? (yes/no)
change_itemids = "yes"

-- Quantos items trocar?
howmany_items = 14

-- ItemID Antes
itemid_before = {"1263", "1264", "1265", "1266", "1267", "1268", "5276", "5277", "1273", "1274", "3449", "3450", "1275", "1276"}

-- ItemID Depois
itemid_after = {"6436", "6437", "6440", "6441", "6444", "6445", "6470", "6471", "6454", "6455", "6458", "6459", "6462", "6463"}

--------------------------------------------------------------------
------------------- Buy/Sell Configs --------------------
--------------------------------------------------------------------

-- Max Items to buy (if item is not countable - Ex: rope, crown armor) (Default: 200)
max_items_notcountable = 200

-- Max Items to buy (if item is countable - Ex: meat, ham) (Default: 2000)
max_items_countable = 2000

-- The message that will be sent when the player try to buy more then the max items (Default: "Sorry, you can not buy more than ")
max_items_msg = "Sorry, you can not buy more than "

--------------------------------------------------------------------

-- Infinitas Ammunation (Bolts/Arrows/etc..) (yes/no)
infinite_ammunation = "no"

-- Infinitas Runas (yes/no)
infinite_runecharges = "no"

-- Max Death Entries
maxdeathentries = 10

-- Porcentagem de sair Leathers quando usar a obsidian knife no dead monster (dragons, minos, dragon lord, behemoth, bone beast) (de 0-100) (Default: 8)
obsidian_knife_chance = 8

-- Porcentagem de sair Vampire Dust ou Demon Dust quando usar a blessed wooden stake em Vampire/Demon (de 0-100) (Default: 10)
blessed_wooden_chance = 10

-- Mensagem em vermelho quando o player der login (coloque "none" para desativar)
red_login_msg = "Welcome to Zorzin OTServer."

-- Mostrar o "xx players online" no console? (yes/no)
see_playersonline = "yes"

-- Mostrar o "Reject player - reason: xx" no console? (yes/no)
see_rejectmsg = "yes"

-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------

-- data directory location
datadir = "data/"

-- map location
map = "data/world/SadTeam.otbm"

-- mapkind
-- options: OTBM for binary map, XML for OTX map
mapkind = "OTBM"

-- map store location (for XML only)
mapstore = "data/world/SadTeam-mapstore.xml"

-- house store location (for XML only)
housestore = "data/world/SadTeam-housestore.xml"

-- bans storage (for XML only)
banIdentifier = "data/bans.xml"

-- server name
servername = "Zorzin OTServ"

-- server location
location = "Brasil"

-- server url
url = ""

-- server owner name
ownername = "Zorzin"

-- server owner email
owneremail = "zorzin_ot@hotmail.com"

-- world name
worldname = "Zorzin OT"

-- world type
-- options: pvp, no-pvp, pvp-enforced
worldtype = "pvp"

-- exhausted time in ms (1000 = 1 second)
exhausted = 1000

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

-- how long does the player has to stay out of fight to get pz unlocked in ms (1000 = 1 second)
pzlocked = 1*60*1000

-- house rent period
-- options: daily, weekly, monthly
houserentperiod = "monthly"

-- rates (experience, skill, magic level and loot)
rate_exp = 4
rate_skill = 10
rate_mag = 8
rate_loot = 1
rate_spawn = 1

-- motd (the message box that you sometimes get before you choose characters)
motd = "Welcome to Zorzin OTServer!"
motdnum = "1"

-- login message
loginmsg = "Welcome to Zorzin OTServer."

-- how many logins attempts until ip is temporary disabled
-- set to 0 to disable
logintries = 5

-- how long the retry timeout until a new login can be made (without disabling the ip)
retrytimeout = 5000

-- how long the player need to wait until the ip is allowed again
logintimeout = 15 * 60 * 1000

-- allow clones (multiple logins of the same char)
-- options: 0 (no), 1 (yes)
allowclones = 0

-- max number of players allowed
maxplayers = "100"

-- md5 passwords for accounts
-- options: yes, no
md5passwords = "no"

-- SQL type
-- options: mysql, sqlite
sql_type = "mysql"

--- MySQL part (ignore if you are using SQLite)
sql_host = "localhost"
sql_user = "root"
sql_pass = "darek2006"
sql_db = "zorzin"

--- SQLite part (ignore if you are using MySQL)
sqlite_db = "db.s3db"

Niesiol
12-08-2007, 20:14
czy pokazywać gmów po wpisaniu !online?
-- Mostrar os GMS Online no comando !online? (Default: no)
show_gms_online = "no"

szybkość regeneracji w łóżku ^^
-- Regeneraçăo de Life e Mana quando o char está durmindo (Default: 5)
bed_regen = 5
co ile jest zapis serwera, w minutach
-- Server Save (em minutos)
serversave = 30

runki, ogólnie chodzi o to, price to cena a charges to ładunki ale to pewnie wiedziałeś ^^


Czy ma wyrzucać surprise bagi z potworów, te samo co na 10lecie tibii ^^

-- Dropar Surprise Bags nos Monstros? (yes/no)
surprise_bags = "yes"



sznasy dropu

-- Porcentagem de dropar a Blue Bag
blue_bag_percent = 10

-- Porcentagem de dropar a Red Bag
red_bag_percent = 10

ID bagów, nei zmieniaj ^^
-- Id da Blue Bag
blue_bag_id = 6570

-- Id da Red Bag
red_bag_id = 6571


townid rooka ^^
-- TownID de Rookgaard
rook_townid = 9
czy można być zrookowanym
-- Players podem ser Rookados? (yes/no)
player_can_be_rooked = "yes"
na którym levelu wracamy na rooka ^^
-- Level para ser Rookado
level_to_be_rooked = 3



ustawienia premium, promocji też nie ruszać raczej, chociaż mozesz zmienić cenę 4000 to cena pacc 20000 to prom.
-- TownID da cidade Free (quando a premium acabar o player será teleportado para este templo)
free_townid = 1

-- Preço de um Dia de Premium Account
premium_price = 4000

-- Preço da Promotion
promotion_price = 20000

-- Mensagem que será mandada quando a premium acabar
prem_msg = "Your premium account has expired."

-- Mensagem que será mandada quando o player for Free e tentar usar uma Magia de Premium
premium_spells_msg = "You need a premium account to cast this spell."

-- Mensagem que será mandada quando o player năo for Promoted e

czy ma "randomizować"(losować różne podłoża ^^) i ile procent


-- Randomize Ground? (yes/no)
randomize_ground = "yes"

-- Water Percent
water_percent = 70

-- Lava Percent
lava_percent = 10

-- Swamp Percent
swamp_percent = 50

-- Tar Percent
tar_percent = 10

-- Mountain Percent
mountain_percent = 50

-- Rocks Percent
rocks_percent = 60

-- Grass Percent
grass_percent = 80

-- Underwater Ground Percent
underwater_percent = 70

stamina tracona po zabiciu potwora

-- Quantos segundos de Stamina perder a cada monstro
stamina_lost_monster = 10

stamina zdobywana w wartości minutę bycia offline ^^
-- Quantos segundos de Stamina adicionar a cada Segundo que o player estiver offline?
stamina_amount = 2


czy można zmieniać outfity, (gm tutorzy i playersi)
-- GMs podem trocar de outfit? (yes/no)
gms_change_outfit = "yes"

-- Tutors podem trocar de outfit? (yes/no)
tutors_change_outfit = "yes"

-- Players Normais podem trocar de outfit? (yes/no)
players_change_outfit = "yes"


prędkość GM

-- Velocidade de GMs (Default: 1000)
gm_speed = 1000
czy można atakować z run w okienku battle(yes/no)?

-- Atirar diretamente runas nos players pelo Battle? (yes/no)
directly_shoot_battle = "no"
cap ssytem, to chyba logiczne ^^
-- Cap System (yes/no)
cap_system = "yes"
czy ma pokazywać wagę przedmiotu przy patrzeniu
-- Mostrar o peso do item quando der look nele? (yes/no)
show_item_weight = "yes"
czy gracze mogą atakować summony innych graczy
-- Players podem atacar Sumons? (yes/no)
can_attack_summons = "no"


przedmioty które dostaje geracz po założeniu postaci accmanagerem, standardowe hasła 111111/111111

-- Item nos slots (coloque 0 para desativar)
manager_head = 0
manager_necklace = 0
manager_armor = 2650
manager_shield = 0
manager_weapon = 2382
manager_legs = 0
manager_boots = 0
manager_ammunation = 0
manager_ring = 0
manager_backpack = 1987

-- Items dentro da backpack do char criado {id1, count1, id2, count2, id3, count3, id4, count4} (Coloque 0 no ID para desativar)
manager_items_in_backpack = {"2120","1","2674","1","0","1","0","1"}




reszta raczej na początek Ci się nie przyda w razie problemów pisz na moje gg 6620513