Gorion Posted December 27, 2013 Posted December 27, 2013 (edited) I changed it to propertySplit1 but then I had other errors like below [javac] G:\workspace\L2J_Server\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:5938: error: unreachable statement [javac] if (PkHunterEvent.isPk(killer) && !Config.DROP_PKHUNTEREVENT) [javac] ^ [javac] G:\workspace\L2J_Server\java\com\l2jserver\gameserver\GameServer.java:473: error: method load in class Config cannot be applied to given types; [javac] Config.load(); [javac] ^ [javac] required: String[] [javac] found: no arguments [javac] reason: actual and formal argument lists differ in length [javac] G:\workspace\L2J_Server\java\com\l2jserver\loginserver\L2LoginServer.java:94: error: method load in class Config cannot be applied to given types; [javac] Config.load(); [javac] ^ [javac] required: String[] [javac] found: no arguments [javac] reason: actual and formal argument lists differ in length [javac] G:\workspace\L2J_Server\java\com\l2jserver\tools\accountmanager\SQLAccountManager.java:55: error: method load in class Config cannot be applied to given types; [javac] Config.load(); [javac] ^ [javac] required: String[] [javac] found: no arguments [javac] reason: actual and formal argument lists differ in length [javac] G:\workspace\L2J_Server\java\com\l2jserver\tools\gsregistering\BaseGameServerRegister.java:306: error: method load in class Config cannot be applied to given types; [javac] Config.load(); [javac] ^ [javac] required: String[] [javac] found: no arguments [javac] reason: actual and formal argument lists differ in length [javac] Note: G:\workspace\L2J_Server\java\com\l2jserver\gameserver\instancemanager\AutoVoteRewardHandler.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 5 errors Edited December 27, 2013 by Gorion Quote
^Wyatt Posted December 27, 2013 Author Posted December 27, 2013 "required: String[] [javac] found: no arguments" Quote
disorder25 Posted April 8, 2014 Posted April 8, 2014 (edited) Can you add a feature? Show where the pk is on the map. Thanks. Edited April 17, 2014 by disorder25 Quote
xdem Posted April 8, 2014 Posted April 8, 2014 + public static boolean isPk(L2Character pk) + { + if(pk != null && getPk() != null && pk.getName().equals(getPk().getName())) + { + return true; + } + return false; + } should be return pk == getPk() + public static int[] getPkLocation() + { + return PkLocation; + } should be public static Location getPkLocation() { return new Location(PkLocation[0], PkLocation[1], PkLocation[2]); } Quote
disorder25 Posted April 15, 2014 Posted April 15, 2014 (edited) Great event. Excellent job mate. Only have one problem, .gopk is not working. I got the latest Hi5 L2j Stable. Can you help? Here is the error on gameserver.... Failed running: [C] 49 Say2 - L2J Server Version: 6445M - DP Revision: 9641M ; Enum value of type com.l2jserver.gameserver.model.skills.targets.L2TargetType required, but not specified java.lang.IllegalArgumentException: Enum value of type com.l2jserver.gameserver. model.skills.targets.L2TargetType required, but not specified at com.l2jserver.gameserver.model.StatsSet.getEnum(StatsSet.java:585) at com.l2jserver.gameserver.model.skills.L2Skill.<init>(L2Skill.java:381 ) at com.l2jserver.gameserver.model.skills.l2skills.L2SkillTeleport.<init> (L2SkillTeleport.java:46) at handlers.voicedcommandhandlers.PkHunterVoiced.useVoicedCommand(PkHunt erVoiced.java:59) at handlers.chathandlers.ChatAll.handleChat(ChatAll.java:78) at com.l2jserver.gameserver.network.clientpackets.Say2.runImpl(Say2.java :278) at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run (L2GameClientPacket.java:70) at com.l2jserver.gameserver.network.L2GameClient.run(L2GameClient.java:1 091) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) I fixed the problem\, it was at the target type, if you are having this problem change this line. set.set("target", "TARGET_SELF"); to this: set.set("targetType", "SELF"); Edited April 17, 2014 by disorder25 Quote
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.