Kotyarko_O 1,906 #457468 Posted May 2, 2019 (edited) @SicFunzler, this addon is`nt adapted for 1.5 yet. I`ll update it tomorrow today (1.5 release on CIS). Edited May 2, 2019 by Kotyarko_O Quote Share this post Link to post Short link Share on other sites
Sergei Nik 78 #457479 Posted May 3, 2019 @Kotyarko_O ясно,а может всё таки доделаете эту функцию. Quote Share this post Link to post Short link Share on other sites
MICROB 77 #457562 Posted May 3, 2019 Почему то сам скрипт у меня не работает в 1.5. тараном союзнику урон нанёс -не отображает,т.ж. тимкил скрипт ещё от4.11.2018 Quote Share this post Link to post Short link Share on other sites
Heliomalt 53 #457564 Posted May 3, 2019 Dude, read two post before, there is the solution. 1 Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #457668 Posted May 3, 2019 Обновлено. Адаптация для 1.5.0.0. 4 Quote Share this post Link to post Short link Share on other sites
Sergei Nik 78 #458631 Posted May 11, 2019 Здравствуйте @Kotyarko_O ,а может всё таки в будущем доделаете эту функцию- ( "поддержите огнём" при наведении на противника ) Заранее спасибо. Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #458647 Posted May 11, 2019 Обновлено. Добавлена секция attackCommandOnSight - автоматическая отправка команды "Атакую *текущая цель*!". 4 Quote Share this post Link to post Short link Share on other sites
Sergei Nik 78 #458648 Posted May 11, 2019 @Kotyarko_O СПАСИБО ВАМ ОГРОМНОЕ !!! Quote Share this post Link to post Short link Share on other sites
Jack_ppc 77 #458685 Posted May 11, 2019 5 часов назад, Kotyarko_O сказал: Добавлена секция attackCommandOnSight - автоматическая отправка команды "Атакую *текущая цель*!". Это ж какой спам будет, если не дай бог двое в команде используют этот скрипт Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #458686 Posted May 11, 2019 2 minutes ago, Jack_ppc said: Это ж какой спам будет, если не дай бог двое в команде используют этот скрипт Для смягчения спама сделан параметр timeout. По-умолчанию 5 секунд. Если это слишком часто для вас, просто увеличивайте значение. 1 Quote Share this post Link to post Short link Share on other sites
Jack_ppc 77 #458690 Posted May 11, 2019 @Kotyarko_O, ясно! Я просто сначала написал и только потом конфиг посмотрел )) Quote Share this post Link to post Short link Share on other sites
Sergei Nik 78 #458691 Posted May 11, 2019 В рандоме у каждого второго стоит от Ekspoint . Quote Share this post Link to post Short link Share on other sites
Jack_ppc 77 #458692 Posted May 11, 2019 1 минуту назад, Sergei Nik сказал: В рандоме у каждого второго стоит от Ekspoint . Значит я первый Quote Share this post Link to post Short link Share on other sites
refaol 223 #458708 Posted May 11, 2019 10 часов назад, Kotyarko_O сказал: Добавлена секция attackCommandOnSight - автоматическая отправка команды "Атакую *текущая цель*!". А можете plz представить возможность выбора фразы? Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #458714 Posted May 11, 2019 (edited) 35 minutes ago, refaol said: А можете plz представить возможность выбора фразы? Сейчас смысл в том, что отправляется именно команда с пометкой маркера атакуемого и игрока у союзников. В данном случае, "выбор фразы" - это отправка дополнительного сообщения, помимо самой команды или отправка только сообщения без команды (соответственно и без визуальных выделений). Edited May 11, 2019 by Kotyarko_O Quote Share this post Link to post Short link Share on other sites
cektop 3 #458760 Posted May 12, 2019 13 часов назад, Kotyarko_O сказал: А можно добавить оповещение союзникам, о том что по мне был нанесён тимдамаг от <такого-то союзника> на <столько-то хп>? ИМХО команда должна знать, что можно получить по спине от очередного неадеквата. 1 Quote Share this post Link to post Short link Share on other sites
DKRUBEN 19 #460866 Posted May 29, 2019 @Kotyarko_O iamSpotted sometimes does not work correctly, simply the message is not shown, it seems to be random. Any idea? nothing appears on the registers. Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #462152 Posted June 16, 2019 @Kotyarko_O с ЛФ 2019-06-16 14:21:58.316: INFO: ============================= 2019-06-16 14:21:58.317: INFO: 2019-06-16 14:21:58: [ERROR] mods/xfw/python/xfw/events.pyc 2019-06-16 14:21:58.317: ERROR: Traceback (most recent call last): 2019-06-16 14:21:58.317: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2019-06-16 14:21:58.318: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2019-06-16 14:21:58.318: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 208, in targetFocus 2019-06-16 14:21:58.319: ERROR: if battleMessagesConfig['enabled'] and battleMessagesConfig['attackCommandOnSight']['enabled']: 2019-06-16 14:21:58.319: ERROR: KeyError: 'attackCommandOnSight' 2019-06-16 14:21:58.319: INFO: ============================= Quote Share this post Link to post Short link Share on other sites
Kotyarko_O 1,906 #462153 Posted June 16, 2019 @HEKPOMAHT, похоже, что в конфиге просто нет секции "attackCommandOnSight". 1 Quote Share this post Link to post Short link Share on other sites
HEKPOMAHT 2,165 #462155 Posted June 16, 2019 @Kotyarko_O всё дело в том, что пролистывая логи я наткнулся на это: 2019-06-15 18:43:04.579: INFO: ============================= 2019-06-15 18:43:04.579: INFO: 2019-06-15 18:43:04: [ERROR] mods/xfw/python/xfw/events.pyc 2019-06-15 18:43:04.579: ERROR: Traceback (most recent call last): 2019-06-15 18:43:04.579: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2019-06-15 18:43:04.580: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2019-06-15 18:43:04.581: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 87, in showDamageFromExplosion 2019-06-15 18:43:04.581: ERROR: showEnemyArtyCooldown(self, attackerID) 2019-06-15 18:43:04.581: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 72, in showEnemyArtyCooldown 2019-06-15 18:43:04.581: ERROR: if vehicles.getVehicleClass(attacker['vehicleType'].type.compactDescr) == VEHICLE_CLASS_NAME.SPG: 2019-06-15 18:43:04.581: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__' 2019-06-15 18:43:04.581: INFO: ============================= обновил скрипт, а про новый параметр подзабыл. Если эта ошибка с новым скриптом вылезет, отпишусь. Quote Share this post Link to post Short link Share on other sites