2 answers to this question
Recommended Posts
This topic is now closed to further replies.
Sign in to follow this
Followers
0
-
Recently Browsing 0 members
No registered users viewing this page.
Descreva em algumas palavras a base utilizada. (Nome do servidor / Nome do cliente / Nome do Website / etc).
Ex: ExtremeOT, 7.6
Base: YourOTs
Qual a sua pergunta?
Pesquisei muito nesses últimos dias porém não encontrei nada aplicado ao meu server. As munições (arrow, bolt, power bolt, etc) estão infinitas e eu gostaria de retirar, porém no meu config.lua não tem nenhuma opção nesse sentido, tentei incluir as tags removeWeaponAmmunition e removeWeaponCharges porém não surtiu efeito . Não existe o arquivo "weapons.xml", acredito que por ser uma versão antiga, poderiam me auxiliar? Quero montar um servidor baseado no RPG old school e não gostaria que tivesse essa facilidade.
Você tem o código disponível? Se tiver poste-o na caixa de código que está dentro do spoiler abaixo:
---------------------------- OTServ configuration ------------------------------
-- datadir
datadir = "data/"
-- sets what map to load
map = "data/world/arkania.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 = "Bem Vindos ao OTserv. Acessem nosso site: http://potinho.servegame.com:8090. Divirta-se."
-- the port otserv listens on
port = "7171"
-- name of our server
servername = "OTserv"
-- name of the owner of our server
ownername = "Potinho"
-- email of the owner of our server
owneremail = "[email protected]"
-- the url for more server info
url = "http://potinho.servegame.com:8090"
-- the location of the server
location = "Brasil"
-- the ip the server should redirect too
ip = "186.224.238.226"
-- The messagebox you sometimes get before you choose characters
motd = "Bem vindo ao OTserv. Dúvidas reportar ao GM Potinho."
motdnum="13"
-- 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 = "200"
-- exhausted time in ms (1000 = 1sec)
exhausted = 1500
-- exhausted time in ms (1000 = 1sec)
exhaustedheal = 1000
-- 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 = 10*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", "a elder druid", "a royal paladin", "a 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 = "OTserv"
-- how often do server saves it's state (0 = off, 5 = 5min, 60 = hour)
autosave = 5
-- 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 = "yes"
-- do you want premium players to wait in queue as others? (yes/no)
queuepremmy = "no"
-- 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 = 0
-- anti-afk - maximum idle time to kick player (1 = 1min)
kicktime = 15
-- maximum number of items player can keep in his/her depot
maxdepotitems = 2000
-- maximum number of items premium player can keep in his/her depot
maxdepotitemspremium = 4000
-- maximum number of items on a house tile (including those in containers)
maxhousetileitems = 1500
-- how much death entries are saved in players file (old are deleted)
maxdeathentries = 8
-- 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 = {"0.9", "0.7", "0.5"}
-- Forms of Defense of the Shield (NO IS INCLUDED ARMOR)
-- Full Attack,Balanced,Full Defense
defenseforms = {"0.5", "0.7", "0.9"}
-- Damage Form/x
-- Knight, Paladin
-- Default - {"0.4","0.4"}
dmg = {"0.4","0.4"}
--------------------------- DIE PERCENTS ---------------------------------
-- how much % of {exp, mana, skill, eq, bp} do you lose when dying
diepercent = {"4", "4", "4", "4", "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 = 9
-- how much % of exp/skills/stuff do you lose when dying if you have 3 blessings and you dont have promotion
diebless3 = 6
-- how much % of exp/skills/stuff do you lose when dying if you have 4 blessings and you dont have promotion
diebless4 = 5
-- how much % of exp/skills/stuff do you lose when dying if you have 5 blessings and you dont have promotion
diebless5 = 4
-- 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 = 3
-- 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", "50", "1"}
shieldmul = {"1", "1", "1", "50", "60"}
manamul = {"5", "18", "18", "18", "18"}
-- 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 = 50
manatickmul = 50
promotionhealthtickmul = 75
promotionmanatickmul = 75
-------------------------------- Skull system ----------------------------------
-- unjustified kill time (1 = 1min)
whiteskulltime = 5
-- redskull time (1 = 1min)
redskulltime = 30
-- unjustified kills to get a red skull
redskull = 3
-- unjustified kills to get banned
redskullban = 30
-- how many days the pk ban lasts (1=1day)
pkbandays = 3
-- how long do you have to wait to lose 1 unjustified kill (1 = 1min)
fragtime = 15
------------------------------ 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 = 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 = 3
----------------------------------- DEVLAND OPTIONS ----------------------------
--Exp color
-- COLORS
-- (darkblue = 2, red = 180, orange = 199, gray = 121, green = 84)
-- (lime = 102, yellow = 169, light blue = 71, white = 983)
expcolor = 169
-- How many premmy days the player get when say !buypremmy
manypremmydays = 100
-- How many the player pay when say !buypremmy
prricepremmy = 10000
-- !buyhouse yes/no
buyhouse = "yes"
-- minimum level to buy house
levelhouse = 100
-- house price for 1 sqm
priceforsqm = 500
-- max houses for player
maxhouses = 1
--How many Hp/Mana you recover while Sleeping per second (60 seconds = [life +1 and mana +1])
bedregain = 2
--Distance away from spawn to remove a monster - The Chaos
dist = 40
--Do you want the fancy animations?!
animations = "yes"
-- color of advance animations
-- (darkblue = 2, red = 180, orange = 199, gray = 121, green = 84)
-- (lime = 102, yellow = 169, light blue = 71, white = 983)
anicolor = 84
--How many mana and Hp you recovery using Life Ring
liferingmana = "25"
liferinghealth = "25"
--How many mana and Hp you recovery using Ring of Healing
healingringmana = "40"
healingringhealth = "40"
--How many mana and Hp you recovery using Soft Boots
softmana = "100"
softhealth = "100"
-- How many percent increase magic damage when u have mystic turban?
mysticturban = 5
-- How many % increase magic damage when u have blue robe?
bluerobe = 5
dsmfire = 10
--Do you want Atack Animations (Fire AXE etc.)?! yes/no
atackanimations = "yes"
-- Name of City when depot id is 1 (for send parcels)
city1 = "devland1"
-- Name of City when depot id is 2 (for send parcels)
city2 = "devland2"
-- Name of City when depot id is 3 (for send parcels)
city3 = "devland3"
-- hours to lost in sex change
sexchangehours = 5
-- speed of attack in seconds (no-voc, sorc, druid, pally, knight)
speed = {"0.8", "1.0", "1.0", "0.7", "0.7"}
-- drop rate multiplier (how much faster the itens will drop from monsters)
droprate = 1
--Auto Save time for each player.... 1 = 1min
saveTime = 5
----- config animated text -----
znaczek = "~"
--------------------------------------
Você tem alguma imagem que possa auxiliar no problema? Se sim, anexe-a dentro do spoiler abaixo:
Share this post
Link to post
Share on other sites