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.