Jump to content

Recommended Posts

Posted

One question please.. can you add the "teamkiller"-sound as well? I really need it for events. :D

 

Explain it, you mean if you kill your friend for example (on TvT, CtF and so on) ?

 

Posted

i have problem i have god this error

 

    [javac] D:\ss\L2JTeon\java\net\sf\l2j\gameserver\model\actor\instance\L2PcIn
stance.java:5259: ')' expected
    [javac]     public synchronized void setActiveRequester(L2PcInstance request
er);
    [javac]                             ^
    [javac] D:\ss\L2JTeon\java\net\sf\l2j\gameserver\model\actor\instance\L2PcIn
stance.java:5259: '{' expected
    [javac]     public synchronized void setActiveRequester(L2PcInstance request
er);
    [javac]                                                ^
    [javac] D:\ss\L2JTeon\java\net\sf\l2j\gameserver\model\actor\instance\L2PcIn
stance.java:5259: ';' expected
    [javac]     public synchronized void setActiveRequester(L2PcInstance request
er);
    [javac]
  ^
    [javac] 100 errors
    [javac] 100 warnings

 

L2PcInstance.java 5259 Line:

 

public synchronized void setActiveRequester(L2PcInstance requester)

Posted

Eh its so hard to read these error logs  ????

 

';' expected

 

')' expected

 

'{' expected

 

Simplest errors.

 

  • 1 year later...
Posted

   [javac] C:\Documents and Settings\user\workspace\l2jserver\GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:5788: incomparable types: boolean and int

   [javac]                            if (onlinePlayer.isOnline() == 1)

   [javac]                                                        ^

   [javac] 1 error

 

 

                       PlaySound _snd = new PlaySound(1, "enemydown", 0, 0, 0, 0, 0);

                       

                       Collection<L2PcInstance> pls = L2World.getInstance().getAllPlayers().values();

                       for (L2PcInstance onlinePlayer : pls)

Line error->          if (onlinePlayer.isOnline() == 1)

                          {

                             if (onlinePlayer.getClan() != null)

                             {

                                if (onlinePlayer.getClan() == pk.getClan() && onlinePlayer != pk)

                                {

                                   onlinePlayer.sendPacket(_snd);

                                }

                             }

                          }

Posted

monaliza ... reviving a so old topic 6_6! .. last reply before yours was more than a year ago 6_6!

 

« Reply #37 on: March 02, 2010, 01:20:22 PM »

 

Btw .. i will see if i can make it works on Freya :D

Posted

monaliza ... reviving a so old topic 6_6! .. last reply before yours was more than a year ago 6_6!

 

« Reply #37 on: March 02, 2010, 01:20:22 PM »

 

Btw .. i will see if i can make it works on Freya :D

 

 

ok my friend i apreciate that :P thans so much :D:D:D:D

Posted

if (onlinePlayer.isOnline() == 1) = if (onlinePlayer.isOnline())

not rly

isOnline is boolean(only true or false) so u cant check if it is 1 or any other number, and by writing if(onlineplayer.isOnline()) you mean if(onlineplayer.isOnline()==false), so its not the same :)

Posted

not rly

isOnline is boolean(only true or false) so u cant check if it is 1 or any other number, and by writing if(onlineplayer.isOnline()) you mean if(onlineplayer.isOnline()==false), so its not the same :)

 

can you check the code and see what i have to change to it works on freya? please.

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