Jump to content
Korean Random

{{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?

Link to comment
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
Link to comment
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...