Thread: Kill streaks Compiler Error

Results 1 to 6 of 6
  1. #1 Kill streaks Compiler Error 
    Banned
    Join Date
    Jan 2012
    Posts
    265
    Thanks given
    6
    Thanks received
    14
    Rep Power
    0
    Hey I was trying to add this tutorial: [Only registered and activated users can see links. ]

    I got this error not sure how to fix or what needs to be done. I have added everything like it said. All help is appreciated.
    Code:
    src\server\model\players\PlayerAssistant.java:1282: error: cannot find symbol
                                                    if(!PlayerKilling.hostOnList(o,
    c.connectedFrom) && !c.inDuelArena()) {
                                                                     ^
      symbol:   method hostOnList(Client,String)
      location: class PlayerKilling
    src\server\model\players\PlayerAssistant.java:1283: error: cannot find symbol
                        PlayerKilling.addHostToList(o, c.connectedFrom);
                                     ^
      symbol:   method addHostToList(Client,String)
      location: class PlayerKilling
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    2 errors
    Press any key to continue . . .
    Reply With Quote  
     

  2. #2  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,472
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Import..

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Jan 2012
    Posts
    265
    Thanks given
    6
    Thanks received
    14
    Rep Power
    0
    What's left to import?

    I have these for
    playerass.

    import server.model.players.contents.KillingStreak;
    import server.model.players.contents.*;
    Reply With Quote  
     

  4. #4  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,472
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Add the folder to your compiler.

    Quote Originally Posted by jerryrocks317 View Post
    i am 14 and have my own laptop im on almost 24/7 currently creating rsps lol so please get off my thread lol
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Jan 2012
    Posts
    265
    Thanks given
    6
    Thanks received
    14
    Rep Power
    0
    Already did still same error.
    Reply With Quote  
     

  6. #6  
    Member
    Join Date
    Jun 2012
    Posts
    155
    Thanks given
    23
    Thanks received
    7
    Rep Power
    0
    Remove that and add
    Code:
    		o.killStreak += 1;
    		o.getStreak().checkKillStreak();
    		o.getStreak().killedPlayer();
    In your public void applyDead() {
    Under something like this
    Code:
    if (Server.playerHandler.players[c.playerId].connectedFrom !=
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 11
    Last Post: 08-19-2012, 12:37 AM
  2. [PI] Kill streak - 1 error Help
    By So Hard in forum Help
    Replies: 10
    Last Post: 07-08-2012, 07:24 PM
  3. Replies: 5
    Last Post: 05-28-2010, 11:27 PM
  4. Replies: 11
    Last Post: 02-16-2009, 12:25 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •