Jump to content
Korean Random
kupjones

XVM 7.1.0 -- Is there a problem with MYSTAT macros?

Recommended Posts

So, under WOT 9.20 and XVM 6.9.x I used the following macros in the hanger to display players stats:

{{mystat.winrate%4.02f}}

{{mystat.wgr}}

{{mystat.wn8}}

{{mystat.avglvl%4i}}

 

These displayed just fine -- until 9.20.1 release and the XVM 7.1.0 release.  Now all I get is the value in mystat.winrate -- none of the other macros appear to be populated.   The  odd part, the docs indicate that nearly all of the mystat macros are TBD - yet they were working under 6.9.x.

 

Is it that the macros are not currently being populated just like the docs indicate?   Or perhaps something changed and my format line simply is no longer correct (where it was before.)?

 

UPDATE:  After some edits it would appear that, of these macros, only winrate is populated now.  The others return empty strings

Edited by kupjones

Share this post


Link to post

Short link
Share on other sites

My mystat. macros seem to work just fine in the garage.

I'm only using:

{{mystat.xwn8}}

{{mystat.avglvl%.2f}}

{{mystat.winrate%.2f~%}}

{{py:winrate_next(0.5)}} and

{{py:winrate_next(1)}}

Share this post


Link to post

Short link
Share on other sites

They should work in a widgets.

May be you have some problems with loading the statistics. Please attach xvm.log.

Share this post


Link to post

Short link
Share on other sites

I was afraid someone would say that.  I can only get winrate to display

 

how are you invoking them -- via widgets and the widgets template file?     And are you running the prod version or dev version of xvm?

 

 

Yes, under 9.20 they were working fine -- and mystat.winrate displays fine.  Latest log attached.

And  I do see some warnings

 

 

 

 

oops

 

 

xvm.log

ok, seems that I am not getting other stats -- so perhaps this is just a coincidence?

a new XVM log file.   In game it seems that I am not getting any player stats -- and I made sure my account is activated.

xvm.log

And........ now it is working -- so a coincidence.   The XVM log now shows we are connecting and getting data.  At least I now know what a failure to connect looks like.   I guess I just happened to finish doing updates for SVM after 9.20.1 then tested and things were looking broken.   Glad it resolved itself so quickly.

------------------------------------------------------------------------------------------------------

 

2017-10-20 02:22:15: [INFO]    HTTPS: /4.0/getOnlineUsersCount/0
2017-10-20 02:22:19: [INFO]    Time: 4193 ms, Size: 587 (587) bytes
2017-10-20 02:22:41: [INFO]    HTTPS: /4.0/getToken/8b5f059c-****-****-****-********fe5b/1009337744
2017-10-20 02:22:41: [INFO]    Time: 802 ms, Size: 361 (361) bytes
2017-10-20 02:22:41: [INFO]    HTTPS: /4.0/getVersionWithLimit/8b5f059c-****-****-****-********fe5b/1009337744/400
2017-10-20 02:22:42: [INFO]    Time: 857 ms, Size: 11671 (11671) bytes
2017-10-20 02:22:43: [L:008] onLibLoaded: gui/flash/guiControlsLobbyBattleDynamic.swf
2017-10-20 02:22:43: [L:009] onLibLoaded: gui/flash/guiControlsLobbyDynamic.swf
2017-10-20 02:22:43: [L:010] onLibLoaded: gui/flash/popovers.swf
2017-10-20 02:22:43: [L:011] onLibLoaded: gui/flash/IconLibrary.swf
2017-10-20 02:22:43: [L:012] [XVM:LOBBY] processView: lobby
2017-10-20 02:22:43: [INFO]    HTTPS: /4.0/getStatsByNick/8b5f059c-****-****-****-********fe5b/NA/kupjones
2017-10-20 02:22:44: xvm_integrity results: correct!
2017-10-20 02:22:44: [L:013] [XVM:LOBBY] processView: hangar
2017-10-20 02:22:44: [INFO]    Time: 1238 ms, Size: 16677 (16677) bytes
2017-10-20 02:22:44: [INFO]    HTTPS: /3.0/getComments/8b5f059c-****-****-****-********fe5b
2017-10-20 02:22:45: [INFO]    Time: 901 ms, Size: 1 (1) bytes

Edited by kupjones

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...