I'm using a clif_disp_onlyself command when someone talks. This means that i control if one character belongs to a specific race.
The thing is that it works perfect... the unique problem that i have is that the text is in green color ....
I was thinking that maybe the color was a client problem .... but when i am using ShinsDiffPatcher tool i don't see old xray options that i have used to change alliance text colors , guild text colors etc....
Question
LordAioria
Hi
I'm using a clif_disp_onlyself command when someone talks. This means that i control if one character belongs to a specific race.
The thing is that it works perfect... the unique problem that i have is that the text is in green color ....
I was thinking that maybe the color was a client problem .... but when i am using ShinsDiffPatcher tool i don't see old xray options that i have used to change alliance text colors , guild text colors etc....
sprintf(atcmd_output, msg_txt(799), emisor, message); // %s: %s
clif_disp_onlyself(tsd,atcmd_output,strlen(atcmd_output));
Any idea about how can i solve it ?
This is the normal code at clif_parse_GlobalMessage :
WFIFOHEAD(fd, 8 + textlen);
WFIFOW(fd,0) = 0x8d;
WFIFOW(fd,2) = 8 + textlen;
WFIFOL(fd,4) = sd->bl.id;
safestrncpy((char*)WFIFOP(fd,8), is_fake ? fakename : text, textlen);
//FIXME: chat has range of 9 only
clif_send(WFIFOP(fd,0), WFIFOW(fd,2), &sd->bl, sd->chatID ? CHAT_WOS : AREA_CHAT_WOC);
The thing is that instead of this .. i'm using a map_foreachinarea .....
and then using this clif_disp_onlyself ....
Could you help me ?
THanks in advance
Link to comment
Share on other sites
3 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.