Tuesday, November 26, 2013

Thanks received 542 Rep Power 1573


Hi, when I mute a player on my RSPS, the muted player gets this message: I cant seem to find out where to change this, been in playerass, client.java, dialoguehandler, everywhere cant find it. The source is rune-Legacy DW, i'm not leeching it, I'm using it as a learnin curve as I'm new to RSPS and needed to use a source html 5 to practice on and someone told me to use R-L. Thanks
Thanks received 0 Rep Power 11
package server.model.mobile.players.packets; html 5 import server.Connection; import server.model.mobile.players.Client; import server.model.mobile.players.PacketType; import server.model.mobile.players.ReportHandling.ReportH andler; import server.util.Misc; /** * Chat **/ public class Chat implements PacketType { @Override public void processPacket(Client c, int packetType, html 5 int packetSize) { c.setChatTextEffects(c.getInStream().readUnsignedB yteS()); c.setChatTextColor(c.getInStream().readUnsignedByt eS()); c.setChatTextSize((byte)(c.packetSize - 2)); c.inStream.readBytes_reverseA(c.getChatText(), c.getChatTextSize(), 0); ReportHandler.addText(c.playerName, c.getChatText(), packetSize - 2); String word = Misc.textUnpack(c.getChatText(), c.packetSize - 2).toLowerCase(); if (word.contains(c.playerPass)) html 5 { c.sendMessage("Please don't give out your password to other players."); c.sendMessage("If you are receiving this in error, change your password typing ::changepass (newpassword)."); return; html 5 } if (!Connection.isMuted(c)) c.setChatTextUpdateRequired(true); }
Thanks received 542 Rep Power 1573
Thanks received 0 Rep Power 11
Forum Rules
Digital Point modules: Sphinx-based search

No comments:

Post a Comment