Jump to content
Korean Random
ktulho

УГН и УВН средствами XVM

Recommended Posts

3 минуты назад, BuSH сказал:

логгер может ушатан

может ты не тот скачал,по времени иногда так бывает

wg_calcGunPitchLimits(_yaw, minPitch, maxPitch, turretPitch, gunJointPitch)

 

Share this post


Link to post

Short link
Share on other sites

@AtotIK , необходимо заменить:

@registerEvent(Vehicle, 'onEnterWorld')
def onEnterWorld(self, prereqs):

На:

@registerEvent(Vehicle, '_Vehicle__onAppearanceReady')
def onAppearanceReady(self, appearance):
  • Upvote 1

Share this post


Link to post

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

@AtotIK , необходимо заменить:


@registerEvent(Vehicle, 'onEnterWorld')
def onEnterWorld(self, prereqs):

На:


@registerEvent(Vehicle, '_Vehicle__onAppearanceReady')
def onAppearanceReady(self, appearance):

нужно ли этот параметр менять в других скриптах?

 

aimingSystem.py

@registerEvent(PlayerAvatar, 'onEnterWorld')
def Vehicle_onEnterWorld(self, prereqs):

 

collection.py

@registerEvent(PlayerAvatar, 'onEnterWorld')
def PlayerAvatar_onEnterWorld(self, prereqs):

 

fragCorrelationBar.py

@registerEvent(PlayerAvatar, 'onEnterWorld')
def onEnterWorld(self, prereqs):

 

@ktulho ?

----

спрошу на всякий случай :hiding:

Share this post


Link to post

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

imingSystem.py


@registerEvent(PlayerAvatar, 'onEnterWorld')
def Vehicle_onEnterWorld(self, prereqs):

 

collection.py


@registerEvent(PlayerAvatar, 'onEnterWorld')
def PlayerAvatar_onEnterWorld(self, prereqs):

 

fragCorrelationBar.py


@registerEvent(PlayerAvatar, 'onEnterWorld')
def onEnterWorld(self, prereqs):

 

@ktulho ?

нет

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

@ktulho с теста 1.14

2021-07-31 17:07:33.634: INFO: =============================
2021-07-31 17:07:33.634: INFO: 2021-07-31 17:07:33: [ERROR] mods/xfw_libraries/xfw/events.pyc
2021-07-31 17:07:33.634: ERROR: Traceback (most recent call last):
2021-07-31 17:07:33.634: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2021-07-31 17:07:33.635: ERROR:   File "./xfw/events.py", line 24, in fire
2021-07-31 17:07:33.636: ERROR: TypeError: set_gunAnglesPacked() takes exactly 2 arguments (1 given)
2021-07-31 17:07:33.636: INFO: =============================

 

Share this post


Link to post

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

у меня та же ошибка в другом скрипте спамит,но работает как ни странно:biggrin:

пишет, что 1 аргумента не хватает:

def set_gunAnglesPacked(self, prev):

2 есть, должно быть 3 как я понимаю.

Share this post


Link to post

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

@ktulho с теста 1.14


2021-07-31 17:07:33.634: INFO: =============================
2021-07-31 17:07:33.634: INFO: 2021-07-31 17:07:33: [ERROR] mods/xfw_libraries/xfw/events.pyc
2021-07-31 17:07:33.634: ERROR: Traceback (most recent call last):
2021-07-31 17:07:33.634: ERROR:   File "./xfw/events.py", line 57, in __event_handler
2021-07-31 17:07:33.635: ERROR:   File "./xfw/events.py", line 24, in fire
2021-07-31 17:07:33.636: ERROR: TypeError: set_gunAnglesPacked() takes exactly 2 arguments (1 given)
2021-07-31 17:07:33.636: INFO: =============================

 

anglesAiming.py для WoT 1.14.0.0

  • Upvote 2

Share this post


Link to post

Short link
Share on other sites

с теста 1.18:

  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\anglesAiming.py' line 7: No module named ArcadeAimingSystem

2022-08-29 23:58:43: [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='anglesAiming.left'
2022-08-29 23:58:43: [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='anglesAiming.left'
2022-08-29 23:58:43: [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='anglesAiming.right'
2022-08-29 23:58:43: [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='anglesAiming.right'

 

  • Upvote 1

Share this post


Link to post

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

 

yoABQZx.png

Да то же самое ,что и в прошлый раз, 

2022-09-13 18:05:36: [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\anglesAiming.py' line 7: No module named ArcadeAimingSystem

 

 

Share this post


Link to post

Short link
Share on other sites
Только что, aster сказал:

Да то же самое ,что и в прошлый раз, 

это python.log и xvm.log:amazed:

Share this post


Link to post

Short link
Share on other sites

Пробовал. Вот сейчас бой катаю ллог записать.

 

Сто лет не обновлял хвм и вообще его не ставил

Edited by aster

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