Jump to content

Bread With Jam

Regular Member
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Bread With Jam

  1. This module has stopped reseting stats every new day. I don't remember when this started (month ago or maybe when v1.5 comes, nvm). It was anoying to remove manually file where are data is stored, so maybe u can add configuration option to reset this every day automatticaly?

     

    To achive this, update in .\res_mods\configs\BBMods\Default\TimeSpent_Minimalistic.json is required, ie:

    {
      "StatisticSessions": {
        "Current": {
          "Reset": {"ResetAfter": 1, "ResetTime": 7, "LocalTime": false},
        }
      }
    }

     

    TimeSpent_Minimalistic.json is loaded by .\res_mods\configs\BBMods\TimeSpent.json

  2. python.log

    Spoiler


    
    [...]
    2019-06-02 19:22:21.540: INFO: [XFW] Loading mod: com.modxvm.xvm.equip, v. 7.9.4.9116
    2019-06-02 19:22:21.548: INFO: [SL_PRO] Executed Script: mod_xfw.pyc
    2019-06-02 19:22:21.548: INFO: ---------------------------------------------------------------------------
    2019-06-02 19:22:21.548: INFO: [SL_PRO] Executed Script: mod_xfw_native.pyc
    2019-06-02 19:22:21.548: INFO: ---------------------------------------------------------------------------
    2019-06-02 19:22:21.637: INFO: [SL_PRO] Executed Script: mod_battlehits.pyc
    2019-06-02 19:22:21.637: INFO: ---------------------------------------------------------------------------
    2019-06-02 19:22:21.637: INFO: 7 script(s) successfully loaded
    2019-06-02 19:22:21.637: INFO: 0 script(s) with errors skipped
    2019-06-02 19:22:21.637: INFO: ===========================================================================
    2019-06-02 19:22:21.637: INFO: 
    2019-06-02 19:22:22.291: INFO: [TimeSpent] TimeSpent mod (http://bb-t.ru/bbmods/timespent.html) ver:1.5.0.4 #3.89 sdk:3.8 by ShuraBB, successfully loaded
    2019-06-02 19:22:22.291: INFO: [SL_PRO] Python.log spamfilter active
    2019-06-02 19:22:22.291: INFO: ===========================================================================
    2019-06-02 19:22:22.291: INFO: 
    2019-06-02 19:22:22.427: INFO: [gui.Scaleform.app_factory] Creating app: scaleform/lobby
    2019-06-02 19:22:22.876: INFO: [Scaleform] Create GUI Component: 'UiRenderComponent'
    2019-06-02 19:22:22.877: INFO: [Scaleform] Create GUI Component: 'FlashGUIComponent'
    2019-06-02 19:22:22.877: INFO: [Scaleform] Change Owner on GUI Component: 'FlashGUIComponent' -> 'gui/flash/lobby.swf'
    2019-06-02 19:22:23.161: INFO: [gui.Scaleform.app_factory] Creating app: scaleform/lobby
    2019-06-02 19:22:23.161: INFO: [gui.app_loader.loader] Space is changed: WaitingSpace() -> LoginSpace()
    2019-06-02 19:22:23.161: INFO: [SOUND] Start loading Login task
    2019-06-02 19:22:23.162: INFO: [WebBrowser] WebExternalCache init
    2019-06-02 19:22:23.163: INFO: [web.cache.web_cache] WebDownloader created. Workers: 2
    2019-06-02 19:22:23.164: INFO: [web.cache.web_cache] WebStorage created. Name: web_cache Workers: 2
    2019-06-02 19:22:23.164: INFO: [helpers.web.app_storage] WebCache start loading from disk...
    2019-06-02 19:22:23.389: INFO: [helpers.web.app_storage] WebCache size on disk: 45.0 Mb
    2019-06-02 19:22:23.389: INFO: [helpers.web.app_storage] WebCache loading finished
    2019-06-02 19:22:23.389: INFO: [web.cache.web_cache] Web prefetch started...
    2019-06-02 19:22:23.389: INFO: [web.cache.web_cache] Download manifest file: https://wgcg-eu.wargaming.net/web_cache/v1/get_static_lists/
    2019-06-02 19:22:25.856: INFO: [Scaleform] Destroy GUI Component: 'loading_screen.gui'
    2019-06-02 19:22:26.711: INFO: [SOUND] Task Main loaded in 44.482361 seconds. Size: 31.008099 Mb
    2019-06-02 19:22:26.711: INFO: [SOUND] Task Login loaded in 3.550009 seconds. Size: 16.828861 Mb
    2019-06-02 19:22:26.717: INFO: [Scaleform] Destroy GUI Component: 'gui/flash/gameLoadingApp.swf'
    2019-06-02 19:22:26.723: INFO: [gui.app_loader.loader] App is initializing: scaleform/lobby
    2019-06-02 19:22:26.953: INFO: [web.cache.web_cache] Manifest downloaded: https://wgcg-eu.wargaming.net/web_cache/v1/get_static_lists/
    2019-06-02 19:22:27.051: INFO: [web.cache.web_cache] There are no new files in manifest
    2019-06-02 19:22:27.052: INFO: [web.cache.web_cache] WebDownloader destroyed
    2019-06-02 19:22:27.053: INFO: [web.cache.web_cache] Web prefetch finished
    2019-06-02 19:22:27.053: INFO: [web.cache.web_cache] Summary: Downloaded: 0 / 0. Stored: 0 / 0. Size: 0
    2019-06-02 19:22:27.053: INFO: [web.cache.web_cache] Total prefetch time: 3.66400146484375
    2019-06-02 19:22:27.055: INFO: [gui.app_loader.loader] App is initialized: scaleform/lobby
    2019-06-02 19:22:27.667: ERROR: rudimentaryPopovers: must not load into login screen!
    2019-06-02 19:22:27.684: INFO: [WGC] Token2 Login Prepared
    2019-06-02 19:22:27.701: NOTICE: [NOTE] (scripts/common/debug_utils.py, 251): User authentication method: token2
    2019-06-02 19:23:13.957: INFO: accRank (27, 1)
    2019-06-02 19:23:13.957: INFO: maxRank (27, 1)
    2019-06-02 19:23:13.957: INFO: season (201905, 20190520)
    2019-06-02 19:23:13.957: INFO: seasonEfficiencyStamp {'timestamp': 1559496149.814313, 'efficiency': 0.5551601423487544}
    2019-06-02 19:23:13.957: INFO: seasonStepsCount 156
    2019-06-02 19:23:13.957: INFO: shields {40: (2, 2), 10: (2, 2), 43: (1, 1), 13: (1, 1), 55: (2, 2), 25: (2, 2), 58: (1, 1), 28: (1, 1)}
    2019-06-02 19:23:13.957: INFO: stepsCount 156
    2019-06-02 19:23:13.957: INFO: divisionsStats {0: {'rankChanges': 91, 'battles': 164}, 1: {'rankChanges': 65, 'battles': 117}}
    2019-06-02 19:23:13.970: ERROR: [EXCEPTION] (scripts/common/Event.py, 46):
    Traceback (most recent call last):
      File "scripts/common/Event.py", line 44, in __call__
      File "mod_TimeSpent", line 126, in onGuiCacheSyncCompleted
      File "mod_TimeSpent", line 531, in UpdateMainData
      File "mod_TimeSpent", line 367, in getRankIcon
    UnboundLocalError: local variable 'ChevronIcon' referenced before assignment
    
    2019-06-02 19:23:13.974: ERROR: [EXCEPTION] (scripts/client/gui/Scaleform/daapi/view/login/EULADispatcher.py, 83):Traceback (most recent call last):
    2019-06-02 19:23:13.974: ERROR:   File "scripts/client/gui/Scaleform/daapi/view/login/EULADispatcher.py", line 103, in processLicense
    2019-06-02 19:23:13.974: ERROR:   File "scripts/client/gui/shared/personality.py", line 133, in onAccountShowGUI
    2019-06-02 19:23:13.974: ERROR:   File "scripts/common/Event.py", line 44, in __call__
    2019-06-02 19:23:13.974: ERROR:   File "mod_TimeSpent", line 126, in onGuiCacheSyncCompleted
    2019-06-02 19:23:13.974: ERROR:   File "mod_TimeSpent", line 531, in UpdateMainData
    2019-06-02 19:23:13.974: ERROR:   File "mod_TimeSpent", line 367, in getRankIcon
    2019-06-02 19:23:13.974: ERROR: UnboundLocalError: local variable 'ChevronIcon' referenced before assignment
    2019-06-02 19:23:13.980: ERROR: [EXCEPTION] (scripts/client/account_helpers/SyncController.py, 136):
    Traceback (most recent call last):
      File "scripts/client/account_helpers/SyncController.py", line 134, in __onSyncStreamComplete
      File "scripts/client/account_helpers/DossierCache.py", line 188, in <lambda>
      File "scripts/client/account_helpers/DossierCache.py", line 256, in __onGetResponse
      File "scripts/client/gui/shared/utils/requesters/DossierRequester.py", line 359, in <lambda>
      File "scripts/client/gui/shared/utils/requesters/abstract.py", line 75, in _response
      File "scripts/common/adisp.py", line 141, in callback
      File "scripts/client/gui/shared/utils/requesters/abstract.py", line 43, in request
      File "scripts/common/adisp.py", line 141, in callback
      File "scripts/common/adisp.py", line 131, in call
      File "scripts/common/adisp.py", line 188, in caller
      File "scripts/common/adisp.py", line 156, in doCall
    AdispException: ('There was an error during processLicense async call.', UnboundLocalError("local variable 'ChevronIcon' referenced before assignment",))
    
    2019-06-02 19:24:52.718: INFO: [gui.Scaleform.app_factory] Creating app: scaleform/lobby
    2019-06-02 19:24:52.719: INFO: [gui.app_loader.loader] Space is updated: LoginSpace()
    2019-06-02 19:24:52.719: WARNING: [gui.Scaleform.framework.managers.containers] Could not found container subView.
    2019-06-02 19:24:52.756: INFO: [TimeSpent] version 1.5.0.4 #3.89 unloaded successfully
    2019-06-02 19:24:52.756: INFO: [gui.Scaleform.app_factory] Destroying app: scaleform/battle
    2019-06-02 19:24:52.756: INFO: [gui.Scaleform.app_factory] Destroying app: scaleform/lobby
    2019-06-02 19:24:52.773: INFO: [gui.app_loader.loader] App is destroyed: scaleform/lobby
    2019-06-02 19:24:52.806: INFO: [web.cache.web_cache] WebStorage destroyed
    2019-06-02 19:24:52.806: INFO: [WebBrowser] WebExternalCache destroyed
    2019-06-02 19:24:53.196: INFO: [Scaleform] Destroy GUI Component: 'gui/flash/lobby.swf'
    2019-06-02 19:24:53.199: INFO: [Scaleform] Destroy GUI Component: 'gui/flash/waitingTransitionsApp.swf'
    2019-06-02 19:24:53.199: INFO: [Scaleform] Destroy GUI Component: 'UiRenderComponent'
    
    \------------------------------------------------------------------------------------------/

    xvm.log

    
    2019-06-02 19:22:20: XVM: eXtended Visualization Mod ( https://modxvm.com/ )
    2019-06-02 19:22:20:     XVM Version   : 7.9.4
    2019-06-02 19:22:20:     XVM Revision  : 9116
    2019-06-02 19:22:20:     XVM Branch    : default
    2019-06-02 19:22:20:     XVM Hash      : 48556e2250cad923b7459f20ea80047f2206c0d3
    2019-06-02 19:22:20:     WoT Current   : 1.5.0.4
    2019-06-02 19:22:20:     Current Time  : 2019-06-02 19:22:20 +0200
    2019-06-02 19:22:20: ---------------------------
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\xvm.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\@xvm.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\minimapAlt.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\minimap.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\minimapCircles.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\minimapLines.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\minimapMapSize.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\minimapLabelsAlt.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\minimapLabelsTemplatesAlt.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\minimapLabelsData.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\hitLog.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\battle.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\colors.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\export.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\elements.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\camera.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\sounds.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\battleLabels.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\battleLabelsTemplates.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\minimapLabels.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\minimapLabelsTemplates.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\battleLoading.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\statisticForm.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\playersPanel.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\PP\playersPanel_none.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\PP\playersPanel_short.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\PP\playersPanel_large.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\PP\playersPanel_medium.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\PP\playersPanel_medium2.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\markers.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\markersDeadExtended.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\markersDeadNormal.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\markersAliveExtended.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\markersAliveNormal.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\squad.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\iconset.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\tooltips.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\xmqp.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\tweaks.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\userInfo.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\alpha.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\battleResults.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\texts.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\captureBar.xc
    2019-06-02 19:22:20: [JSONxLoader] load: res_mods\configs\xvm\Aslain\vehicleNames.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\configs\xvm\Aslain\hotkeys.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\configs\xvm\Aslain\hangar.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\configs\xvm\Aslain\carousel.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\configs\xvm\Aslain\carouselNormal.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\configs\xvm\Aslain\carouselSmall.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\configs\xvm\Aslain\widgets.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\configs\xvm\Aslain\widgetsTemplates.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\configs\xvm\Aslain\damageLog.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\configs\xvm\Aslain\login.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\configs\xvm\Aslain\battleLoadingTips.xc
    2019-06-02 19:22:21: [JSONxLoader] load: res_mods\mods\shared_resources\xvm\l10n\en.xc
    2019-06-02 19:22:21: Config loaded. Region: EU (detected), Language: en (detected)
    2019-06-02 19:22:27: [X:000] Loading swf mods:
    2019-06-02 19:22:27: [X:001]   xvm_lobby/as_lobby/xvm_lobby.swf
    2019-06-02 19:22:28: [L:002] onLibLoaded: ../../res_mods/mods/xfw_packages/xvm_lobby/as_lobby/xvm_lobby.swf
    2019-06-02 19:22:28: [L:003] [XVM:LOBBY] processView: login
    2019-06-02 19:22:28: [L:004] [XFW] Mod loaded: xvm_lobby.swf
    2019-06-02 19:22:28: [L:005] onLibLoaded: gui/flash/battleResults.swf
    2019-06-02 19:22:28: [L:006] onLibLoaded: gui/flash/TankCarousel.swf
    2019-06-02 19:22:28: [L:007] onLibLoaded: gui/flash/nodesLib.swf
    2019-06-02 19:22:28: [L:008] onLibLoaded: gui/flash/crew.swf
    2019-06-02 19:22:28: [L:009] onLibLoaded: ../../res_mods/mods/xfw_packages/xvm_lobby/as_lobby/xvm_lobby_ui.swf


     

     

  3. Installer in end phase is trying to execute `stat_remover.js` script using `WScript.exe`. The problem occurs when extension `.js` is not always linked to this tool, and this gives error message:

    ---------------------------
    Windows Script Host
    ---------------------------
    Brak aparatu skryptów dla plików o rozszerzeniu ".js".
     
    ---------------------------
    OK   
    ---------------------------

     

    To solve this, WScript has to know what kind engine use by adding switch: `//e:JScript`. For example:

    wscript.exe //e:JScript stat_remover.js wn8
    

    Greet

     

    This is duplicate of Aslain.com → World of Tanks - Polska sekcja → Zgłaszanie błędów i problemów → Problem podczas instalacji: Brak aparatu skryptów dla plików o rozszerzeniu ".js".

  4. Instalator w końcowej fazie próbuje uruchomić skrypt `stat_remover.js` przy pomocy `WScript.exe`. Problem polega na tym, że nie zawsze to rozszerzenie jest domyślnie przypisane do tego narzędzia co daje w efekcie komunikat:

     

     

    ---------------------------

    Windows Script Host
    ---------------------------
    Brak aparatu skryptów dla plików o rozszerzeniu ".js".
     
    ---------------------------
    OK   
    ---------------------------

     

     

    Rozwiązać ten problem można dodając przełącznik `//e:JScript`.

    wscript.exe //e:JScript stat_remover.js wn8
    

    Pozdrawiam

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.