Dimm 13 #455673 Posted April 3, 2019 (edited) В 21.03.2019 в 18:01, Kotyarko_O сказал: Добавлен редактированный commonStats.swf, с градиентом в областивыведения текста. Всё ещё не идеально, но глазки уже не вытекают. Я просто затемнил картинку, что мне на эти карты смотреть: зато текст читается нормально. )) Edited April 3, 2019 by Dimm 1 Quote Share this post Link to post Short link Share on other sites
DKRUBEN 19 #455686 Posted April 3, 2019 @Kotyarko_O Quote Share this post Link to post Short link Share on other sites
DKRUBEN 19 #455878 Posted April 5, 2019 class battleEfficiency(object): def __init__(self): self.vehCD = None self.tankExpd = {} self.tankExists = False self.frags = 0 self.damage = 0 self.spotted = 0 self.defence = 0 self.capture = 0 self.formatStrings = { 'WN8' : 0, #self.WN8 = 0 'XWN8' : 0, #self.XWN8 = 0 'EFF' : 0, #self.EFF = 0 'XEFF' : 0, #self.XEFF = 0 'XTE' : 0, #self.XTE = 0 'DIFF' : 0, #self.DIFFExpDmg = 0 # 'TODO': curve color macros outdated "xvm.export(): 'c:WN8' : '#FFFFFF', 'c:XWN8' : '#FFFFFF', 'c:EFF' : '#FFFFFF', 'c:XEFF' : '#FFFFFF', 'c:XTE' : '#FFFFFF', 'c:DIFF' : '#FFFFFF', 'colorOpen' : '<font color="{color}">', 'colorClose': '</font>', 'color' : '' } self.pickColors() def reset(self): self.__init__() def pickColors(self): self.formatStrings['c:WN8'] = _getScaledDynamicColorValue('wn8', self.formatStrings['WN8']) self.formatStrings['c:XWN8'] = _getScaledDynamicColorValue('x', self.formatStrings['XWN8']) self.formatStrings['c:EFF'] = _getScaledDynamicColorValue('eff', self.formatStrings['EFF']) self.formatStrings['c:XEFF'] = _getScaledDynamicColorValue('x', self.formatStrings['XEFF']) self.formatStrings['c:XTE'] = _getScaledDynamicColorValue('x', self.formatStrings['XTE']) self.formatStrings['c:DIFF'] = config.get['colors']['diff']['bad'] if self.formatStrings['DIFF'] <= 0 else config.get['colors']['diff']['good'] def update(self): calcResult = efficiencyCalculator.calc(self.damage, self.spotted, self.frags, self.defence, self.capture) self.formatStrings['WN8'], self.formatStrings['XWN8'], self.formatStrings['EFF'], self.formatStrings['XEFF'], self.formatStrings['XTE'], self.formatStrings['DIFF'] = calcResult self.pickColors() textFormat = config.get['format'] textFormat = textFormat.replace('{WN8}', str(self.formatStrings['WN8'])) textFormat = textFormat.replace('{XWN8}', str(self.formatStrings['XWN8'])) textFormat = textFormat.replace('{EFF}', str(self.formatStrings['EFF'])) textFormat = textFormat.replace('{XEFF}', str(self.formatStrings['XEFF'])) textFormat = textFormat.replace('{XTE}', str(self.formatStrings['XTE'])) textFormat = textFormat.replace('{c:WN8}', _getScaledDynamicColorValue('wn8', self.formatStrings['WN8'])) textFormat = textFormat.replace('{c:XWN8}', _getScaledDynamicColorValue('x', self.formatStrings['XWN8'])) textFormat = textFormat.replace('{c:EFF}', _getScaledDynamicColorValue('eff', self.formatStrings['EFF'])) textFormat = textFormat.replace('{c:XEFF}', _getScaledDynamicColorValue('x', self.formatStrings['XEFF'])) textFormat = textFormat.replace('{c:XTE}', _getScaledDynamicColorValue('x', self.formatStrings['XTE'])) as_event('ON_BATTLE_EFFICIENCY') battleEfficiency = battleEfficiency() This is possible? Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #455885 Posted April 5, 2019 2 hours ago, DKRUBEN said: This is possible? Possible what? Quote Share this post Link to post Short link Share on other sites
DKRUBEN 19 #455930 Posted April 6, 2019 @Kotyarko_O Sorry for not saying anything else yesterday ... well I sent the complete code by private message, it was just to know if everything is correct or if I should do... Quote Share this post Link to post Short link Share on other sites
cektop 3 #455999 Posted April 7, 2019 (edited) Всем привет! Прошу помощи! Перестала работать эффективность в бою, при том в послебоевой статистике отображается нормально. "Калькулятор" крайний из шапки. Нормально работало с релизным XVM 7.8.6, обновил до беты 8979 - по прежнему не отображается. После чего перестало показывать не понял =( Может быть после очередного минипатча или установки-удаления WoT 0.7.0. Сам по ошибкам не могу понять, на что ругается... Edited April 7, 2019 by cektop Quote Share this post Link to post Short link Share on other sites
ktulho 5,791 #456003 Posted April 7, 2019 @cektop макросы были переименованы. 1 Quote Share this post Link to post Short link Share on other sites
cektop 3 #456007 Posted April 7, 2019 @ktulho Спасибо! Что-то я проглядел пост об изменении макросов. Quote Share this post Link to post Short link Share on other sites
EngineExt 59 #456770 Posted April 17, 2019 Сейчас есть ЛФ, и если включён этот макрос, бывает часто что на экране результатов просто вылетает клиент. Лог не могу дать т.к. забыл сохранить его перед новым запуском клиента, он перезаписался уже наверное. Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #456773 Posted April 17, 2019 (edited) Я в командировке еще как минимум на ближайшую неделю. Пока ничем не помогу. Edited April 17, 2019 by Kotyarko_O 1 Quote Share this post Link to post Short link Share on other sites
ddar 63 #457217 Posted April 29, 2019 (edited) done Edited April 29, 2019 by ddar Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #457573 Posted May 3, 2019 On 3/21/2019 at 2:01 PM, Kotyarko_O said: Updated. Added edited commonStats.swf , with a gradient in the removal of the text. Still not perfect, but his eyes did not follow. Yes, there will be superfluous. Can you please update the commonStats.swf to 1.5.0.0, is not working anymore. Thank you in advance. 1 Quote Share this post Link to post Short link Share on other sites
DKRUBEN 19 #457621 Posted May 3, 2019 give some time to @Kotyarko_O 1 Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #457622 Posted May 3, 2019 Oh, easy, I am not in a hurry. ;) Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #457664 Posted May 3, 2019 Обновлено. Адаптировано для 1.5.0.0. 3 Quote Share this post Link to post Short link Share on other sites
psix89 0 #458002 Posted May 5, 2019 (edited) У меня дублируется текст battleEfficiency.xc Edited May 5, 2019 by psix89 Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #458017 Posted May 5, 2019 (edited) @psix89, копии аддона в папке py_macro нет? Сторонних модификаций со схожим функционалом нет? Edited May 5, 2019 by Kotyarko_O Quote Share this post Link to post Short link Share on other sites
psix89 0 #458018 Posted May 5, 2019 4 минуты назад, Kotyarko_O сказал: @psix89, копии аддона в папке py_macro нет? Сторонних модификаций со схожим функционалом нет? Других модов с таким же функционалом нет. Заметил еще что первый бой после перезагрузки показывает нормально, а потом снова начинает дублироваться Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #458021 Posted May 5, 2019 (edited) Не воспроизводится. Edited May 5, 2019 by Kotyarko_O Quote Share this post Link to post Short link Share on other sites
refaol 223 #458033 Posted May 5, 2019 @psix89 wotstat используете ? Quote Share this post Link to post Short link Share on other sites