Jump to content

Recommended Posts

  • 2 months later...
  • 3 weeks later...
  • 1 year later...
Posted
compile:
    [javac] Compiling 1574 source files to D:\PC\workspace\BySouger123\CT25-GameServer\build\classes
    [javac] D:\PC\workspace\BySouger123\CT25-GameServer\java\com\l2jserver\gameserver\model\entity\CTF.java:447: error: constructor SocialAction in class SocialAction cannot be applied to given types;
    [javac]  _player.broadcastPacket(new SocialAction(_player, 16)); //amazing glow
    [javac]                          ^
    [javac]   required: int,int
    [javac]   found: L2PcInstance,int
    [javac]   reason: actual argument L2PcInstance cannot be converted to int by method invocation conversion
    [javac] D:\PC\workspace\BySouger123\CT25-GameServer\java\com\l2jserver\gameserver\model\entity\CTF.java:695: error: constructor SocialAction in class SocialAction cannot be applied to given types;
    [javac]  _player.broadcastPacket(new SocialAction(_player, 16)); // amazing glow
    [javac]                          ^
    [javac]   required: int,int
    [javac]   found: L2PcInstance,int
    [javac]   reason: actual argument L2PcInstance cannot be converted to int by method invocation conversion
    [javac] D:\PC\workspace\BySouger123\CT25-GameServer\java\com\l2jserver\gameserver\model\entity\CTF.java:697: error: constructor SocialAction in class SocialAction cannot be applied to given types;
    [javac]  _player.broadcastPacket(new SocialAction(_player, 3)); // Victory
    [javac]                          ^
    [javac]   required: int,int
    [javac]   found: L2PcInstance,int
    [javac]   reason: actual argument L2PcInstance cannot be converted to int by method invocation conversion
    [javac] D:\PC\workspace\BySouger123\CT25-GameServer\java\com\l2jserver\gameserver\model\entity\CTF.java:1771: error: constructor SocialAction in class SocialAction cannot be applied to given types;
    [javac]  player.broadcastPacket(new SocialAction(player, 7));
    [javac]                         ^
    [javac]   required: int,int
    [javac]   found: L2PcInstance,int
    [javac]   reason: actual argument L2PcInstance cannot be converted to int by method invocation conversion
    [javac] D:\PC\workspace\BySouger123\CT25-GameServer\java\com\l2jserver\gameserver\model\entity\CTF.java:1775: error: constructor SocialAction in class SocialAction cannot be applied to given types;
    [javac]  player.broadcastPacket(new SocialAction(player, 3));
    [javac]                         ^
    [javac]   required: int,int
    [javac]   found: L2PcInstance,int
    [javac]   reason: actual argument L2PcInstance cannot be converted to int by method invocation conversion
    [javac] D:\PC\workspace\BySouger123\CT25-GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:6866: error: cannot find symbol
    [javac]  sendPacket(new SystemMessage(SystemMessageId.YOU_CANNOT_MOUNT_A_STEED_WHILE_HOLDING_A_FLAG));
    [javac]                                              ^
    [javac]   symbol:   variable YOU_CANNOT_MOUNT_A_STEED_WHILE_HOLDING_A_FLAG
    [javac]   location: class SystemMessageId
    [javac] 6 errors


BUILD FAILED
D:\PC\workspace\BySouger123\CT25-GameServer\build.xml:56: Compile failed; see the compiler error output for details.

I have the following errors, anyone have a solution?

 

Imports? keys?

  • 7 months later...
Posted (edited)

some pp here can't read the whole thread, just ask without read...

 

You need to fix some code to match with new revision, if you can't i think you shoudn't add this...

Edited by khongtuong

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



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