Apokalipsis_rus Posted June 11, 2019 Share Posted June 11, 2019 В дереве исследований при наведении на неисследованный танк не показывает сколько опыта осталось, но на некоторых показывает xvm.log python.log Link to comment Short link Share on other sites More sharing options...
Wild_RNB Posted June 11, 2019 Share Posted June 11, 2019 Он показывает только при условии что все (абсолютно все) модули предыдущего танка изучены. Link to comment Short link Share on other sites More sharing options...
Apokalipsis_rus Posted June 11, 2019 Author Share Posted June 11, 2019 @Wild_RNB, пожалуйста Link to comment Short link Share on other sites More sharing options...
Wild_RNB Posted June 11, 2019 Share Posted June 11, 2019 Тогда ХЗ, но было заявлено так. Link to comment Short link Share on other sites More sharing options...
Apokalipsis_rus Posted June 11, 2019 Author Share Posted June 11, 2019 @Wild_RNB , у меня работало, как только открывался путь к танку всегда, как только это сделали. А теперь выборочно. Собственно поэтому и баг-репорт оформил Link to comment Short link Share on other sites More sharing options...
ktulho Posted June 11, 2019 Share Posted June 11, 2019 @sirmax, чего то я не понимаю. В xvm_tooltips/python/__init__.py в функции def StatusBlockConstructor_construct(base, self) вызывается функция getUnlockPrice(vehicle.intCD, parentCD, vehicle.level). По идее она перехватывается в xvm_limits/python/__init__.py: @overrideMethod(tooltips, 'getUnlockPrice') @dependency.replace_none_kwargs(itemsCache=IItemsCache) def getUnlockPrice(base, compactDescr, parentCD = None, vehicleLevel = UNKNOWN_VEHICLE_LEVEL, itemsCache = None): isAvailable, cost, need, defCost, discount = base(compactDescr, parentCD, vehicleLevel) if cfg_hangar_enableFreeXpLocker and not freeXP_enable: need += itemsCache.items.stats.actualFreeXP return (isAvailable, cost, need, defCost, discount) Значение need в ней изменяется, но в def StatusBlockConstructor_construct(base, self) возвращается не измененное значение need. Link to comment Short link Share on other sites More sharing options...
sirmax Posted June 11, 2019 Share Posted June 11, 2019 может из-за декоратора? Link to comment Short link Share on other sites More sharing options...
ktulho Posted June 11, 2019 Share Posted June 11, 2019 5 минут назад, sirmax сказал: может из-за декоратора? Раньше работало, вроде 3 часа назад, Apokalipsis_rus сказал: В дереве исследований при наведении на неисследованный танк не показывает сколько опыта осталось, но на некоторых показывает Исправлено. Link to comment Short link Share on other sites More sharing options...
sirmax Posted June 11, 2019 Share Posted June 11, 2019 там еще и reimport ниже. как-то криво переопределен метод исправил 1 @ Link to comment Short link Share on other sites More sharing options...
Apokalipsis_rus Posted June 11, 2019 Author Share Posted June 11, 2019 (edited) исправлено в 9169. Тема закрыта Edited June 12, 2019 by Apokalipsis_rus Link to comment Short link Share on other sites More sharing options...
Recommended Posts