Thread: interface problem please help

Results 1 to 2 of 2
  1. #1 interface problem please help 
    Registered Member
    Join Date
    Oct 2010
    Posts
    12
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    I made a basic interface that shows some lines of text but it wont let me change the text server sided. Like I want to add the text thats already on it + getPlayerCount so it shows how many players are in the minigame.
    This is my code on the client for the interface:

    public static void desertWait(RSFont[] tda) {
    RSInterface RSinterface = addTab(30800);
    addText(30801, "@red@Bad Company Members:", 0xCCCBCB, false, true, 52, tda, 1);
    addText(30802, "@red@Black Ops Members:", 0x5BD230, false, true, 52, tda, 1);
    addText(30803, "Match Starts In:", 0xDED36A, false, true, 52, tda, 1);
    int last = 3;
    RSinterface.children = new int[last];
    RSinterface.childX = new int[last];
    RSinterface.childY = new int[last];
    setBounds(30801, 15, 12, 0,RSinterface);
    setBounds(30802, 15, 30, 1,RSinterface);
    setBounds(30803, 15, 48, 2,RSinterface);
    }

    and this is my code on my server to bring up the interface:

    public void setDesertInterface() {
    for (int j = 0; j < PlayerHandler.players.length; j++) {
    if (PlayerHandler.players[j] != null) {
    if (PlayerHandler.players[j].inDesertWait()) {
    Client c = (Client) PlayerHandler.players[j];
    c.getPA().sendFrame126(""+badCompanyWait, 30801);
    c.getPA().sendFrame126(""+blackOpsWait, 30802);
    c.getPA().sendFrame126(""+gameStartTimer, 30803);
    c.getPA().walkableInterface(30800);
    }
    }
    }
    }
    The problem is that only the text from the client itself comes up and the "+badCompanyWait" does not which is supposed to show playercount.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Oct 2010
    Posts
    12
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    anyone?
    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. [PI][SS] Interface Problem
    By Jord in forum Help
    Replies: 2
    Last Post: 08-07-2010, 03:01 AM
  2. Interface problem.
    By Fire Cape in forum Help
    Replies: 2
    Last Post: 06-13-2010, 05:08 PM
  3. Interface problem
    By Nighel in forum Help
    Replies: 1
    Last Post: 06-01-2010, 12:53 PM
  4. Interface problem.
    By Mergim in forum Help
    Replies: 7
    Last Post: 12-25-2009, 02:15 AM
  5. Interface Problem
    By Onyx in forum Help
    Replies: 7
    Last Post: 07-16-2009, 05:17 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
  •