Jump to content

Recommended Posts

Posted (edited)

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 >>
Posted

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
Posted (edited)

 

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 >>
Posted (edited)

._. 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
Posted (edited)

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 >>
Posted

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.

Guest
This topic is now closed to further replies.



×
×
  • Create New...