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.
Note: Your post will require moderator approval before it will be visible.

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.



  • Posts

    • Thank you for your reply. I have removed it from the L2Server.exe file, but the L2Server still crashes. It doesn't crash if I don't start l2npc, otherwise it will crash within a few days at the latest.
    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
  • Topics

×
×
  • Create New...