Im Stuck in this...

Discussion in 'RuneScape Miscellaneous' started by Pk Scape Owner, Sep 12, 2008.

Thread Status:
Not open for further replies.
Im Stuck in this...
  1. Unread #1 - Sep 12, 2008 at 10:38 AM
  2. Pk Scape Owner
    Joined:
    Aug 10, 2008
    Posts:
    58
    Referrals:
    0
    Sythe Gold:
    0

    Pk Scape Owner Member

    Im Stuck in this...

    Hi. I Got some MAYOR problems with my server.

    1. When someone logg in and out after some times they can connect, they dont dc and connect fast just cant loggin... its showing "Error Connecting Server"
    2. How do i "hide" the Ip from the client??(they said it was a soure question...)
    3. Can someone make me something like this?
    "Owner Tom logged out"
    "Co-Owner Beep logged out"
    "Admin Jan Logged out"
    "Mod Ils Logged out"

    The Underlined is the Names...
    Please Help Me

    Helpers Will Get Mod/Admin Status at this server.

    Tom, Owner & Coder Of Project-Peekay
     
  3. Unread #2 - Sep 12, 2008 at 2:06 PM
  4. xxavixx
    Joined:
    Jan 15, 2008
    Posts:
    681
    Referrals:
    1
    Sythe Gold:
    0

    xxavixx Apprentice

    Im Stuck in this...

    ok to say "some1 logged out" add this void:
    Code:
        public void logout() {
    
            outStream.createFrame(109);
            if (playerRights == 0) {
                PlayerHandler.messageToAll = "" + playerName + " has logged out";
            }
            if (playerRights == 1) {
                PlayerHandler.messageToAll = "[Mod]" + playerName + " has logged out";
            }
            if (playerRights == 2) {
                PlayerHandler.messageToAll = "[Admin]" + playerName + " has logged out";
            }
            if (playerRights == 3) {
                PlayerHandler.messageToAll = "[Owner]" + playerName + " has logged out";
            }
        }
    for a custom log out message you will do:
    Code:
    if (playerName.equalsIgnoreCase("your name")) {
                        PlayerHandler.messageToAll = "(WHAT YOU WANT TO SAY), "
                                + playerName + " has logged out.";
                    }
    now search for case: 9154
    and add this:
    Code:
    logout();
    near this:
    Code:
    savefile = true;
    savemoreinfo();
    savechar();
    to get:
    Code:
    savefile = true;
    savemoreinfo();
    logout();
    savechar();
    About your question 3, its client sided not server sided.
     
  5. Unread #3 - Sep 12, 2008 at 5:34 PM
  6. Pk Scape Owner
    Joined:
    Aug 10, 2008
    Posts:
    58
    Referrals:
    0
    Sythe Gold:
    0

    Pk Scape Owner Member

    Im Stuck in this...

    uhm My Loggout thing is like this:
     
  7. Unread #4 - Sep 12, 2008 at 5:34 PM
  8. Pk Scape Owner
    Joined:
    Aug 10, 2008
    Posts:
    58
    Referrals:
    0
    Sythe Gold:
    0

    Pk Scape Owner Member

    Im Stuck in this...

    but the other stuff worked!
    THANKS!

    Sorry for Double post!!!!!!
     
< Help! Hamatchi Help! | Two Problems >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site