dziban303 2 Posted March 22, 2015 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? Quote Share this post Link to post Short link Share on other sites
sirmax 5,499 #259630 Posted March 22, 2015 What version are you using? Quote Share this post Link to post Short link Share on other sites
Qu1ckJ 7 #259636 Posted March 22, 2015 (edited) Try this... <font color='{{c:winrate}}'>{{winrate%2d~%}}</font> in my config works great Edited March 22, 2015 by WOT_Avenger Quote Share this post Link to post Short link Share on other sites
dziban303 2 #259995 Posted March 25, 2015 (edited) 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 March 25, 2015 by dziban303 Quote Share this post Link to post Short link Share on other sites
sech_92 469 #260059 Posted March 25, 2015 what does the dark X, with the filename of xvm-user-off.png, mean? The one uses XVM with disabled statistics module. 1 Quote Share this post Link to post Short link Share on other sites
dziban303 2 #260105 Posted March 25, 2015 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. Quote Share this post Link to post Short link Share on other sites