Thread: New Type Of Clan Chat [508] [my first tut]

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 New Type Of Clan Chat [508] [my first tut] 
    Member

    Join Date
    Nov 2008
    Age
    24
    Posts
    4,861
    Thanks given
    774
    Thanks received
    341
    Rep Power
    0
    FUCKING HELL JUST WRITE UP AND IT GOT DELETED FUCKING SMILES


    Difficulty: idk... u might be good at coding u might not so idk

    Files Edited: PublicChat.java

    YOU CAN REPLACE AS YELL AS ::yell IS BORING TO TYPE

    open up PlayerChat.java and search for

    Code:
        public void handlePacket(Player p, int packetId, int packetSize) {
    replace that whole void to end of file with

    Code:
        public void handlePacket(Player p, int packetId, int packetSize) {
            if (p == null || p.stream == null) {
                return;
            }
            p.chatTextEffects = p.stream.readUnsignedWord();
            int numChars = p.stream.readUnsignedByte();
            p.chatText = Misc.decryptPlayerChat(p.stream, numChars);
    	if (p.muteType > 0) {
    		p.frames.sendMessage(p, "You are are permanently muted for breaking a rule.");
    		return;
    	}
    if (p.chatText.startsWith("/")) {
    		for (Player player : Server.engine.players) {
    			if (player == null)
    				continue;
    			String chatMessage = p.chatText.substring(1);
    			player.frames.sendMessage(player, "[<col=0000FF>SERVER NAME HERE - User "+p.username+"</col>]: <col=000000> " + p.chatText + "</col>");
    			return;
    		}
    	}
            p.chatTextUpdateReq = true;
            p.updateReq = true;
        }
    }
    on SERVER NAME HERE write ur server name WITH CAPITALS like. Yupper Scape cuz it looks better than yupper scape

    save compile done. run server test it bitch u gotta type with

    /n00bs

    IF U HAVE CLANCHAT ALREDY THIS IS FOR YOU!

    do same tut above search for

    Code:
    if (p.chatText.startsWith("/")) {
    and replace the / with antoehr symbol like * or % then save compile done


    USERNAMEZ

    Rune-Server R 4 A
    Silab - pingu
    Mopar - pure ic3 0wn (forgot password tho posted it incase of leechers)


    CREDITZ

    40% to the dude who made PublicChat.java
    10% Gimp or Photoshop for the coding of colours
    45% to me for making the tut and creating the code
    5% to modblazex to test it on his source


    THIS ALSO WORKS INSTED OF USING ::yell


    PICTURE:



    THIS IS MY FIRST TUTORIAL! ON 508'S


    if u liked u can rep but plz feed my pokemon in my sig?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2009
    Posts
    638
    Thanks given
    11
    Thanks received
    8
    Rep Power
    36
    Files Edited: PlayerChat.java
    did you mean publicChat.java?


    nice m8 thank you
    Reply With Quote  
     

  3. #3  
    Member

    Join Date
    Nov 2008
    Age
    24
    Posts
    4,861
    Thanks given
    774
    Thanks received
    341
    Rep Power
    0
    o yh i forgot to add credits to mod blazex for his source lol
    Reply With Quote  
     

  4. #4  
    Member

    Join Date
    Nov 2008
    Age
    24
    Posts
    4,861
    Thanks given
    774
    Thanks received
    341
    Rep Power
    0
    This is Failture, please Remove, No reason At all And nothing to Do with ClanChat.

    Bl1tzz,

    ...

    the / is to do with clan chat so
    Reply With Quote  
     

  5. #5  
    iPhoneGuy
    Guest
    Nice mate! I'm trying this out ;D
    Reply With Quote  
     

  6. #6  
    Renown Programmer

    Nikki's Avatar
    Join Date
    Aug 2008
    Posts
    3,993
    Thanks given
    553
    Thanks received
    1,077
    Rep Power
    5000
    Ehem. [Only registered and activated users can see links. ]
    But yea, Good job, Used the send message colors from Bulby is only diff
    Please don't add/pm me asking for RSPS help!

    Links:
    - [Only registered and activated users can see links. ]
    - [Only registered and activated users can see links. ]

    Reply With Quote  
     

  7. #7  
    Dragonboy FTW.


    Join Date
    Jun 2009
    Age
    25
    Posts
    281
    Thanks given
    0
    Thanks received
    1
    Rep Power
    146
    Nice copying Nicole's method.
    Nutalie :coolface:
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Mar 2008
    Age
    26
    Posts
    2,071
    Thanks given
    17
    Thanks received
    68
    Rep Power
    1648
    /fail
    Reply With Quote  
     

  9. #9  
    Member

    Join Date
    Nov 2008
    Age
    24
    Posts
    4,861
    Thanks given
    774
    Thanks received
    341
    Rep Power
    0
    o soz nicole.


    I DIDNT EVEN FUCKING SEE IT


    dont say i copyd the mothod cuz i didnt i didnt even see it
    Reply With Quote  
     

  10. #10  
    why teh fuc
    Guest
    he took out of z508.
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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
  •