Thread: Need a little help rep++

Results 1 to 7 of 7
  1. #1 Need a little help rep++ 
    Registered Member
    Join Date
    Jan 2010
    Posts
    36
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    its rly not my day started on a system but cant finish it

    i used this out of my ingame Highscore base (dont care if you use)

    but now i want it so it shows the pk points of players of the top 10 ingame..

    Method of pk points = pkpoint

    plz help me

    thnk you

    _____________________________________


    Code:
    public void highscores() {
        clearQuestInterface();
        sendQuest("@dbl@", 8144);  //Title
        sendQuest("@dre@~In-Game Top 10 Highscores~", 8145);
        for(int i = 0; i < 10; i++) { 
            if(server.ranks[i] > 0) {
                sendQuest("@bla@Rank "+(i+1)+": @red@"+server.rankPpl[i]+ "@bla@ - Total Lvl:@whi@ " +server.ranks[i], 8147+i);
            }
        }
        sendQuestSomething(8143);
        showInterface(8134);
        flushOutStream();
        resetRanks();
    }


    Code:
    playerLevel[24] = total;
        
        for (int d = 0; d <= 10; d++) {
            if (total >= server.ranks[d]) {
                if (d == 0) {
                    playerRank = d+1;
                    server.ranks[d] = total;
                    server.rankPpl[d] = playerName;
                }else if (d < 10){
                    if (total < server.ranks[d-1]) {
                        playerRank = d+1;
                        server.ranks[d] = total;
                        server.rankPpl[d] = playerName;
                    }
                }else{
                    if (total < server.ranks[d-1]) {
                        playerRank = 0;
                    }
                }
            }
        }
    lalalalalalalalala
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2010
    Posts
    36
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Does any1 know this ?

    its kinda complicated to me atm
    lalalalalalalalala
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2010
    Posts
    36
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    is it impossible or is it much work ?
    lalalalalalalalala
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    May 2009
    Posts
    150
    Thanks given
    3
    Thanks received
    5
    Rep Power
    0
    This makes no sense at all, please specify with correct English for help.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Hunter's Avatar
    Join Date
    Jun 2009
    Age
    33
    Posts
    857
    Thanks given
    3
    Thanks received
    23
    Rep Power
    216
    The only thing I can think of is replacing all the total information with PK Point information.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jan 2010
    Posts
    36
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by Hunter View Post
    The only thing I can think of is replacing all the total information with PK Point information.
    btw sorry for the bad english im working on it

    how can i replace that ?

    do i need to make new codes then ?
    lalalalalalalalala
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jan 2010
    Posts
    36
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    can anyone help me ?
    lalalalalalalalala
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •