Jump to content
Korean Random

Dakado24

User
  • Content Count

    7
  • Joined

  • Last visited

Posts posted by Dakado24


  1. Sometimes my game freezeses mid-battle (I have noticed this happens only when I am in a sniper mode) and I have to restart the client completely, this is in the python.log:

     

    2021-09-20 14:56:57.240: INFO: [Vehicle] __onAppearanceReady(23085454)
    2021-09-20 14:57:40.217: ERROR: [EXCEPTION] (scripts/common/Event.py, 46):
    Traceback (most recent call last):
      File "scripts/common/Event.py", line 44, in __call__
      File "scripts/client/avatar_components/avatar_chat_key_handling.py", line 414, in __onCommandReceived
      File "scripts/client/avatar_components/avatar_chat_key_handling.py", line 484, in __playSoundNotificationOnCommandReceived
    AttributeError: 'NoneType' object has no attribute 'translation'
    
    2021-09-20 14:57:40.217: ERROR: Traceback (most recent call last):
    2021-09-20 14:57:40.217: ERROR:   File "scripts/client/Avatar.py", line 3400, in messenger_onActionByServer_chat2
    2021-09-20 14:57:40.217: ERROR:   File "scripts/client/messenger/proto/bw_chat2/__init__.py", line 166, in onActionReceived
    2021-09-20 14:57:40.217: ERROR:   File "scripts/client/messenger/proto/bw_chat2/provider.py", line 127, in onActionReceived
    2021-09-20 14:57:40.217: ERROR:   File "scripts/client/messenger/proto/bw_chat2/chat_handlers.py", line 801, in __onCommandReceived
    2021-09-20 14:57:40.217: ERROR:   File "scripts/common/Event.py", line 44, in __call__
    2021-09-20 14:57:40.217: ERROR:   File "scripts/client/avatar_components/avatar_chat_key_handling.py", line 414, in __onCommandReceived
    2021-09-20 14:57:40.217: ERROR:   File "scripts/client/avatar_components/avatar_chat_key_handling.py", line 484, in __playSoundNotificationOnCommandReceived
    2021-09-20 14:57:40.217: ERROR: AttributeError: 'NoneType' object has no attribute 'translation'
    2021-09-20 14:57:57.133: INFO: [Vehicle] __onAppearanceReady(23085454)
    2021-09-20 14:57:59.731: INFO: [Vehicle] __onAppearanceReady(23085438)
    2021-09-20 14:58:18.734: INFO: [Vehicle] __onAppearanceReady(23085464)
    2021-09-20 14:58:30.617: WARNING: [arena_components.advanced_chat_component] __getCommandCreatorVehID: Vehicle state is invalid - using senderID
    2021-09-20 14:58:30.713: WARNING: [arena_components.advanced_chat_component] __getCommandCreatorVehID: Vehicle state is invalid - using senderID
    2021-09-20 14:58:31.334: INFO: [Vehicle] __onAppearanceReady(23085438)
    2021-09-20 14:58:32.434: INFO: [Vehicle] __onAppearanceReady(23085447)
    2021-09-20 14:58:38.429: INFO: [Vehicle] __onAppearanceReady(23085461)
    2021-09-20 14:58:42.939: WARNING: AtlasManager can't find item 'null' for atlas 'battleAtlas'
    2021-09-20 14:58:58.028: INFO: [Vehicle] __onAppearanceReady(23085438)
    2021-09-20 14:58:59.629: INFO: [Vehicle] __onAppearanceReady(23085454)

     

     

    Is this related to XVM possibly ?



  2. Hello,

     

    I have my own expanding database of 2M+ EU accounts with recent wn8 calculated with 48 hours updates I would like to display it as a rating in XVM. I created my own REST API server that would provide stats for XVM ingame mod (replacement of stat.modxvm.com) however I have trouble understanding some of the json values sent by original xvm rest server. First I want to ask, does the order of values in the JSON matter ? And then could you clarify please some of the params below where I put "?" signs please ?

     

    Thank you.

    {
             "b":13141, //total player battle count
             "e":1129, //efficiency ?
             "r":7461, //rating
             "v":{ //vehicle object
                "b":157, //battle with the vehicle
                "w":95, //battles won
                "xp":81287, //total vehicle xp
                "cap":7, //total vehicle cap points 
                "def":237, //total def
                "dmg":130664, //total dmg
                "frg":249, //total frags
                "mog":2, // ?
                "mom":4, // ?
                "spo":120, //total spotted tanks
                "srv":69 // ?
             },
             "w":7503, //total battles won
             "nm":"nick", //player nickname
             "ts":1605087781676, //time in ms
             "xp":6773619, //total exp
             "_id":502531033, //WG account id
             "cap":6536, //total cap points
             "cid":null, //clan id
             "def":14017, //total def points
             "dmg":12397835, //total dmg
             "frg":17462, //total kills
             "hip":50.56151, //hit ratio ?
             "lvl":5.7281027, //avg. tier
             "spo":9299, //total spoted tanks
             "srv":5577, // ?
             "wgr":7461, //wg personal rating
             "wn8":1954, //wn8 - this I am replacing with recent
             "wtr":7295, // ??
             "flag":null, //flag
             "lang":"", //always empty string
             "dmg_r":5184837, // ??
             "max_xp":2465, //max exp
             "status":1, // ??
             "max_dmg":5721, //max player dmg
             "max_frg":10, //max player kills
             "is_banned":null, // null
             "is_patreon":false //xvm patreon ?
          },
    
    
    

     


  3. 2 hours ago, night_dragon_on said:

     

    You have outdated scripts in the folder "py_macro"

    
    res_mods/configs/xvm/py_macro

    Delete its contents and unpack new files from the archive with XVM

     

    You also need to update all sections in the file: battleLabelsTemplates.xc

    The current version of the record, see the default config.

    Works now. Thanks. I was keeping my old configs folder cause I have many custom configurations in the XVM and didnt want to lose is all with every update.


  4. I have enabled total team hp in battleLablesTemplates.xc however I still cannot see the team HP bar in the game, while this worked perfectly a few versions back I cannot get it working now, here is the config:

     

        "totalHP": {
          "enabled": true,
          "updateEvent": "PY(ON_UPDATE_HP)",
          "x": 0,
          "y": 30,
          "screenHAlign": "center",
          "align": "center",
          "shadow": { "distance": 1, "angle": 90, "alpha": 80, "blur": 5, "strength": 1.5 },
          "textFormat": { "font": "mono", "size": 18, "align": "center" },
          "format": "{{py:xvm.total_hp.text}}"
        },

    Thanks for help.

×
×
  • Create New...