Sad people is sad.Code:if (fileId > 1163)
return;
Printable View
Sad people is sad.Code:if (fileId > 1163)
return;
awwwww
QuickChat Packet Exploit??Quote:
Originally Posted by Jesper_ [Only registered and activated users can see links. Click Here To Register...]
I don't understand.. where would this belong anyhow?
Someone could crash all clients connected with a simple word on their client console.Quote:
Originally Posted by Carlisle [Only registered and activated users can see links. Click Here To Register...]
No need for the childish message, but ok.
Oh fair enough :PQuote:
Originally Posted by riksk [Only registered and activated users can see links. Click Here To Register...]
could always do this..
Code:} else if (packetId == SEND_FRIEND_QUICK_CHAT_PACKET) {
/** if (!player.hasStarted())
return;
String username = stream.readString();
int fileId = stream.readUnsignedShort();
byte[] data = null;
if (length > 3 + username.length()) {
data = new byte[length - (3 + username.length())];
stream.readBytes(data);
}
data = Utils.completeQuickMessage(player, fileId, data);
Player p2 = World.getPlayerByDisplayName(username);
if (p2 == null)
return;
player.getFriendsIgnores().sendQuickChatMessage(p2,
new QuickChatMessage(fileId, data));**/
} else if (packetId == PUBLIC_QUICK_CHAT_PACKET) {
/** if (!player.hasStarted())
return;
if (player.getLastPublicMessage() > Utils.currentTimeMillis())
return;
player.setLastPublicMessage(Utils.currentTimeMillis() + 300);
// just tells you which client script created packet
@SuppressWarnings("unused")
boolean secondClientScript = stream.readByte() == 1;// script 5059
// or 5061
int fileId = stream.readUnsignedShort();
byte[] data = null;
if (length > 3) {
data = new byte[length - 3];
stream.readBytes(data);
}
data = Utils.completeQuickMessage(player, fileId, data);
if (chatType == 0)
player.sendPublicChatMessage(new QuickChatMessage(fileId, data));
else if (chatType == 1)
player.sendFriendsChannelQuickMessage(new QuickChatMessage(
fileId, data));
else if (Settings.DEBUG)
Logger.log(this, "Unknown chat type: " + chatType);**/
I only made it so i could see who was doing it.Quote:
Originally Posted by Kμsh [Only registered and activated users can see links. Click Here To Register...]
Like I said before, where would this belong anyway?Quote:
Originally Posted by riksk [Only registered and activated users can see links. Click Here To Register...]
Just wondering.
Couldn't they still get the server's ip and make their own client that could still do it?
System.out.println();Quote:
Originally Posted by riksk [Only registered and activated users can see links. Click Here To Register...]