Jump to content
Korean Random
AntonVK

[1.21.0.x] Цифровые часы, аналоговые часы и калькулятор в ангаре (с конфигом)

Recommended Posts

ок. я ещё не обновлялся. Постараюсь сделать побыстрее.

Работает итак все хорошо,проблем не наблюдается!!!

Share this post


Link to post

Short link
Share on other sites

Боюсь это не с этим модом связано, потому что таких проблем нет у меня, например.

Где то на оффоруме проскакивало про проблему с дамаг панелью (при использовании кастомной панели, ангар не грузится после боя иногда)

[0.9.19] Fix зависания при выходе в ангар

 

и у меня не тот глюк у меня после боя карусель пропадало, а если зайти куда нибудь например в достижения а топом нажать ангар, то все опять появлялось и норм работает

а ты про др, ошибку мне говоришь, мол  у кого с модами зависает клиент при выходе в ангар.

вот так после боя все становится

 

 

а кнопка это мод глючит от автора  Polyacov_Yury, хотя говорил мол исправил, а у меня выдает ошибку

 

пс

короче говоря я все моды себе обновил

Работает итак все хорошо,проблем не наблюдается!!!

поставь себе этот мод [0.9.19.0] Vertical Techtree (01-06-2017)  или архив если тебе не сложно и проверь

так сказать помоги найти кто там шалит

спс

Share this post


Link to post

Short link
Share on other sites

а кнопка это мод глючит от автора  Polyacov_Yury, хотя говорил мол исправил, а у меня выдает ошибку

 

angelsoft,у меня кнопка в text сделана в menu,mo.Такое самое иногда бывает.Так что хз как Юра исправит если и напрямую такое происходит.Просто выбрал другой танк и кнопка нормально отображается.Хз чего оно так.

Share this post


Link to post

Short link
Share on other sites

angelsoft,у меня кнопка в text сделана в menu,mo.Такое самое иногда бывает.Так что хз как Юра исправит если и напрямую такое происходит.Просто выбрал другой танк и кнопка нормально отображается.Хз чего оно так.

это я знаю

ок. я ещё не обновлялся. Постараюсь сделать побыстрее.

https://koreanrandom.com/forum/topic/39611-нужна-помощь-пропадает-карусель-танков-после-б/

Share this post


Link to post

Short link
Share on other sites

У меня всё работает нормально с обновлением из этого поста

 

https://koreanrandom.com/forum/topic/13505-09171-часы-и-калькулятор-в-ангаре-с-конфигом/?p=383104

 

Пока, увы, нет времени заняться. Но обновляться буду. 

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Обновления для текущей версии игры в шапке.

Теперь работает из пакетов .wotmod. Версия для res_mods более поддерживаться не будет

ВНИМАНИЕ! Если в текущей версии игры пользовались версией для res_mods, перед обновлением её необходимо удалить, иначе игра не загрузится.

Конфиги теперь будут находится в <путь установки игры>\World_of_Tanks\mods\configs\AntonVK. Свои можно переносить туда и заменять, в формате ничего не изменилось.

  • Upvote 3

Share this post


Link to post

Short link
Share on other sites

Не работает. Пишет в лог вот так

2017-08-29 10:38:53.888: ERROR: Traceback (most recent call last):
2017-08-29 10:38:53.888: ERROR:   File "scripts/client/gui/Scaleform/framework/application.py", line 421, in onAsInitializationCompleted
2017-08-29 10:38:53.888: ERROR:   File "scripts/client/gui/Scaleform/framework/entities/EventSystemEntity.py", line 7, in fireEvent
2017-08-29 10:38:53.888: ERROR:   File "scripts/client/gui/shared/event_bus.py", line 45, in handleEvent
2017-08-29 10:38:53.888: ERROR:   File "mod_hangarClock", line 50, in <lambda>
2017-08-29 10:38:53.888: ERROR:   File "mod_hangarClock", line 55, in AppStarted
2017-08-29 10:38:53.888: ERROR:   File "scripts/client/gui/Scaleform/framework/application.py", line 325, in loadView
2017-08-29 10:38:53.888: ERROR:   File "scripts/client/gui/Scaleform/framework/managers/containers.py", line 1014, in load
2017-08-29 10:38:53.888: ERROR: AttributeError: 'str' object has no attribute 'viewKey'

Буду пытаться понять что опять поменялось и как это исправить.


Проблема локализована. В течении сегодняшнего дня постараюсь обновить мод.


Обновлено до текущей версии игры. Обновления в шапке.

  • Upvote 3

Share this post


Link to post

Short link
Share on other sites
On 18.02.2018 г. at 8:36 PM, AntonVK said:

Добрый вечер!

 

Обновлено до текущей версии игры.

Hi. I made my own configuration of your mod but there's one thing I couldn't change - the position of the semicolon separator. Is there any way I can center it between the numbers? As you can see on the screenshot below the semicolon is closer to the minutes number and farther from the hours number.

 

shot_013.jpg

Share this post


Link to post

Short link
Share on other sites
On 2/22/2018 at 4:05 PM, rado84 said:

