panteror Posted April 2, 2018 Share Posted April 2, 2018 (edited) 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 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 April 2, 2018 by panteror @ Quote Link to comment Short link Share on other sites More sharing options...
konrad509 Posted April 2, 2018 Share Posted April 2, 2018 Firstly, I'd make sure that the py_macro folder is up-to-date. @ Quote Link to comment Short link Share on other sites More sharing options...
panteror Posted April 2, 2018 Author Share Posted April 2, 2018 (edited) 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 April 2, 2018 by panteror @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 2, 2018 Share Posted April 2, 2018 @panteror attach xvm.log and python.log @ Quote Link to comment Short link Share on other sites More sharing options...
panteror Posted April 2, 2018 Author Share Posted April 2, 2018 (edited) @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 April 2, 2018 by panteror @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 2, 2018 Share Posted April 2, 2018 Maybe: the default first panel macros "hotKeyCode": 56, "visibleOnHotKey": false, "onHold": true, @ 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.