Thread: Updating problem #2

Results 1 to 3 of 3
  1. #1 Updating problem #2 
    Owner Of SeenScape

    Join Date
    Nov 2012
    Posts
    132
    Thanks given
    4
    Thanks received
    3
    Rep Power
    10
    Okay, this is the 2nd post I've made now and still got no help, but anyway the interface I'm using is the achievement tab next to the quest tab and I've use this code to put text into it:

    Code:
    c.getPA().sendFrame126("@lre@Chris: "+isOnline("chris"), 29297);
    and using this method for the online part:

    Code:
    	public String isOnline(String name) {
    		for(Player p : Server.playerHandler.players) {
    			if(p != null && p.playerName.equals(name))
    			return "@gre@Online";
    		}
    		return "@red@Offline";
    	}
    But the online and offline part only updates when you relog, how do i make update without relogging or anything? Or just make it update every 1min but i dont know how to do that.

    Skype: maazhediting

    Thanks.
    Being really good at C++ is like being really good at using rocks to sharpen sticks.
    Reply With Quote  
     

  2. #2  
    Owner Of SeenScape

    Join Date
    Nov 2012
    Posts
    132
    Thanks given
    4
    Thanks received
    3
    Rep Power
    10
    Bump
    Being really good at C++ is like being really good at using rocks to sharpen sticks.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jul 2011
    Posts
    691
    Thanks given
    163
    Thanks received
    161
    Rep Power
    0
    Quote Originally Posted by -Java- View Post
    Bump
    I would suggest (if you don't already have it) getting grahams task scheduler then creating a task that updates it every minute, or 10 seconds, or what ever you want the interval to be.
    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. Combat level updating problem?
    By undefined in forum Help
    Replies: 11
    Last Post: 04-12-2013, 08:24 AM
  2. Updating problem
    By -Java- in forum Help
    Replies: 5
    Last Post: 01-26-2013, 01:32 AM
  3. Replies: 4
    Last Post: 10-22-2009, 10:43 PM
  4. [Shard] updating problem
    By Chachi in forum Help
    Replies: 13
    Last Post: 07-24-2009, 05:49 PM
  5. SendQuest updating problem
    By Twone in forum Help
    Replies: 1
    Last Post: 04-26-2009, 07:01 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
  •