dziban303 Posted March 22, 2015 Share 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 Link to comment Short link Share on other sites More sharing options...
sirmax Posted March 22, 2015 Share Posted March 22, 2015 What version are you using? @ Quote Link to comment Short link Share on other sites More sharing options...
Qu1ckJ Posted March 22, 2015 Share 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 Link to comment Short link Share on other sites More sharing options...
dziban303 Posted March 25, 2015 Author Share 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 Link to comment Short link Share on other sites More sharing options...
sech_92 Posted March 25, 2015 Share 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 Link to comment Short link Share on other sites More sharing options...
dziban303 Posted March 25, 2015 Author Share 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 Link to comment Short link Share on other sites More sharing options...
Recommended Posts
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.