Jump to content

[SHARE]CounterStrike sounds during pvp.


Vago

Recommended Posts

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) ?

 

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

  • 1 year later...

   [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);

                                }

                             }

                          }

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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