Thread: my interface isnt updating

Results 1 to 6 of 6
  1. #1 my interface isnt updating 
    Registered Member Andrew's Avatar
    Join Date
    Nov 2008
    Posts
    2,890
    Thanks given
    612
    Thanks received
    207
    Rep Power
    551
    Alright so basically the interface appears but not with the propper info, it shows the information that normally is in the interface rather then, time left and points. in my class with the minigame i have the codes
    Code:
    public void gameProcess() {
    		updateWaiting();
    		
    		}
    	public void updateWaiting() {
    		for (int j = 0; j < PlayerHandler.players.length; ++j) {
    			if (PlayerHandler.players[j] != null) {
    				Client c = (Client) PlayerHandler.players[j];
    				if (c.inFogWait()) {
    					c.getPA().sendFrame126("Next round starts in", 2805);
    					c.getPA().sendFrame126("Survival Points:", 2806);
    					c.getPA().sendFrame36(560, 1);
    					c.getPA().walkableInterface(2804);
    				}
    			}
    		}
    
    	}
    and in player java i have

    Code:
    public boolean inFogWait() {
    		return absX >= 2652 && absY <= 2655 && absY >= 2652 && absY <= 2660;
    	}
    and in client.java i have

    Code:
    } else if (inFogWait()) {
    			getPA().walkableInterface(2804);
    		}
    under

    Code:
    public void handlePvpInterface() {
    i don't get why it isnt updating? it updates for pest control but not this?







    so it displays the proper interface but not the text i want it to... i can't seem to figure out how to change it...
    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Is 2804 your interface id? You placed the walkebleinterface crap in pvpintwrfaces, wheres that being called? Process? Initialize?
    Reply With Quote  
     

  3. #3  
    Registered Member Andrew's Avatar
    Join Date
    Nov 2008
    Posts
    2,890
    Thanks given
    612
    Thanks received
    207
    Rep Power
    551
    Quote Originally Posted by Karma_K View Post
    Is 2804 your interface id? You placed the walkebleinterface crap in pvpintwrfaces, wheres that being called? Process? Initialize?
    pretty sure its process cause when i remove the pcboat interface from that area, the interface is gone, im just trying to figure it out and haven oidea
    Reply With Quote  
     

  4. #4  
    Registered Member Andrew's Avatar
    Join Date
    Nov 2008
    Posts
    2,890
    Thanks given
    612
    Thanks received
    207
    Rep Power
    551
    put a photo up
    Reply With Quote  
     

  5. #5  
    Registered Member
    TheChosenOne's Avatar
    Join Date
    Jan 2013
    Posts
    967
    Thanks given
    47
    Thanks received
    161
    Rep Power
    366
    Code:
    return absX >= 2652 && absY <= 2655 && absY >= 2652 && absY <= 2660;
    You've got 1 absX and 3 absY's. That might be part 1 of your problem.
    Are the text's interface coordinates correct?
    Try them out by using commands to show the interface and then commands to set the interface's text.
    If it updates, you've got the correct ids.
    Reply With Quote  
     

  6. #6  
    Registered Member Ronbo's Avatar
    Join Date
    Feb 2013
    Age
    12
    Posts
    167
    Thanks given
    0
    Thanks received
    47
    Rep Power
    17
    inFogWait() is
    Code:
    		return absX >= 2652 && absY <= 2655 && absY >= 2652 && absY <= 2660;
    Probably the first absY was meant to be an absX?
    Did I help answer your question? Signs of appreciation are always, well, appreciated!!!


    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. Reason why my interface isnt opening?
    By Defiled-X in forum Help
    Replies: 5
    Last Post: 02-26-2013, 03:21 PM
  2. My starting interface + Auras updated
    By Eyfia in forum Show-off
    Replies: 9
    Last Post: 01-14-2012, 10:45 PM
  3. My Hovering + New Interface (first) UPDATED
    By Magers in forum Show-off
    Replies: 28
    Last Post: 05-08-2009, 05:45 PM
  4. My Pure's Update blog
    By Clawz in forum Media
    Replies: 3
    Last Post: 11-09-2008, 03:38 PM
  5. My Interface Dump
    By Harvey in forum Downloads
    Replies: 7
    Last Post: 08-29-2008, 03:39 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
  •