Jump to content
Korean Random
ktulho

Сборник py_macro

Recommended Posts

В 28.5.2018 в 16:47, ktulho сказал:

Added a modification:

 

option to adjust alpha? it's bright as the sun in max settings.

Share this post


Link to post

Short link
Share on other sites

Вынес, в аддоне Цвет границы карты, настройку цвета в конфиг.

  • Upvote 4

Share this post


Link to post

Short link
Share on other sites

thank you! @ktulho but match isn't loading:

 

 

2018-06-04 13:44:10.305: ERROR: Traceback (most recent call last):
2018-06-04 13:44:10.305: ERROR:   File "scripts/client/gui/battle_control/arena_info/listeners.py", line 514, in __loadCompleteDelayed
2018-06-04 13:44:10.305: ERROR:   File "scripts/client/gui/battle_control/arena_info/listeners.py", line 574, in __onSpaceLoadCompleted
2018-06-04 13:44:10.305: ERROR:   File "scripts/client/gui/battle_control/arena_info/listeners.py", line 102, in _invokeListenersMethod
2018-06-04 13:44:10.306: ERROR:   File "scripts/client/gui/battle_control/controllers/arena_border_ctrl.py", line 79, in spaceLoadCompleted
2018-06-04 13:44:10.306: ERROR:   File "mods/xfw/python/xfw/events.py", line 71, in <lambda>
2018-06-04 13:44:10.306: ERROR:   File "res_mods/configs/xvm/py_macro\borderColor.py", line 12, in ArenaBorderController__getCurrentColor
2018-06-04 13:44:10.306: ERROR:     color = int(config.get('battle/borderColor/color', COLOR), 16)
2018-06-04 13:44:10.306: ERROR: TypeError: int() can't convert non-string with explicit base

Share this post


Link to post

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

but match isn't loading:

Исправил.

 

@Kaeptn 

    "borderColor": {
      "color": "0x00ff00",
      "alpha": 100
    },

battle.xc

Share this post


Link to post

Short link
Share on other sites

oh i'm stupid, didn't read that: 

2 часа назад, ktulho сказал:

Brought, in the add-on  Color of the border of the map,  setting the color in the config.

 

 

i've made changes to the py as in the older version... work just fine now

Share this post


Link to post

Short link
Share on other sites

донесение

Скатал пару боёв на тесте с почти готовым Build 8424 - кроме известных нюансов скрипты работают, логи чистые, ошибок нет.

  • Upvote 2

Share this post


Link to post

Short link
Share on other sites
17 hours ago, Kaeptn said:

would it be possible to create a script that allows for html links (openeing in ingame browser) in widgets?

4


I did this by using a key press instead of a link. A variation of ktulho's siteXVM.py...
https://koreanrandom.com/forum/topic/43273-simple-config-version-check-in-the-hangargarage/
(The last message shows what to change to add the built-in browser function.)

 

Edited by SmashPuppet

Share this post


Link to post

Short link
Share on other sites
В 16.06.2018 в 09:20, Kaeptn сказал:

would it be possible to create a script that allows for html links (openeing in ingame browser) in widgets?

Добавил аддон "Внутриигровой браузер".

 

  • Upvote 4

Share this post


Link to post

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

How is it in the RU region?

Не знаю.

Share this post


Link to post

Short link
Share on other sites

@ktulho 

есть какие мысли это исправить?

В 28.05.2018 в 22:09, HEKPOMAHT сказал:

{{py:isBattle}} с событием - постоянно небольшой фриз-задержка в начале боя.

желательно конечно чтоб без задержек было.

может что придумаешь..

Share this post


Link to post

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

есть какие мысли это исправить?

Нету. Sirmax же вроде ответил, от меня там ни чего не зависит. 

Share this post


Link to post

Short link
Share on other sites
В 28.05.2018 в 22:26, sirmax сказал:

Скорей всего проблема в том, что макрос динамический, и при добавлении в уши получается довольно тяжело 30 раз его дернуть.

так а изменить что-то можно или забить на задержку?

Share this post


Link to post

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

так а изменить что-то можно

Я ни чего не могу. Может быть можно "облегчить" твой конфиг. 

Share this post


Link to post

Short link
Share on other sites

так а что облегчать, если поле простое как грабли:

"test": {
  "updateEvent": "PY(ON_BEGIN_BATTLE)",
  "format": "{{py:isBattle?да|нет}}"
},

может Макс в экстаполях что-нить изменит...

или может там нюансы есть какие

Share this post


Link to post

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

так а что облегчать, если поле простое как грабли:


"test": {
  "updateEvent": "PY(ON_BEGIN_BATTLE)",
  "format": "{{py:isBattle?да|нет}}"
},

Если надо для каждого игрока что-то изменить в начале боя, то нечего. 

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...