RaidMax / IW4M-Admin

Complete administration tool for IW4x, Pluto T6, Pluto IW5, Pluto T5, Pluto T4, H1-Mod, CoD4x, IW6x, TeknoMW3, and most Call of Duty® dedicated servers.
MIT License
212 stars 43 forks source link

Not all Colors work #301

Closed SladeGit closed 1 year ago

SladeGit commented 1 year ago

Why is (Color::Orange) not work and (Color::Red) is Working?

Orange is not the only one not working, Gold...

RaidMax commented 1 year ago

Need more info. What game? Where are you trying to set the message?

INSANEMODE commented 1 year ago

I don't believe any game parser has a color mapping for "Orange", from a quick search.

RaidMax commented 1 year ago

Also this is the default supported colors cod engine https://github.com/RaidMax/IW4M-Admin/blob/4002745ad74d8c5d5a878f1f16e7a7caa831f55b/Application/RConParsers/DynamicRConParserConfiguration.cs#LL41C14-L41C14

notice orange isn’t on there. Also ^: is iw4x specific

SladeGit commented 1 year ago

I use the latest pre version

"AutoMessages": [ "(Color::Orange)You see a cheater? Report him with (Color::White)!report NAME REASON!" ],

and

"UserAnnouncementMessage": "(Color::White)Welcome {{ClientName}} on (Color::Orange)Snipys", "UserWelcomeMessage": "", "PrivilegedAnnouncementMessage": "(Color::Red){{ClientLevel}} (Color::White){{ClientName}} (Color::Orange)has joined the server"

Colors not working or what do i wrong? How can i solve it?