ktulho Posted October 18, 2023 Author Share Posted October 18, 2023 @SicFunzler обновите reloading.py 1 @ Quote Link to comment Short link Share on other sites More sharing options...
SicFunzler Posted October 18, 2023 Share Posted October 18, 2023 (edited) On 10/19/2023 at 12:20 AM, ktulho said: @SicFunzler обновите reloading.py The problem came from mod_SoundEventInjector.py Now all go good THX MFG SicFunzler Edited October 22, 2023 by SicFunzler @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted October 30, 2023 Share Posted October 30, 2023 @ktulho в режиме "Царство теней" xvm отключён, а displayingItems.py - срабатыват Нужно отключить цартсво теней.wotreplay @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 7, 2023 Share Posted November 7, 2023 @ktulho тут ещё: 30.10.2023 в 18:53, HEKPOMAHT сказал: в режиме "Царство теней" xvm отключён, а displayingItems.py - срабатыват Нужно отключить цартсво теней.wotreplay 501 kB · 1 скачивание @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted November 7, 2023 Author Share Posted November 7, 2023 30.10.2023 в 18:53, HEKPOMAHT сказал: @ktulho в режиме "Царство теней" xvm отключён, а displayingItems.py - срабатыват Нужно отключить цартсво теней.wotreplay 501 kB · 1 скачивание Попробуй displayingItems.py @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 7, 2023 Share Posted November 7, 2023 7 минут назад, ktulho сказал: Попробуй проверил в бою - всё ровно срабатывает (скрывает элементы прицела) @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 7, 2023 Share Posted November 7, 2023 @ktulho прошлый раз в Натиске тоже срабатывал - так пришлось в моде отключать: 12.10.2022 в 19:45, HEKPOMAHT сказал: с Build: 10.1.0_0017 - порядок @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted November 8, 2023 Author Share Posted November 8, 2023 @HEKPOMAHT Проверь на последнем билде XVM. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 8, 2023 Share Posted November 8, 2023 3 часа назад, ktulho сказал: Проверь на последнем билде XVM. с Build: 10.8.0_0094 порядок @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted November 21, 2023 Share Posted November 21, 2023 (edited) 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) Edited November 22, 2023 by Aslain @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted November 24, 2023 Author Share Posted November 24, 2023 @Aslain Попробуйте infoAutoAim.py 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted November 25, 2023 Share Posted November 25, 2023 18 hours ago, ktulho said: @Aslain Попробуйте infoAutoAim.py Works like a charm, thank you for the fix! Have you had a chance to check that bug in collection.py ? @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted November 26, 2023 Author Share Posted November 26, 2023 21.11.2023 в 20:40, Aslain сказал: 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) При использовании арифметических макросов ({{py:sum(x1,x2[,...])}}, {{py:sub(a, b)}}, {{py:mul(x1,x2[,...])}}, и т.д.), необходимо проверять, чтобы аргументы не возвращали None. Например: {{py:mul({{py:visionRadius('{{name}}')?{{py:visionRadius('{{name}}')}}|0}}, 0,924)}} @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted November 26, 2023 Share Posted November 26, 2023 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. @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted December 4, 2023 Share Posted December 4, 2023 (edited) @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 Edited December 4, 2023 by Aslain @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted December 4, 2023 Author Share Posted December 4, 2023 @Aslain попробуй и использовать "двойные кавычки" @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted December 4, 2023 Share Posted December 4, 2023 (edited) 29 minutes ago, ktulho said: @Aslain try and use "double quotes" For which element? Could you show some example. By the way, that error is only when bots are in battle, from what I see, It's fine in battles without bots Edited December 4, 2023 by Aslain @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted December 4, 2023 Author Share Posted December 4, 2023 2 часа назад, Aslain сказал: For which element? Could you show some example. By the way, that error is only when bots are in battle, from what I see, It's fine in battles without bots {{py:reloadVehicle(\"{{name}}\")}} 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted December 4, 2023 Share Posted December 4, 2023 (edited) 19 minutes ago, ktulho said: {{py:reloadVehicle(\"{{name}}\")}} Yup, this fixed all errors in logs, the bots however have 0.0sec reload, is it possible to display their static reload at all? Edited December 4, 2023 by Aslain @ Quote Link to comment Short link Share on other sites More sharing options...
2rokk Posted December 4, 2023 Share Posted December 4, 2023 @ktulho, подскажите пожалуйста, а есть какая-то возможность вывести в прицел информацию о разбросе орудия на 100 м? @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.