Kotyarko_O 1,906 #440402 Posted September 7, 2018 11 minutes ago, Szulson said: Can i attach wn8 to hitlogHeader?Can i use line named "format"?? "format": "{{ battleEfficiency}} {{hitlog-header}}" Yes. Like this: "format": "{{hitlog-header}} [WN8: <font color='{{py:efficiencyWN8Color}}'>{{py:efficiencyWN8}}</font>]\n{{hitlog-body}}" 15 minutes ago, Szulson said: Im using sesssion statistic and this shows different value on afterbatlle screen. Session statistic mods are not use battle result (win, lose), and calc results always for win. This addon calc efficiency with included battle result (hangar part). 1 Quote Share this post Link to post Short link Share on other sites
Szulson 15 #440407 Posted September 7, 2018 @Kotyarko_O thx .. i will check and im wrote, did this work.. Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #440408 Posted September 7, 2018 @Szulson , don`t forget to add new update event: "updateEvent": "ON_DAMAGE_CAUSED, ON_PANEL_MODE_CHANGED, PY(ON_BATTLE_EFFICIENCY)" Quote Share this post Link to post Short link Share on other sites
Wild_RNB 114 #440412 Posted September 7, 2018 2 часа назад, Kotyarko_O сказал: Исправление для САУ: battleEfficiency.py Проверил на всех типах танков, все работает. Tabstop подобрал. "textFormat": "<textFormat tabstops='[340]'>{{mapName}} - {{battleType}}<tab>WN8: <font color='{{c:WN8}}'>{{WN8}}</font>, EFF: <font color='{{c:EFF}}'>{{EFF}}</font></textFormat>" 2 Quote Share this post Link to post Short link Share on other sites
Szulson 15 #440427 Posted September 7, 2018 Bad news guys... Im Not testing this... When im try to launch a Game it take few minutes and i get an ERROR: Application has failed to start because no appropriate graphics hardware acceleration is available or it is turned off. I dont know what is happend... yesterday im end playing and shut down my Laptop.. today turn on and i get this Error.. Quote Share this post Link to post Short link Share on other sites
Руслан cb 16 #440482 Posted September 8, 2018 кто ни будь не поможет мне в мой однофайловый конфиг прописать это значение ,.чтоб было только в бою вот это конфиг прилагаю спасибо xvm.xc Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #440483 Posted September 8, 2018 @Руслан cb , пробуйте: xvm.xc 1 Quote Share this post Link to post Short link Share on other sites
Руслан cb 16 #440484 Posted September 8, 2018 3 минуты назад, Kotyarko_O сказал: @Руслан cb , пробуйте: xvm.xc всё гуд большой большой Вам спасибо Quote Share this post Link to post Short link Share on other sites
Kaeptn 24 #440493 Posted September 8, 2018 battle result window hung up today. it did load forever and could not be closed. only happend once, form a battle that was completed while i was in a different battle. xvm.log python.log Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #440494 Posted September 8, 2018 (edited) @Kaeptn , try the last version, from this post: https://koreanrandom.com/forum/topic/35299-/?do=findComment&comment=440392 It`ll add in the log an additional info, that can help to fix this issue. Edited September 8, 2018 by Kotyarko_O 1 Quote Share this post Link to post Short link Share on other sites
Kaeptn 24 #440502 Posted September 8, 2018 "efficiency error" with the config you linked. xvm.log python.log Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #440506 Posted September 8, 2018 @Kaeptn , game client on a different localizations has a different delimiters. I didn`t know that. Try this: battleEfficiency.py Quote Share this post Link to post Short link Share on other sites
Kaeptn 24 #440538 Posted September 8, 2018 В 9/7/2018 в 10:46 AM, Kotyarko_O сказал: That's right. By default in the XVM-config there is no color gradation of statistics, so you need to add it manually. The actual values can be found here: https://modxvm.com/Ratings/scale-xvm/color / c:wn8 works anywhere without values in colors.xc, the scale gets loaded externally. strange it doesn't work in this case. Quote Share this post Link to post Short link Share on other sites
Wild_RNB 114 #440540 Posted September 8, 2018 18 минут назад, Kaeptn сказал: c:wn8 works anywhere without values in colors.xc, the scale gets loaded externally. strange it doesn't work in this case. // Dynamic color by efficiency // Динамический цвет по эффективности "eff": [ { "value": 598, "color": ${"def.colorRating.very_bad" } }, // 0 - 598 - very bad (20% of players) { "value": 874, "color": ${"def.colorRating.bad" } }, // 599 - 874 - bad (better than 20% of players) { "value": 1079, "color": ${"def.colorRating.normal" } }, // 875 - 1079 - normal (better than 60% of players) { "value": 1540, "color": ${"def.colorRating.good" } }, // 1080 - 1540 - good (better than 90% of players) { "value": 1868, "color": ${"def.colorRating.very_good"} }, // 1541 - 1868 - very good (better than 99% of players) { "value": 99999, "color": ${"def.colorRating.unique" } } // 1869 - * - unique (better than 99.9% of players) ], // Dynamic color by WN8 rating // Динамический цвет по рейтингу WN8 "wn8": [ { "value": 397, "color": ${"def.colorRating.very_bad" } }, // 0 - 397 - very bad (20% of players) { "value": 914, "color": ${"def.colorRating.bad" } }, // 398 - 914 - bad (better than 20% of players) { "value": 1489, "color": ${"def.colorRating.normal" } }, // 915 - 1489 - normal (better than 60% of players) { "value": 2231, "color": ${"def.colorRating.good" } }, // 1490 - 2231 - good (better than 90% of players) { "value": 2979, "color": ${"def.colorRating.very_good"} }, // 2232 - 2979 - very good (better than 99% of players) { "value": 99999, "color": ${"def.colorRating.unique" } } // 2980 - * - unique (better than 99.9% of players) ], Quote Share this post Link to post Short link Share on other sites
alex_alex 35 #440592 Posted September 9, 2018 почему есть различия? и иногда не отображает эффективность Quote Share this post Link to post Short link Share on other sites
DKRUBEN 19 #440616 Posted September 9, 2018 @alex_alex it's easy to know why, one of the two mods is not working with the updated values table. Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #440618 Posted September 9, 2018 4 hours ago, alex_alex said: и иногда не отображает эффективность Используйте формат из этого сообщения. Шапку обновлю позже. 4 hours ago, alex_alex said: почему есть различия? WN8 достаточно близок, можно списать на разницу в применяемых таблицах ожидаемых значений. Почему такое отличие у EFF - не знаю. Формула, использованная в этом аддоне, вроде, "правильная". Quote Share this post Link to post Short link Share on other sites
alex_alex 35 #440626 Posted September 9, 2018 (edited) ну, шураББ вроде как подключает таблицу к своему моду Edited September 9, 2018 by alex_alex Quote Share this post Link to post Short link Share on other sites
ADv 10 #440628 Posted September 9, 2018 @Kotyarko_O а по какой причине могут не окрашиваться значения в послебоевой статистике? Они выводятся, но не цветные. Конфиг дефолтный Ваш из шапки. Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #440631 Posted September 9, 2018 1 hour ago, alex_alex said: ну, шураББ вроде как подключает таблицу к своему моду Там другие, неизвестные мне коэффициенты: https://bitbucket.org/ShuraBB/timespent/src/0eef15ec046f410db5a7ccd6f0f8994efd3754b9/mod_TimeSpent.py#lines-992 @ADv , внесите в colors.xc секции с рейтингами: "wn8": [ { "value": 451, "color": ${"def.colorRating.very_bad" } }, { "value": 985, "color": ${"def.colorRating.bad" } }, { "value": 1578, "color": ${"def.colorRating.normal" } }, { "value": 2369, "color": ${"def.colorRating.good" } }, { "value": 3183, "color": ${"def.colorRating.very_good" } }, { "value": 99999, "color": ${"def.colorRating.unique" } } ], "eff": [ { "value": 605, "color": ${"def.colorRating.very_bad" } }, { "value": 885, "color": ${"def.colorRating.bad" } }, { "value": 1188, "color": ${"def.colorRating.normal" } }, { "value": 1548, "color": ${"def.colorRating.good" } }, { "value": 1874, "color": ${"def.colorRating.very_good" } }, { "value": 99999, "color": ${"def.colorRating.unique" } } ], 1 Quote Share this post Link to post Short link Share on other sites