OciXCrom / ChatManager

Simple Chat Manager with Admin Prefixes and Color Chat.
7 stars 6 forks source link

The color code cannot be displayed properly #11

Closed sourcepowered closed 3 years ago

sourcepowered commented 3 years ago

After upgrading to the latest Commit version, the color code is invalid.

OciXCrom commented 3 years ago

Which color code? Explain.

sourcepowered commented 3 years ago

Every code, like [Chat Colors], and the prefix color of the crx_nonamechange.amxx tip is also invalid.

OciXCrom commented 3 years ago

What do you mean by "invalid"? You're making me pull words out of your mouth. Provide a screenshot if you can't explain.

sourcepowered commented 3 years ago

I mean, TIP is displayed, but the color of TIP is gone, only the default color (yellow) is displayed. The chat is also displayed, the prefix is displayed, but there is no color (only yellow). The key issue is that there is no problem with the old version.

sourcepowered commented 3 years ago

1 2

sourcepowered commented 3 years ago

I think that is "CromChat.inc"'s problem. And I found that my RankSystems never showed colors...I'm using AMX Mod X 1.9.0.5271 and Metamod-R, ReGameDLL + ReHLDS latest version, for GoldSource Build 8684 (CZ).

There is nothing wrong with SimpleMenu (I mean TIP color text), because you haven't updated it recently. So I think some recent updates crashed the color display. It should be the problem of CromChat.

OciXCrom commented 3 years ago

What is TIP?

I updated CromChat not to show colors if used in any game other than Counter-Strike. Does CZ also support the same colors? If so, I wasn't aware of this.

Try compiling with this one and tell me if the colors work - https://pastie.io/enffig.m

sourcepowered commented 3 years ago

YES, sir, CZ also support the same color. Oh, https://pastie.io/enffig.m worked!!!

OciXCrom commented 3 years ago

Got it. Thank you for letting me know. I will update the .inc file when I get home.

sourcepowered commented 3 years ago

You're welcome, sir. Looking forward to your update. Your plug-in is of great help to my server. I used your 12 plug-ins, they make my server look very professional. :)

OciXCrom commented 3 years ago

Glad you enjoy my work. I also updated crx_ranksystem.sma to support colors in CZ. Download and recompile it to enable colors for it as well.