Jump to content
Korean Random

assistLog (py_macro)


Recommended Posts

@GT_22rus Для начала устраните ошибки. Скорее всего не обновлен скрипт battleEfficiency.py:

2019-05-29 16:35:52.773: INFO: =============================
2019-05-29 16:35:52.773: INFO: 2019-05-29 16:35:52: [ERROR] mods/xfw/python/xfw/events.pyc
2019-05-29 16:35:52.773: ERROR: Traceback (most recent call last):
2019-05-29 16:35:52.773: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2019-05-29 16:35:52.774: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2019-05-29 16:35:52.774: ERROR: TypeError: _addRibbon() got an unexpected keyword argument 'bonusRibbonLabelID'
2019-05-29 16:35:52.774: INFO: =============================

Не установлен скрипт chancePenetration.py:

2019-05-29 16:28:57: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 156, in process_python_macro
    (func, deterministic) = get_function(arg)
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 147, in get_function
    (func, deterministic) = _container.get(func_name)
TypeError: 'NoneType' object is not iterable
arg='sight.c_piercingChance'
2019-05-29 16:28:57: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 156, in process_python_macro
    (func, deterministic) = get_function(arg)
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 147, in get_function
    (func, deterministic) = _container.get(func_name)
TypeError: 'NoneType' objec

Затем прикрепите еще раз конфиг и логи.

Link to comment
Short link
Share on other sites

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

@GT_22rus Для начала устраните ошибки. Скорее всего не обновлен скрипт battleEfficiency.py:


2019-05-29 16:35:52.773: INFO: =============================
2019-05-29 16:35:52.773: INFO: 2019-05-29 16:35:52: [ERROR] mods/xfw/python/xfw/events.pyc
2019-05-29 16:35:52.773: ERROR: Traceback (most recent call last):
2019-05-29 16:35:52.773: ERROR:   File "mods/xfw/python/xfw/events.py", line 57, in __event_handler
2019-05-29 16:35:52.774: ERROR:   File "mods/xfw/python/xfw/events.py", line 24, in fire
2019-05-29 16:35:52.774: ERROR: TypeError: _addRibbon() got an unexpected keyword argument 'bonusRibbonLabelID'
2019-05-29 16:35:52.774: INFO: =============================

Не установлен скрипт chancePenetration.py:


2019-05-29 16:28:57: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 156, in process_python_macro
    (func, deterministic) = get_function(arg)
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 147, in get_function
    (func, deterministic) = _container.get(func_name)
TypeError: 'NoneType' object is not iterable
arg='sight.c_piercingChance'
2019-05-29 16:28:57: [ERROR] Traceback (most recent call last):
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 156, in process_python_macro
    (func, deterministic) = get_function(arg)
  File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 147, in get_function
    (func, deterministic) = _container.get(func_name)
TypeError: 'NoneType' objec

Затем прикрепите еще раз конфиг и логи.

battleEfficiency.py обновил

chancePenetration.py установил

 

python.log xvm.log

 

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

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

battleEfficiency.py обновил

Не обновили. Рекомендую обновить все скрипты и почитать соответствующие темы за последние пару месяцев.

По поводу assistLog. Если вы хотите выравнивать его по правому краю (в файле battleLabelsTemplates.xc параметр "screenHAlign": "right"),

"assistLog": {
      "enabled": true,
      "updateEvent": "PY(ON_ASSIST_LOG)",
      "x": "{{py:xvm.assistLog_x}}",
      "y": "{{py:xvm.assistLog_y}}",
      "width": 300,
      "height": 500,
      "layer": "bottom",
      "screenHAlign": "right",
      "textFormat": { "color": "0xF4EFE8", "size": 15},
      "format": "{{py:xvm.assistLog}}",
      "mouseEvents": {
        "mouseDown": "assistLog_mouseDown",
        "mouseUp": "assistLog_mouseUp",
        "mouseMove": "assistLog_mouseMove"
      }
    },

то координату "х" в файле assistLog.xc надо делать отрицательной.

      //true - allow to move log in battle and disallow macros for "x" and "y" settings
      //false - disallow to move log in battle and allow macros for "x" and "y" settings
      //true - разрешить перемещение лога в бою и запретить макросы в настройках "x" и "y"
      //false - запретить перемещение лога в бою и разрешить макросы в настройках "x" и "y"
      "moveInBattle": false,
      "x": 314,
      "y": 274,

 

