nanakiwurtz Posted February 13, 2013 Posted February 13, 2013 Like this? http://rathena.org/board/topic/72457-chat-color-change/ 1 Quote
Nana Posted February 13, 2013 Author Posted February 13, 2013 Yes and no If I use that // send message to others (using the send buffer for temp. storage)- WFIFOHEAD(fd, 8 + textlen);- WFIFOW(fd,0) = 0x8d;- WFIFOW(fd,2) = 8 + textlen;+ WFIFOHEAD(fd, 12 + textlen);+ WFIFOW(fd,0) = 0x2C1;+ WFIFOW(fd,2) = 12 + textlen; WFIFOL(fd,4) = sd->bl.id;- safestrncpy((char*)WFIFOP(fd,8), is_fake ? fakename : text, textlen);+ if(pc_get_group_level(sd)) // players group_id > 0+ WFIFOL(fd,8) = (color2&0x0000FF) << 16 | (color2&0x00FF00) | (color2&0xFF0000) >> 16; // RGB -> BGR+ else // njrmal players+ WFIFOL(fd,8) = (color1&0x0000FF) << 16 | (color1&0x00FF00) | (color1&0xFF0000) >> 16; // RGB -> BGR+ safestrncpy((char*)WFIFOP(fd,12), is_fake ? fakename : text, textlen); Is a color chat right?? I want for example, : Some one is the PVP leader so this Nickname (where show the guld, party etc) show red, if you are the quest maker player your nick was blue, if you are female and married you nick was pink, ... and some other systems X_X Quote
Dastgir Posted February 13, 2013 Posted February 13, 2013 Not possible via source, learn client reversing or wait for someone who is pro at this. Quote
Nana Posted February 13, 2013 Author Posted February 13, 2013 Do you or anyone have a guide to start with that? Quote
Question
Nana
Anyone have this feature?,
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.