Jump to content
Korean Random
Kotyarko_O

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

Recommended Posts

the script is still sending multiple messages instead of one as described here.

 

in case of teamDamage, it gives out 4 messages about 1 event that occoured.

Share this post


Link to post

Short link
Share on other sites

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

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

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

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post

Short link
Share on other sites

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

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

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

"autoReloadConfig": false

 

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

"battleMessages": {
  "enabled": true
  • Downvote 1

Share this post


Link to post

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

Share this post


Link to post

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

Share this post


Link to post

Short link
Share on other sites
В 08.05.2018 в 02:36, HEKPOMAHT сказал:

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

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

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


"autoReloadConfig": false

 

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


"battleMessages": {
  "enabled": true

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

  • Downvote 2

Share this post


Link to post

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: =============================

 

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

Share this post


Link to post

Short link
Share on other sites

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

  • Downvote 1

Share this post


Link to post

Short link
Share on other sites
On 9/4/2018 at 8:50 PM, Sergei Nik said:

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

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

Share this post


Link to post

Short link
Share on other sites
56 минут назад, Kotyarko_O сказал:

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

Это удобно в клановых боях в замесах

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
В 9/5/2018 в 8:33 PM, Kotyarko_O сказал:

You can, but I do not think you need to. If someone supports the idea, I will do it.

 

i support that. there should be a configurable time time delay to avoid spam

Share this post


Link to post

Short link
Share on other sites

I would support it as well but only if it had a hotkey to disable and enable it during battle. Default "disabled". Perhaps "onHold" etc etc.
This would reduce the amount of spam and still make you think (at least a little) instead of becoming too lazy. :blinky:

Share this post


Link to post

Short link
Share on other sites

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

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