Jump to content

Rank Pvp System 3.8.9 [Il - H5]


Recommended Posts

matthe

 

error? or not? the PKKills no update+1 never.

 

this is my config file.

 

#------------------------------------------------------------------------------------------#
#===================== Config v3.4.2 for l2jserver Hi5 by Masterio ========================#
#------------------------------------------------------------------------------------------#

#========================== CUSTOM PVP/RANK/REWARD SYSTEM =================================#
# Legal options for improve security.
# Legal fields in database store data of legal kills on victim, 
# it's mean if CustomPvpLegalPkKillerAward = false and killer kill PK player, he don't rise kills_legal count.
# INFO: Legal options dosen't matter for Reward/Rank options.
# INFO: All legal fields created for Community Board info about real kills count.

#----------------------------------------
# 			  Enable PvP	 	    	-
#----------------------------------------
# Enable Custom PvP System
CustomPvpEnabled = True

# Enable legal counter in Alt+T window in game. It's mean all kills will be counted by CPS rulez.
CustomPvpLegalCounterAltTEnabled = True

# Minimum player level for rise legal kills.
CustomPvpLegalMinLvl = 1

# If enabled each kill player with Karma will rise kills_legal and kills_today_legal in database. Default true.
CustomPvpLegalPkKillerAward = True

# If enabled each innocent players kills will rise kills_legal and kills_today_legal in database. Default false.
CustomPvpLegalPkModeEnabled = True

# Set time interval between kills the same victim (in minutes).
# If CustomPvpRewardProtection = 0 then reset is working for rewards, 
# if CustomPvpRankProtection = 0 then reset is working for ranks.
# Default: 1440, Preferred: 1440 [24h].
CustomPvpProtectionReset = 1440

# If enabled killer can't earn Rank Points, Rank Reward amount for kill higher rank Victim, than for kill hiself rank rp / rewards amount.
# implementation soon...

#----------------------------------------
# 			  Enable Reward	 	    	-
#----------------------------------------
# INFO: CustomPvpRewardProtectionReset is used.
# Enable Custom PvP Reward System
# REQUIRE: CustomPvpEnabled = true
CustomPvpRewardEnabled = True

# If the same player kill victim many times, then after X times the reward will not increase (0 - Disabled)
CustomPvpRewardProtection = 0

# Reward item id
CustomPvpRewardItemId = 57
# Reward item amount
CustomPvpRewardAmmount = 100

# Minimum player level to obtain reward.
CustomPvpRewardMinLvl = 1

# Gives reward for kill PK player (player with red nick)
CustomPvpRewardPkKillerAward = True

# Gives reward for kill innocent players. (PK mode ON)
CustomPvpRewardPkModeEnabled = False

#----------------------------------------
# 			Enable Ranks 				-
#----------------------------------------
# INFO: CustomPvpRewardProtectionReset is used.
# INFO: CustomPvpRewardEnabled can be disabled.
# INFO: CustomPvpRankName, 
# 		CustomPvpRankMinPoints, 
# 		CustomPvpRankPointsForKill, 
# 		CustomPvpRankRewardIds, 
# 		CustomPvpRankRewardAmounts 
# 		must have same size and cannot be empty.
# REQUIRE: CustomPvpEnabled = true
CustomPvpRankEnabled = True

# Minimum player level to obtain Rank Points.
CustomPvpRankMinLvl = 1

# Minimum player level to obtain Rank Points.
CustomPvpRank = 1

# Rank names (first element is the higher rank):
# Format: name1,name2,name3
# Example: CustomPvpRankName = custom rank name :P

# INFO: Be careful with points. MySql database allow BIGINT(18) total rank points.

# Rank require points (first element is points count for obtain 1st rank title, in example: Five Star General):
# Format: count1,count2,count3
# (count1 > count2 > count3) >= 0, minimum points for first (lowest) rank must be 0!
# Foramt: CustomPvpRankMinPoints = 10000,1000,400,0
# IMPORTANT: property elements count must be same like in CustomPvpRankName.
# Example: if current points BETWEEN 10 000 AND 5 000 is Rank 2.
CustomPvpRankMinPoints = custom rank :P