Hi. I made my own configuration of your mod but there's one thing I couldn't change - the position of the semicolon separator. Is there any way I can center it between the numbers? As you can see on the screenshot below the semicolon is closer to the minutes number and farther from the hours number.

 

shot_013.jpg

 

 

There is no way to change the position of the semicolon separator. It depends on font family, font size and automatically calculated by formula.

 

			clockSep1.visible = true;
			clockSep1.width = clockSep1.textWidth + 2;
			if(clockSep1.width < 10) {
				clockSep1.width = 10;
			}
			clockSep1.height = clockSep1.textHeight;
			clockSep1.x = clockHrs.x + clockHrs.width;
			clockSep1.y = clockHrs.y;
			clockSep1.defaultTextFormat = clockTextFormat;
			clockSep1.embedFonts = true;

 

In your screenshot it's look like space symbol is typed in the configuration file

<formatHrs>{HH}</formatHrs>
<formatHrs>{HH} </formatHrs>

 

Share this post


Link to post

Short link
Share on other sites

There is no space there - that was the first thing I checked for and made sure there is no space. I did that twice.

 

Screenshot_001.jpg

 

 

 

This looks like C# and I know C# only on basic level (never seen the face of Python) but I wonder what would happen if you add this to the formula?

else(clockSep1.width > 10)
{
	txtAligned.Style[clockSep1] = "center";
}

Or maybe you can add that formula to the xml file and allow us to experiment with it, so that we can fix such problems as the one I described?

Share this post


Link to post

Short link
Share on other sites
9 hours ago, rado84 said:

There is no space there - that was the first thing I checked for and made sure there is no space. I did that twice.

 

Screenshot_001.jpg

 

 

 

This looks like C# and I know C# only on basic level (never seen the face of Python) but I wonder what would happen if you add this to the formula?


else(clockSep1.width > 10)
{
	txtAligned.Style[clockSep1] = "center";
}

Or maybe you can add that formula to the xml file and allow us to experiment with it, so that we can fix such problems as the one I described?

 

It's no Python, it's AS3.

 

All elements are in the separate text boxes and all except date and day of the week are centered by default inside this text boxes.

 

The output format <format>{HH}:{mm}:{ss}</format> is not implemented now as there were problems with separator behavior in some cases with some fonts.

 

Now, it's calculated in the next way, for example:

- clockHrs text box width is 36 px (centered by default)

- clockSep1 text box width is 10 px (centered by default)

- clockMin text box width is 36 px (centered by default)

 

When only output the digits - everything is ok. But when you type some addition symbols the width of the text box becomes greater, for example clockMin text box becomes 48 px instead of 36. But aligning by center is working and you can see your picture.

 

I drew a table in MS World to illustrate this behavior.

 

Now, I have no time to correct this. The only and simple way is to add an additional text box, where you can put you symbols.

 

2018-02-26 (1).png

2018-02-26.png

On 2/19/2018 at 3:02 AM, Slava7572 said:

К сожалению баги остались.

 

написал на оф форуме, но к сожалению конфликты с другимим модами будет решить сложно.

Edited by AntonVK

Share this post


Link to post

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

написал на оф форуме, но к сожалению конфликты с другимим модами будет решить сложно.

конфликт вроде только с ПМОД и то если дефолтную панель счета выбирать в настройках.  тока я не пойму как ангарные часы лезут в бой? ))) и еще в прошлый раз когда была точно такая же проблема как ты её решил? ведь было же именно так. (не помню правда в каком патче это было)

Share this post


Link to post

Short link
Share on other sites
3 hours ago, ЛОМ said:

конфликт вроде только с ПМОД и то если дефолтную панель счета выбирать в настройках.  тока я не пойму как ангарные часы лезут в бой? ))) и еще в прошлый раз когда была точно такая же проблема как ты её решил? ведь было же именно так. (не помню правда в каком патче это было)

 

Проблема с пмодом подробно описана товарищем с оф. форума. Что интересно, характерна только для одного варианта конфига пмода.

 

Аналогичной проблемы, прямоугольник в интерфейсе, я не помню. Была проблема - курсор зависал намертво. но это было после изменений в патче. Если что-то и решалось вдруг с пмодом, то я вно не с моей стороны.

 

Без понятия, как часы и калькулятор соприкасаются с боевым интерфейсом. Может они и не соприкасаются, но флешки и скрипты то всё равно грузятся и соприкасаются.

Edited by AntonVK

Share this post


Link to post

Short link
Share on other sites
10 часов назад, AntonVK сказал:

к сожалению конфликты с другимим модами будет решить сложно.

Да,я видел,жаль конечно...может Полироиду написать,но он пмод не часто обновляет:sad:

Edited by Slava7572

Share this post


Link to post

Short link
Share on other sites

подскажите я умею сам программировать немного, хотелось бы самому написать какой нибудь мод, но как это сделать не знаю.

для примера какие нужны проги, и знание каких языков ?

Share this post


Link to post

Short link
Share on other sites
1 час назад, Денис_Б сказал:

подскажите... какие нужны проги, и знание каких языков ?

 

Вам сюда))

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