Ekspoint 2,122 #366805 Posted November 22, 2016 Обновлено. Ожидаемые значения теперь берутся из XVM. Больше нет необходимости хранить внешний файл.на сервере хвм не сразу обновляется файл, бери напрямую с сайта рейтинга 1 1 Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #366806 Posted November 22, 2016 @Ekspoint, Загрузку из сети не хотелось бы делать, я изначально эту идею откинул (с wnefficiency.net). Не люблю все эти подгрузки. А подождать некоторое время, пока таблица обновится в XVM - совершенно не проблема. Quote Share this post Link to post Short link Share on other sites
refaol 223 #366822 Posted November 23, 2016 Ожидаемые значения теперь берутся из XVM. Больше нет необходимости хранить внешний файл. Я правильно понимаю, что больше никаких правок не было и если переименовал в _27.json файл ожидаемых значений, то нет необходимости py скрипт менять? Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #366824 Posted November 23, 2016 Я правильно понимаю, что больше никаких правок не было и если переименовал в _27.json файл ожидаемых значений, то нет необходимости py скрипт менять? Да, правильно. Quote Share this post Link to post Short link Share on other sites
panteror 54 #366864 Posted November 23, 2016 (edited) Hi, I tested with various templates config, it doesn't work for me. Can you help me ? What is the problem with my config ? Datas don't load or update. Thanks battleLabelsTemplates.xc battleLabelsTemplates2.xc xvm.log python.log Edited November 23, 2016 by panteror Quote Share this post Link to post Short link Share on other sites
Сербия 12 #367161 Posted November 26, 2016 Hi, I tested with various templates config, it doesn't work for me. Can you help me ? What is the problem with my config ? Datas don't load or update. Thanks battleLabelsTemplates.xc shot_297.jpg battleLabelsTemplates2.xc shot_295.jpg The same for me, but I didn't have time to waste. Maybe the problem is because we are playing on eu server. Quote Share this post Link to post Short link Share on other sites
panteror 54 #367379 Posted November 28, 2016 @Kotyarko_O, do you have an idea ? :) Thanks. Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #367384 Posted November 28, 2016 (edited) @panteror, did you tried the last version of this addon (on vanilla client + XVM, without other modifications)? Please, try again and attach new logs with replay. Edited November 28, 2016 by Kotyarko_O Quote Share this post Link to post Short link Share on other sites
panteror 54 #367389 Posted November 28, 2016 @panteror, did you tried the last version of this addon (on vanilla client + XVM, without other modifications)? Please, try again and attach new logs with replay. My screenshots were with the last version (23/11/2016) but i will test tonight with only xvm and tell you. @panteror, did you tried the last version of this addon (on vanilla client + XVM, without other modifications)? Please, try again and attach new logs with replay. Same with only xvm. battleLabels.xc battleLabelsTemplates.xc python.log xvm.log 20161128_1850_france-F08_AMX_50_100_14_siegfried_line.wotreplay Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #367635 Posted November 30, 2016 (edited) @panteror, @Сербия, you enabled this options in game settings?(there is russian lang on screen, but you can orientate by numbers: 1, 2, 3, 5, 6, 7, 10, 12). Edited November 30, 2016 by Kotyarko_O 1 Quote Share this post Link to post Short link Share on other sites
Сербия 12 #367740 Posted December 1, 2016 нет , кроме 1, 5 и 11 Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #367742 Posted December 1, 2016 нет , кроме 1, 5 и 11 Включите все, которые отображены включёнными на скриншоте, прикреплённом мною выше.Добавил эту информацию в шапку темы. Quote Share this post Link to post Short link Share on other sites
Сербия 12 #367744 Posted December 1, 2016 Стальная коррида сеичас, завтра. Quote Share this post Link to post Short link Share on other sites
panteror 54 #367770 Posted December 2, 2016 @panteror, @Сербия, you enabled this options in game settings? shot_025.jpg (there is russian lang on screen, but you can orientate by numbers: 1, 2, 3, 5, 6, 7, 10, 12). no because I don't like these annoying message in screen. I didn't know your modification used these settings I will enable it and test it again. Thanks Quote Share this post Link to post Short link Share on other sites
DrShats 0 #369464 Posted December 15, 2016 (edited) Привет! WN8 показывает 3 с лишним, а он на самом деле 1884, та же фигня с эфф. Дифф до первого риббона 0 Ставил на чистый клиент, могу показать реплей, что делать? Edited December 15, 2016 by DrShats Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #369468 Posted December 15, 2016 @DrShats, тут на скрине приведены необходимые риббоны для более-менее корректной работы аддона. У вас они активны? Quote Share this post Link to post Short link Share on other sites
DrShats 0 #369486 Posted December 15, 2016 (edited) @DrShats, тут на скрине приведены необходимые риббоны для более-менее корректной работы аддона. У вас они активны? Всё активно, но я сам дурак, конфиги не дефолтные поставил, с дефолтными считает правильно, но остаётся 0 дифф пока риббон не вылезет какой то. С очтальным буду конфиги свои шерстить, а как сделать, чтобы дифф в начале боя ненулевой выставлялся? PS Можно на ты, все же в танках 8))) Edited December 15, 2016 by DrShats Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #369602 Posted December 15, 2016 Обновлено. Исправлены ошибки, возникающие в случае, если конкретный танк отсутствует в таблице ожидаемых значений. Исправлено отображение начального значения для DIFF. 1 Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #377439 Posted January 27, 2017 Обновлено. Добавлены макросы {{py:efficiencyXTE}}, {{py:efficiencyXTEColor}}. 2 Quote Share this post Link to post Short link Share on other sites
Ekspoint 2,122 #378286 Posted February 2, 2017 не обязательно включать опции в боюможно сделать так например from gui.battle_control.controllers import feedback_events from gui.Scaleform.daapi.view.battle.shared import ribbons_aggregator from gui.Scaleform.genConsts.BATTLE_EFFICIENCY_TYPES import BATTLE_EFFICIENCY_TYPES as BET def _onBattleEvents(events): avgSpot = 0 avgDef = 0 avgCap = 0 for data in events: event = feedback_events.PlayerFeedbackEvent.fromDict(data) ribbon = ribbons_aggregator._createRibbonFromPlayerFeedbackEvent(event) if ribbon.getType() == BET.DETECTION: avgSpot = ribbon.getCount() print avgSpot if ribbon.getType() == BET.DEFENCE: avgDef += ribbon.getPoints() if avgDef >= 100: avgDef = 100 print 'DEFENCE', avgDef if ribbon.getType() == BET.CAPTURE: avgCap = ribbon.getPoints() print 'CAPTURE', avgCap @registerEvent(PlayerAvatar, 'onBattleEvents') def onBattleEvents(self, events): _onBattleEvents(events) 1 Quote Share this post Link to post Short link Share on other sites