P.S.Enot Posted November 19, 2018 Share Posted November 19, 2018 Подскажите кто нибудь. по чему калькулятор не считает вообще одни нули все время Всем спасибо. решил проблему этим скриптом battleEfficiency.py @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 19, 2018 Author Share Posted November 19, 2018 @P.S.Enot, возьмите скрипт из шапки. @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted November 19, 2018 Share Posted November 19, 2018 7 минут назад, Kotyarko_O сказал: @P.S.Enot, возьмите скрипт из шапки. да уже решил проблему . кстати брал из папки вчера не работало. Сегодня взял у товарища вместе сборки хвм собираем все заработало. Может что не так делал щас еще раз скачаю Он в самом бою показывает или после боя уже. просто судя по файлам настройки у меня совсем все другое Нет не работает серавно . ток вот работает с этим файлом battleEfficiency.py чем он отличается я не знаю не особо в этих формулах рабираюсь @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 19, 2018 Author Share Posted November 19, 2018 2 hours ago, P.S.Enot said: Нет не работает серавно . Логи нужны, конфиг тоже. @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted November 19, 2018 Share Posted November 19, 2018 24 минуты назад, Kotyarko_O сказал: Логи нужны, конфиг тоже. А что у меня какой то не правильный конфиг или что @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 19, 2018 Author Share Posted November 19, 2018 40 minutes ago, P.S.Enot said: А что у меня какой то не правильный конфиг или что Вы предлагаете мне угадать? @ Quote Link to comment Short link Share on other sites More sharing options...
SicFunzler Posted November 19, 2018 Share Posted November 19, 2018 Have Problem with Live WN8 and EFF Ingame, in the Garage go TOP no problems but in Live only Red-Zero This is my script: //============================================ Live WN8 und EFF=================================================== "battleEfficiency": { "enabled": true, "updateEvent": "PY(ON_BATTLE_EFFICIENCY)", "x": 135, "y": 39, "width": 215, "height": 50, "align": "center", "screenHAlign": "left", "screenVAlign": "top", "textFormat": { "font": "$TitleFont", "size": 15 }, "shadow": { "distance": 1, "angle": 90, "color": "0x000000", "alpha": 90, "blur": 3, "strength": 2 }, "format": "WN8: <font color='{{py:efficiencyWN8Color}}'>{{py:efficiencyWN8}}</font> EFF: <font color='{{py:efficiencyEFFColor}}'>{{py:efficiencyEFF}}</font>" }, With my old go and with the new config is only Red Zero Ingame Live Exact so: Pls help me THX MFG SicFunzler new-no go-battleEfficiency.py old-go-battleEfficiency.py @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted November 19, 2018 Share Posted November 19, 2018 (edited) 46 минут назад, Kotyarko_O сказал: Вы предлагаете мне угадать? Да нет я же выкладывал свой скрипт который у меня заработал. думал вы видели . но то что в шапке я раз пять пробовал все проверял не запустилось. надписи и цифру ноль показывает красным цветом и все. Смотрел другие файлы вроде все вроде нормально . не каких зависимостей нет. Все ровно так как вот только что парень прислал скрин. у меня также показывает Edited November 19, 2018 by P.S.Enot 1 @ Quote Link to comment Short link Share on other sites More sharing options...
HEKPOMAHT Posted November 20, 2018 Share Posted November 20, 2018 Скрипт из шапки (18.11.2018) бой/ангар ---- проверяйте с последним скриптом только с xvm (без других модов) @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 20, 2018 Author Share Posted November 20, 2018 @sicfunzler , attach logs, please. @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted November 20, 2018 Share Posted November 20, 2018 Все разобрался со скриптом из шапки. все заработало. Просто у меня под модпак заточен конфиг по этому не везде были прописаны пути к дополнительной папке Всем спасибо за помощь @ Quote Link to comment Short link Share on other sites More sharing options...
SicFunzler Posted November 20, 2018 Share Posted November 20, 2018 Her the logs THX for help python.log xvm.log @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 20, 2018 Author Share Posted November 20, 2018 @sicfunzler , you have an error somewhere in your config: SyntaxError: invalid syntax arg='sub(, )' 2018-11-20 11:26:36: [ERROR] Traceback (most recent call last): File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 156, in process_python_macro (func, deterministic) = get_function(arg) File "res_mods/mods/xfw_packages\xvm_main\python\python_macro.py", line 144, 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 (, ) ^ Find a "sub(, )"-string and fix it. It can be the reason of your problem. @ Quote Link to comment Short link Share on other sites More sharing options...
SicFunzler Posted November 20, 2018 Share Posted November 20, 2018 I have find the problem in scrip and i have fix it :) But no go when i made the new-no go-battleEfficiency.py in ??? her the XVM log xvm.log @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 20, 2018 Author Share Posted November 20, 2018 @sicfunzler , did you try without other modifications (WOT-client + XVM + this addon)? You can test it on replays. @ Quote Link to comment Short link Share on other sites More sharing options...
SicFunzler Posted November 20, 2018 Share Posted November 20, 2018 Okay i will test it. wher came this problem: 2018-11-20 20:40:46.985: INFO: 2018-11-20 20:40:46: [ERROR] mods/xfw/python/xfw/events.pyc 2018-11-20 20:40:46.985: ERROR: Traceback (most recent call last): 2018-11-20 20:40:46.985: ERROR: File "mods/xfw/python/xfw/events.py", line 57, in __event_handler 2018-11-20 20:40:46.985: ERROR: File "mods/xfw/python/xfw/events.py", line 23, in fire 2018-11-20 20:40:46.986: ERROR: ValueError: BigWorld.delModel: Not added as a global model. THX FOR ALL MFG SicFunzler @ Quote Link to comment Short link Share on other sites More sharing options...
Kotyarko_O Posted November 20, 2018 Author Share Posted November 20, 2018 19 minutes ago, sicfunzler said: wher came this problem This errors isn`t important. @ Quote Link to comment Short link Share on other sites More sharing options...
SicFunzler Posted November 21, 2018 Share Posted November 21, 2018 Thx now all go !!! Have find the Problem wher with Yasenkrasen ;) now it is okay THX MFG SicFunzler @ Quote Link to comment Short link Share on other sites More sharing options...
alex_alex Posted November 30, 2018 Share Posted November 30, 2018 ваш скрипт не дает отображаться послебоевой статистике и все равно считает не совсем правильно @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted November 30, 2018 Share Posted November 30, 2018 33 минуты назад, alex_alex сказал: ваш скрипт не дает отображаться послебоевой статистике Если бы вы прикрепили логи и скрин, это бы ускорило исправление ошибки. @ 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.