Jump to content

Recommended Posts

Posted (edited)

Hello i founded on my SSD some update to this system, not published yet.

Compatibility: L2jFrozen (rev.956+)

How it works:
Sell Buff System allows sell buffs by specified classes.
If you are Prophet you can set store with you current buffs set.
All options are configurable in config/head/other.properties file.

Latest update:
v1.9.0 [29.09.2012]:
+ Added EnterWorld, RequestGiveNickName diff patch, now restore character data on startup is correct
  [ missing in all versions, I'm sorry for that ].


Example config file:

# -----------------------------------------

#  Sell Buff System                      -

# -----------------------------------------

# Describe:

# System allow sell buffs by players who's classes are declared in SellBuffClassList.

#



# Enable / Disable Sell Buff System

SellBuffEnabled = true



# Allow offline buff sell.

OfflineSellbuffEnabled = True



# Enable skill mp use.

SellBuffSkillMpEnabled = False



# Multiplier skill mp consume.

# If character have 2000 mp, and multiplier = 100.0, sell buff mp = 200 000.

SellBuffSkillMpMultiplier = 1.0



# Enable specific skill item consume. Example: Skill Chant of Victory using Spirit Ore.

SellBuffSkillItemConsumeEnabled = True



# Choose allowed classes.

# Format : classid,classid,classid,classid, ... classid,classid

SellBuffClassList = 15,16,97,17,98,29,30,105,42,43,112,50,116,51,115,100,21,107,34



# Allowed skillsId, and duration of this skills list:

# Format : skillid,duration;skillid,duration; ... ;skillid,duration

# SkillDuration is not implemented yet.

SellBuffSkillList = 33,7200;67,7200;264,7200;265,7200;266,7200;267,7200;268,7200;\

269,7200;270,7200;271,7200;272,7200;273,7200;274,7200;275,7200;276,7200;277,7200;\

304,7200;305,7200;306,7200;307,7200;308,7200;309,7200;310,7200;311,7200;\

349,7200;363,7200;364,7200;365,7200;366,7200;\

1002,7200;1003,7200;1004,7200;1005,7200;1006,7200;1007,7200;1008,7200;1009,7200;\

1032,7200;1033,7200;1035,7200;1036,7200;1040,7200;1043,7200;1044,7200;1045,7200;1048,7200;\

1059,7200;1062,7200;1068,7200;1073,7200;1077,7200;1078,7200;1085,7200;1086,7200;1087,7200;\

1182,7200;1189,7200;1191,7200;1204,7200;1240,7200;1242,7200;1243,7200;1249,7200;1250,7200;1251,7200;1252,7200;1253,7200;\

1257,7200;1259,7200;1260,7200;1261,7200;1268,7200;1279,7200;1280,7200;1281,7200;1282,7200;1284,7200;\

1303,7200;1307,7200;1308,7200;1309,7200;1310,7200;1311,7200;1328,7200;1352,7200;1353,7200;1354,7200;1355,7200;1356,7200;\

1357,7200;1362,7200;1363,7200;1364,7200;1365,7200;1388,7200;1389,7200;1390,7200;1391,7200;1392,7200;\

1393,7200;1397,7200;1413,7200;1414,7200;1415,7200;1416,7200;\

4699,7200;4700,7200;4702,7200;4703,7200;1323,7200



# Allow selling party buffs for no party members.

AllowPartyBuffs = True



# Allow selling clan buffs for no clan members.

AllowClanBuffs = True



# Buff buyer will be informed about buff price greater than SellBuffPunishedPrice.

# This option must be between <1, 2 000 000 000> (Default: 5000) (if it have other value, the option will be ignored).

SellBuffPunishedPrice = 5000



# If Enabled, remove useless buffs like shield lv.1 from dominator buff set.

# This option should be enabled, for helping players to get wrong buffs.

SellBuffFilterEnabled = True



# SellBuffMinLvl default: 40 (lower level's not implemented yet)

SellBuffMinLvl = 40



# Enable/disable selling buffs sets like Warrior set, Mage set...

SellBuffsetEnabled = True



# Set minimum character level to sell buffs sets (Default: 79)

SellBuffSetMinLvl = 79



# Define Buffsets: Warrior, Mage, Recharger, Tanker:

# Format: SellBuffsetWarrior = skillId,skillId,...,skillId

# No skills is disable show this buffset in menu.

SellBuffsetWarrior = 33,67,264,265,266,267,268,\

269,270,271,272,273,274,275,276,277,\

304,305,306,307,308,309,310,311,\

349,363,364,365,366,\

1002,1003,1004,1005,1006,1007,1008,1009,\

1032,1033,1035,1036,1040,1043,1044,1045,1048,\

1059,1062,1068,1073,1077,1078,1085,1086,1087,\

1182,1189,1191,1204,1240,1242,1243,1249,1250,1251,1252,1253,\

1257,1259,1260,1261,1268,1279,1280,1281,1282,1284,\

1303,1307,1308,1309,1310,1311,1328,1352,1353,1354,1355,1356,\

1357,1362,1363,1364,1365,1388,1389,1390,1391,1392,\

1393,1397,1413,1414,1415,1416,\

4699,4700,4702,4703,1323

#---------------------------------------------------------------

SellBuffsetMage =33,67,264,265,266,267,268,\

269,270,271,272,273,274,275,276,277,\

304,305,306,307,308,309,310,311,\

349,363,364,365,366,\

1002,1003,1004,1005,1006,1007,1008,1009,\

1032,1033,1035,1036,1040,1043,1044,1045,1048,\

1059,1062,1068,1073,1077,1078,1085,1086,1087,\

1182,1189,1191,1204,1240,1242,1243,1249,1250,1251,1252,1253,\

1257,1259,1260,1261,1268,1279,1280,1281,1282,1284,\

1303,1307,1308,1309,1310,1311,1328,1352,1353,1354,1355,1356,\

1357,1362,1363,1364,1365,1388,1389,1390,1391,1392,\

1393,1397,1413,1414,1415,1416,\

4699,4700,4702,4703,1323

#---------------------------------------------------------------

SellBuffsetRecharger = 33,67,264,265,266,267,268,\

269,270,271,272,273,274,275,276,277,\

304,305,306,307,308,309,310,311,\

349,363,364,365,366,\

1002,1003,1004,1005,1006,1007,1008,1009,\

1032,1033,1035,1036,1040,1043,1044,1045,1048,\

1059,1062,1068,1073,1077,1078,1085,1086,1087,\

1182,1189,1191,1204,1240,1242,1243,1249,1250,1251,1252,1253,\

1257,1259,1260,1261,1268,1279,1280,1281,1282,1284,\

1303,1307,1308,1309,1310,1311,1328,1352,1353,1354,1355,1356,\

1357,1362,1363,1364,1365,1388,1389,1390,1391,1392,\

1393,1397,1413,1414,1415,1416,\

4699,4700,4702,4703,1323

#---------------------------------------------------------------

SellBuffsetTanker = 33,67,264,265,266,267,268,\

269,270,271,272,273,274,275,276,277,\

304,305,306,307,308,309,310,311,\

349,363,364,365,366,\

1002,1003,1004,1005,1006,1007,1008,1009,\

1032,1033,1035,1036,1040,1043,1044,1045,1048,\

1059,1062,1068,1073,1077,1078,1085,1086,1087,\

1182,1189,1191,1204,1240,1242,1243,1249,1250,1251,1252,1253,\

1257,1259,1260,1261,1268,1279,1280,1281,1282,1284,\

1303,1307,1308,1309,1310,1311,1328,1352,1353,1354,1355,1356,\

1357,1362,1363,1364,1365,1388,1389,1390,1391,1392,\

1393,1397,1413,1414,1415,1416,\

4699,4700,4702,4703,1323



# Restricted zones id's.

# It's mean if 'SellBuffRestrictedZonesIds = 300003' , buff sell is impossible here.

# Format: zoneId,zoneId, ... ,zoneId,zoneId

# Default: SellBuffRestrictedZonesIds =(no spaces)

SellBuffRestrictedZonesIds =

link:
http://www.4shared.com/rar/ldDH7t9r/sbs_19.html

If you find bugs report me, thx for using ;)
I am from Poland, so sorry for my English :D

System now is not suported by me but some day if it will be useful for my server i will update it:D

 

Edited by Universe
  • 3 months later...
  • 8 months later...
  • 2 weeks later...
  • 7 months later...
Posted

Took my few minutes to adopt it into freya and add it on my project. WORKIG great!! is very nice feature for low rate servers. Thank you so much really amazing system as always by you!

  • 2 months later...
  • 1 month later...
  • 1 year later...
Guest
This topic is now closed to further replies.


×
×
  • Create New...