Thread: [PI] Adding Kill/Death Ratio

Results 1 to 5 of 5
  1. #1 [PI] Adding Kill/Death Ratio 
    Banned
    Join Date
    Jul 2011
    Posts
    692
    Thanks given
    169
    Thanks received
    43
    Rep Power
    0
    well i can't get this to work :/

    src\server\model\players\PlayerAssistant.java:1114 : cannot find symbol
    symbol : variable o
    location: class server.model.players.PlayerAssistant
    o.KC++;
    ^

    I change the o.KC++, to c.KC++ and i get no errors but this is what happens:

    Lets say that PlayerA and PlayerB have kdr of 0/0

    PA: 0/0
    PB: 0/0

    PA kills PB, this is what happens to their kdrs:

    PA: 0/0
    PB: 1/1
     

  2. #2  
    Banned
    Join Date
    Jul 2011
    Posts
    692
    Thanks given
    169
    Thanks received
    43
    Rep Power
    0
    Nevermind, Fixed it.

    Was easy lol.
     

  3. #3  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    Good job on fixing it but out of curiosity, why didn't you know to create another client object in the first place? When browsing these forums I always thought you had a decent grasp on Java.
     

  4. #4  
    Banned
    Join Date
    Jul 2011
    Posts
    692
    Thanks given
    169
    Thanks received
    43
    Rep Power
    0
    Quote Originally Posted by Jason View Post
    Good job on fixing it but out of curiosity, why didn't you know to create another client object in the first place? When browsing these forums I always thought you had a decent grasp on Java.
    Havent touched Java for 8 months. I knew the answer, its just i was noizy and took the easy way by posting a thread
     

  5. #5  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    Quote Originally Posted by JokerScape View Post
    Havent touched Java for 8 months. I knew the answer, its just i was noizy and took the easy way by posting a thread
    Alright thats understandable, but something this easy, jeesh those eight months must have really took a tole on yea then. Best of luck with the server by the way
     


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. [PI] Adding Kill/Death Ratio
    By Lenin in forum Tutorials
    Replies: 133
    Last Post: 10-27-2013, 12:21 PM
  2. kill / death ratio for dementhium
    By Ta1nt3d in forum Snippets
    Replies: 5
    Last Post: 08-23-2011, 12:40 PM
  3. Kill/Death Ratio on Website
    By TORONTO in forum Show-off
    Replies: 17
    Last Post: 12-23-2010, 10:51 PM
  4. Kill to death ratio.
    By The Situationist in forum Help
    Replies: 6
    Last Post: 09-28-2010, 03:07 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •