Jump to content
Korean Random
dziban303

{{winrate}} and {{t-winrate}} not working

Recommended Posts

I can't seem to get these macros to work.

<font color='{{c:winrate|#666666}}'>{{winrate|---}}</font>
<font color='{{c:t-winrate|#666666}}'>{{t-winrate|---}}</font>

Just displays ---

 

I'm using the SirMax configuration that comes with the archive, and editing it to my preference. 

 

Any ideas why these macros--certainly common ones--aren't working in my config?

Share this post


Link to post

Short link
Share on other sites

Try this...

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

in my config works great

Edited by WOT_Avenger

Share this post


Link to post

Short link
Share on other sites

What version are you using?

 

6.0.2.

 

Like I said, this is your SirMax config that comes with XVM. The code is in xvm.xc (renamed from sirmax.xc).

 

The full snippet of code is

  "def": {
    "formatNick": "{{name%.20s~..}}<font alpha='#A0'>{{clan}}</font>",
    "formatVehicle": "<font face='Consolas' size='11'><img src='xvm://res/icons/xvm/xvm-user-{{xvm-user}}.png'><img src='xvm://res/icons/lang/{{language|empty}}.png' width='16' height='11'> <font color='{{c:avglvl|#666666}}'>{{avglvl%d|-}}</font>|<font color='{{c:tfb|#666666}}'>{{tfb%0.1f|---}}</font>|<font color='{{c:tdv|#666666}}'>{{tdv%0.1f|---}}</font>|<font color='{{c:xwgr|#666666}}'>{{xwgr|--}}</font>|<font color='{{c:xeff|#666666}}'>{{xeff|--}}</font>|<font color='{{c:xwn8|#666666}}'>{{xwn8|--}}</font>|<font color='{{c:kb|#666666}}'>{{kb%2d~k|--k}}</font></font>",

And then the defs are called later in battleLoading and statisticForm.

 

What does the dark X, with the filename of xvm-user-off.png, mean?

 

Thanks!

Edited by dziban303

Share this post


Link to post

Short link
Share on other sites

 

 

what does the dark X, with the filename of xvm-user-off.png, mean?
The one uses XVM with disabled statistics module. 
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

I think I've fixed it. Instead of using {{winrate}} and {{t-winrate}} I tried {{rating}} and {{t-rating}} which are apparently the same thing, and these macros work.

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.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...