Link to comment
Short link
Share on other sites

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

Не обновили. Рекомендую обновить все скрипты и почитать соответствующие темы за последние пару месяцев.

По поводу assistLog. Если вы хотите выравнивать его по правому краю (в файле battleLabelsTemplates.xc параметр "screenHAlign": "right"),


"assistLog": {
      "enabled": true,
      "updateEvent": "PY(ON_ASSIST_LOG)",
      "x": "{{py:xvm.assistLog_x}}",
      "y": "{{py:xvm.assistLog_y}}",
      "width": 300,
      "height": 500,
      "layer": "bottom",
      "screenHAlign": "right",
      "textFormat": { "color": "0xF4EFE8", "size": 15},
      "format": "{{py:xvm.assistLog}}",
      "mouseEvents": {
        "mouseDown": "assistLog_mouseDown",
        "mouseUp": "assistLog_mouseUp",
        "mouseMove": "assistLog_mouseMove"
      }
    },

то координату "х" в файле assistLog.xc надо делать отрицательной.


      //true - allow to move log in battle and disallow macros for "x" and "y" settings
      //false - disallow to move log in battle and allow macros for "x" and "y" settings
      //true - разрешить перемещение лога в бою и запретить макросы в настройках "x" и "y"
      //false - запретить перемещение лога в бою и разрешить макросы в настройках "x" и "y"
      "moveInBattle": false,
      "x": 314,
      "y": 274,

 

скачал из этой темы и заменил. 

 

Ассист лог так и не появился. Млин, куда копать?

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

Не обновили. Рекомендую обновить все скрипты и почитать соответствующие темы за последние пару месяцев.

По поводу assistLog. Если вы хотите выравнивать его по правому краю (в файле battleLabelsTemplates.xc параметр "screenHAlign": "right"),


"assistLog": {
      "enabled": true,
      "updateEvent": "PY(ON_ASSIST_LOG)",
      "x": "{{py:xvm.assistLog_x}}",
      "y": "{{py:xvm.assistLog_y}}",
      "width": 300,
      "height": 500,
      "layer": "bottom",
      "screenHAlign": "right",
      "textFormat": { "color": "0xF4EFE8", "size": 15},
      "format": "{{py:xvm.assistLog}}",
      "mouseEvents": {
        "mouseDown": "assistLog_mouseDown",
        "mouseUp": "assistLog_mouseUp",
        "mouseMove": "assistLog_mouseMove"
      }
    },

то координату "х" в файле assistLog.xc надо делать отрицательной.


      //true - allow to move log in battle and disallow macros for "x" and "y" settings
      //false - disallow to move log in battle and allow macros for "x" and "y" settings
      //true - разрешить перемещение лога в бою и запретить макросы в настройках "x" и "y"
      //false - запретить перемещение лога в бою и разрешить макросы в настройках "x" и "y"
      "moveInBattle": false,
      "x": 314,
      "y": 274,

 

Сейчас вроде обновил battleEfficiency.py

 

python.log xvm.log

Link to comment
Short link
Share on other sites

45 минут назад, GT_22rus сказал:

Млин, куда копать?

я же написал

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

координату "х" в файле assistLog.xc надо делать отрицательной.

 

Link to comment
Short link
Share on other sites

  • 2 weeks later...
  • 4 months later...

Приветствую!

Как-то раньше не замечал или такого не было вовсе, в общем заметил, что после того как меня убивают лог перестает фиксировать урон по ассисту:

1394597459_.jpg.51eee9db046128aede9e7396b9d73847.jpg

 

Это исправляется или как?

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

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

@xZirus реплей остался?

В личку скинул.

PS Пересмотрев реплей понял, что я был живой, когда добили танк по которому не подсчитался урон!

Link to comment
Short link
Share on other sites

3 часа назад, xZirus сказал:

Приветствую!

Как-то раньше не замечал или такого не было вовсе, в общем заметил, что после того как меня убивают лог перестает фиксировать урон по ассисту:

1394597459_.jpg.51eee9db046128aede9e7396b9d73847.jpg

 

Это исправляется или как?

 

Такая же фигня с ассистом и на чистом клиенте происходит, я на рекруте играл и заметил.

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