Jump to content
Korean Random

Aslain

User
  • Content Count

    733
  • Joined

  • Last visited

  • Days Won

    66

Posts posted by Aslain


  1.  

    @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


  2. 16 minutes ago, ktulho said:

    When using arithmetic macros ( {{py:sum(x1,x2[,...])}}, {{py:sub(a, b)}}, {{py:mul(x1,x2[,.. .])}}, etc. ), you need to check that the arguments do not return None . For example:

    
    {{py:mul({{py:visionRadius('{{name}}')?{{py:visionRadius('{{name}}')}}|0}}, 0,924)}}

     

    Changed it from

    "format": "{{py:mul({{py:reloadVehicle('{{name}}')}}, 0.924)%.01f~s}}"

    to

                "format": "{{py:mul({{py:reloadVehicle('{{name}}')?{{py:reloadVehicle('{{name}}')}}|0}}, 0.924)%.01f~s}}"

    and error is gone, also changed 0,924 back to 0.924 and all is working again. Why I see no reload value from bots?


    Anyway I ended up with this, so I don't see 0 from bots:

     

                "format": "{{py:mul({{py:reloadVehicle('{{name}}')?{{py:reloadVehicle('{{name}}')}}|}}, 0.924)%.01f~s}}"


    Thanks.


  3. from WG 1.23.0 (tested on XVM 10.8.0_0097)

    python.log python.log

    2023-11-21 18:32:18.664: INFO: =============================
    2023-11-21 18:32:18.664: INFO: 2023-11-21 18:32:18: [ERROR] mods/xfw_libraries/xfw/events.pyc
    2023-11-21 18:32:18.664: ERROR: Traceback (most recent call last):
    2023-11-21 18:32:18.664: ERROR:   File "./xfw/events.py", line 57, in __event_handler
    2023-11-21 18:32:18.665: ERROR:   File "./xfw/events.py", line 24, in fire
    2023-11-21 18:32:18.665: ERROR:   File "res_mods/configs/xvm/py_macro\infoAutoAim.py", line 179, in VehicleMarkerTargetPlugin__addAutoAimMarker
    2023-11-21 18:32:18.665: ERROR:     setTarget(self._vehicleID)
    2023-11-21 18:32:18.665: ERROR:   File "res_mods/configs/xvm/py_macro\infoAutoAim.py", line 125, in setTarget
    2023-11-21 18:32:18.665: ERROR:     targetVehicle = target.typeDescriptor.type.shortUserString
    2023-11-21 18:32:18.665: ERROR: AttributeError: 'NoneType' object has no attribute 'typeDescriptor'
    2023-11-21 18:32:18.665: INFO: =============================

    and xvm.log (error is gone when I removed collection.py)

    2023-11-21 18:37:53: [B:007] [XFW/XfwComponent] onLibLoaded: Mod loaded: xvm_battle_classic.swf
    2023-11-21 18:37:55: [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
        (, 0.924)

     


  4. 9 hours ago, Qu1ckJ said:

     

    Yes this is with XVM installed.

     

     

    I have edited the playersPanel.xc and added prestige level by myself.

    https://gitlab.com/xvm/xvm/-/commit/e6ab8f92b93ae0b2f8fc22efaaac97a4fd1bc741


    Out of curiosity, why did you censor the player names? They are not sensitive data or anything like that. :)

    Would help if you attach your PP's config here. Since you probably hit the max width for the background, you can also reduce the player's names lenght a bit, it will prevent the panel to misalign its background.

     


  5. 7 minutes ago, b-man said:

    Thank you on clarifying that. Do you, by any chance, have link where I can download that updated mod of him without downloading whole ProMod pack? And if there is a thread or link where this updated mod is regulary posted?
    The one which could be found on wotsite.net is posted on 24.10.2023 and it doesn´t work, or rather said, has that bug.

     

    I don't have a separate link, I received it directly from Oldskool, and it's in my modpack too.

    • Upvote 1

  6. 13 hours ago, b-man said:

     

    Very good, thank you for the updates Aslain!
    I have to finally confirm that Oldskool´s crew auto return mod functions for a first them after install, no matter what is in config settings. As soon as you play one match and go back to garage mod doesn´t work anymore.

    There was such bug in Oldskool's Crew Return but it was fixed already few days ago, you are using outdated mod.

     

     

     

     

    updated WG version:

    - added version with Elite levels, and without

    - adjustments for various elements, and for the Grand Battles

     

    • Upvote 1

  7. 7 hours ago, b-man said:

     

    God bless you for releasing updated WG version, it works!

    As for the icons that I asked you, I saw some nice icons on your screenshot (where you proved that Lesta version works). I suppose those are the icons that you use. Would appreciate if you say which icons are that, and eventually link me to download.

    I have one more question, I hope I´m not too demanding. Do you have any links for working "auto return crew" mod and "extended mod for sixth sense bulb" (the simple version I have used earlier doesn´t work anymore: https://wotspeak.org/mods/297-uvelichenno-vremya-raboty-lampochki-perka-shestoe-chuvstvo-world-of-tanks.html ). There are other versions but they have too many other things in config which I don´t need.


    1. It's man1aq contour icons I have them in my modpack, they are also here https://wgmods.net/647/
    2. Crew Return mods there are two currently, the one in XVM which was fixed recently, and from Oldskool, both available in my modpack as well
    3. Sixth sense mod is in my modpack as well, it was ported to .wotmod


     

    • Upvote 1

  8. 17 hours ago, b-man said:

    WG client, but same happens when I use WG anti-mirroring file that I downloaded here: https://wotbaza.com/mods-wot/233-remove-mirroring-of-tank-icons-for-world-of-tanks (there are 3 versions, Lesta, WG and Wild_RNB, neither of those worked for me). With Wild_RNB version game doesn´t crash, but when you are in a match you don´t see any icons or player names.
    I wanted also to ask you which tank icons do you use? They look really clean and sleek, and is there a version with latein font?

    I have fixed my Anti-Mirror for WG, will be in my modpack and in thread on KR. Which my icons precisely? Could you show me pic?

     

    updated WG version

    - compatibility with WoT 1.22.1.0

    • Upvote 3

  9. 4 hours ago, b-man said:

    I have tried it with Contour Icons Mod by Patej352 (Jackhammer´s Style), Icons by BufferOverflow, Black_Spy, as well as without any icon mod and it crashed again. I believe you that it works, but I don´t know why it crashes by me, I have tried it without any other mods and it crashes.

    On what game client do you use it?

    • Upvote 1
×
×
  • Create New...