Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use
viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
admreytor
Posts: 10 Joined: Mon Dec 20, 2010 2:16 am
Post
by admreytor » Wed Jan 12, 2011 8:19 am
Hello people, I am implementing the Hide and Seek event in the most current version of Hj, but when compiling it gives this error below
Code: Select all
[javac] C:\Users\Erick\workspace\L2jServer Lizo\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2HaSEventManagerInstance.java:54: cannot find symbol [javac] symbol : method isRegistered(com.l2jserver.gameserver.model.actor.instance.L2PcInstance) [javac] location: class com.l2jserver.gameserver.model.olympiad.Olympiad [javac] if(Olympiad.getInstance().isRegistered(player)) [javac] ^ [javac] C:\Users\Erick\workspace\L2jServer Lizo\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:261: cannot find symbol [javac] symbol : method isRegistered(com.l2jserver.gameserver.model.actor.instance.L2PcInstance) [javac] location: class com.l2jserver.gameserver.model.olympiad.Olympiad [javac] if(Olympiad.getInstance().isRegistered(p)) [javac] ^ [javac] 2 errors
jurchiks
Posts: 6769 Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe
Post
by jurchiks » Wed Jan 12, 2011 8:53 am
change it to OlympiadManager.getInstance().isRegistered...
Also, since the problem is with an event that is shared in this forum, this should have been asked in the topic of that event.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
admreytor
Posts: 10 Joined: Mon Dec 20, 2010 2:16 am
Post
by admreytor » Wed Jan 12, 2011 5:26 pm
I went to put the event in the post but I had to have 20 post, as I am new here I have no right nen 2.
friend
I made the switch and did the same error as below.
Code: Select all
[javac] Compiling 1529 source files to C:\Users\Erick\workspace\L2jServer Lizo\L2_GameServer\build\classes [javac] C:\Users\Erick\workspace\L2jServer Lizo\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2HaSEventManagerInstance.java:54: cannot find symbol [javac] symbol : variable OlympiadManager [javac] location: class com.l2jserver.gameserver.model.actor.instance.L2HaSEventManagerInstance [javac] if(OlympiadManager.getInstance().isRegistered(player)) [javac] ^ [javac] C:\Users\Erick\workspace\L2jServer Lizo\L2_GameServer\java\com\l2jserver\gameserver\model\entity\HideAndSeek.java:261: cannot find symbol [javac] symbol: variable OlympiadManager [javac] if(OlympiadManager.getInstance().isRegistered(p)) [javac] ^ [javac] 2 errors
admreytor
Posts: 10 Joined: Mon Dec 20, 2010 2:16 am
Post
by admreytor » Wed Jan 12, 2011 5:35 pm
Thank you got here, I forgot to import the class
of
import com.l2jserver.gameserver.model.olympiad.Olympiad;
to
import com.l2jserver.gameserver.model.olympiad.OlympiadManager;
Thank you for your help
admreytor
Posts: 10 Joined: Mon Dec 20, 2010 2:16 am
Post
by admreytor » Wed Jan 12, 2011 6:52 pm
one thing I noticed was when the event is started, the processor will use 10% to 100%, would not fix or some type of?