@oxysoft haha
OT; Add this in MaplePacketCreator if you don't already have it:
PHP Code:
/**
* Sends a player hint.
*
* [MENTION=1333357818]param[/MENTION] hint
* The hint it's going to send.
* [MENTION=1333357818]param[/MENTION] width
* How tall the box is going to be.
* [MENTION=1333357818]param[/MENTION] height
* How long the box is going to be.
* [MENTION=850422]return[/MENTION] The player hint packet.
*/
public static byte[] sendHint(String hint, int width, int height) {
if (width < 1) {
width = hint.length() * 10;
if (width < 40) {
width = 40;
}
}
if (height < 5) {
height = 5;
}
final MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendOpcode.PLAYER_HINT.getValue());
mplew.writeMapleAsciiString(hint);
mplew.writeShort(width);
mplew.writeShort(height);
mplew.write(1);
return mplew.getPacket();
}
SendOpcode.PLAYER_HINT = 0xD6
Go nuts.