# Example: For God finger kills reward is 100 points.
# Format: count1,count2,count3
# IMPORTANT: properties count must be same like in CustomPvpRankName.
CustomPvpRankPointsForKill = custom rank :P

# If enabled each rank points earn will give reward by the Rank.
CustomPvpRankRewardEnabled = False
# Reward item id's.
# IMPORTANT: properties elements count must be same like in CustomPvpRankName.
CustomPvpRankRewardIds = custom rank :P
# Reward item amount
# IMPORTANT: properties elements count must be same like in CustomPvpRankItemIds.
CustomPvpRankRewardAmounts = custom rank :P

# If the same player kill victim many times, then after X times the points will not increase (0 - Disabled).
# If CustomPvpRankFarmProtect = 3, then it return 0 Rank Points for kill 4 time the same player.
# INFO: Protection is reseted every CustomPvpRewardProtectionReset.
CustomPvpRankProtection = 0

# Enable alternative points counting for players.
# If enabled then CustomPvpRankPointsForKill is ignored.
# Example: CustomPvpRankKillPointsDown = 100,50,10,1,0
# For first daily kill awards 100, 2nd kill give 50, ... , 0.
CustomPvpRankKillPointsDownEnabled = False
CustomPvpRankKillPointsDown = 100,50,10,1,0

# Shout current Points info to killer & victim.
CustomPvpRankShoutInfo = True

# Enable Rank Points for kill PK.
CustomPvpRankPkKillerAward = True

# Enable Rank Points for kill innocent players. (PK mode ON)
CustomPvpRankPkModeEnabled = False

#--------------------------------------------
# 			Enable War Kills 				-
#--------------------------------------------
# Enable war kills counter
CustomPvpWarEnabled = True

# Ratio for Rank Points when killed a player from WAR Clan. 
# Add to standard rank points for kill difference between ((points * ratio) - points).
# 2.0 mean 2 times more points for kill. 
# Ratio must be > 1, if <= 1 points will be not awarded.
CustomPvpWarRPRatio = 2.0

#---------------------------------------------------------------------
# 			.pvpinfo command, and death manager options 	         -
#---------------------------------------------------------------------
# If enabled allow use .pvpinfo command on targeted player.
CustomPvpInfoCommandEnabled = True

# If enabled .pvpinfo will be used by victim when Killer kill Victim.
CustomPvpInfoCommandShowOnDeathEnabled = True

# Show additional button in PvPWindow after death. 
# Button allow see more details about killer. HP/MP/CP, equipment (enchant) if enabled. 
# It shows killer status only for kill MOMENT.
# Option requires CustomPvpInfoCommandShowOnDeathEnabled and CustomPvpInfoCommandEnabled set on True.
CustomPvpDeathManagerDetailsEnabled = True

# Show killer weapons, armors, jawels and enchant.
CustomPvpDeathManagerShowItems = True

# Enable Rewards for obtain RankPoints.
# Rewards configuration in database table: custom_pvp_system_rank_reward.
# If enabled button "Get Reward" appear in PvP Status Window. 
CustomPvpRankPointsRewardEnabled = True

#------------------------------------------------------------
# 			PvP / Rank / Reward / DM zone option's 			-
#------------------------------------------------------------
# Zone id's:
# 	ZONE_PVP = 0;
# 	ZONE_PEACE = 1;
# 	ZONE_SIEGE = 2;
# 	ZONE_MOTHERTREE = 3;
# 	ZONE_CLANHALL = 4;
# 	ZONE_LANDING = 5;
# 	ZONE_NOLANDING = 6;
# 	ZONE_WATER = 7;
# 	ZONE_JAIL = 8;
# 	ZONE_MONSTERTRACK = 9;
# 	ZONE_CASTLE = 10;
# 	ZONE_SWAMP = 11;
# 	ZONE_NOSUMMONFRIEND = 12;
# 	ZONE_FORT = 13;
# 	ZONE_NOSTORE = 14;
# 	ZONE_TOWN = 15;
# 	ZONE_SCRIPT = 16;
# 	ZONE_HQ = 17;
# 	ZONE_DANGERAREA = 18;
# 	ZONE_ALTERED = 19;
# 	ZONE_NOBOOKMARK = 20;
# 	ZONE_NOITEMDROP = 21;
# 	ZONE_NORESTART = 22;

