Jump to content
Korean Random

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


Recommended Posts

может причина в новой работе чата (имхо)? Сейчас в чат показывает 1 новое + 5 старых сообщений (клиент без модов) + ограничение на 6 строк чата сделали

по этому кажется что твои сообщения дублируются. Я сразу и не понял, почему в чате 4 моих сообщений о засвете, пока не разобрался.

получилось 3 старых + 1 новое, а выглядело как спам )

Link to comment
Short link
Share on other sites

finally found the issue by myself - autoReloadConfig may cause problems. if disabled or not making changes to the config in a session, no duplicate messages. so, thanks and please ignore my previous post.

Link to comment
Short link
Share on other sites

5 часов назад, Kaeptn сказал:

finally found the issue by myself - autoReloadConfig may cause problems. if disabled or not making changes to the config in a session, no duplicate messages. so, thanks and please ignore my previous post.

It's an old issue 

 

Edited by ADv
Link to comment
Short link
Share on other sites

аддон работает отлично. У кого проблемы:

- проверьте подключение

- проверьте параметр (должен быть выключен)

"autoReloadConfig": false

 

сам аддон должен быть включён:

"battleMessages": {
  "enabled": true
  • Downvote 1
Link to comment
Short link
Share on other sites

Постоянно появляется ошибка:ERROR: [ERROR] (mods/xfw/python/xfw/events.py, 71): Method must be override! ('onMessageStarted', <class 'gui.Scaleform.daapi.view.battle.shared.game_messages_panel.GameMessagesPanel'>)

Похоже ошибся, это не battleMesssages выдаёт ошибку.

Edited by Pensioner
Link to comment
Short link
Share on other sites

2018-05-16 11:32:35.232: INFO: 2018-05-16 11:32:35: [ERROR] mods/xfw/python/xfw/events.pyc
2018-05-16 11:32:35.232: ERROR: Traceback (most recent call last):
2018-05-16 11:32:35.232: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2018-05-16 11:32:35.233: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2018-05-16 11:32:35.233: ERROR:   File "res_mods/configs/xvm/py_macro\battleMessages.py", line 181, in _SixthSenseIndicator__show
2018-05-16 11:32:35.233: ERROR:     iAmSpotted()
2018-05-16 11:32:35.233: ERROR:   File "res_mods/configs/xvm/py_macro\battleMessages.py", line 85, in iAmSpotted
2018-05-16 11:32:35.233: ERROR:     alive_allies = {id:data for id, data in arena.vehicles.items() if data['team'] == player.team and data['isAlive']}
2018-05-16 11:32:35.233: ERROR: NameError: global name 'arena' is not defined

Link to comment
Short link
Share on other sites

В 08.05.2018 в 02:36, HEKPOMAHT сказал:

аддон работает отлично. У кого проблемы:

- проверьте подключение

- проверьте параметр (должен быть выключен)


"autoReloadConfig": false

 

сам аддон должен быть включён:


"battleMessages": {
  "enabled": true

Это ещё зачем?

  • Downvote 2
Link to comment
Short link
Share on other sites

@Kotyarko_O 

просматривал логи, в двух местах нашёл ошибку:

ERROR

Цитата

2018-05-21 20:42:39.488: INFO: =============================
2018-05-21 20:42:39.488: INFO: 2018-05-21 20:42:39: [ERROR] mods/xfw/python/xfw/events.pyc
2018-05-21 20:42:39.488: ERROR: Traceback (most recent call last):
2018-05-21 20:42:39.488: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2018-05-21 20:42:39.489: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2018-05-21 20:42:39.489: ERROR:   File "res_mods/configs/xvm/py_macro\battleMessages.py", line 176, in showDamageFromExplosion
2018-05-21 20:42:39.489: ERROR:     showEnemyArtyCooldown(self, attackerID)
2018-05-21 20:42:39.490: ERROR:   File "res_mods/configs/xvm/py_macro\battleMessages.py", line 70, in showEnemyArtyCooldown
2018-05-21 20:42:39.490: ERROR:     if vehicles.getVehicleClass(attacker['vehicleType'].type.compactDescr) == VEHICLE_CLASS_NAME.SPG:
2018-05-21 20:42:39.490: ERROR: TypeError: 'NoneType' object has no attribute '__getitem__'
2018-05-21 20:42:39.490: INFO: =============================

 

> возможно даже с реплея

Link to comment
Short link
Share on other sites

  • 3 months later...

Здравствуйте@Kotyarko_O .Скажите можно ли сделать,чтобы при наведении на противника без нажатие кнопки срабатывала команда "поддержите огнём".                                     И при приватном сообщении вывести информацию на экран,а то в чате не всегда видно.Заранее спасибо.

  • Downvote 1
Link to comment
Short link
Share on other sites

On 9/4/2018 at 8:50 PM, Sergei Nik said:

Скажите можно ли сделать,чтобы при наведении на противника без нажатие кнопки срабатывала команда "поддержите огнём".

Можно, но не думаю, что нужно. Если кто-то поддержит идею, сделаю.

Link to comment
Short link
Share on other sites

На счёт команды "поддержите огнём",может задать ограничения на какое-то время?что бы не было спама.А на счёт приватных сообщений я думаю  было бы не плохо видеть их на экране или слышать хотя бы звук,что у тебя сообщение,так как в чате их не замечаешь либо замечаешь,но уже поздно.  

Link to comment
Short link
Share on other sites

  • 1 month later...

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...