Dakado 2 Posted October 19, 2018 Hi, I want to use custom colors for wn8 rating. So I went to colors config and defined my custom colors here: // Dynamic color by various statistical parameters. "colorRating": { "very_bad": "0xCD3333", "bad": "0xCF7805", "avg": "0xF7D208", "normal": "0xF8F400", "good": "0x60FF00", "very_good": "0x4B772A", "great": "0x108DCC", "unique": "0x84569E", "super_unicum": "0x5A2D76" }, This works pretty good, cause the colors are changed, but the problem is I tried to define custom ranges for WN8 rating, but that is not working at all, the default wn8 ranges are still in use even though I have done the following: // Current scales values for ratings are listed on this page: https://modxvm.com/en/ratings/xvm-scale/colors/ // Custom dynamic colors by ratings. // If you want use your own color scales, // uncomment this block and replace "rating_name" to one of this values: "eff", "wn8", "wtr", "wgr" "wn8": [ { "value": 0, "color": ${"def.colorRating.very_bad" } }, { "value": 599, "color": ${"def.colorRating.bad" } }, { "value": 899, "color": ${"def.colorRating.avg" } }, { "value": 1249, "color": ${"def.colorRating.good" } }, { "value": 1600, "color": ${"def.colorRating.very_good"} }, { "value": 1899, "color": ${"def.colorRating.great" } }, { "value": 2350, "color": ${"def.colorRating.unique" } }, { "value": 2899, "color": ${"def.colorRating.super_unicum" } } ], Can you help me please ? What did I do wrong ? Quote Share this post Link to post Short link Share on other sites
Dakado 2 #443613 Posted October 20, 2018 Anyone knows please ? Quote Share this post Link to post Short link Share on other sites
ktulho 5,780 #443614 Posted October 20, 2018 Вы используете макрос {{c:wn8}} или {{c:xwn8}}? Quote Share this post Link to post Short link Share on other sites
Dakado 2 #443619 Posted October 20, 2018 2 hours ago, ktulho said: Vypíšete makro {{c: wn8}} nebo {{c: xwn8}}? I am using "wn8" as it is said in the comment above the section. Should I write xwn8 in there instead ? Quote Share this post Link to post Short link Share on other sites
cherek_us 23 #443631 Posted October 21, 2018 Are you talking about the General stats WN8 in the hanger? Quote Share this post Link to post Short link Share on other sites
Ress 21 #443632 Posted October 21, 2018 3 hours ago, Dakado said: I am using "wn8" as it is said in the comment above the section. Should I write xwn8 in there instead ? Guess you only added new color rating/range inside colors.xc and that's about it? I don't know are you using default xvm config or someone else's config, but i had almost the same issue a while back. Took me awhile to figure out why some wn8 ratings still use default coloring for wn8. Even if you set to wn8 on site (personal cabinet) it will still use default coloring for wn8 for some reason.(and not one from config). My issue was with {{c:xr}}...replaced it with {{c:wn8}} and problem solved. (mostly inside markers, Panels, battleLoading..etc) just search for {{c:xr}} inside config files that show wrong colors and replace it with {{c:wn8}} or alternatively you can try and add "xwn8" inside colors:xc might work theoretically speaking (personally haven't tried it so idk) Hope this helps.... Quote Share this post Link to post Short link Share on other sites