Kotyarko_O Posted September 7, 2018 Author Share 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 Link to comment Short link Share on other sites More sharing options...
Szulson Posted September 7, 2018 Share Posted September 7, 2018 @Kotyarko_O thx .. i will check and im wrote, did this work.. @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted September 7, 2018 Author Share 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 Link to comment Short link Share on other sites More sharing options...
Wild_RNB Posted September 7, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Szulson Posted September 7, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Руслан cb Posted September 8, 2018 Share Posted September 8, 2018 кто ни будь не поможет мне в мой однофайловый конфиг прописать это значение ,.чтоб было только в бою вот это конфиг прилагаю спасибо xvm.xc @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted September 8, 2018 Author Share Posted September 8, 2018 @Руслан cb , пробуйте: xvm.xc 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Руслан cb Posted September 8, 2018 Share Posted September 8, 2018 3 минуты назад, Kotyarko_O сказал: @Руслан cb , пробуйте: xvm.xc всё гуд большой большой Вам спасибо @ Quote Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted September 8, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted September 8, 2018 Author Share 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 Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted September 8, 2018 Share Posted September 8, 2018 "efficiency error" with the config you linked. xvm.log python.log @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted September 8, 2018 Author Share 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 Link to comment Short link Share on other sites More sharing options...
Kaeptn Posted September 8, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Wild_RNB Posted September 8, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
alex_alex Posted September 9, 2018 Share Posted September 9, 2018 почему есть различия? и иногда не отображает эффективность @ Quote Link to comment Short link Share on other sites More sharing options...
DKRUBEN Posted September 9, 2018 Share 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 Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted September 9, 2018 Author Share Posted September 9, 2018 4 hours ago, alex_alex said: и иногда не отображает эффективность Используйте формат из этого сообщения. Шапку обновлю позже. 4 hours ago, alex_alex said: почему есть различия? WN8 достаточно близок, можно списать на разницу в применяемых таблицах ожидаемых значений. Почему такое отличие у EFF - не знаю. Формула, использованная в этом аддоне, вроде, "правильная". @ Quote Link to comment Short link Share on other sites More sharing options...
alex_alex Posted September 9, 2018 Share Posted September 9, 2018 (edited) ну, шураББ вроде как подключает таблицу к своему моду Edited September 9, 2018 by alex_alex @ Quote Link to comment Short link Share on other sites More sharing options...
ADv Posted September 9, 2018 Share Posted September 9, 2018 @Kotyarko_O а по какой причине могут не окрашиваться значения в послебоевой статистике? Они выводятся, но не цветные. Конфиг дефолтный Ваш из шапки. @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted September 9, 2018 Author Share 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 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.