DKRUBEN Posted August 22, 2017 Share Posted August 22, 2017 (edited) Я вам написал в личку все Next language I have to learn Russian. Well I needed to move the battle efficiency, so the player does not have to do it manually, therefore, I'm doing a configuration based on XVM addons. Edited August 22, 2017 by DKRUBEN @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted August 22, 2017 Share Posted August 22, 2017 Next language I have to learn Russian. Well I needed to move the battle efficiency, so the player does not have to do it manually, therefore, I'm doing a configuration based on XVM addons. I understand you perfectly . here, try to write it the Collector addon ru Marco: ktulho @ Quote Link to comment Short link Share on other sites More sharing options...
DKRUBEN Posted August 22, 2017 Share Posted August 22, 2017 I understand you perfectly . here, try to write it the Collector addon ru Marco: ktulho ok I will see. Many thanks and sorry for the Russian part. @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted August 22, 2017 Share Posted August 22, 2017 ok I will see. Many thanks and sorry for the Russian part. All Good . I understand you perfectly. it happens that the information we need is far from @ Quote Link to comment Short link Share on other sites More sharing options...
DKRUBEN Posted September 3, 2017 Share Posted September 3, 2017 need update @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted September 3, 2017 Share Posted September 3, 2017 (edited) need update already updated py_macro.zip Edited September 3, 2017 by P.S.Enot @ Quote Link to comment Short link Share on other sites More sharing options...
arom Posted September 3, 2017 Share Posted September 3, 2017 (edited) already updated py_macro.zip из последних ночников выпилены vehinfo_wn8 и vehinfo_xte, невозможно импортировать. Надо переписывать скрипт. Edited September 3, 2017 by arom @ Quote Link to comment Short link Share on other sites More sharing options...
DKRUBEN Posted September 3, 2017 Share Posted September 3, 2017 already updated py_macro.zip thx @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted September 3, 2017 Share Posted September 3, 2017 из последних ночников выпилены vehinfo_wn8 и vehinfo_xte, невозможно импортировать. Надо переписывать скрипт. методы перенесены в vehinfo @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted September 3, 2017 Share Posted September 3, 2017 из последних ночников выпилены vehinfo_wn8 и vehinfo_xte, невозможно импортировать. Надо переписывать скрипт. что я выложил не рабочий файл или что ??? @ Quote Link to comment Short link Share on other sites More sharing options...
Slava7572 Posted September 3, 2017 Share Posted September 3, 2017 из последних ночников выпилены vehinfo_wn8 и vehinfo_xte, невозможно импортировать. Надо переписывать скрипт. И этот скрипт поломается? @ Quote Link to comment Short link Share on other sites More sharing options...
refaol Posted September 11, 2017 Share Posted September 11, 2017 что я выложил не рабочий файл или что ??? Нет, не работает, И с твоим скриптом в логе ошибки. sirmax, on 11 Sept 2017 - 20:51, said: у тебя старый скрипт battleEfficiency.py, нужно обновлять. он не входит в поставку XVM Как я понимаю, потому что методы перенесены в vehinfo Прикрепленный файл battleEfficiency.rar 1,73 Кб 109 раз скачано Почините plz @ Quote Link to comment Short link Share on other sites More sharing options...
DKRUBEN Posted September 11, 2017 Share Posted September 11, 2017 test this... http://www.mediafire.com/file/qm0tndf7udkdzyt/BattleTotalWN8.zip @ Quote Link to comment Short link Share on other sites More sharing options...
refaol Posted September 11, 2017 Share Posted September 11, 2017 (edited) test this... http://www.mediafire.com/file/qm0tndf7udkdzyt/BattleTotalWN8.zip Это не будет работать, как я понимаю, потому что у вас там в коде есть строки self.XTE = vehinfo_xte.calculateXTE(self.vehCD, self.damage, self.frags) А такого скрипта vehinfo_xte уже нет Edited September 11, 2017 by refaol @ Quote Link to comment Short link Share on other sites More sharing options...
DKRUBEN Posted September 11, 2017 Share Posted September 11, 2017 def _load_xte_data_callback(url, bytes): try: if bytes: global _xte_data _xte_data = simplejson.loads(gzip.GzipFile(fileobj=StringIO.StringIO(bytes)).read()) for k, v in _xte_data.iteritems(): vinfo = getVehicleInfoData(int(k)) if vinfo is not None: vinfo['avgdmg'] = float(v['ad']) vinfo['topdmg'] = float(v['td']) vinfo['avgfrg'] = float(v['af']) vinfo['topfrg'] = float(v['tf']) self.XTE = vehinfo.calculateXTE(self.vehCD, self.damage, self.frags) @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted September 11, 2017 Share Posted September 11, 2017 (edited) Нет, не работает, И с твоим скриптом в логе ошибки. sirmax, on 11 Sept 2017 - 20:51, said: Как я понимаю, потому что Почините plz какие ошибки покажи??? что в игре не считает или не показывает вообще напиши что происходит то Edited September 11, 2017 by P.S.Enot @ Quote Link to comment Short link Share on other sites More sharing options...
refaol Posted September 12, 2017 Share Posted September 12, 2017 2017-09-11 20:34:00: [ERROR] Traceback (most recent call last): File "./res_mods/mods/packages\xvm_main\python\python_macro.py", line 128, in load_macros_lib execute(code, file_name, {'xvm': XvmNamespace}) File "./res_mods/mods/packages\xvm_main\python\python_macro.py", line 112, in execute raise ExecutionException("{} at file '{}' line {}: {}".format(error_name, file_name, line_number, message)) ExecutionException: ImportError at file 'res_mods/configs/xvm/py_macro\battleEfficiency.py' line 3: cannot import name vehinfo_wn8 1 @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted September 13, 2017 Share Posted September 13, 2017 (edited) Адаптировал к 0.9.20.0. P.S. Еще раз поправил battleEfficiency.rar Edited September 13, 2017 by ktulho 7 @ Quote Link to comment Short link Share on other sites More sharing options...
P.S.Enot Posted September 13, 2017 Share Posted September 13, 2017 Адаптировал к 0.9.20.0. P.S. Еще раз поправил battleEfficiency Огромнейшее спасибо вам @ Quote Link to comment Short link Share on other sites More sharing options...
DKRUBEN Posted September 14, 2017 Share Posted September 14, 2017 Адаптировал к 0.9.20.0. P.S. Еще раз поправил battleEfficiency.rar thx love you. @ 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.