Ekspoint Posted November 22, 2016 Share Posted November 22, 2016 Обновлено. Ожидаемые значения теперь берутся из XVM. Больше нет необходимости хранить внешний файл.на сервере хвм не сразу обновляется файл, бери напрямую с сайта рейтинга 1 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 22, 2016 Author Share Posted November 22, 2016 @Ekspoint, Загрузку из сети не хотелось бы делать, я изначально эту идею откинул (с wnefficiency.net). Не люблю все эти подгрузки. А подождать некоторое время, пока таблица обновится в XVM - совершенно не проблема. @ Quote Link to comment Short link Share on other sites More sharing options...
refaol Posted November 23, 2016 Share Posted November 23, 2016 Ожидаемые значения теперь берутся из XVM. Больше нет необходимости хранить внешний файл. Я правильно понимаю, что больше никаких правок не было и если переименовал в _27.json файл ожидаемых значений, то нет необходимости py скрипт менять? @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 23, 2016 Author Share Posted November 23, 2016 Я правильно понимаю, что больше никаких правок не было и если переименовал в _27.json файл ожидаемых значений, то нет необходимости py скрипт менять? Да, правильно. @ Quote Link to comment Short link Share on other sites More sharing options...
panteror Posted November 23, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
Сербия Posted November 26, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
panteror Posted November 28, 2016 Share Posted November 28, 2016 @Kotyarko_O, do you have an idea ? :) Thanks. @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 28, 2016 Author Share 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 Link to comment Short link Share on other sites More sharing options...
panteror Posted November 28, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 30, 2016 Author Share 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 Link to comment Short link Share on other sites More sharing options...
Сербия Posted December 1, 2016 Share Posted December 1, 2016 нет , кроме 1, 5 и 11 @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted December 1, 2016 Author Share Posted December 1, 2016 нет , кроме 1, 5 и 11 Включите все, которые отображены включёнными на скриншоте, прикреплённом мною выше.Добавил эту информацию в шапку темы. @ Quote Link to comment Short link Share on other sites More sharing options...
Сербия Posted December 1, 2016 Share Posted December 1, 2016 Стальная коррида сеичас, завтра. @ Quote Link to comment Short link Share on other sites More sharing options...
panteror Posted December 2, 2016 Share 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 Link to comment Short link Share on other sites More sharing options...
DrShats Posted December 15, 2016 Share Posted December 15, 2016 (edited) Привет! WN8 показывает 3 с лишним, а он на самом деле 1884, та же фигня с эфф. Дифф до первого риббона 0 Ставил на чистый клиент, могу показать реплей, что делать? Edited December 15, 2016 by DrShats @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted December 15, 2016 Author Share Posted December 15, 2016 @DrShats, тут на скрине приведены необходимые риббоны для более-менее корректной работы аддона. У вас они активны? @ Quote Link to comment Short link Share on other sites More sharing options...
DrShats Posted December 15, 2016 Share Posted December 15, 2016 (edited) @DrShats, тут на скрине приведены необходимые риббоны для более-менее корректной работы аддона. У вас они активны? Всё активно, но я сам дурак, конфиги не дефолтные поставил, с дефолтными считает правильно, но остаётся 0 дифф пока риббон не вылезет какой то. С очтальным буду конфиги свои шерстить, а как сделать, чтобы дифф в начале боя ненулевой выставлялся? PS Можно на ты, все же в танках 8))) Edited December 15, 2016 by DrShats @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted December 15, 2016 Author Share Posted December 15, 2016 Обновлено. Исправлены ошибки, возникающие в случае, если конкретный танк отсутствует в таблице ожидаемых значений. Исправлено отображение начального значения для DIFF. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted January 27, 2017 Author Share Posted January 27, 2017 Обновлено. Добавлены макросы {{py:efficiencyXTE}}, {{py:efficiencyXTEColor}}. 2 @ Quote Link to comment Short link Share on other sites More sharing options...
Ekspoint Posted February 2, 2017 Share 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 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.