I don't have much uses for this.. but it's more color options
A non enum class
Spoiler:
Code:public static final short CHAT = 0;// White public static final short WHISPER = 1;// Green public static final short GUILD = 2;// Light Purple public static final short BUDDY = 3;// Orange public static final short PARTY = 4;// Salmon Pink public static final short EVENT_MESSAGE = 5;// Light Green public static final short STAMINA_MESSAGE = 6;// Bright pink/purple, bigger than most text public static final short ITEM_GAIN_MESSAGE = 7;// Gray public static final short AUTOMATED_SYSTEM_MESSAGE = 8;// Yellow public static final short SYSTEM_MESSAGE = 9;// Light Yellow public static final short GM_NOTICE = 10;// Blue text public static final short GM_TEXT = 11;// White background, black text public static final short NOT_ENOUGH_MP = 12;// Pale Salmon public static final short CHANNEL_MEGAPHONE = 13;// Light blue background, dark blue text public static final short SKULL_MEGAPHONE = 15;// Red background, black text public static final short DARK_BLUE = 17;// Dark blue text public static final short GACHAPON_NOTIFICATION = 19;// Transparent red background, white text public static final short DARK_BLUE2 = 20;// public static final short MEGAPHONE1 = 21;// Light orange background, black text public static final short ITEM_MEGAPHONE = 22;// Bright orange background, black text public static final short GACHAPON_NOTIFICATION2 = 23;// Light green background, white text - looks shit public static final short AUTOMATED_SYSTEM_MESSAGE2 = 26;// Exact same, yellow public static final short TURQUOISE = 27;// public static final short ITEM_MEGAPHONE2 = 28;// public static final short SOME_KINDA_MEGAPHONE_MAYBE = 29;// Blue and yellow text public static final short SUPER_LIGHT_YELLOW = 30;// public static final short GM_NOTICE2 = 31;// Blue public static final short AUTOMATED_SYSTEM_MESSAGE3 = 33; public static final short LIGHT_YELLOW = 34;// Tad bit lighter than AUTOMATED_SYSTEM_MESSAGE public static final short SMALL_WHITE_TEXT = 37;// Potentially used for MapleSea/KMS for english text // Things I've tested and crashed: -2, -1, 14, 16, 18, 24, 25, 32, 35, 36, 38, 39, 40
Enum
Spoiler:
Code:public enum GameMessageType{ //@formatter:off CHAT(0),// White WHISPER(1),// Green GUILD(2),// Light Purple BUDDY(3),// Orange PARTY(4),// Salmon Pink EVENT_MESSAGE(5),// Light Green STAMINA_MESSAGE(6),// Bright pink/purple, bigger than most text ITEM_GAIN_MESSAGE(7),// Gray AUTOMATED_SYSTEM_MESSAGE(8),// Yellow SYSTEM_MESSAGE(9),// Light Yellow GM_NOTICE(10),// Blue text GM_TEXT(11),// White background, black text NOT_ENOUGH_MP(12),// Pale Salmon CHANNEL_MEGAPHONE(13),// Light blue background, dark blue text SKULL_MEGAPHONE(15),// Red background, black text DARK_BLUE(17),// Dark blue text GACHAPON_NOTIFICATION(19),// Transparent red background, white text DARK_BLUE2(20),// MEGAPHONE1(21),// Light orange background, black text ITEM_MEGAPHONE(22),// Bright orange background, black text GACHAPON_NOTIFICATION2(23),// Light green background, white text - looks shit AUTOMATED_SYSTEM_MESSAGE2(26),// Exact same, yellow TURQUOISE(27),// ITEM_MEGAPHONE2(28),// SOME_KINDA_MEGAPHONE_MAYBE(29),// Blue and yellow text SUPER_LIGHT_YELLOW(30),// GM_NOTICE2(31),// Blue AUTOMATED_SYSTEM_MESSAGE3(33), LIGHT_YELLOW(34),// Tad bit lighter than AUTOMATED_SYSTEM_MESSAGE SMALL_WHITE_TEXT(37);// Potentially used for MapleSea/KMS for english text // Things I've tested and crashed: -2, -1, 14, 16, 18, 24, 25, 32, 35, 36, 38, 39, 40 //@formatter:on private final int color; private GameMessageType(int color){ this.color = color; } public int getColor(){ return color; } }
Just put this in a class and when you send your game message packet.. put one of these colors in... so you don't just have random numbers everywhere like people have for dropMessage.
Edit: Here's a hastebin
Edit2: Here's a hastebin for the class being an enum
Obviously, credits where credits are do. @even for naming Turquoise.. and misspelling it in the skype chat.



Reply With Quote


