Jump to content
Korean Random
ktulho

Сборник py_macro

Recommended Posts

41 минуту назад, ktulho сказал:

С премом вроде количество дней выводиться? Или нет?

Да, но когда меньше суток, то часы.

349102300_25-09-2022124557.png.e1b5f5bbf4d05db3d68d2d23ca790b71.png

Или можно эти картинки можно использовать

Без према noPremium.png.7e5c4b0f9eabff8f9552b29fa58378ad.png

С премом premiumPlus.png.75572c19ae1b12fce6dcc454a687d204.png

С премом можно оставить и дефолтную картинку, она вроде бы та же.

Edited by Wild_RNB

Share this post


Link to post

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

@Wild_RNB Попробуй. Без према выглядит так:

 

image.png.d0e5d466f2ff7990df10bde5f2007af6.png

 

Скрипт скопировать в \res_mods\configs\xvm\py_macro\

accountTypes.py 640 B · 1 скачивание

А спремом вот так:

160748298_25-09-2022140133.png.9985a170ba64dada8f57a297ef62c221.png

Все так, как и хотелось. Спасибо большое!

А можно еще как то границы сравнять? Правая сильно дальше чем левая.

Edited by Wild_RNB

Share this post


Link to post

Short link
Share on other sites
2 часа назад, Wild_RNB сказал:

А можно еще как то границы сравнять? Правая сильно дальше чем левая.

Из python вряд ли это получится.

Share this post


Link to post

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

Из python вряд ли это получится.

А центрировать содержимое тоже не получится?

Share this post


Link to post

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

А центрировать содержимое тоже не получится?

Нет.

Share this post


Link to post

Short link
Share on other sites

Probleme with openBrowser.py

 

2022-10-12 10:28:29: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 101, in __load_lib
    __execute(code, file_name, {'xvm': XvmNamespace})
  File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 93, in __execute
    raise ExecutionException("{} at file '{}' line {}: {}".format(error_name, file_name, line_number, message))
ExecutionException: ImportError at file 'res_mods/configs/xvm/py_macro\openBrowser.py' line 2: cannot import name process

2022-10-12 10:28:35: [X:000] [XFW/XfwComponent] loadMods: Loading swf mods:
2022-10-12 10:28:35: [X:001]   xvm_lobby/as_lobby/xvm_lobby.swf
2022-10-12 10:28:35: [L:002] [XFW/XfwComponent] onLibLoaded: ../res_mods/mods/xfw_packages/xvm_lobby/as_lobby/xvm_lobby.swf
2022-10-12 10:28:35: [L:003] [XVM:LOBBY] processView: login
2022-10-12 10:28:35: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 156, in process
    (func, deterministic) = __get_function(arg)
  File "res_mods/mods/xfw_packages\xvm_pymacro\python\__init__.py", line 120, in __get_function
    (func, deterministic) = _container.get(func_nam

 

 

MFG

SicFunzler

Share this post


Link to post

Short link
Share on other sites
2022-10-12 21:30:29.364: INFO: 2022-10-12 21:30:29: [ERROR] mods/xfw_libraries/xfw/events.pyc
2022-10-12 21:30:29.364: ERROR: Traceback (most recent call last):
2022-10-12 21:30:29.364: ERROR:   File "./xfw/events.py", line 53, in __event_handler
2022-10-12 21:30:29.364: ERROR:   File "./xfw/events.py", line 24, in fire
2022-10-12 21:30:29.365: ERROR:   File "res_mods/configs/xvm/py_macro\collection.py", line 85, in _BattleFieldCtrl__setAllyMaxHealth
2022-10-12 21:30:29.365: ERROR:     updateHardening(vehicleID, newMaxHealth)
2022-10-12 21:30:29.365: ERROR:   File "res_mods/configs/xvm/py_macro\collection.py", line 50, in updateHardening
2022-10-12 21:30:29.365: ERROR:     players[vehicle.publicInfo.name]['hardening'] = 'hardening' if newMaxHealth >= int(vehicle.typeDescriptor.maxHealth * 1.08) else None
2022-10-12 21:30:29.365: ERROR: KeyError: 'Anavrin'
2022-10-12 21:30:29.365: INFO: =============================

в новом режиме

Edited by justdj
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
12 часов назад, justdj сказал:

2022-10-12 21:30:29.364: INFO: 2022-10-12 21:30:29: [ERROR] mods/xfw_libraries/xfw/events.pyc
2022-10-12 21:30:29.364: ERROR: Traceback (most recent call last):
2022-10-12 21:30:29.364: ERROR:   File "./xfw/events.py", line 53, in __event_handler
2022-10-12 21:30:29.364: ERROR:   File "./xfw/events.py", line 24, in fire
2022-10-12 21:30:29.365: ERROR:   File "res_mods/configs/xvm/py_macro\collection.py", line 85, in _BattleFieldCtrl__setAllyMaxHealth
2022-10-12 21:30:29.365: ERROR:     updateHardening(vehicleID, newMaxHealth)
2022-10-12 21:30:29.365: ERROR:   File "res_mods/configs/xvm/py_macro\collection.py", line 50, in updateHardening
2022-10-12 21:30:29.365: ERROR:     players[vehicle.publicInfo.name]['hardening'] = 'hardening' if newMaxHealth >= int(vehicle.typeDescriptor.maxHealth * 1.08) else None
2022-10-12 21:30:29.365: ERROR: KeyError: 'Anavrin'
2022-10-12 21:30:29.365: INFO: =============================

в новом режиме

Видимо анонимайзер в новом режиме не работает. Обновил в шапке скрипт из аддона Макросы для "ушей", маркеров и миникарты

  • Upvote 1

Share this post


Link to post

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

Видимо анонимайзер в новом режиме не работает.

я анонимайзер не включал. Чтоб подготовить реплей с багом - ошибка выскочила только в бою четвёртом - пятом. То есть выскакивала не в каждом бою.

 

Share this post


Link to post

Short link
Share on other sites
24 минуты назад, HEKPOMAHT сказал:

я анонимайзер не включал.

 и не говорил, что анонимайзер у тебя включен, он у других включен и не работает в данном режиме.

Share this post


Link to post

Short link
Share on other sites

Доброго времени суток!

Можете помочь с конфигом? С тем кто его сделал не могу связаться, а у самого руки кривоваты в этом деле. Что смог сам обновил,  не работает панель HP и не отображаются повреждения экипажа и оборудования на инфопанеле.

python.log

python.log

Edited by Solo_dm
Не тот файл

Share this post


Link to post

Short link
Share on other sites
13.10.2022 в 09:56, HEKPOMAHT сказал:

я анонимайзер не включал. Чтоб подготовить реплей с багом - ошибка выскочила только в бою четвёртом - пятом. То есть выскакивала не в каждом бою.

 

 

13.10.2022 в 10:22, ktulho сказал:

 и не говорил, что анонимайзер у тебя включен, он у других включен и не работает в данном режиме.

 

там анонимайзер хитро работает, в своей команде видишь реальные ники, даже если у кого-то они скрыты, а вот в команде противника все как обычно

Share this post


Link to post

Short link
Share on other sites

Her are probleme with update 1.18.1.1 :


2022-10-20 10:07:16.754: INFO: =============================
2022-10-20 10:07:16.755: INFO: 2022-10-20 10:07:16: [ERROR] mods/xfw_libraries/xfw/events.pyc
2022-10-20 10:07:16.755: ERROR: Traceback (most recent call last):
2022-10-20 10:07:16.755: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2022-10-20 10:07:16.780: ERROR:   File "./xfw/events.py", line 24, in fire
2022-10-20 10:07:16.782: ERROR:   File "res_mods/configs/xvm/py_macro\systemColor.py", line 23, in _populate
2022-10-20 10:07:16.783: ERROR:     for k, v in self._FadingMessages__messages.iteritems():
2022-10-20 10:07:16.783: ERROR: AttributeError: 'HalloweenVehicleMessages' object has no attribute '_FadingMessages__messages'
2022-10-20 10:07:16.783: INFO: =============================

 

PLS update systemColor.py

 

MFG

SicFunzler

Edited by SicFunzler

Share this post


Link to post

Short link
Share on other sites
2022-10-20 12:10:37.380: INFO: =============================
2022-10-20 12:10:37.380: INFO: 2022-10-20 12:10:37: [ERROR] mods/xfw_libraries/xfw/events.pyc
2022-10-20 12:10:37.380: ERROR: Traceback (most recent call last):
2022-10-20 12:10:37.380: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2022-10-20 12:10:37.381: ERROR:   File "./xfw/events.py", line 24, in fire
2022-10-20 12:10:37.381: ERROR:   File "res_mods/configs/xvm/py_macro\myHP.py", line 24, in DamagePanel__onVehicleControlling
2022-10-20 12:10:37.381: ERROR:     maxHealth = health = self._DamagePanel__maxHealth
2022-10-20 12:10:37.381: ERROR: AttributeError: 'DamagePanel' object has no attribute '_DamagePanel__maxHealth'

 

  • Upvote 2

Share this post


Link to post

Short link
Share on other sites
20.10.2022 в 13:12, Aslain сказал:

2022-10-20 12:10:37.380: INFO: =============================
2022-10-20 12:10:37.380: INFO: 2022-10-20 12:10:37: [ERROR] mods/xfw_libraries/xfw/events.pyc
2022-10-20 12:10:37.380: ERROR: Traceback (most recent call last):
2022-10-20 12:10:37.380: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2022-10-20 12:10:37.381: ERROR:   File "./xfw/events.py", line 24, in fire
2022-10-20 12:10:37.381: ERROR:   File "res_mods/configs/xvm/py_macro\myHP.py", line 24, in DamagePanel__onVehicleControlling
2022-10-20 12:10:37.381: ERROR:     maxHealth = health = self._DamagePanel__maxHealth
2022-10-20 12:10:37.381: ERROR: AttributeError: 'DamagePanel' object has no attribute '_DamagePanel__maxHealth'

 

Обновил в шапке скрипт myHP.py из аддона Очки прочности своей техники.

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