Jump to content
Korean Random

Aslain

User
  • Content Count

    727
  • Joined

  • Last visited

  • Days Won

    65

Posts posted by Aslain


  1. 19 hours ago, HEKPOMAHT said:

    с теста WG:

    
    2024-04-08 22:34:43.879: INFO: =============================
    2024-04-08 22:34:43.879: INFO: 2024-04-08 22:34:43: [ERROR] mods/xfw_libraries/xfw/events.pyc
    2024-04-08 22:34:43.879: ERROR: Traceback (most recent call last):
    2024-04-08 22:34:43.879: ERROR:   File "./xfw/events.py", line 60, in __event_handler
    2024-04-08 22:34:43.880: ERROR:   File "./xfw/events.py", line 27, in fire
    2024-04-08 22:34:43.881: ERROR: TypeError: infoChargedShell_onShellsAdded() takes exactly 6 arguments (7 given)
    2024-04-08 22:34:43.881: INFO: =============================

     

    python.log 598.6 kB · 0 downloads

     

    Try:

    infoChargedShell.py

    @registerEvent(ConsumablesPanel, '_onShellsAdded')
    def infoChargedShell_onShellsAdded(self, intCD, descriptor, quantity, *args, **kwargs):
        if config.get('sight/enabled', True) and battle.isBattleTypeSupported:
            shellsUpdatedOrAdd(intCD, quantity)

     


  2. On the WG XVM 1.24: 


    2024-03-05 11:57:49.944: INFO: =============================
    2024-03-05 11:57:49.944: INFO: 2024-03-05 11:57:49: [ERROR] mods/xfw_libraries/xfw/events.pyc
    2024-03-05 11:57:49.944: ERROR: Traceback (most recent call last):
    2024-03-05 11:57:49.944: ERROR:   File "./xfw/events.py", line 60, in __event_handler
    2024-03-05 11:57:49.945: ERROR:   File "./xfw/events.py", line 27, in fire
    2024-03-05 11:57:49.945: ERROR:   File "res_mods/configs/xvm/py_macro\infoChargedShell.py", line 175, in infoChargedShell_onShellsUpdated
    2024-03-05 11:57:49.945: ERROR:     shellsUpdatedOrAdd(intCD, quantity)
    2024-03-05 11:57:49.945: ERROR:   File "res_mods/configs/xvm/py_macro\infoChargedShell.py", line 152, in shellsUpdatedOrAdd
    2024-03-05 11:57:49.945: ERROR:     updateCurrentShell(intCD, ammoCtrl)
    2024-03-05 11:57:49.945: ERROR:   File "res_mods/configs/xvm/py_macro\infoChargedShell.py", line 131, in updateCurrentShell
    2024-03-05 11:57:49.945: ERROR:     damage = shotDescr.damage[0]
    2024-03-05 11:57:49.945: ERROR: AttributeError: 'Shell' object has no attribute 'damage'
    2024-03-05 11:57:49.945: INFO: =============================

     

    2024-03-05 11:59:17.836: INFO: =============================
    2024-03-05 11:59:17.836: INFO: 2024-03-05 11:59:17: [ERROR] mods/xfw_libraries/xfw/events.pyc
    2024-03-05 11:59:17.836: ERROR: Traceback (most recent call last):
    2024-03-05 11:59:17.836: ERROR:   File "./xfw/events.py", line 60, in __event_handler
    2024-03-05 11:59:17.837: ERROR:   File "./xfw/events.py", line 27, in fire
    2024-03-05 11:59:17.837: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 1124, in Vehicle_showDamageFromShot
    2024-03-05 11:59:17.837: ERROR:     data.showDamageFromShot(self, *args, **kwargs)
    2024-03-05 11:59:17.837: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 521, in showDamageFromShot
    2024-03-05 11:59:17.837: ERROR:     self.hitShell(attackerID, effectsIndex, damageFactor)
    2024-03-05 11:59:17.837: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 460, in hitShell
    2024-03-05 11:59:17.837: ERROR:     self.typeShell(effectsIndex)
    2024-03-05 11:59:17.837: ERROR:   File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 427, in typeShell
    2024-03-05 11:59:17.837: ERROR:     self.data['shellDamage'] = _shell.damage[0]
    2024-03-05 11:59:17.837: ERROR: AttributeError: 'Shell' object has no attribute 'damage'
    2024-03-05 11:59:17.837: INFO: =============================

     

    2024-03-05 11:52:34: [ERROR] Traceback (most recent call last):
      File "res_mods/mods/xfw_packages\xvm_tooltips\python\__init__.py", line 383, in CommonStatsBlockConstructor_construct
        damageAvg_str = formatNumber(shot.shell.damage[0])
    AttributeError: 'Shell' object has no attribute 'damage'
     

    Example of fix:

    image.png (1519×108)


  3. W XVM jest taki bardzo rzadki, ale jednak błąd, w wyniku którego czasami w danej sesji grania w grę nie załaduje niektórych czcionek używanych w danej konfiguracji XVM, przejawia się to tym właśnie jak pokazałeś i zwykle restart gry (lub czasami windowsa) naprawia to na jakiś czas. Jeśli jednak masz tak nonstop co byś nie robił, to znaczy że problem jest inny, najczęściej brak zainstalowanej czcionki użytej w danym konfigu XVM.

    • Upvote 1

  4.  

    @ktulho errors in battles with bots

     

    2023-12-04 11:03:09: [B:006] [XVM INFO]
                                   XVM_VERSION=10.8.1 #0005 for WoT 1.23.0.1
                                   gameRegion=EU
                                   configVersion=6.1.0
                                   autoReloadConfig=false
                                   markers.enabled=true
                                   servicesActive=true
                                   xmqp=true
                                   statBattle=true
    2023-12-04 11:03:09: [B:007] [XFW/XfwComponent] onLibLoaded: Mod loaded: xvm_battle_classic.swf
    2023-12-04 11:03:12: [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 117, in __get_function
        args = ast.literal_eval(args_string)
      File "scripts/common/Lib/ast.py", line 49, in literal_eval
      File "scripts/common/Lib/ast.py", line 37, in parse
      File "<unknown>", line 1
        (':Garfield O'Carr:')
                         ^
    SyntaxError: invalid syntax
    arg='reloadVehicle(':Garfield O'Carr:')'
    2023-12-04 11:03:12: [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 117, in __get_function
        args = ast.literal_eval(args_string)
      File "scripts/common/Lib/ast.py", line 49, in literal_eval
      File "scripts/common/Lib/ast.py", line 37, in parse
      File "<unknown>", line 1
        (':Garfield O'Carr:')
                         ^
    SyntaxError: invalid syntax
    arg='reloadVehicle(':Garfield O'Carr:')'

     

     

    xvm.log1

×
×
  • Create New...