Thread: Editing Quest Tab

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Editing Quest Tab 
    Registered Member hezi's Avatar
    Join Date
    Aug 2011
    Posts
    104
    Thanks given
    4
    Thanks received
    1
    Rep Power
    11
    The quest tab is completely blank, I'm using Sinatra, PI.

    How do I add shit like

    Players Online
    My PK Points
    My Voting Points
    My KDR

    ?

    Thanks!
    somewhat new to coding rsps :x
    Reply With Quote  
     

  2. #2  
    Seven Lions

    Yvne's Avatar
    Join Date
    Sep 2012
    Posts
    1,204
    Thanks given
    164
    Thanks received
    173
    Rep Power
    81
    in client.java server sided under process. do like his for online players.

    Code:
    public void process() {
    
            getPA().sendFrame126("@yel@Players Online: @gre@"+PlayerHandler.getPlayerCount()+ "",  7332);
    also theirs no way you cant find this buy searching the forums/google but im puting it here anyhow...
    Reply With Quote  
     

  3. #3  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Quote Originally Posted by yvne View Post
    in client.java server sided under process. do like his for online players.

    Code:
    public void process() {
    
            getPA().sendFrame126("@yel@Players Online: @gre@"+PlayerHandler.getPlayerCount()+ "",  7332);
    also theirs no way you cant find this buy searching the forums/google but im puting it here anyhow...
    There's no reason to use process for this... I can't comprehend how laggy your server must be.

    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  
     

  4. Thankful user:


  5. #4  
    Banned
    Join Date
    Sep 2012
    Posts
    1,027
    Thanks given
    193
    Thanks received
    123
    Rep Power
    0
    Quote Originally Posted by Ninth Legion View Post
    There's no reason to use process for this... I can't comprehend how laggy your server must be.
    I'm not ganna lie. My quest tab is processed and I have no lag and my stability is pretty decent. I was idling at .05% with 45 people on o.o

    But yeah shit like this isn't the smartest to process.
    Reply With Quote  
     

  6. #5  
    Seven Lions

    Yvne's Avatar
    Join Date
    Sep 2012
    Posts
    1,204
    Thanks given
    164
    Thanks received
    173
    Rep Power
    81
    Quote Originally Posted by Nick_xD View Post
    I'm not ganna lie. My quest tab is processed and I have no lag and my stability is pretty decent. I was idling at .05% with 45 people on o.o

    But yeah shit like this isn't the smartest to process.
    what would i use? event handler or something? if i put it in initilize it doesn't update everytime a person logs in/logs out.
    Reply With Quote  
     

  7. #6  
    Seven Lions

    Yvne's Avatar
    Join Date
    Sep 2012
    Posts
    1,204
    Thanks given
    164
    Thanks received
    173
    Rep Power
    81
    Quote Originally Posted by Ninth Legion View Post
    There's no reason to use process for this... I can't comprehend how laggy your server must be.
    then where should i put it o.o
    Reply With Quote  
     

  8. #7  
    need java lessons
    Eclipse's Avatar
    Join Date
    Aug 2012
    Posts
    4,436
    Thanks given
    686
    Thanks received
    898
    Rep Power
    490
    Depends on each thing. Handle your player count with the registering and de-registering of each player, it will take less memory.

    Depending on each thing, you can update it when a player logs in and out, so it sends all of the other players the frame when someone loggs in/ out.

    like c2.getPA().sendFrame126//player things
    &
    c.sendFrame126//same thing

    both in initialize and logout()

    Killcount, deathcount can be handled in applydead.


    pkp can be handled in applydead, but also needs to be updates when a player buys an item so put it in shop handler when a player buys something from the pk store.


    Voting points in shopassistant as well.

    Don't know what other methods.

    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  
     

  9. Thankful user:


  10. #8  
    Seven Lions

    Yvne's Avatar
    Join Date
    Sep 2012
    Posts
    1,204
    Thanks given
    164
    Thanks received
    173
    Rep Power
    81
    Quote Originally Posted by Ninth Legion View Post
    Depends on each thing. Handle your player count with the registering and de-registering of each player, it will take less memory.

    Depending on each thing, you can update it when a player logs in and out, so it sends all of the other players the frame when someone loggs in/ out.

    like c2.getPA().sendFrame126//player things
    &
    c.sendFrame126//same thing

    both in initialize and logout()

    Killcount, deathcount can be handled in applydead.


    pkp can be handled in applydead, but also needs to be updates when a player buys an item so put it in shop handler when a player buys something from the pk store.


    Voting points in shopassistant as well.

    Don't know what other methods.
    the initialize and logout thing didnt work. it doesnt update.
    Reply With Quote  
     

  11. #9  
    Father Of Lies


    Join Date
    May 2012
    Age
    26
    Posts
    1,216
    Thanks given
    267
    Thanks received
    289
    Rep Power
    242
    unless it changes every second, it doesn't need to be updated every second.
    Reply With Quote  
     

  12. #10  
    Registered Member hezi's Avatar
    Join Date
    Aug 2011
    Posts
    104
    Thanks given
    4
    Thanks received
    1
    Rep Power
    11
    Still need this..
    somewhat new to coding rsps :x
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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: 68
    Last Post: 08-30-2016, 11:36 PM
  2. Replies: 5
    Last Post: 02-26-2012, 12:24 AM
  3. Help editing quest tab
    By Norcotic in forum Help
    Replies: 7
    Last Post: 10-21-2011, 06:38 AM
  4. Replies: 21
    Last Post: 07-24-2011, 09:45 AM
  5. editing cache, quest tab
    By R0cky 0wnz in forum Help
    Replies: 10
    Last Post: 07-02-2009, 12:36 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
  •