Welcome to MaxCheaters.com

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads

Code Rank Pvp System 3.8.9 [Il - H5]


Recommended Posts

  • Replies 486
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Hello, today I want present to you: Rank PvP System   COMPATIBILITY L2J-Server DESCRIPTION 1. PvP System: Added new method for PvP counting. It's secured by time limiter, and basic protections like same IP, clan etc. If time protecion is working then legall kills not rising. If killer kill victim and time is OK, so then I call it "Legal Kill", if killer kill victim again, PvP counter rise but not Legal Kill (Time Protection sorks). All informations are stored in DB. This "Time Protection

U are AMEZING thanks a lot really :)

quick fix for clan checkers:   Download

check configuration file, the RankRpcAmount option is a list of points f.e: 

 

If you use 42 ranks it should looks like this:

RankRpcAmount = 42,40,39,38,37,36,35,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,1

 

if you use 10 ranks then it should looks like this:

RankRpcAmount = 9,8,7,6,5,4,3,2,1,1

 

(you should keep order in all options)

 

* this is list of rank points awarded for each rank.

** if you want use that option for define const points you should write something like this:

RankRpcAmount = 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50

 

Same situation for TopTableUpdateTimes:

 

TopTableUpdateTimes = 3:00,20:55

 

format is: HH:MM,HH:MM,HH:MM ...

 

if you dont want use top table, you should set:

TopListEnabled = False

Edited by << Masterio >>

Share this post


Link to post
Share on other sites

Porblems in frozen 

 

   [javac] Compiling 1584 source files to C:\source\L2jFrozen_GameServer\build\classes
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\imageconverter\ServerSideImage.java:39: illegal start of type
    [javac]  private static Map<Integer, byte[]> _iconImages = new HashMap<>();
    [javac]                                                                ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\imageconverter\ServerSideImage.java:40: illegal start of type
    [javac]  private static Map<Integer, byte[]> _nameImages = new HashMap<>();
    [javac]                                                                ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\imageconverter\ServerSideImage.java:41: illegal start of type
    [javac]  private static Map<Integer, byte[]> _expImages = new HashMap<>();
    [javac]                                                               ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\KillerPvpStats.java:28: illegal start of type
    [javac]  private Map<Integer, Pvp> _victimPvpTable = new ConcurrentHashMap<>(); // used by many threads
    [javac]                                                                    ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\PvpTable.java:43: illegal start of type
    [javac]  private Map<Integer, KillerPvpStats> _killerPvpTable = new ConcurrentHashMap<>();  // used by many threads
    [javac]                                                                               ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RPCRewardTable.java:28: illegal start of type
    [javac]  private Map<Integer, RPCReward> _rpcRewardList = new HashMap<>();
    [javac]                                                               ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RPCTable.java:26: illegal start of type
    [javac]  private Map<Integer, RPC> _rpcList = new HashMap<>();
    [javac]                                                   ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemComboKill.java:34: illegal start of type
    [javac]  private List<Integer> _victims = new ArrayList<>();
    [javac]                                                 ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:64: illegal start of type
    [javac]  public static List<Integer> RANK_POINTS_DOWN_AMOUNTS = new ArrayList<>();
    [javac]                                                                       ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:81: illegal start of type
    [javac]  public static Map<Integer, String> COMBO_KILL_LOCAL_AREA_MESSAGES = new HashMap<>();
    [javac]                                                                                  ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:82: illegal start of type
    [javac]  public static Map<Integer, String> COMBO_KILL_GLOBAL_AREA_MESSAGES = new HashMap<>();
    [javac]                                                                                   ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:94: illegal start of type
    [javac]  public static Map<Integer, Double> COMBO_KILL_RANK_POINTS_RATIO = new HashMap<>();
    [javac]                                                                                ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:101: illegal start of type
    [javac]  public static List<Integer> ALLOWED_ZONES_IDS = new ArrayList<>();
    [javac]                                                                ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:102: illegal start of type
    [javac]  public static List<Integer> RESTRICTED_ZONES_IDS = new ArrayList<>();
    [javac]                                                                   ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:103: illegal start of type
    [javac]  public static List<Integer> DEATH_MANAGER_RESTRICTED_ZONES_IDS = new ArrayList<>();
    [javac]                                                                                 ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:104: illegal start of type
    [javac]  public static Map<Integer, Double> RANK_POINTS_BONUS_ZONES_IDS = new HashMap<>();
    [javac]                                                                               ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:131: illegal start of type
    [javac]  public static List<Long> TOP_TABLE_UPDATE_TIMES = new ArrayList<>();
    [javac]                                                                  ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:262: illegal start of type
    [javac]  RANK_POINTS_DOWN_AMOUNTS = new ArrayList<>();
    [javac]                                           ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:520: illegal start of type
    [javac]  List<Long> temp_time_list = new ArrayList<>();
    [javac]                                            ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemDeathStatus.java:45: illegal start of type
    [javac]  private Map<Integer, KillerItem> _killerItems = new HashMap<>();
    [javac]                                                              ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemDeathStatus.java:186: illegal start of type
    [javac]  Map<Integer, KillerItem> items = new HashMap<>();
    [javac]                                               ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankTable.java:14: illegal start of type
    [javac]  private static Map<Integer, Rank> _rankList = new LinkedHashMap<>();
    [javac]                                                                  ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RewardTable.java:27: illegal start of type
    [javac]  private Map<Integer, Reward> _pvpRewardList = new HashMap<>();
    [javac]                                                            ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RewardTable.java:30: illegal start of type
    [javac]  private Map<Integer, Reward> _lvlRewardList = new HashMap<>();
    [javac]                                                            ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RewardTable.java:97: illegal start of type
    [javac]  Map<Integer, Reward> list = new HashMap<>();
    [javac]                                          ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RewardTable.java:125: illegal start of type
    [javac]  Map<Integer, Reward> list = new HashMap<>();
    [javac]                                          ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\TopTable.java:50: illegal start of type
    [javac]     private Map<Integer, TopField> _topKillsTable = new LinkedHashMap<>();
    [javac]                                                                       ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\TopTable.java:56: illegal start of type
    [javac]     private Map<Integer, TopField> _topGatherersTable = new LinkedHashMap<>();
    [javac]                                                                           ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\TopTable.java:195: illegal start of type
    [javac]      Map<Integer, TopField> tmpTopKillsTable = new LinkedHashMap<>();
    [javac]                                                                  ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\TopTable.java:196: illegal start of type
    [javac]      Map<Integer, TopField> tmpTopGatherersTable = new LinkedHashMap<>();
    [javac]                                                                      ^
    [javac] 30 errors
 
BUILD FAILED

Share this post


Link to post
Share on other sites

 

Porblems in frozen 

   [javac] Compiling 1584 source files to C:\source\L2jFrozen_GameServer\build\classes
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\imageconverter\ServerSideImage.java:39: illegal start of type
    [javac]  private static Map<Integer, byte[]> _iconImages = new HashMap<>();
    [javac]                                                                ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\imageconverter\ServerSideImage.java:40: illegal start of type
    [javac]  private static Map<Integer, byte[]> _nameImages = new HashMap<>();
    [javac]                                                                ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\imageconverter\ServerSideImage.java:41: illegal start of type
    [javac]  private static Map<Integer, byte[]> _expImages = new HashMap<>();
    [javac]                                                               ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\KillerPvpStats.java:28: illegal start of type
    [javac]  private Map<Integer, Pvp> _victimPvpTable = new ConcurrentHashMap<>(); // used by many threads
    [javac]                                                                    ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\PvpTable.java:43: illegal start of type
    [javac]  private Map<Integer, KillerPvpStats> _killerPvpTable = new ConcurrentHashMap<>();  // used by many threads
    [javac]                                                                               ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RPCRewardTable.java:28: illegal start of type
    [javac]  private Map<Integer, RPCReward> _rpcRewardList = new HashMap<>();
    [javac]                                                               ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RPCTable.java:26: illegal start of type
    [javac]  private Map<Integer, RPC> _rpcList = new HashMap<>();
    [javac]                                                   ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemComboKill.java:34: illegal start of type
    [javac]  private List<Integer> _victims = new ArrayList<>();
    [javac]                                                 ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:64: illegal start of type
    [javac]  public static List<Integer> RANK_POINTS_DOWN_AMOUNTS = new ArrayList<>();
    [javac]                                                                       ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:81: illegal start of type
    [javac]  public static Map<Integer, String> COMBO_KILL_LOCAL_AREA_MESSAGES = new HashMap<>();
    [javac]                                                                                  ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:82: illegal start of type
    [javac]  public static Map<Integer, String> COMBO_KILL_GLOBAL_AREA_MESSAGES = new HashMap<>();
    [javac]                                                                                   ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:94: illegal start of type
    [javac]  public static Map<Integer, Double> COMBO_KILL_RANK_POINTS_RATIO = new HashMap<>();
    [javac]                                                                                ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:101: illegal start of type
    [javac]  public static List<Integer> ALLOWED_ZONES_IDS = new ArrayList<>();
    [javac]                                                                ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:102: illegal start of type
    [javac]  public static List<Integer> RESTRICTED_ZONES_IDS = new ArrayList<>();
    [javac]                                                                   ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:103: illegal start of type
    [javac]  public static List<Integer> DEATH_MANAGER_RESTRICTED_ZONES_IDS = new ArrayList<>();
    [javac]                                                                                 ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:104: illegal start of type
    [javac]  public static Map<Integer, Double> RANK_POINTS_BONUS_ZONES_IDS = new HashMap<>();
    [javac]                                                                               ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:131: illegal start of type
    [javac]  public static List<Long> TOP_TABLE_UPDATE_TIMES = new ArrayList<>();
    [javac]                                                                  ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:262: illegal start of type
    [javac]  RANK_POINTS_DOWN_AMOUNTS = new ArrayList<>();
    [javac]                                           ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemConfig.java:520: illegal start of type
    [javac]  List<Long> temp_time_list = new ArrayList<>();
    [javac]                                            ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemDeathStatus.java:45: illegal start of type
    [javac]  private Map<Integer, KillerItem> _killerItems = new HashMap<>();
    [javac]                                                              ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankPvpSystemDeathStatus.java:186: illegal start of type
    [javac]  Map<Integer, KillerItem> items = new HashMap<>();
    [javac]                                               ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RankTable.java:14: illegal start of type
    [javac]  private static Map<Integer, Rank> _rankList = new LinkedHashMap<>();
    [javac]                                                                  ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RewardTable.java:27: illegal start of type
    [javac]  private Map<Integer, Reward> _pvpRewardList = new HashMap<>();
    [javac]                                                            ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RewardTable.java:30: illegal start of type
    [javac]  private Map<Integer, Reward> _lvlRewardList = new HashMap<>();
    [javac]                                                            ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RewardTable.java:97: illegal start of type
    [javac]  Map<Integer, Reward> list = new HashMap<>();
    [javac]                                          ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\RewardTable.java:125: illegal start of type
    [javac]  Map<Integer, Reward> list = new HashMap<>();
    [javac]                                          ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\TopTable.java:50: illegal start of type
    [javac]     private Map<Integer, TopField> _topKillsTable = new LinkedHashMap<>();
    [javac]                                                                       ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\TopTable.java:56: illegal start of type
    [javac]     private Map<Integer, TopField> _topGatherersTable = new LinkedHashMap<>();
    [javac]                                                                           ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\TopTable.java:195: illegal start of type
    [javac]      Map<Integer, TopField> tmpTopKillsTable = new LinkedHashMap<>();
    [javac]                                                                  ^
    [javac] C:\source\L2jFrozen_GameServer\head-src\com\l2jfrozen\gameserver\masteriopack\rankpvpsystem\TopTable.java:196: illegal start of type
    [javac]      Map<Integer, TopField> tmpTopGatherersTable = new LinkedHashMap<>();
    [javac]                                                                      ^
    [javac] 30 errors
 
BUILD FAILED

Yes, like i sad, i reworked everything for jdk 1.7. It is mean you should change project settings for jdk 1.7 or rework the code in empty brackets: <> you should add for example:

JDK 1.7:
Map<Integer, TopField> tmpTopGatherersTable = new LinkedHashMap<>();

JDK 1.6:
Map<Integer, TopField> tmpTopGatherersTable = new LinkedHashMap<Integer, TopField>();

* find diffrence ;) 
Edited by << Masterio >>

Share this post


Link to post
Share on other sites

._. see this:

   /**
    * <PlayerId, TopField> contains top list. <br>
    * List is ordered from 1st position to last.
    */
    Map<Integer, TopField> tmpTopGatherersTable = new LinkedHashMap<Integer, TopField>();
 
    /**
    * <PlayerId, TopField> contains top list. <br>
    * List is ordered from 1st position to last.
    */
    private Map<Integer, TopField> _topGatherersTable = new LinkedHashMap<>();
 

here have  new LinkedHashMap<Integer, TopField>();

and new LinkedHashMap<>(); :/.... and when i change that have more problems 

Edited by leanrocki

Share this post


Link to post
Share on other sites

If you have problem, install jdk 1.7 and change project settings for jdk 1.7 ( Frozen is supporting JDK 1.7).

 

RMB on Project -> Properties -> Java Compiler:

 

a62s.jpg

 

it will be the fastest way for You. 

Edited by << Masterio >>

Share this post


Link to post
Share on other sites

I Know that ._. but i don't use 1.7 i need change al proyect and don't need pass 1.6 to 1.7 XD

It's really easy to do and you should.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.