Jump to content

Recommended Posts

Posted (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 by Gorion
  • 3 months later...
Posted

  1. +       public static boolean isPk(L2Character pk)

  2. +       {

+               if(pk != null && getPk() != null && pk.getName().equals(getPk().getName()))

+               {

+                       return true;

+               }

+               return false;

+       }

should be

 

return pk == getPk()

 

  1. +       public static int[] getPkLocation()

  2. +       {

+               return PkLocation;

+       }

 

should be

 

public static Location getPkLocation()

{

return new Location(PkLocation[0], PkLocation[1], PkLocation[2]);

}

Posted (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 by disorder25

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
Reply to this topic...

×   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...