# Custom PvP System Anti-Farm options (zones id):
# Restricted zones id's. 
# It's mean if 'CustomPvpRestrictedZonesIds = 300003' , pvp/points counting is impossible here.
# Format: zoneId,zoneId, ... ,zoneId,zoneId
# Default: CustomPvpRestrictedZonesIds = 1,8,9
CustomPvpRestrictedZonesIds = 1,8,9

# Death Manager is disabled in this zones.
CustomPvpDeathManagerRestrictedZonesIds = 1,8,9

# Rank Ponts Bonus Ratio Zones
# Add to standard rank points for kill difference between ((points * ratio) - points).
# FORMAT: zoneId,ratio; ... ;zoneId,ratio
# Ratio must be > 1, if <= 1 points will be not awarded.
# Example: 2,1.5;13,1.2
# It will multiply rank points for Killer by 1.5 in area 2 , if Killer is inside this area.
CustomPvpRankPointsBonusZones = 2,1.5;13,1.2

#-----------------------------------------
# 			    Anti-Farm 	             -
#-----------------------------------------
# INFO: Options to check farming players 
# (dualbox farming, party farming, clan farming).
CustomPvpAntiFarmClanAllyEnabled = True
CustomPvpAntiFarmPartyEnabled = True
CustomPvpAntiFarmIpEnabled = False

#-------------------------------------------------------------------------------------
# 			    						Database 						             -
#-------------------------------------------------------------------------------------
# DO NOT CHANGE IT IF YOU DON'T KNOW WHAT YOU DO!
# Interval between PvpTable dump into database (in ms).
# Value must be greather than 10000 or will be overrided for 10000.
# Default: 60000
PvpTableUpdateInterval = 60000

# Interval between TopTable updates (in ms).
# Value must be greather than 60000 or will be overrided for 60000.
# Default: 600000 (10 min) Safe: 3600000 (1 h)
TopTableUpdateInterval = 3600000

#-----------------------------------------
# 			   Community Board           -
#-----------------------------------------
# Enable statistics system for community TOP LIST, data like top killers, top RP gatherers will be showed.
# Default: True
CommunityBoardTopListEnabled = True

#==========================================================================================#

 

 

tested in live server 150 players online. all player have 0 pk kills. only PvPkills.

 

P/D: i want reward rank point only for flagged player no PK Player.

 

# Gives reward for kill innocent players. (PK mode ON)

CustomPvpRewardPkModeEnabled = False

Link to comment
Share on other sites

    [javac] Compiling 1683 source files to /home/L2/L2J/L2J_Server/build/bin
    [javac] /home/L2/L2J/L2J_Server/java/com/l2jserver/gameserver/handler/UserCommandHandler.java:45: error: cannot find symbol
    [javac]                     registerHandler(new IVoicedCommandHandlerPvpInfo());
    [javac]                                         ^
    [javac]   symbol:   class IVoicedCommandHandlerPvpInfo
    [javac]   location: class UserCommandHandler
    [javac] /home/L2/L2J/L2J_Server/java/com/l2jserver/gameserver/network/clientpackets/RequestMagicSkillUse.java:83: error: cannot find symbol
    [javac]                     if (activeChar.getTarget() instanceof L2MonsterInstance)
    [javac]                                                           ^
    [javac]   symbol:   class L2MonsterInstance
    [javac]   location: class RequestMagicSkillUse
    [javac] 2 errors

