Apokalipsis_rus 21 Posted June 11, 2019 В дереве исследований при наведении на неисследованный танк не показывает сколько опыта осталось, но на некоторых показывает xvm.log python.log Share this post Link to post Short link Share on other sites
Wild_RNB 114 #461695 Posted June 11, 2019 Он показывает только при условии что все (абсолютно все) модули предыдущего танка изучены. Share this post Link to post Short link Share on other sites
Apokalipsis_rus 21 #461696 Posted June 11, 2019 @Wild_RNB, пожалуйста Share this post Link to post Short link Share on other sites
Wild_RNB 114 #461698 Posted June 11, 2019 Тогда ХЗ, но было заявлено так. Share this post Link to post Short link Share on other sites
Apokalipsis_rus 21 #461700 Posted June 11, 2019 @Wild_RNB , у меня работало, как только открывался путь к танку всегда, как только это сделали. А теперь выборочно. Собственно поэтому и баг-репорт оформил Share this post Link to post Short link Share on other sites
ktulho 5,790 #461701 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. Share this post Link to post Short link Share on other sites
sirmax 5,499 #461727 Posted June 11, 2019 может из-за декоратора? Share this post Link to post Short link Share on other sites
ktulho 5,790 #461732 Posted June 11, 2019 5 минут назад, sirmax сказал: может из-за декоратора? Раньше работало, вроде 3 часа назад, Apokalipsis_rus сказал: В дереве исследований при наведении на неисследованный танк не показывает сколько опыта осталось, но на некоторых показывает Исправлено. Share this post Link to post Short link Share on other sites
sirmax 5,499 #461733 Posted June 11, 2019 там еще и reimport ниже. как-то криво переопределен метод исправил 1 Share this post Link to post Short link Share on other sites
Apokalipsis_rus 21 #461744 Posted June 11, 2019 (edited) исправлено в 9169. Тема закрыта Edited June 12, 2019 by Apokalipsis_rus Share this post Link to post Short link Share on other sites