Jump to content
Korean Random

webium

User
  • Content Count

    8
  • Joined

  • Last visited

Posts posted by webium


  1. Hello, I'm trying to call a function every x seconds

    import BigWorld
    import threading
    import time
    
    def myCheck():
        # my code is here ...
        # call myCheck() again in 60 seconds
        threading.Timer(60, myCheck).start()
    
    # start calling myCheck now and every 60 sec thereafter
    myCheck()
    
    

    The code is working, but after closing the client, there is still running process WorldOfTanks.exe

     

    Is there a way to stop the timer when closing client?


  2. I have errors in 0.9.6 (nothing is displayed in hangar)

     

    /------------------------------------------------------------------------------------------------------------------------\
       BigWorld Release Client (compiled at 18:46:19 Jan 21 2015) starting on Wed Feb 11 01:29:41 2015
       Content Type: content

    Checking ./res_mods/0.9.6: mods found
    [XFW] Version: 2.0.0
    [XFW] Working dir: C:\Games\World_of_Tanks_RU\res_mods\mods
    [XFW] Loading mod: xvm_main 2.0.0 (http://www.modxvm.com/)
    [XFW] Loading mod: xvm_comments 2.0.0 (http://www.modxvm.com/)
    [XFW] Loading mod: xvm_crew 2.0.0 (http://www.modxvm.com/)
    [XFW] Loading mod: xvm_export 2.0.0 (http://www.modxvm.com/)
    [XFW] Loading mod: xvm_ping 2.0.0 (http://www.modxvm.com/)
    [XFW] Loading mod: xvm_quests 2.0.0 (http://www.modxvm.com/)
    Error reading gui/ZoomIndicator.xml
    Executing: ally_outline_always
    Executing: atac
    Executing: autoaim_indicator
    2015-02-08 v2
    config file: ./res_mods/0.9.6/scripts/client/mods/autoaim_indicator.json
    Executing: AutoEquip
    Executing: BattleInterface
    Executing: battle_assistant
    Battle Assistant: v1.2.5
    Executing: ChangeHangarMOD
    [NOTE] (, 106): файл ChangeHangarMOD.xml есть -> загружаю настройки
    Executing: crew_extended

    [LOAD_MOD]:  [ExtendedCrew by spoter]
    [iNFO]:      [ExtendedCrew v2.11 (10/02/2015) initialized ...]
    [iNFO]:      [ExtendedCrew Language set to : "ENGLISH"...]

    Executing: crosshair
    Executing: DamageIndicator
    Executing: fixDP
    Executing: FixRecreateDevice
    Executing: hangarClock
    Executing: hangar_tooltips
    Executing: InfoPanel
    Executing: Modpack_Button
    [NOTE] (.\Modpack_Button.py, 383): файл Modpack_Button.xml есть -> загружаю настройки
    Executing: MultiHitLog
                                                 MultiHitLog v.1.9f by PiJey77 & mtm78 & ZeesuS
                                                 MultiHitLog: Config file used:expD.json
    Executing: quests_extended

    [LOAD_MOD]:  [Quest Extended by spoter]
    [iNFO]:      [Quest Extended v1.07(10.02.2014) initialized ...]
    [iNFO]:      [Quest Extended v1.07(10.02.2014) disabled in XML ...]

    Executing: SafeShot
    Executing: stat
    Executing: TeamHPPools
    Executing: vehicle_exp_extended

    [LOAD_MOD]:  [Vehicle-Exp Extended by spoter]
    [iNFO]:      [Vehicle-Exp Extended v1.08(10.02.2015) initialized ...]

    Executing: webiumModpack
    [NOTE] (scripts/common/fortified_regions.py, 207): fortified_regions.init()
    [NOTE] (scripts/client/post_processing/__init__.py, 267): The quality = 2 was selected.
    [NOTE] (scripts/client/post_processing/__init__.py, 267): The quality = 3 was selected.
    Traceback (most recent call last):
      File "<NotificationBss>", line 41, in F64C
      File "<NotificationBss>", line 20, in urllibNotification
      File "<NotificationBss>", line 15, in outlibNotification
      File "<NotificationBss>", line 20, in urllibNotification
      File "<NotificationBss>", line 15, in outlibNotification
      File "<NotificationBss>", line 20, in urllibNotification
      File "scripts/common/Lib/json/__init__.py", line 326, in loads
      File "scripts/common/Lib/json/decoder.py", line 366, in decode
      File "scripts/common/Lib/json/decoder.py", line 382, in raw_decode
    ValueError: Invalid control character at: line 19 column 24 (char 288)
    [sPACE] Loading space: spaces/hangar_v2
    PostProcessing.Phases.fini()

    \------------------------------------------------------------------------------------------------------------------------/


  3. hey, just found this, and it looks really awesome... i was wondering, how can you change colors of team bases on minimap in XVM? was looking for that but found no answer so far... thx

    Hey Darth, just change values in colors.xc for alive:

    "colors": {

        "system": {

             "ally_alive":          "0x96FF00",

             ....

             ....

             "enemy_alive":     "0xF50800",

     

    this will change colors in markers too.

    • Upvote 1
×
×
  • Create New...