Poll: What color should @Main be?
White
Yellow
[Show Results]
 
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
@main: Yellow or white.
Author Message
razoredge Offline
Poring Head Knight
***

Posts: 183
Joined: Jan 2006
Post: #11
RE: @main: Yellow or white.

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?

[Image: razbannerow7.gif]
05-16-2007 11:37 AM
Find all posts by this user Quote this message in a reply
Bloody Offline
Mmm Blood

Posts: 2,124
Joined: Mar 2007
Post: #12
RE: @main: Yellow or white.

Keyword: Laptop.

Try playing on a laptop, and get the angle wrong by 1 degree and see the colors. /bigduh
05-16-2007 11:46 AM
Find all posts by this user Quote this message in a reply
GM-Pandora Offline
Admin Extraordinaire
*******

Posts: 14,781
Joined: Sep 2005
Post: #13
RE: @main: Yellow or white.

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.

~ Server Admin ~
Vote daily to help us grow!
Review us on RateMyServer every 6 months!
Have a problem? Use the Support Ticket System!
Join the Test&Dev team to help out!
05-16-2007 11:55 AM
Find all posts by this user Quote this message in a reply
razoredge Offline
Poring Head Knight
***

Posts: 183
Joined: Jan 2006
Post: #14
RE: @main: Yellow or white.

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.

[Image: razbannerow7.gif]
05-16-2007 11:59 AM
Find all posts by this user Quote this message in a reply
Former-GM-Chocolate Offline
Sweet Valentine's Chocolate
****

Posts: 568
Joined: Feb 2007
Post: #15
RE: @main: Yellow or white.

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 .__.

..:: BR GM ::.. ..:: Player Relation Manager ::.. ..:: Event GM ::..
Vote for heRO :  Top100 top200
05-16-2007 12:31 PM
Find all posts by this user Quote this message in a reply
Motenai_Ronin Offline
Lord Jugger
*****

Posts: 2,152
Joined: Mar 2006
Post: #16
RE: @main: Yellow or white.

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

~Wesa got a grand army!~ || ~Phreeoni's Cave of Wonders~
[Image: geonosisbanner.jpg][Image: phreenoni.png]  
Jugger (LK) Jester (Hunter) Beast (Taekwon) War Machine (BlackSmith) Iron Man (Merchant)
05-16-2007 02:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Stealth Offline
The Wind
***

Posts: 126
Joined: Feb 2007
Post: #17
RE: @main: Yellow or white.

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

[Image: sign.jpg]
The silent wind blows serenely on your body... It  was your last feeling... Thou art dead...
05-16-2007 05:23 PM
Find all posts by this user Quote this message in a reply
Motenai_Ronin Offline
Lord Jugger
*****

Posts: 2,152
Joined: Mar 2006
Post: #18
RE: @main: Yellow or white.

oh noes Icon_mrgreen double post alert ^u^

~Wesa got a grand army!~ || ~Phreeoni's Cave of Wonders~
[Image: geonosisbanner.jpg][Image: phreenoni.png]  
Jugger (LK) Jester (Hunter) Beast (Taekwon) War Machine (BlackSmith) Iron Man (Merchant)
05-16-2007 05:39 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Namine Offline
Explorer of Wonderland
*****

Posts: 3,209
Joined: Mar 2007
Post: #19
RE: @main: Yellow or white.

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...

~ Pyo! (Linker) ~ Pyuu (Sniper) ~ Namine (FS HP) ~ Cessini (Stalker) ~ Meteor Storm (ME HP) ~
05-16-2007 05:42 PM
Find all posts by this user Quote this message in a reply
DaN!eL Offline
Ebil !!
***

Posts: 66
Joined: Mar 2006
Post: #20
RE:??@main: Yellow or white.

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]
05-16-2007 06:05 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump: