Jump to content
Korean Random
Kotyarko_O

battleMessages средствами XVM.

Recommended Posts

Привет! Возможно добавить оповещение в союзный чат о тимдамаге по собственной технике?

В конфиге есть параметр:

// Available values: \ Возможные значения: "all", "player", "ally"
"enabledFor": "all",

"player" - отслеживается только тим-дамаг по игроку.

"ally" - отслеживается только тим-дамаг по союзникам, не включая игрока.

"all" - отслеживается тим-дамаг и по союзникам, и по игроку.

Но конкретно в союзный чат сейчас нельзя. В данный момент, аддон там добавляет клиентские сообщения и видит их только игрок.

 

перезарядку в чат можно организовать?

Вроде клиент и так вставляет время перезарядки, в команду "Перезаряжаюсь" во время самой перезарядки. Или я не так понял?

Edited by Kotyarko_O

Share this post


Link to post

Short link
Share on other sites

Но конкретно в союзный чат сейчас нельзя. В данный момент, аддон там добавляет клиентские сообщения и видит их только игрок.

 

А потом будет можно? =)

Share this post


Link to post

Short link
Share on other sites

hi

2017-03-12 15:36:07.374: INFO: =============================
2017-03-12 15:36:07.374: INFO: 2017-03-12 15:36:07: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-03-12 15:36:07.375: ERROR: Traceback (most recent call last):
2017-03-12 15:36:07.375: ERROR:   File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-03-12 15:36:07.375: ERROR:     e.fire(*a, **k)
2017-03-12 15:36:07.375: ERROR:   File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-03-12 15:36:07.375: ERROR:     handler(*args, **keywargs)
2017-03-12 15:36:07.375: ERROR:   File "res_mods/configs/xvm/py_macro\battleMessages.py", line 154, in onHealthChanged
2017-03-12 15:36:07.375: ERROR:     teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-03-12 15:36:07.375: ERROR:   File "res_mods/configs/xvm/py_macro\battleMessages.py", line 134, in teamDamage_onHealthChanged
2017-03-12 15:36:07.375: ERROR:     if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-03-12 15:36:07.375: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-03-12 15:36:07.375: INFO: =============================

Share this post


Link to post

Short link
Share on other sites
Вроде клиент и так вставляет время перезарядки, в команду "Перезаряжаюсь" во время самой перезарядки. Или я не так понял?

проблема в том что нельзя одновременно уйти на кд и сообщить об этом в чат настройки управления не позволяют на одну и ту же клавишу настроить на два события. 

можно попробовать preferences поковырять но мне кажется он сбросит.

Edited by Kornet_WA
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Вроде клиент и так вставляет время перезарядки, в команду "Перезаряжаюсь" во время самой перезарядки. Или я не так понял?

Посонам лениво жмакать 2(!) кнопки

  • Upvote 1
  • Downvote 2

Share this post


Link to post

Short link
Share on other sites

, it happened once?

 

А потом будет можно? =)

Можно будет.

Edited by Kotyarko_O
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Посонам лениво жмакать 2(!) кнопки

Не лениво, а предельно неудобно.

Все кнопки под рукой заняты, а отрывать руку от WSAD чтобы нажать еще одну кнопку в стороне - снижение эффективности в бою. Тем более что уходя на перезарядку как раз и нужно быстренько сменить позицию

Edited by alexxx_sv

Share this post


Link to post

Short link
Share on other sites

Same here :-(

 

2017-03-19 21:22:17.109: INFO: =============================
2017-03-19 21:22:17.109: INFO: 2017-03-19 21:22:17: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-03-19 21:22:17.109: ERROR: Traceback (most recent call last):
2017-03-19 21:22:17.110: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-03-19 21:22:17.139: ERROR: e.fire(*a, **k)
2017-03-19 21:22:17.139: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-03-19 21:22:17.140: ERROR: handler(*args, **keywargs)
2017-03-19 21:22:17.140: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 154, in onHealthChanged
2017-03-19 21:22:17.155: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-03-19 21:22:17.155: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 134, in teamDamage_onHealthChanged
2017-03-19 21:22:17.155: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-03-19 21:22:17.155: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-03-19 21:22:17.155: INFO: =============================
2017-03-19 21:22:17.213: INFO: =============================
2017-03-19 21:22:17.213: INFO: 2017-03-19 21:22:17: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-03-19 21:22:17.213: ERROR: Traceback (most recent call last):
2017-03-19 21:22:17.213: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-03-19 21:22:17.214: ERROR: e.fire(*a, **k)
2017-03-19 21:22:17.214: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-03-19 21:22:17.214: ERROR: handler(*args, **keywargs)
2017-03-19 21:22:17.214: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 154, in onHealthChanged
2017-03-19 21:22:17.214: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-03-19 21:22:17.214: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 134, in teamDamage_onHealthChanged
2017-03-19 21:22:17.214: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-03-19 21:22:17.214: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-03-19 21:22:17.214: INFO: =============================
2017-03-19 21:22:17.536: INFO: =============================
2017-03-19 21:22:17.537: INFO: 2017-03-19 21:22:17: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-03-19 21:22:17.537: ERROR: Traceback (most recent call last):
2017-03-19 21:22:17.537: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-03-19 21:22:17.537: ERROR: e.fire(*a, **k)
2017-03-19 21:22:17.537: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-03-19 21:22:17.537: ERROR: handler(*args, **keywargs)
2017-03-19 21:22:17.537: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 154, in onHealthChanged
2017-03-19 21:22:17.537: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-03-19 21:22:17.537: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 134, in teamDamage_onHealthChanged
2017-03-19 21:22:17.537: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-03-19 21:22:17.537: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-03-19 21:22:17.537: INFO: =============================
2017-03-19 21:22:17.809: INFO: =============================
2017-03-19 21:22:17.809: INFO: 2017-03-19 21:22:17: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-03-19 21:22:17.809: ERROR: Traceback (most recent call last):
2017-03-19 21:22:17.809: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-03-19 21:22:17.810: ERROR: e.fire(*a, **k)
2017-03-19 21:22:17.810: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-03-19 21:22:17.810: ERROR: handler(*args, **keywargs)
2017-03-19 21:22:17.810: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 154, in onHealthChanged
2017-03-19 21:22:17.810: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-03-19 21:22:17.810: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 134, in teamDamage_onHealthChanged
2017-03-19 21:22:17.810: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-03-19 21:22:17.810: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-03-19 21:22:17.810: INFO: =============================
2017-03-19 21:22:18.262: INFO: =============================
2017-03-19 21:22:18.262: INFO: 2017-03-19 21:22:18: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-03-19 21:22:18.262: ERROR: Traceback (most recent call last):
2017-03-19 21:22:18.262: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-03-19 21:22:18.262: ERROR: e.fire(*a, **k)
2017-03-19 21:22:18.262: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-03-19 21:22:18.262: ERROR: handler(*args, **keywargs)
2017-03-19 21:22:18.262: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 154, in onHealthChanged
2017-03-19 21:22:18.262: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-03-19 21:22:18.262: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 134, in teamDamage_onHealthChanged
2017-03-19 21:22:18.262: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-03-19 21:22:18.262: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-03-19 21:22:18.262: INFO: =============================
2017-03-19 21:22:19.438: INFO: =============================
2017-03-19 21:22:19.439: INFO: 2017-03-19 21:22:19: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-03-19 21:22:19.439: ERROR: Traceback (most recent call last):
2017-03-19 21:22:19.439: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-03-19 21:22:19.439: ERROR: e.fire(*a, **k)
2017-03-19 21:22:19.439: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-03-19 21:22:19.439: ERROR: handler(*args, **keywargs)
2017-03-19 21:22:19.439: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 154, in onHealthChanged
2017-03-19 21:22:19.439: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-03-19 21:22:19.439: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 134, in teamDamage_onHealthChanged
2017-03-19 21:22:19.439: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-03-19 21:22:19.439: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-03-19 21:22:19.439: INFO: =============================
2017-03-19 21:22:20.213: INFO: =============================
2017-03-19 21:22:20.213: INFO: 2017-03-19 21:22:20: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-03-19 21:22:20.213: ERROR: Traceback (most recent call last):
2017-03-19 21:22:20.213: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-03-19 21:22:20.213: ERROR: e.fire(*a, **k)
2017-03-19 21:22:20.213: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-03-19 21:22:20.213: ERROR: handler(*args, **keywargs)
2017-03-19 21:22:20.213: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 154, in onHealthChanged
2017-03-19 21:22:20.213: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-03-19 21:22:20.213: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 134, in teamDamage_onHealthChanged
2017-03-19 21:22:20.214: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-03-19 21:22:20.214: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-03-19 21:22:20.214: INFO: =============================

Share this post


Link to post

Short link
Share on other sites

Sorry, but i dont think that problem is solved.

 

2017-04-02 21:42:03.393: INFO: =============================
2017-04-02 21:42:03.393: INFO: 2017-04-02 21:42:03: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-04-02 21:42:03.393: ERROR: Traceback (most recent call last):
2017-04-02 21:42:03.393: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-04-02 21:42:03.393: ERROR: e.fire(*a, **k)
2017-04-02 21:42:03.393: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-04-02 21:42:03.393: ERROR: handler(*args, **keywargs)
2017-04-02 21:42:03.393: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 149, in onHealthChanged
2017-04-02 21:42:03.393: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-04-02 21:42:03.393: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 129, in teamDamage_onHealthChanged
2017-04-02 21:42:03.393: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-04-02 21:42:03.393: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-04-02 21:42:03.393: INFO: =============================
2017-04-02 21:42:03.718: INFO: =============================
2017-04-02 21:42:03.718: INFO: 2017-04-02 21:42:03: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-04-02 21:42:03.718: ERROR: Traceback (most recent call last):
2017-04-02 21:42:03.719: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-04-02 21:42:03.719: ERROR: e.fire(*a, **k)
2017-04-02 21:42:03.719: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-04-02 21:42:03.719: ERROR: handler(*args, **keywargs)
2017-04-02 21:42:03.719: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 149, in onHealthChanged
2017-04-02 21:42:03.719: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-04-02 21:42:03.719: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 129, in teamDamage_onHealthChanged
2017-04-02 21:42:03.719: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-04-02 21:42:03.719: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-04-02 21:42:03.719: INFO: =============================
2017-04-02 21:42:04.416: INFO: =============================
2017-04-02 21:42:04.416: INFO: 2017-04-02 21:42:04: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-04-02 21:42:04.416: ERROR: Traceback (most recent call last):
2017-04-02 21:42:04.416: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-04-02 21:42:04.416: ERROR: e.fire(*a, **k)
2017-04-02 21:42:04.416: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-04-02 21:42:04.416: ERROR: handler(*args, **keywargs)
2017-04-02 21:42:04.416: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 149, in onHealthChanged
2017-04-02 21:42:04.416: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-04-02 21:42:04.416: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 129, in teamDamage_onHealthChanged
2017-04-02 21:42:04.416: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-04-02 21:42:04.416: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-04-02 21:42:04.416: INFO: =============================
2017-04-02 21:42:05.606: INFO: =============================
2017-04-02 21:42:05.606: INFO: 2017-04-02 21:42:05: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-04-02 21:42:05.606: ERROR: Traceback (most recent call last):
2017-04-02 21:42:05.606: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-04-02 21:42:05.606: ERROR: e.fire(*a, **k)
2017-04-02 21:42:05.606: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-04-02 21:42:05.606: ERROR: handler(*args, **keywargs)
2017-04-02 21:42:05.606: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 149, in onHealthChanged
2017-04-02 21:42:05.606: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-04-02 21:42:05.606: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 129, in teamDamage_onHealthChanged
2017-04-02 21:42:05.606: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-04-02 21:42:05.606: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-04-02 21:42:05.606: INFO: =============================
2017-04-02 21:42:06.384: INFO: =============================
2017-04-02 21:42:06.384: INFO: 2017-04-02 21:42:06: [ERROR] ./res_mods/mods/xfw/python\xfw\events.pyc
2017-04-02 21:42:06.384: ERROR: Traceback (most recent call last):
2017-04-02 21:42:06.384: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 55, in __event_handler
2017-04-02 21:42:06.384: ERROR: e.fire(*a, **k)
2017-04-02 21:42:06.384: ERROR: File "./res_mods/mods/xfw/python\xfw\events.py", line 24, in fire
2017-04-02 21:42:06.384: ERROR: handler(*args, **keywargs)
2017-04-02 21:42:06.384: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 149, in onHealthChanged
2017-04-02 21:42:06.384: ERROR: teamDamage_onHealthChanged(self, newHealth, attackerID, attackReasonID)
2017-04-02 21:42:06.384: ERROR: File "res_mods/configs/xvm/py_macro\battleMessages.py", line 129, in teamDamage_onHealthChanged
2017-04-02 21:42:06.384: ERROR: if player.team == attacker['team'] == self.publicInfo.team and self.id != attackerID:
2017-04-02 21:42:06.384: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2017-04-02 21:42:06.384: INFO: =============================

Share this post


Link to post

Short link
Share on other sites

@Kotyarko_O, если возможно, добавьте, пожалуйста, в модуль iAmSpotted функционал отправки сообщения о собственном засвете во взводный чат, внезависимости от количества оставшихся игроков в команде. Аналогичный функционал был в моде Observed.

Share this post


Link to post

Short link
Share on other sites

@Kotyarko_O, если возможно, добавьте, пожалуйста, в модуль iAmSpotted функционал отправки сообщения о собственном засвете во взводный чат, внезависимости от количества оставшихся игроков в команде. Аналогичный функционал был в моде Observed.

Продублирую своё сообщение из соседней темы: "Можно. Но в ближайшее время заняться чем-либо "танковым" возможности нет".

  • Upvote 2

Share this post


Link to post

Short link
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...