Thread: Text In Another Tab

Results 1 to 2 of 2
  1. #1 Text In Another Tab 
    Registered Member Joseph69's Avatar
    Join Date
    Sep 2012
    Posts
    290
    Thanks given
    45
    Thanks received
    20
    Rep Power
    56
    I currently am trying to add text into the task list tab, I am having trouble because I got no Idea how to of course. How would I find out the code of each line in it? so I can add text. I have a PI.
    Code:
    getPA().sendFrame126("Players Online: @[email protected]"+PlayerHandler.getPlayerCount(), 640);
    The 640, is the code I need to change for a line in the Task list tab. Thanks, my tab currently looks like this and I want the tab in the middle.
    Last edited by Joseph69; 04-22-2013 at 01:50 PM. Reason: Add a image.
    Reply With Quote  
     

  2. #2  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    976
    Thanks given
    47
    Thanks received
    160
    Rep Power
    366
    You could use a command to look for the ids.
    Make a command like this, conform to your server:

    Code:
    if(command.startsWith("sendstring")){
        if(args.length == 1){
            for(int id = 0; id < 10000; id++){
                player.getActionSender().setInterfaceText("id = " + id, id);
            }
        } else if(args.length == 2){
            int id = Integer.parseInt(args[1]);
            player.getActionSender().setInterfaceText("id = " + id, id);
        } else if(args.length == 3){
            int from = Integer.parseInt(args[1]);
            int to = Integer.parseInt(args[2]);
            for(int id = from; id <= to; id++)
                player.getActionSender().setInterfaceText("id = " + id, id);
        }
    
    }
    Usage:
    no arguments (:endstring): from id 0 up to and excluding 10000.
    1 argument (:endstring <id>): set the interface text for the specified id
    2 arguments (:endstring <from> <to>): set the interface text from id <from> up to and including the <to> id.

    Sending a text to certain interfaces might crash the client. If so, simply restart and continue where you left (skipping the id which crashes the client).
    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. Smaller text in quest tab?
    By Kobe in forum Help
    Replies: 1
    Last Post: 12-21-2012, 12:47 AM
  2. Moving text in quest tab
    By Queer in forum Help
    Replies: 3
    Last Post: 06-10-2012, 05:00 AM
  3. Replies: 1
    Last Post: 05-07-2012, 04:15 PM
  4. [PI] Remove This Text in Quest Tab
    By Vault in forum Help
    Replies: 17
    Last Post: 12-09-2010, 01:19 AM
  5. Replies: 3
    Last Post: 09-10-2010, 12:28 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
  •