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

Обновил скрипт в шапке для WoT 1.13.0.0.

  • 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

В шапке обновлен скрипт для WoT 1.14.0.0

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

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