Jump to content
  • 0

[HELP] Error when compiling H&S


estaz

Question

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

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock