ktulho Posted February 24, 2018 Author Share Posted February 24, 2018 @GT_22rus если надо урон от союзников всегда красить в один цвет, то: // Color by team attachment of the attacker (macro {{c:team-dmg}}). // Цвет по командной принадлежности атакующего (макрос {{c:team-dmg}}). "c:team-dmg":{ "ally-dmg": "#00EAFF", // ally / союзник "enemy-dmg": "{{c:team-dmg}}", // enemy / противник "player": "#228855", // self damage / урон по себе "unknown": "{{c:team-dmg}}" // unknown / неизвестно }, в параметре "formatHistory" заменить: <font color='{{c:dmg-kind}}'>{{dmg-kind}}</font> на <font color='{{c:team-dmg}}'>{{dmg-kind}}</font> P.S. это относиться к дефолтному конфигу. 1 @ Quote Link to comment Short link Share on other sites More sharing options...
GT_22rus Posted February 24, 2018 Share Posted February 24, 2018 14 минут назад, ktulho сказал: @GT_22rus если надо урон от союзников всегда красить в один цвет, то: // Color by team attachment of the attacker (macro {{c:team-dmg}}). // Цвет по командной принадлежности атакующего (макрос {{c:team-dmg}}). "c:team-dmg":{ "ally-dmg": "#00EAFF", // ally / союзник "enemy-dmg": "{{c:team-dmg}}", // enemy / противник "player": "#228855", // self damage / урон по себе "unknown": "{{c:team-dmg}}" // unknown / неизвестно }, в параметре "formatHistory" заменить: <font color='{{c:dmg-kind}}'>{{dmg-kind}}</font> на <font color='{{c:team-dmg}}'>{{dmg-kind}}</font> P.S. это относиться к дефолтному конфигу. Спасибо. Работает. @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted March 3, 2018 Share Posted March 3, 2018 (edited) Build 8226/0.9.23 CT ERROR Цитата 2018-03-03 16:54:09.730: INFO: ============================= 2018-03-03 16:54:09.730: INFO: 2018-03-03 16:54:09: [ERROR] mods/xfw/python/xfw/events.pyc 2018-03-03 16:54:09.730: ERROR: Traceback (most recent call last): 2018-03-03 16:54:09.730: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-03-03 16:54:09.731: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-03-03 16:54:09.731: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 889, in Vehicle_showDamageFromShot 2018-03-03 16:54:09.731: ERROR: data.showDamageFromShot(self, attackerID, points, effectsIndex, damageFactor) 2018-03-03 16:54:09.731: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 378, in showDamageFromShot 2018-03-03 16:54:09.732: ERROR: maxHitEffectCode, decodedPoints, maxDamagedComponent = DamageFromShotDecoder.decodeHitPoints(points, vehicle.typeDescriptor) 2018-03-03 16:54:09.732: ERROR: File "scripts/client/VehicleEffects.py", line 50, in decodeHitPoints 2018-03-03 16:54:09.732: ERROR: File "scripts/client/VehicleEffects.py", line 119, in decodeSegment 2018-03-03 16:54:09.732: ERROR: AttributeError: 'VehicleDescriptor' object has no attribute 'getBoundingBox' 2018-03-03 16:54:09.732: INFO: ============================= 2018-03-03 16:54:09.825: DEBUG: [DEBUG] (scripts/client/Avatar.py, 2151): Battle events has been received: ([{eventType: 9, targetID: 1404819, details: 65545, count: 1}, {eventType: 10, targetID: 1404819, details: 24641545, count: 1}],) 2018-03-03 16:54:11.727: DEBUG: [DEBUG] (scripts/client/gui/Scaleform/daapi/view/battle/shared/crosshair/plugins.py, 372): Set reloading state (ReloadingTimeSnapshot(actual = 0.0, base = 16.2313899994, timePassed = 0.0, reloading = False),) 2018-03-03 16:54:11.727: DEBUG: [DEBUG] (scripts/client/gui/shared/utils/MethodsRules.py, 113): Delayer processed: ('setGunReloadTime',) 2018-03-03 16:54:12.615: INFO: ============================= 2018-03-03 16:54:12.615: INFO: 2018-03-03 16:54:12: [ERROR] mods/xfw/python/xfw/events.pyc 2018-03-03 16:54:12.615: ERROR: Traceback (most recent call last): 2018-03-03 16:54:12.615: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-03-03 16:54:12.616: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-03-03 16:54:12.616: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 889, in Vehicle_showDamageFromShot 2018-03-03 16:54:12.616: ERROR: data.showDamageFromShot(self, attackerID, points, effectsIndex, damageFactor) 2018-03-03 16:54:12.616: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 378, in showDamageFromShot 2018-03-03 16:54:12.616: ERROR: maxHitEffectCode, decodedPoints, maxDamagedComponent = DamageFromShotDecoder.decodeHitPoints(points, vehicle.typeDescriptor) 2018-03-03 16:54:12.616: ERROR: File "scripts/client/VehicleEffects.py", line 50, in decodeHitPoints 2018-03-03 16:54:12.617: ERROR: File "scripts/client/VehicleEffects.py", line 119, in decodeSegment 2018-03-03 16:54:12.617: ERROR: AttributeError: 'VehicleDescriptor' object has no attribute 'getBoundingBox' 2018-03-03 16:54:12.617: INFO: ============================= 2018-03-03 16:54:12.812: DEBUG: [DEBUG] (scripts/client/Avatar.py, 2151): Battle events has been received: ([{eventType: 10, targetID: 1404807, details: 48300035, count: 1}],) 2018-03-03 16:54:14.816: INFO: ============================= 2018-03-03 16:54:14.816: INFO: 2018-03-03 16:54:14: [ERROR] mods/xfw/python/xfw/events.pyc 2018-03-03 16:54:14.816: ERROR: Traceback (most recent call last): 2018-03-03 16:54:14.816: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-03-03 16:54:14.816: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-03-03 16:54:14.817: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 889, in Vehicle_showDamageFromShot 2018-03-03 16:54:14.817: ERROR: data.showDamageFromShot(self, attackerID, points, effectsIndex, damageFactor) 2018-03-03 16:54:14.817: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 378, in showDamageFromShot 2018-03-03 16:54:14.817: ERROR: maxHitEffectCode, decodedPoints, maxDamagedComponent = DamageFromShotDecoder.decodeHitPoints(points, vehicle.typeDescriptor) 2018-03-03 16:54:14.817: ERROR: File "scripts/client/VehicleEffects.py", line 50, in decodeHitPoints 2018-03-03 16:54:14.817: ERROR: File "scripts/client/VehicleEffects.py", line 119, in decodeSegment 2018-03-03 16:54:14.818: ERROR: AttributeError: 'VehicleDescriptor' object has no attribute 'getBoundingBox' 2018-03-03 16:54:14.818: INFO: ============================= Edited March 4, 2018 by HEKPOMAHT ✂ очистка вложений @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted March 4, 2018 Share Posted March 4, 2018 Build 8228/0.9.23 CT @ Quote Link to comment Short link Share on other sites More sharing options...
2rokk Posted March 13, 2018 Share Posted March 13, 2018 Уважаемый Ктулхо, а есть возможность прикрутить тайминг к попаданию? Причём тайминг по внутрибоевому времени, то есть - чисто из расчёта текущего времени боя... Было бы очень здорово. А если есть такой функционал - ткните меня в него, плиз. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted March 14, 2018 Author Share Posted March 14, 2018 16 часов назад, 2rokk сказал: а есть возможность прикрутить тайминг к попаданию? Причём тайминг по внутрибоевому времени, то есть - чисто из расчёта текущего времени боя... То есть отображать в какое время был получен или заблокирован урон? 2 @ Quote Link to comment Short link Share on other sites More sharing options...
2rokk Posted March 14, 2018 Share Posted March 14, 2018 1 минуту назад, ktulho сказал: То есть отображать в какое время был получен или заблокирован урон? Так точно. отсчёт времени, наверное, удобнее будет вести так же как в бою - в обратную сторону. Но это уже как получится. @ Quote Link to comment Short link Share on other sites More sharing options...
fgcwsxjegcbk2014 Posted March 17, 2018 Share Posted March 17, 2018 при пожаре выдает ошибку 2018-03-17 17:08:10.587: INFO: ButtonReplacer: no-GUI mode activated 2018-03-17 17:08:10.720: INFO: [WGC] Running WGC instance is not found in the system 2018-03-17 17:08:13.706: INFO: RemodEnabler: listing vehicles/skins/textures/ for CRC32 2018-03-17 17:08:18.287: INFO: RemodEnabler: skins textures were not changed 2018-03-17 17:08:18.336: INFO: RemodEnabler: total models check time: 0:00:05 2018-03-17 17:46:19.514: INFO: ============================= 2018-03-17 17:46:19.514: INFO: 2018-03-17 17:46:19: [ERROR] mods/xfw/python/xfw/events.pyc 2018-03-17 17:46:19.514: ERROR: Traceback (most recent call last): 2018-03-17 17:46:19.514: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-03-17 17:46:19.515: ERROR: File "mods/xfw/python/xfw/events.py", line 24, in fire 2018-03-17 17:46:19.515: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 841, in Vehicle_onHealthChanged 2018-03-17 17:46:19.516: ERROR: data.onHealthChanged(self, newHealth, attackerID, attackReasonID) 2018-03-17 17:46:19.516: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 463, in onHealthChanged 2018-03-17 17:46:19.516: ERROR: self.updateData() 2018-03-17 17:46:19.516: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 302, in updateData 2018-03-17 17:46:19.516: ERROR: self.updateLabels() 2018-03-17 17:46:19.516: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 366, in updateLabels 2018-03-17 17:46:19.516: ERROR: _logAlt.output() 2018-03-17 17:46:19.516: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 684, in output 2018-03-17 17:46:19.516: ERROR: self.addLine(attackerID, attackReasonID) 2018-03-17 17:46:19.516: ERROR: File "res_mods/configs/xvm/py_macro\xvm\damageLog.py", line 650, in addLine 2018-03-17 17:46:19.516: ERROR: self.dataLog['fireDuration'] = BigWorld.time() - beginFire if attackReasonID == 1 else None 2018-03-17 17:46:19.516: ERROR: TypeError: unsupported operand type(s) for -: 'float' and 'NoneType' 2018-03-17 17:46:19.516: INFO: ============================= 1 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted March 17, 2018 Author Share Posted March 17, 2018 В 13.03.2018 в 23:43, 2rokk сказал: Уважаемый Ктулхо, а есть возможность прикрутить тайминг к попаданию? Какое время отображать при суммировании пожара, тарана? Начало или конец? @ Quote Link to comment Short link Share on other sites More sharing options...
2rokk Posted March 17, 2018 Share Posted March 17, 2018 @ktulho я думаю - начало. кмк, важно (полезно) знать, когда с тобой что-то началось, а не когда это прошло... @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted March 19, 2018 Author Share Posted March 19, 2018 В 13.03.2018 в 23:43, 2rokk сказал: а есть возможность прикрутить тайминг к попаданию? Добавил: {{hitTime}} - время полученного или заблокированного урона в формате "мм:сс" 1 @ Quote Link to comment Short link Share on other sites More sharing options...
2rokk Posted March 19, 2018 Share Posted March 19, 2018 @ktulho Ооо!!! Спасибо огромное!!! то что доктор прописал! :) upd. перестал отображаться заблокированный урон. то есть непробития, рикошеты, без урона - не отображаются. в бою и на реплах проверено. тайминг работает. @ Quote Link to comment Short link Share on other sites More sharing options...
Pensioner Posted March 19, 2018 Share Posted March 19, 2018 2 часа назад, 2rokk сказал: @ktulho перестал отображаться заблокированный урон. то есть непробития, рикошеты, без урона - не отображаются. в бою и на реплах проверено. тайминг работает. Так же , просто сразу не понял, давно не ставил ночники и подумал, что то ещё меняли. @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted March 19, 2018 Author Share Posted March 19, 2018 2 часа назад, 2rokk сказал: перестал отображаться заблокированный урон. то есть непробития, рикошеты, без урона - не отображаются. в бою и на реплах проверено. 2 минуты назад, Pensioner сказал: Так же , просто сразу не понял, давно не ставил ночники и подумал, что то ещё меняли. Логи? @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted March 19, 2018 Share Posted March 19, 2018 на тесте 0.9.23 проверяете? @ Quote Link to comment Short link Share on other sites More sharing options...
Pensioner Posted March 19, 2018 Share Posted March 19, 2018 3 минуты назад, HEKPOMAHT сказал: на тесте 0.9.23 проверяете? А что это для теста было? @ Quote Link to comment Short link Share on other sites More sharing options...
2rokk Posted March 19, 2018 Share Posted March 19, 2018 (edited) @HEKPOMAHT нет @ktulho вот. xvm.log python.log Edited March 19, 2018 by 2rokk @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted March 19, 2018 Author Share Posted March 19, 2018 6 минут назад, Pensioner сказал: А что это для теста было? да @ Quote Link to comment Short link Share on other sites More sharing options...
2rokk Posted March 19, 2018 Share Posted March 19, 2018 Только что, ktulho сказал: да а для текущей смысла нет делать, да? @ Quote Link to comment Short link Share on other sites More sharing options...
Pensioner Posted March 19, 2018 Share Posted March 19, 2018 Только что, 2rokk сказал: а для текущей смысла нет делать, да? Завтра уже обнова! @ 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.