Jump to content
Korean Random
panteror

Problem to show total efficiency macros panel in battlelabelstemplates

Recommended Posts

Hi,

 

I guess since 1.0, i have a problem with my small panel for total efficiency macros under the damage log panel

 

here how it looks and works

post-505548717-0-68010800-1479406172.thumb.jpg.c7698842c79e6281bd8352b1fc91c10a.jpg

Before 1.0, it works well :

- By default i have four macros and when i press l-alt : four others macros are displayed and when i released my hotkey, the first four macros are displayed again.

 

Since 1.0

- At launch i have the four macros but when i press l-alt and released it, the macros are not coming back and nothing is displayed.

Moreover, sometimes the macros don't work anymore and display 0 value

 

 

Here my totalEfficiency panel

    "totalEfficiency": {
      "enabled": true,
      "updateEvent": "PY(ON_TOTAL_EFFICIENCY), ON_PANEL_MODE_CHANGED",
      "hotKeyCode": 56,
      "visibleOnHotKey": false,
      "onHold": false,
      "x": 235,
      "y": 2,
      "width": 300,
      "height": 25,
      "layer": "bottom",
      "screenHAlign": "left",
      "screenVAlign": "bottom",
      "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 3 },
      "textFormat": { "color": "0xCCCCCC", "size": 14 },
      "format": "<textformat tabstops='[65,130,195]'><img src='img://gui/maps/icons/library/dossier/avgDamage40x32.png' width='25' height='20' align='baseline' vspace='-8'> <b>{{py:xvm.damageReceived}}<b><tab><img src='img://gui/maps/icons/library/dossier/assist40x32.png' width='25' height='20' align='baseline' vspace='-8'> <b>{{py:xvm.totalAssist}}</b><tab><img src='img://gui/maps/icons/library/dossier/avgDefenceDmg40x32.png' width='25' height='20' align='baseline' vspace='-8'> <b>{{py:xvm.totalBlocked}}<b><tab><img src='img://gui/maps/icons/library/dossier/techRatio40x32.png' width='25' height='20' align='baseline' vspace='-8'> <b>{{py:xvm.damagesSquad}}<b></textformat>"
    },
    "totalEfficiencyAlt": {
      "enabled": true,
      "updateEvent": "PY(ON_TOTAL_EFFICIENCY), ON_PANEL_MODE_CHANGED",
      "hotKeyCode": 56,
      "visibleOnHotKey": true,
      "onHold": true,
      "x": 235,
      "y": 2,
      "width": 300,
      "height": 25,
      "layer": "bottom",
      "screenHAlign": "left",
      "screenVAlign": "bottom",
      "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 3 },
      "textFormat": { "color": "0xCCCCCC", "size": 14 },
      "format": "<textformat tabstops='[65,130,195]'><img src='img://gui/maps/icons/library/dossier/avgBattlesCount40x32.png' width='25' height='20' align='baseline' vspace='-8'> <b>{{py:xvm.totalDamagesBlockedReceived}}<b><tab><img src='img://gui/maps/icons/library/dossier/assist40x32.png' width='25' height='20' align='baseline' vspace='-8'> <b>{{py:xvm.totalDamagesAssist}}</b><tab><img src='img://gui/maps/icons/library/dossier/avgDefenceDmg40x32.png' width='25' height='20' align='baseline' vspace='-8'> <b>{{py:xvm.totalDamagesBlocked}}<b><tab><img src='img://gui/maps/icons/library/dossier/techRatio40x32.png' width='25' height='20' align='baseline' vspace='-8'> <b>{{py:xvm.totalDamagesSquad}}<b></textformat>"
    },

 

I attached my battlelabels.xc and battlelabelstemplates.xc if someone wants to test.

 

Thanks for your help.

 

 

 

battleLabelsTemplates.xc

battleLabels.xc

Edited by panteror

Share this post


Link to post

Short link
Share on other sites

 

14 minutes ago, konrad509 said:

Firstly, I'd make sure that the py_macro folder is up-to-date.

I tried to always use last nightly build. Same problem with xvm 7.5.2 and 7.5.4

I don't know exactly when i saw problem.

Edited by panteror

Share this post


Link to post

Short link
Share on other sites

@ktulho 

 

Here logs. Not the problem with 0 value in log, it's rare.

 

Did you change how hotkeyCode works with 1.0 ? I didn't touch my config.

 

Before i didn't need to press l-alt again to show again first macros, only released it. Now when I release l-alt nothing is displayed and i need to press l-alt twice to see again my first four macros.

 

the default first panel macros

"hotKeyCode": 56,

"visibleOnHotKey": false,
"onHold": false,

 

the second panel macros

"hotKeyCode": 56,
"visibleOnHotKey": true,
"onHold": true,      

 

 

xvm.log

python.log

Edited by panteror

Share this post


Link to post

Short link
Share on other sites

Maybe:

the default first panel macros


"hotKeyCode": 56,
"visibleOnHotKey": false,
"onHold": true,

 

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