Buff Selling Service

Voice Command: .sellbuff or .sellbuffs
Configuration: gameserver/config/services.properties
By default, the service is turned off.

Code:
######## Buff Selling Service ############
SellBuffEnable = False
Multiplier for the cost of MP for buffs
SellBuffMpCostMultiplier = 1
Item used as payment for buffs. You can change it to your own item
SellBuffPaymentID = 57
Minimum number of items for a buff
SellBuffMinimumPrice = 1000
Maximum number of items for a buff
SellBuffMaximumPrice = 100000000
Maximum number of buffs in the selling list
SellBuffMaxBuffs = 20

Path to XML: gameserver/data/sell_buff_list.xml

In this file, you add permitted IDs for the selling list:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE list SYSTEM "sell_buff_list.dtd">
<list>
<skill id="264" /> <!-- Song of Earth -->
<skill id="265" /> <!-- Song of Life -->
<skill id="266" /> <!-- Song of Water -->
<skill id="267" /> <!-- Song of Warding -->
<skill id="268" /> <!-- Song of Wind -->
<skill id="269" /> <!-- Song of Hunter -->
<skill id="270" /> <!-- Song of Invocation -->
<skill id="271" /> <!-- Dance of the Warrior -->
<skill id="272" /> <!-- Dance of Inspiration -->
<skill id="273" /> <!-- Dance of the Mystic -->
<skill id="274" /> <!-- Dance of Fire -->
<skill id="275" /> <!-- Dance of Fury -->
<skill id="276" /> <!-- Dance of Concentration -->
<skill id="277" /> <!-- Dance of Light -->
.......................
</list>

Localization:
HTML: gameserver/html/scripts/services/sellbuff/

Dynamic strings: gameserver/data/strings/sellbuff.
Code:
sellbuff.emptylist=Your buff list is empty, please add a skill first!
sellbuff.titleIncorrectSize=Your title cannot exceed 29 characters in length. Please try again.
sellbuff.toBigPrice=Price is too high! Maximum price is {0}
sellbuff.PriceOfSkillsChanged=Price of {0} has been changed to {1}!
...........

In advance... YES, I will add only to premium accounts in the configuration.

If there are more requests - write IN THE TOPIC, I will implement
 
Last edited:
add config multiples currency, like pawnshop seller PawnShopCurrencyItemIds.
add zone config for sellbuff, for example i want to create a zone area in giran to sell buff, not all server area, like offshore type
SellBuffEffectTime the description example is wrong "Example: 3600 (1 hour + base time)", i set 300 and buff is 5 minutes, not base+5minutes.
add buff time parameter to sell_buff_list.xml, if empty take default.
add buff time column on html table. if i am vip show me time(vip)
 
Last edited:
- Seria muito bom ter a opção para configurar o tempo máximo em que a loja fica ativa

- Também adicionar a opção de o sistema funcionar apnas para quem tem conta premium ou a opção de o jogador utilizar uma moeda específica para ativar o sistema
Por exemplo: Para se tornar loja de buffs o player precisa pagar 1 coin of luck.
 
add config multiples currency, like pawnshop seller PawnShopCurrencyItemIds.
add zone config for sellbuff, for example i want to create a zone area in giran to sell buff, not all server area, like offshore type
SellBuffEffectTime the description example is wrong "Example: 3600 (1 hour + base time)", i set 300 and buff is 5 minutes, not base+5minutes.
add buff time parameter to sell_buff_list.xml, if empty take default.
add buff time column on html table. if i am vip show me time(vip)
Ok, i will add this options
 
Back
Top