Jump to content
Korean Random
ktulho

Прицел (без сведения) средствами XVM

Recommended Posts

Только что, ktulho сказал:

Интересно, кому я это пишу:

?

извиняюсь прохлопал. тогда оставлю все пока старое . спасибо  

Share this post


Link to post

Short link
Share on other sites

I adjusted my crosshairs, removed some elements and now only use the Penetration Calculator, Info Auto Aim and Sphere. In xvm.log, however, this error occurs:

 

2019-10-11 17:11:28: [ERROR] Traceback (most recent call last):
  File "../res_mods/mods/xfw_packages/xvm_main\python\python_macro.py", line 161, in process_python_macro
    (func, deterministic) = get_function(arg)
  File "../res_mods/mods/xfw_packages/xvm_main\python\python_macro.py", line 152, in get_function
    (func, deterministic) = _container.get(func_name)
TypeError: 'NoneType' object is not iterable
arg='aim.mode'

 

These scripts are installed:

 

chancePenetration.py

infoAutoAim.py

sphere.py

 

Penetration Calculator is working, rest is not yet tested.

 

Edit: Added the old aimingSystem.py, error has gone, but I think its not a solution, because this script don't exist anymore in first post.

 

How to correct the config without aimingSystem.py?

 

battleLabelSight.xc sight.xc

xvm.log

Edited by Heliomalt
dirty solution

Share this post


Link to post

Short link
Share on other sites
14 минут назад, Heliomalt сказал:

Added the old aimingSystem.py, error has gone, but I think its not a solution, because this script don't exist anymore in first post.

Режим прицела.

Edited by ktulho
  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Подскажите, что я не так делаю? Пытаюсь добавить вот такое поле: 

Цитата


	"shells_types": {
      "enabled": true,
      "updateEvent": "PY(ON_AMMO_CHANGED), PY(ON_AIM_MODE), PY(ON_RELOAD)",
      // "scaleX": -1,
      "x": "{{py:aim.mode=arc?110|{{py:aim.mode=sn?160|-120}}}}",
      "y": "{{py:aim.mode=arc?200|{{py:aim.mode=sn?0|140}}}}",
	  "rotation": 0,
       //"borderColor": "0x000000",
      "width": 200,
      "height": 40,
      "screenHAlign": "center",
      "screenVAlign": "center",
	  "alpha" : 80,
      "shadow": { "distance": 1, "angle": 315, "alpha": 70, "blur": 5, "strength": 3, "color": "0x9DA1AA" },
      "textFormat": { "align": "center", "color": "0x000000" },
      "format": "заряжен <font size='18'>{{py:sight.shellType}}</font>"
    }

 

Сам текст есть, но вот координаты не применяются, в чем проблема?

Share this post


Link to post

Short link
Share on other sites
1 час назад, Hawk1983x сказал:

"x": "{{py:aim.mode=arc?110|{{py:aim.mode=sn?160|-120}}}}",
"y": "{{py:aim.mode=arc?200|{{py:aim.mode=sn?0|140}}}}",

:announce: https://koreanrandom.com/forum/topic/39885-сборник-py_macro/#sight_mode

"x": "{{py:aim.mode(110,160,-120)}}",
"y": "{{py:aim.y({{py:aim.mode(200,0,140)}})}}",

 

Share this post


Link to post

Short link
Share on other sites

У меня в ближайшие 10 дней нет доступа к компьютеру.

Share this post


Link to post

Short link
Share on other sites
22 минуты назад, SsSOtash сказал:

не работеть reloading.py может надо импортировать baseApp

проверял в воскресенье - все используемые в конфиге скрипты работали штатно, включая reloading.py :hmm:

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites
30 минут назад, SsSOtash сказал:

не работеть reloading.py может надо импортировать baseApp

Каким образом вы это определили . что у вас конкретно не срабатывает ??? и пришлите логи 

Share this post


Link to post

Short link
Share on other sites
3 часа назад, P.S.Enot сказал:

Каким образом вы это определили . что у вас конкретно не срабатывает ??? и пришлите логи 

ничего не произошло и были внесены изменения в reloading.pyc.
Не было никаких изменений в позиции и неправильные метки были изменены

следует ли уменьшить gunReloadTime и как изменить какую папку и папку

Share this post


Link to post

Short link
Share on other sites
1 час назад, HEKPOMAHT сказал:

проверял в воскресенье - все используемые в конфиге скрипты работали штатно, включая reloading.py :hmm:

согласен все работает без глюков

Такое ощущение что человек является либо ботом,  или общается через переводчик. Я не вижу тут что то особой связки речи в его цитате к комментарию .

Share this post


Link to post

Short link
Share on other sites

@SsSOtash пишите на английском, если хорошо им владеете. Прикрепите файлы xvm.log и python.log.

Share this post


Link to post

Short link
Share on other sites

Проблем с работой скрипта reloading.py не замечаю, всё работает как положено.

Share this post


Link to post

Short link
Share on other sites
4 часа назад, ktulho сказал:

@SsSOtash пишите на английском, если хорошо им владеете. Прикрепите файлы xvm.log и python.log.

Eтам нету error файл update 1.6.1.0 и 1.6.4.1 можно за scripts файлы есть gunReloadTime пж помогите 

Share this post


Link to post

Short link
Share on other sites
1 час назад, HEKPOMAHT сказал:

 

448112b0ddc35ac602b7b22d0d86976e.jpg

Можно завтра кину скрин.

Можно на другой файлу gunReloadTime изменить на пример wot/res/packages/script 

Share this post


Link to post

Short link
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...