BUILD FAILED

 

need help, i´m new with coding java

Link to comment
Share on other sites

If you use eclipse, and if you have all configured fine:

1. check if in code happened some errors, eclipse hints it (red X icon near file icon).

2. remember check your java jdk files in project libraries.

 

If you have problems with java read forum topics, there is many about configuration and develop projects.

Link to comment
Share on other sites

If you use eclipse, and if you have all configured fine:

1. check if in code happened some errors, eclipse hints it (red X icon near file icon).

No i don´t use eclipse cause i´m using an unix root server.  I´ve done all changes manually and checked changes several times...

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



  • Posts

    • DISCORD :   utchiha_market   telegram    https://t.me/utchiha_market   SELLIX STORE :   https://utchiha-market.mysellix.io/   Join the server for more products :   https://discord.gg/hoodservices
    • When it comes to encrypting passwords, using a strong hashing algorithm like SHA-256 or bcrypt is recommended. These algorithms help ensure that passwords are securely stored and protected from being easily decrypted.
    • ***CLExt L2OFF Extender Premium Account Save - Auto Login***   We would like to sell account panel for save accounts for server owners or self player.  You can login and save your id and pass accounts or delete it etc.       Price: 100 euro.   ***CLExt L2OFF Extender Premium Auto-Farm Macro System*** We would like to sell Auto-Farm Macro System for server owners or self player.  You can add your potions and your macro to farm your character with your standars.       Price: 100 euro.   If you like to order send me DM or skype zoumhs999.
    • Diablo III, the action-packed hack-and-slash RPG developed by Blizzard Entertainment, has captivated gamers worldwide since its release in 2012. Now, imagine a world where Diablo III's source code is opened up to the community, inviting developers and enthusiasts alike to enhance and refine this beloved game. This topic delves into the possibilities, challenges, and community desires surrounding the idea of Diablo III as an open-source project.   Key Points: 1. Defining Diablo III: Diablo III is an action role-playing game set in the dark fantasy world of Sanctuary. Players traverse through randomized dungeons, battling hordes of demons and collecting loot to strengthen their characters. With its compelling storyline, addictive gameplay mechanics, and rich lore, Diablo III has amassed a dedicated fanbase over the years.   2. Open Source Potential: Opening up the source code of Diablo III could unlock a wealth of opportunities for the game's future. Community developers could introduce new features, enhance existing gameplay elements, and address long-standing issues. The modding community, known for its creativity and innovation, could breathe new life into the game by creating custom content, game modes, and user interface improvements. 3. Community Interest: The question arises - would the gaming community welcome the idea of Diablo III becoming open source? Many players are eager to see the game evolve beyond its current state, with enhancements such as improved balance, expanded end-game content, and enhanced multiplayer features. By involving the community in the development process, Diablo III could foster a stronger sense of ownership and collaboration among its players. 4. Challenges and Considerations: While the concept of Diablo III as an open source is enticing, it also presents several challenges. Ensuring the integrity of the game's balance and preventing cheating would be paramount concerns. Additionally, coordinating development efforts and maintaining a cohesive vision for the game could prove challenging in a community-driven environment. However, with proper oversight and collaboration, these obstacles can be overcome. 5. Is Diablo III an MMORPG? Diablo III is often categorized as an action RPG rather than a traditional MMORPG (massively multiplayer online role-playing game). While it does feature online multiplayer elements, including cooperative play and player-versus-player combat, it lacks the persistent open world typically associated with MMORPGs. Instead, Diablo III focuses on instanced dungeons and smaller-scale multiplayer interactions. The Benefits of Improvement: Improving Diablo III through open-source development could revitalize the game, attracting new players and re-engaging existing fans. By embracing community-driven innovation, Diablo III could remain relevant and enjoyable for years to come. Additionally, fostering an active modding community could extend the game's longevity and create new opportunities for player expression and creativity.   Source code  
  • Topics

×
×
  • Create New...