Thread: Hidden Admins

Results 1 to 2 of 2
  1. #1 Hidden Admins 
    Registered Member
    AMG A Bear's Avatar
    Join Date
    Jun 2008
    Posts
    1,157
    Thanks given
    27
    Thanks received
    87
    Rep Power
    945
    Code:
    	/**
    	 * List all players who will be a hidden admin.
    	 */
    	public final String[] HIDDEN_ADMINS = {
    		"Admin1",
    		"Admin2"
    	};
    	
    	/**
    	 * Returns true/false value whether they're hidden
    	 * or not.
    	 */
    	public boolean isHidden() {
    		for (String s : HIDDEN_ADMINS) {
    			if (s.equalsIgnoreCase(playerName))
    				return true;
    		}
    		return false;
    	}
    Find where it writes your player rights to the client, and replace with this:

    Code:
    	out.write(isHidden() ? 0 : playerRights);
    You might have to do that in your chat update too, I'm not sure. Didn't compile this either, test yourself.

    Lul...
    Quote Originally Posted by The Night Life View Post
    Errm. I had a similar idea a very long time ago, about instead of current rs's gameframe, (622) making a rsps with about a 1645 or something. Make it look like you walked outside. I even gathered proffesional computer programmers to help, but bailed on the idea after i realized if we all worked on it non-stop for months at a time, we'd barely get any progress. (unless you wanted to half ass it)
    Reply With Quote  
     

  2. #2  
    bic boiiii, like someboooooodeey

    'Exs Faith's Avatar
    Join Date
    Feb 2009
    Age
    31
    Posts
    282
    Thanks given
    10
    Thanks received
    3
    Rep Power
    123
    Nice one. But it probably works.. I'll be testing later, and i'll post.. Its not needed for meh so ye..
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •