heRO-Server Forum
@main: Yellow or white. - Printable Version

+- heRO-Server Forum (https://www.pandoraonline.net/forum)
+-- Forum: Game Related (https://www.pandoraonline.net/forum/forumdisplay.php?fid=1)
+--- Forum: Poll - Give Your Opinion! (https://www.pandoraonline.net/forum/forumdisplay.php?fid=43)
+--- Thread: @main: Yellow or white. (/showthread.php?tid=2842)

Pages: 1 2 3


RE: @main: Yellow or white. - razoredge - 05-16-2007

Quote:Change main chat color
1. Find these lines:

/*===================================
* Main chat [LuzZza]
* Usage: @main <on|off|message>
*-----------------------------------
*/
int atcommand_main(
const int fd, struct map_session_data* sd,
const char* command, const char* message)
{2. Scroll down until you can see this:

sprintf(atcmd_output, msg_txt(386), sd->status.name, message);
// I use 0xFE000000 color for signalizing that this message is
// main chat message. 0xFE000000 is invalid color, same using
// 0xFF000000 for simple (not colored) GM messages. [LuzZza]
intif_announce(atcmd_output, strlen(atcmd_output) + 1, 0xFF000000, 0);3. Change the 0xFF000000 to any color you want, below are a few color example:

0x00FF00 = green
0xBA55D3 = purple
0xFF6347 = orange
0x70DBDB = cyan

is this what you need?


RE: @main: Yellow or white. - Bloody - 05-16-2007

Keyword: Laptop.

Try playing on a laptop, and get the angle wrong by 1 degree and see the colors. /bigduh


RE: @main: Yellow or white. - GM-Pandora - 05-16-2007

Nope, that's not what I need. We tried that already and it works only halfway.

With this method main color is not the same color if you "PM main" or if you use "@main" method to send a message on main. In addition, it also changes gm annoucement color if I recall.

No, what I need is the precise string to change in the client by hexing, I've searched a little but have yet to find.


RE: @main: Yellow or white. - razoredge - 05-16-2007

ah, my understanding was that it instead turned main into an announcement and then the command string I shown acted like kamic and just gave it another color, my apologies then.


RE: @main: Yellow or white. - Former-GM-Chocolate - 05-16-2007

Hm yeah I play on notebook aswell but my guild chat never turns white o.o weird XD, although I don't have many keys, and that is a big problem .__.


RE: @main: Yellow or white. - Motenai_Ronin - 05-16-2007

i'm on a laptop too 8L guild chat is always green/pale green


RE: @main: Yellow or white. - Stealth - 05-16-2007

i liked yellow main cause it was a diff color, common chat white, guild chat green, party chat brown, main chat yellow... nowadays i even turn @showexp off so it don't mix with the guild chat (our guild is always full, like 8+ ppl online in the night Icon_mrgreen


RE: @main: Yellow or white. - Motenai_Ronin - 05-16-2007

oh noes Icon_mrgreen double post alert ^u^


RE: @main: Yellow or white. - Namine - 05-16-2007

Mr. Mardey, with main chat being yellow or white, it has nothing to do with the same green color for guild chat/exp+items... but Namine certainly understands what he means with the guild chat and all. Especially it's problematic when Mr. Ex talks about an item, and Namine is trying to look for that item at the same time. Is it just Mr. Ex mentioning the name of the item, or did she finally succeed in hunting for the item? Same green color does that...


RE:??@main: Yellow or white. - DaN!eL - 05-16-2007

Namine Wrote:Mr. Mardey, with main chat being yellow or white, it has nothing to do with the same green color for guild chat/exp+items... but Namine certainly understands what he means with the guild chat and all. Especially it's problematic when Mr. Ex talks about an item, and Namine is trying to look for that item at the same time. Is it just Mr. Ex mentioning the name of the item, or did she finally succeed in hunting for the item? Same green color does that...
[Image: WTF.jpg]