Jump to content
  • 0

[HELP] Error when compiling H&S


Question

Posted

Hello.

 

  I have implented and configured Hide and Seek automated event ( http://www.maxcheaters.com/forum/index.php?topic=115412.0 ) for Gracia Epilogue, but when i compile my L2_Gameserver, Eclipse drops me this error:

[javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2HaSEventManagerInstance.java:121: cannot find symbol
    [javac] symbol  : variable HAS_SHUTNONMENBERS
    [javac] location: class com.l2jserver.Config
    [javac] 			if(Config.HAS_SHUTNONMENBERS) {
    [javac] 			         ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:47: cannot find symbol
    [javac] symbol  : variable HAS_CLUES
    [javac] location: class com.l2jserver.Config
    [javac] 	private String[] _clues = new String[Config.HAS_CLUES];
    [javac] 	                                           ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:83: cannot find symbol
    [javac] symbol  : variable HAS_CLUES
    [javac] location: class com.l2jserver.Config
    [javac] 		byte size = (byte) (7 + Config.HAS_CLUES);
    [javac] 		                              ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:83: operator + cannot be applied to int,com.l2jserver.Config.HAS_CLUES
    [javac] 		byte size = (byte) (7 + Config.HAS_CLUES);
    [javac] 		                    ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:83: inconvertible types
    [javac] found   : <nulltype>
    [javac] required: byte
    [javac] 		byte size = (byte) (7 + Config.HAS_CLUES);
    [javac] 		                   ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:121: cannot find symbol
    [javac] symbol  : variable HAS_SINGLEREWARD
    [javac] location: class com.l2jserver.Config
    [javac] 					else if(child.getNodeName() == "rewardId" && !Config.HAS_SINGLEREWARD)
    [javac] 					                                                    ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:123: cannot find symbol
    [javac] symbol  : variable HAS_SINGLEREWARD
    [javac] location: class com.l2jserver.Config
    [javac] 					else if(child.getNodeName() == "rewardAmount" && !Config.HAS_SINGLEREWARD)
    [javac] 					                                                        ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:132: cannot find symbol
    [javac] symbol  : variable HAS_CLUES
    [javac] location: class com.l2jserver.Config
    [javac] 					if(Config.HAS_CLUES > 3) {
    [javac] 					         ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:133: cannot find symbol
    [javac] symbol  : variable HAS_CLUES
    [javac] location: class com.l2jserver.Config
    [javac] 						for(byte b = 4; b < Config.HAS_CLUES; b++) {
    [javac] 						                          ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:181: cannot find symbol
    [javac] symbol  : variable HAS_GAMETIME
    [javac] location: class com.l2jserver.Config
    [javac] 		long time = Config.HAS_GAMETIME * 60000;
    [javac] 		                  ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:182: cannot find symbol
    [javac] symbol  : variable HAS_CLUES
    [javac] location: class com.l2jserver.Config
    [javac] 		double interval = (double) (time / Config.HAS_CLUES);
    [javac] 		                                         ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeekDataParser.java:201: cannot find symbol
    [javac] symbol  : variable HAS_CLUES
    [javac] location: class com.l2jserver.Config
    [javac] 			else if(i >= Config.HAS_CLUES)
    [javac] 			                   ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:105: cannot find symbol
    [javac] symbol  : variable HAS_NPC
    [javac] location: class com.l2jserver.Config
    [javac] 	L2NpcTemplate npc = NpcTable.getInstance().getTemplate(Config.HAS_NPC);
    [javac] 	                                                             ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:110: cannot find symbol
    [javac] symbol  : variable HAS_NPC_COORDS
    [javac] location: class com.l2jserver.Config
    [javac] 		_regSpawn.setLocx(Config.HAS_NPC_COORDS[0]);
    [javac] 		                        ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:111: cannot find symbol
    [javac] symbol  : variable HAS_NPC_COORDS
    [javac] location: class com.l2jserver.Config
    [javac] 		_regSpawn.setLocy(Config.HAS_NPC_COORDS[1]);
    [javac] 		                        ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:112: cannot find symbol
    [javac] symbol  : variable HAS_NPC_COORDS
    [javac] location: class com.l2jserver.Config
    [javac] 		_regSpawn.setLocz(Config.HAS_NPC_COORDS[2]);
    [javac] 		                        ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:161: cannot find symbol
    [javac] symbol  : variable HAS_SINGLEREWARD
    [javac] location: class com.l2jserver.Config
    [javac] 		if(Config.HAS_SINGLEREWARD)
    [javac] 		         ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:162: cannot find symbol
    [javac] symbol  : variable HAS_REWARD
    [javac] location: class com.l2jserver.Config
    [javac] 			player.addItem("Hide & Seek event", Config.HAS_REWARD, Config.HAS_REWARD_AMOUNT, player, true);
    [javac] 			                                          ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:162: cannot find symbol
    [javac] symbol  : variable HAS_REWARD_AMOUNT
    [javac] location: class com.l2jserver.Config
    [javac] 			player.addItem("Hide & Seek event", Config.HAS_REWARD, Config.HAS_REWARD_AMOUNT, player, true);
    [javac] 			                                                             ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:200: cannot find symbol
    [javac] symbol  : variable HAS_REGPERIOD
    [javac] location: class com.l2jserver.Config
    [javac] 	long regPeriod = Config.HAS_REGPERIOD * 60 * 1000;
    [javac] 	                       ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:201: cannot find symbol
    [javac] symbol  : variable HAS_GAMETIME
    [javac] location: class com.l2jserver.Config
    [javac] 	long gamePeriod = Config.HAS_GAMETIME * 60 * 1000;
    [javac] 	                        ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:214: cannot find symbol
    [javac] symbol  : variable HAS_REGPERIOD
    [javac] location: class com.l2jserver.Config
    [javac] 		if(Config.HAS_REGPERIOD > 10 ){
    [javac] 		         ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:259: cannot find symbol
    [javac] symbol  : variable HAS_RANDOM
    [javac] location: class com.l2jserver.Config
    [javac] 				if(Config.HAS_RANDOM) {
    [javac] 				         ^
    [javac] C:\workspace\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:320: cannot find symbol
    [javac] symbol  : variable HAS_REGPERIOD
    [javac] location: class com.l2jserver.Config
    [javac] 		if(Config.HAS_REGPERIOD > 10 ){
    [javac] 		         ^
    [javac] 24 errors

BUILD FAILED
C:\workspace\L2_GameServer\build.xml:62: Compile failed; see the compiler error output for details.

Total time: 26 seconds

 

I really need to know how to solve it, becouse its not the first time when i get this error.

Thank you

 

estaz

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..