Jump to content
Korean Random

Прицел (без сведения) средствами XVM


Recommended Posts

On 6/5/2023 at 9:45 AM, ktulho said:

ПОВТОРЯЮ:

 

2023-06-09 10:25:19: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeFlight'
2023-06-09 10:25:19: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeFlight'
2023-06-09 10:25:19: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeFlight'
2023-06-09 10:25:19: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeAIM'
2023-06-09 10:25:19: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeAIM'
2023-06-09 10:25:19: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeAIM'
2023-06-09 10:25:19: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeAIM'
2023-06-09 10:25:19: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeAIM'
2023-06-09 10:25:20: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeFlight'
2023-06-09 10:25:20: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeAIM'
2023-06-09 10:25:22: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeFlight'
2023-06-09 10:25:22: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeAIM'
2023-06-09 10:25:57: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeFlight'
2023-06-09 10:25:57: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeAIM'
2023-06-09 10:27:47: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeFlight'
2023-06-09 10:27:47: [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_name)
TypeError: 'NoneType' object is not iterable
arg='sight.timeAIM'

 

and

 

2023-06-09 10:10:21: [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: AttributeError at file 'res_mods/configs/xvm/py_macro\aiming.py' line 21: type object 'CTRL_MODE_NAME' has no attribute 'FLAMETHROWER'

2023-06-09 10:10:21: [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: AttributeError at file 'res_mods/configs/xvm/py_macro\infoAutoAim.py' line 30: type object 'CTRL_MODE_NAME' has no attribute 'FLAMETHROWER'

2023-06-09 10:10:21: [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: AttributeError at file 'res_mods/configs/xvm/py_macro\markerPosition.py' line 29: type object 'CTRL_MODE_NAME' has no attribute 'FLAMETHROWER'

 

xvm.log

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

Исправил совместимость с WG:

aiming.py
chancePenetration.py
targetInfo.py
infoAutoAim.py
modesVehicle.py
markerPosition.py
reloading.py
infoChargedShell.py
quantityShells.py
crosshair.py

  • Upvote 5
Link to comment
Short link
Share on other sites

  • 1 month later...

WG 1.21.1.0
 

2023-07-18 15:53:24.889: INFO: =============================
2023-07-18 15:53:24.889: INFO: 2023-07-18 15:53:24: [ERROR] mods/xfw_libraries/xfw/events.pyc
2023-07-18 15:53:24.889: ERROR: Traceback (most recent call last):
2023-07-18 15:53:24.889: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2023-07-18 15:53:24.889: ERROR:   File "./xfw/events.py", line 24, in fire
2023-07-18 15:53:24.890: ERROR:   File "res_mods/configs/xvm/py_macro\aiming.py", line 53, in aiming_getOwnVehicleShotDispersionAngle
2023-07-18 15:53:24.890: ERROR:     aimingStartTime, aimingFactor, shotDispMultiplierFactor, _1, _2, _3, aimingTime = self._PlayerAvatar__aimingInfo
2023-07-18 15:53:24.890: ERROR: ValueError: too many values to unpack
2023-07-18 15:53:24.890: INFO: =============================

 

and

 

2023-07-18 15:53:56: [ERROR] Traceback (most recent call last):
  File "res_mods/configs/xvm/py_macro\markerPosition.py", line 75, in _VehicleGunRotator__getGunMarkerPosition
    dispersAngle, idealDispersAngle = dispersionAngles
TypeError: 'NoneType' object is not iterable

 

Edited by Aslain
  • Upvote 2
Link to comment
Short link
Share on other sites

1.21.1.0 общий тест Леста:

 

reloading.py

2023-07-17 15:11:39: [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: AttributeError at file 'res_mods/configs/xvm/py_macro\reloading.py' line 42: type object 'AmmoPlugin' has no attribute '_AmmoPlugin__onQuickShellChangerUpdated'
  • Upvote 2
Link to comment
Short link
Share on other sites

wg 1.21.1.0, com.modxvm.xfw 10.6.0.0035

2023-07-18 10:08:03: [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: AttributeError at file 'res_mods/configs/xvm/py_macro\reloading.py' line 42: type object 'AmmoPlugin' has no attribute '_AmmoPlugin__onQuickShellChangerUpdated'

 

Link to comment
Short link
Share on other sites

14 часов назад, HEKPOMAHT сказал:

1.21.1.0 общий тест Леста:

 

reloading.py


2023-07-17 15:11:39: [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: AttributeError at file 'res_mods/configs/xvm/py_macro\reloading.py' line 42: type object 'AmmoPlugin' has no attribute '_AmmoPlugin__onQuickShellChangerUpdated'

 

11 часов назад, RegularMan сказал:

wg 1.21.1.0, com.modxvm.xfw 10.6.0.0035


2023-07-18 10:08:03: [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: AttributeError at file 'res_mods/configs/xvm/py_macro\reloading.py' line 42: type object 'AmmoPlugin' has no attribute '_AmmoPlugin__onQuickShellChangerUpdated'

 

Обновил скрипт reloading.py для WG 1.21.1.0 и теста Lesta. Не проверял.

16 часов назад, Aslain сказал:

WG 1.21.1.0


2023-07-18 15:53:24.889: INFO: =============================
2023-07-18 15:53:24.889: INFO: 2023-07-18 15:53:24: [ERROR] mods/xfw_libraries/xfw/events.pyc
2023-07-18 15:53:24.889: ERROR: Traceback (most recent call last):
2023-07-18 15:53:24.889: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2023-07-18 15:53:24.889: ERROR:   File "./xfw/events.py", line 24, in fire
2023-07-18 15:53:24.890: ERROR:   File "res_mods/configs/xvm/py_macro\aiming.py", line 53, in aiming_getOwnVehicleShotDispersionAngle
2023-07-18 15:53:24.890: ERROR:     aimingStartTime, aimingFactor, shotDispMultiplierFactor, _1, _2, _3, aimingTime = self._PlayerAvatar__aimingInfo
2023-07-18 15:53:24.890: ERROR: ValueError: too many values to unpack
2023-07-18 15:53:24.890: INFO: =============================

 

Обновил скрипт aiming.py для WG 1.21.1.0.

Edited by ktulho
  • Upvote 1
Link to comment
Short link
Share on other sites

@ktulho quantityShells.py - пусто возвращает.

 

В логах только это:

2023-07-19 10:33:56.493: INFO: =============================
2023-07-19 10:33:56.493: INFO: 2023-07-19 10:33:56: [ERROR] mods/xfw_libraries/xfw/events.pyc
2023-07-19 10:33:56.493: ERROR: Traceback (most recent call last):
2023-07-19 10:33:56.493: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2023-07-19 10:33:56.500: ERROR:   File "./xfw/events.py", line 24, in fire
2023-07-19 10:33:56.506: ERROR: TypeError: CrosshairPanelContainerMeta_as_setAmmoStockS() takes exactly 6 arguments (5 given)
2023-07-19 10:33:56.506: INFO: =============================

 

xvm.log python.log

Link to comment
Short link
Share on other sites

21 час назад, HEKPOMAHT сказал:

@ktulho quantityShells.py - пусто возвращает.

 

В логах только это:


2023-07-19 10:33:56.493: INFO: =============================
2023-07-19 10:33:56.493: INFO: 2023-07-19 10:33:56: [ERROR] mods/xfw_libraries/xfw/events.pyc
2023-07-19 10:33:56.493: ERROR: Traceback (most recent call last):
2023-07-19 10:33:56.493: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2023-07-19 10:33:56.500: ERROR:   File "./xfw/events.py", line 24, in fire
2023-07-19 10:33:56.506: ERROR: TypeError: CrosshairPanelContainerMeta_as_setAmmoStockS() takes exactly 6 arguments (5 given)
2023-07-19 10:33:56.506: INFO: =============================

 

xvm.log 26 kB · 1 скачивание python.log 191 kB · 1 скачивание

Исправил quantityShells.py. Не проверял.

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

2 часа назад, ktulho сказал:

Исправил quantityShells.py

вроде всё работает, но есть такая ошибка:

 

2023-07-20 16:34:57.293: INFO: =============================
2023-07-20 16:34:57.293: INFO: 2023-07-20 16:34:57: [ERROR] mods/xfw_libraries/xfw/events.pyc
2023-07-20 16:34:57.293: ERROR: Traceback (most recent call last):
2023-07-20 16:34:57.293: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2023-07-20 16:34:57.295: ERROR:   File "./xfw/events.py", line 24, in fire
2023-07-20 16:34:57.296: ERROR: TypeError: reloading_as_setAmmoStockS() takes exactly 6 arguments (5 given)
2023-07-20 16:34:57.296: INFO: =============================

 

python.log

Link to comment
Short link
Share on other sites

4 часа назад, HEKPOMAHT сказал:

вроде всё работает, но есть такая ошибка:

 


2023-07-20 16:34:57.293: INFO: =============================
2023-07-20 16:34:57.293: INFO: 2023-07-20 16:34:57: [ERROR] mods/xfw_libraries/xfw/events.pyc
2023-07-20 16:34:57.293: ERROR: Traceback (most recent call last):
2023-07-20 16:34:57.293: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2023-07-20 16:34:57.295: ERROR:   File "./xfw/events.py", line 24, in fire
2023-07-20 16:34:57.296: ERROR: TypeError: reloading_as_setAmmoStockS() takes exactly 6 arguments (5 given)
2023-07-20 16:34:57.296: INFO: =============================

python.log 410 kB · 0 скачиваний

Обновил скрипт reloading.py. Не проверял.

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

1 час назад, HEKPOMAHT сказал:

@ktulho ошибок нет, но infoChargedShell.py - возвращает пусто для макросов:

  • {{py:sight.shellSpeed}}
  • {{py:sight.damageShell}}
  • {{py:sight.piercingShell}}

 

хз - закрывал клиент, снова зашёл в бой - всё работает. Опять закрыл - проверил на реплее - тоже работает.

 

Короче нужно проверить на всей технике да репку сохранить, а пока отбой :hiding:

Link to comment
Short link
Share on other sites

  • 4 weeks later...
2 минуты назад, bes1 сказал:

В вероятности пробития не закрашивается числовое значение брони оно отображается только белым цветом

обнови скрипты - должно всё работать

Link to comment
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...