ktulho Posted April 8, 2018 Author Share Posted April 8, 2018 Добавил в "Режим прицела" макрос: {{py:sight.siegeMode}} - возвращает 'siege' если техника находится в осадном режиме, иначе пусто; 3 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted April 8, 2018 Share Posted April 8, 2018 заменил aimingSystem.py проверку макрос не проходит - siege постоянно "format": "{{py:sight.siegeMode?siege|No}}" логи чистые, что не так ? @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 8, 2018 Author Share Posted April 8, 2018 15 минут назад, HEKPOMAHT сказал: проверку макрос не проходит - siege постоянно Исправил. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted April 8, 2018 Share Posted April 8, 2018 12 минут назад, ktulho сказал: Исправил. теперь норм @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted April 10, 2018 Share Posted April 10, 2018 При обновлении вот такая ошибка спамит(при чем только в бою,на репе все чисто): 2018-04-10 02:13:56.757: 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.py", line 3399, in __onArenaPeriodChange File "scripts/client/Avatar.py", line 3157, in __setIsOnArena File "scripts/client/VehicleGunRotator.py", line 162, in start File "scripts/client/VehicleGunRotator.py", line 678, in __updateGunMarker File "mods/xfw/python/xfw/events.py", line 71, in <lambda> File "res_mods/configs/xvm/py_macro\sight.py", line 256, in _VehicleGunRotator__getGunMarkerPosition aimingInfo = player._PlayerAvatar__aimingInfo AttributeError: 'PlayerAvatar' object has no attribute '_PlayerAvatar__aimingInfo' 2018-04-10 02:13:56.757: ERROR: Traceback (most recent call last): 2018-04-10 02:13:56.757: ERROR: File "scripts/client/Avatar.py", line 2182, in updateArena 2018-04-10 02:13:56.758: ERROR: File "scripts/client_common/ClientArena.py", line 263, in update 2018-04-10 02:13:56.758: ERROR: File "scripts/client_common/ClientArena.py", line 368, in __onPeriodInfoUpdate 2018-04-10 02:13:56.758: ERROR: File "scripts/common/Event.py", line 44, in __call__ 2018-04-10 02:13:56.758: ERROR: File "scripts/client/Avatar.py", line 3399, in __onArenaPeriodChange 2018-04-10 02:13:56.759: ERROR: File "scripts/client/Avatar.py", line 3157, in __setIsOnArena 2018-04-10 02:13:56.759: ERROR: File "scripts/client/VehicleGunRotator.py", line 162, in start 2018-04-10 02:13:56.759: ERROR: File "scripts/client/VehicleGunRotator.py", line 678, in __updateGunMarker 2018-04-10 02:13:56.759: ERROR: File "mods/xfw/python/xfw/events.py", line 71, in <lambda> 2018-04-10 02:13:56.759: ERROR: File "res_mods/configs/xvm/py_macro\sight.py", line 256, in _VehicleGunRotator__getGunMarkerPosition 2018-04-10 02:13:56.760: ERROR: aimingInfo = player._PlayerAvatar__aimingInfo 2018-04-10 02:13:56.760: ERROR: AttributeError: 'PlayerAvatar' object has no attribute '_PlayerAvatar__aimingInfo' 2018-04-10 02:13:56.854: ERROR: Traceback (most recent call last): 2018-04-10 02:13:56.854: ERROR: File "scripts/client/Avatar.py", line 1781, in updateGunMarker 2018-04-10 02:13:56.855: ERROR: File "scripts/client/VehicleGunRotator.py", line 275, in setShotPosition 2018-04-10 02:13:56.855: ERROR: File "mods/xfw/python/xfw/events.py", line 71, in <lambda> 2018-04-10 02:13:56.855: ERROR: File "res_mods/configs/xvm/py_macro\sight.py", line 256, in _VehicleGunRotator__getGunMarkerPosition 2018-04-10 02:13:56.856: ERROR: aimingInfo = player._PlayerAvatar__aimingInfo 2018-04-10 02:13:56.856: ERROR: AttributeError: 'PlayerAvatar' object has no attribute '_PlayerAvatar__aimingInfo' 2018-04-10 02:13:56.953: ERROR: Traceback (most recent call last): потом спам и вот это еще: 2018-04-10 02:14:51.147: INFO: ============================= 2018-04-10 02:14:51.147: INFO: 2018-04-10 02:14:51: [ERROR] mods/xfw/python/xfw/events.pyc 2018-04-10 02:14:51.147: ERROR: Traceback (most recent call last): 2018-04-10 02:14:51.147: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-04-10 02:14:51.147: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-04-10 02:14:51.147: ERROR: File "res_mods/configs/xvm/py_macro\anglesAiming.py", line 150, in set_gunAnglesPacked 2018-04-10 02:14:51.147: ERROR: if player is not None and not player.isObserver(): 2018-04-10 02:14:51.147: ERROR: File "scripts/client/Avatar.py", line 2252, in isObserver 2018-04-10 02:14:51.148: ERROR: AttributeError: 'PlayerAvatar' object has no attribute '_PlayerAvatar__isObserver' 2018-04-10 02:14:51.148: INFO: ============================= Юзаю только aimingSystem.py,infoAutoAim.py и sight.py конечно,из макросов только py:sight.timeAIM,py:sight.autoAimVehicle и py:sight.cameraMode для разных режимов.С скриптом без осадного такого не наблюдалось. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 10, 2018 Author Share Posted April 10, 2018 @Slava7572 прикрепите логи. @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted April 10, 2018 Share Posted April 10, 2018 8 часов назад, ktulho сказал: @Slava7572 прикрепите логи. Собственно все описал,но вот..там первый бой с ошибками реальный,вторая загрузка это уже на реплее пробовал(почему то уже без ошибок,когда ничего не менял): python.log xvm.log @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 10, 2018 Author Share Posted April 10, 2018 @Slava7572 если честно, не представляю как может такое быть: 2018-04-10 02:13:56.856: ERROR: AttributeError: 'PlayerAvatar' object has no attribute '_PlayerAvatar__aimingInfo' Немного поправил код в sight.py. @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted April 10, 2018 Share Posted April 10, 2018 2 часа назад, ktulho сказал: @Slava7572 если честно, не представляю как может такое быть: 2018-04-10 02:13:56.856: ERROR: AttributeError: 'PlayerAvatar' object has no attribute '_PlayerAvatar__aimingInfo' Немного поправил код в sight.py. Сыграл бой,в логах чисто,спасибо))) @ Quote Link to comment Short link Share on other sites More sharing options...
Pensioner Posted April 14, 2018 Share Posted April 14, 2018 В 13.06.2017 в 09:28, fgcwsxjegcbk2014 сказал: в конфиге не прописано количество знаков после запятой поэтому отображает с кучей значений "format": "<font size='14'>{{py:sight.shellSpeed}}</font> м/с." нужно прописать так "format": "<font size='14'>{{py:sight.shellSpeed%3.0f}}</font> м/с." будет отображаеть целое число новая итерация конфига (далеко не все идеально), сократил количество кода ~ в два раза, добавил некоторые счетчики на скринах все счетчики включены, для их отключения небольшие пояснения в файле Фрагмент файла battleLabels.xc 1 - для включения счетчиков скопировать код в собственный файл battleLabels.xc Фрагмент файла battleLabels.xc 2 - battleLabels.xc скопировать в папку ....\xvm\default (по умолчанию это папка default) battleLabelSight.xc 3 - для отображени сеток прицелов скопировать в папку .....\xvm\ icons_sight.zip 4 - необходимо для корректной работы иметь sight.xc . Закрпелен в шапке темы автором топик-стартера для аркадного для снайперского для арт режима Уважаемый, пожалуйста поделитесь актуальным конфигом под патч 1.0, @ Quote Link to comment Short link Share on other sites More sharing options...
fgcwsxjegcbk2014 Posted April 14, 2018 Share Posted April 14, 2018 5 часов назад, Pensioner сказал: Уважаемый, пожалуйста поделитесь актуальным конфигом под патч 1.0, под патч 1.0.xxx пока не актуализировал (как ни странно старый вполне себе работает). Постараюсь сделать более актуальную версию после грядущего патча 1.0.1. Сильно подозреваю что с прицелом опять сделают какие небудь нехорошие вещи с вводом итальянцев PS танки немного подзабросил, откровенный постоянный донат для более менее комфортной игры и зашкаливающее количество ботов сделало свое дело 1 1 @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted April 14, 2018 Share Posted April 14, 2018 44 минуты назад, fgcwsxjegcbk2014 сказал: Сильно подозреваю что с прицелом опять сделают какие небудь нехорошие вещи с вводом итальянцев Собственно уже сделали,там какая то поочередная зарядка,вроде барабан,а вроде и нет,что то типа поочередной загрузки с разным временем загрузки,так же можно юзать обычный цикл...если честно до конца не понял как оно работает...в флеше это уже вшито как минимум. @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted April 15, 2018 Share Posted April 15, 2018 @ktulho на Т49 два раза осадный режим срабатывал, ещё до начала отсчёта времени. Реплей увы не воспроизводит, логи чистые, на остальной технике норм. Может сделай вывод в лог инфы, вдруг ещё баг повториться. > что самое интересное баг был только на Т49 (за период с 8 апреля) @ Quote Link to comment Short link Share on other sites More sharing options...
Pensioner Posted April 15, 2018 Share Posted April 15, 2018 Пробую мод, но с модом происходят вылеты игры, чаще за несколько сек перед входом в бой, вот 4 последних, питон и хвм сразу после вылета копировал. Посмотрите что у меня не так. Пожалуйста. python1.log xvm.log python2.log xvm.log python3.log xvm.log python4.log xvm.log @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 15, 2018 Author Share Posted April 15, 2018 (edited) @Pensioner к сожалению у вас не дописываются логи до конца. Попробуйте установить системную переменную XFW_DEVELOPMENT = 1. Edited April 15, 2018 by ktulho @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted April 15, 2018 Share Posted April 15, 2018 в python4.log есть ошибка дамаглога: 2018-04-15 10:12:44.540: INFO: ============================= 2018-04-15 10:12:44.540: INFO: 2018-04-15 10:12:44: [ERROR] mods/xfw/python/xfw/events.pyc 2018-04-15 10:12:44.540: ERROR: Traceback (most recent call last): 2018-04-15 10:12:44.540: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-04-15 10:12:44.540: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-04-15 10:12:44.541: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 853, in Vehicle_onHealthChanged 2018-04-15 10:12:44.541: ERROR: data.onHealthChanged(self, newHealth, attackerID, attackReasonID) 2018-04-15 10:12:44.541: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 465, in onHealthChanged 2018-04-15 10:12:44.542: ERROR: self.updateData() 2018-04-15 10:12:44.542: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 304, in updateData 2018-04-15 10:12:44.542: ERROR: self.updateLabels() 2018-04-15 10:12:44.542: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 368, in updateLabels 2018-04-15 10:12:44.542: ERROR: _logAlt.output() 2018-04-15 10:12:44.542: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 672, in output 2018-04-15 10:12:44.542: ERROR: isFrequent = (BigWorld.serverTime() - self.dictVehicle[attackerID][attackReasonID]['time']) < 1.0 2018-04-15 10:12:44.542: ERROR: KeyError: 3 2018-04-15 10:12:44.542: INFO: ============================= @ Quote Link to comment Short link Share on other sites More sharing options...
Pensioner Posted April 15, 2018 Share Posted April 15, 2018 1 час назад, ktulho сказал: @Pensioner к сожалению у вас не дописываются логи до конца. Попробуйте установить системную переменную XFW_DEVELOPMENT = 1. Вот сделал, не знаю поможет ли. Питон1 сразу после вылета, питон 2 перезашёл в игру. python1.log python2.log xvm1.log xvm2.log @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 15, 2018 Author Share Posted April 15, 2018 @Pensioner Компьютер перезагружали? @ Quote Link to comment Short link Share on other sites More sharing options...
Pensioner Posted April 15, 2018 Share Posted April 15, 2018 Только что, ktulho сказал: @Pensioner Компьютер перезагружали? Да! :( @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 15, 2018 Author Share Posted April 15, 2018 @Pensioner ааа, не туда записали, надо было пониже: @ 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.