Jump to content
Korean Random
Sign in to follow this  
CakeOrD3ath

Updated to 9.9, winrates no longer have color on Tab menu

Recommended Posts

Once again, it seems as though XVM have changed the name of a variable without any mention to anyone, as my XVM.xc no longer has colors on winrates even though I have changed nothing.

 

Here is the current line in my config for the tab menu

 

"<font color='{{c:winrate%2d~%|--%}}'>{{winrate%2d~%|--%}}</font> <font color='{{c:wn8}}'>{{wn8}}</font> <font color='{{c:kb}}'>{{kb%2d~k|--%}}</font> {{vehicle}}",

 

 

I presume something has changed with the color variable, so please fill me in.

 

Thanks.

Share this post


Link to post

Short link
Share on other sites

There is no need to formate color macros: {{c:winrate}} is corrrect

 

In previous patches, I had {{c:winrate}}, but once WoT updated to 9.8, it started reporting my values as a huge float, (i.e a winrate of 52.3958476, instead of just 52%) so to fix that, I was instructed by one of the Devs to change it to what it is now, which works just fine, except colors aren't being reported, which doesn't make a whole lot of sense to me because the colors are still listed towards the bottom of the config in the color section under "winrate%2d~%|--%": [

  • Downvote 1

Share this post


Link to post

Short link
Share on other sites

What vlad_cs_sr meant is that you should replace your line

"<font color='{{c:winrate%2d~%|--%}}'>{{winrate%2d~%|--%}}</font> <font color='{{c:wn8}}'>{{wn8}}</font> <font color='{{c:kb}}'>{{kb%2d~k|--%}}</font> {{vehicle}}",

with

"<font color='{{c:winrate}}'>{{winrate%2d~%|--%}}</font> <font color='{{c:wn8}}'>{{wn8}}</font> <font color='{{c:kb}}'>{{kb%2d~k|--%}}</font> {{vehicle}}",

 

Formating winrate is fine, but there is no need to format the color macro ;)

 

PS: If I understand you correctly you have "winrate%2d....." inside the colors section of your config? Replace that with "winrate", too - the only place where you need to format anything is right here

"<font color='{{c:winrate}}'>{{winrate%2d~%|--%}}</font>

and not anywhere else.

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...