Drazeal Posted February 21, 2021 Posted February 21, 2021 player.sendMessage("You need 40 PvP to continue leveling up"); <-- change this from default system color.
0 Rootware Posted February 21, 2021 Posted February 21, 2021 As i know a message color specified in 4 bytes values (R G B and transparency) inside systemmsg-e.dat. Server side can't handle the colors except if you will change chat type of message. But it will another story.
0 IPXS Posted February 21, 2021 Posted February 21, 2021 (edited) player.sendMessage(ChatColor.RED + "Message");or player.sendMessage(PrismaColor.SALMON Edited February 21, 2021 by IPXS
0 Rootware Posted February 21, 2021 Posted February 21, 2021 This message uses the string from systemmsg-e.dat. If you want to change the color the you need make custom message ID for this or change the color of current. In last case all messages where uses "player.sendMessage()" will uses this color.
0 Drazeal Posted February 21, 2021 Author Posted February 21, 2021 1 minute ago, Rootware said: This message uses the string from systemmsg-e.dat. If you want to change the color the you need make custom message ID for this or change the color of current. In last case all messages where uses "player.sendMessage()" will uses this color. i know that but i dont want to change all messages to a deifferent color. i want some messages like the one i poted to be despalayed with a different color. 33 minutes ago, IPXS said: player.sendMessage(ChatColor.RED + "Message");or player.sendMessage(PrismaColor.SALMON do i need to crate a class "ChatColor"? i get error in eclipse when i add "(ChatColor.RED + "Message");"
0 Drazeal Posted February 21, 2021 Author Posted February 21, 2021 so the easiest way is to make a custom message ID like u said above. thanks
0 IPXS Posted February 21, 2021 Posted February 21, 2021 (edited) Check this https://maxcheaters.com/topic/191037-l2-file-editor-chat-colouring-in-lineage2-client/ or this https://maxcheaters.com/topic/11772-guide-systemmsg-edat-explained/ Edited February 21, 2021 by IPXS
Question
Drazeal
player.sendMessage("You need 40 PvP to continue leveling up"); <-- change this from default system color.
6 answers to this question
Recommended Posts