Current time: 22.04.2024, 03:44 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Ошибки, баги и недочёты ERA
» crash logs / errors / bugs of era
Author Message
igrik Offline
Administrators

Posts: 2814
Post: #721

Что-ж, будем смотреть. Но пока что ничего не обещаю в качестве решения.

Перенёс все сообщения в соответствующую тему. © Я


game bug fixes extended.dll || My Plugins || My GitHub
05.02.2024 14:58
Visit this user's website Find all posts by this user Quote this message in a reply
igrik Offline
Administrators

Posts: 2814
Post: #722

Исправлен баг с умиранием командира после пропуска хода после загрузки сохранения. Плагин game bug fixes extended.dll обновлен.

(05.02.2024 14:34)major Wrote:  Кстати, если речь зашла о багах, то есть еще баг полупрокаченного командира. При старте новой игры параметры командира сбрасываются неполностью.
Этот баг я не подтверждаю. Тут что-то в самой ERA+


game bug fixes extended.dll || My Plugins || My GitHub
05.02.2024 18:38
Visit this user's website Find all posts by this user Quote this message in a reply
XEPOMAHT Offline
Moderators

Posts: 2270
Post: #723

(05.02.2024 14:34)major Wrote:  Кстати, если речь зашла о багах, то есть еще баг полупрокаченного командира. При старте новой игры параметры командира сбрасываются неполностью.

Установлена старая версия ERA+. Установите последнюю версию, где этот баг был исправлен (если не хотитесь обновляться, то в воговском коде выключайте функцию копирования структуры командира из бэкапа, которая портит расширенную структуру командира ЭРЫ+ после повторного запуска карты. Эта функция - очередной воговский кастыль, который поздно был выявлен и отключён).

PS: Фабрику можно было бы добавить 11-м городом, а Фордж переставить на 13-й, если бы был готовый програмный код для всех спецстроений и способностей монстров Фабрики. Т.к. Фордж - по прежнему бланковый город в ЭРЕ+.
05.02.2024 20:18
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #724

igrik, thanks.

Here I'd like to report a problem of !!SN:R command gets buggy with HD mod's loading during the battle feature.

Loading from a battle could break the functionality of SN:R for spell animations, making it invalid.

Steps to reproduce:
- Start a new game
- Save game
- Start a fight
- Run any script to check if SN:R for spell animation is working. Here's mine:
If you press 4 or 5, the animation of Inferno or Fire Ball would be played on stack #0.
- Load the save game during the battle (HD mod feature) or Replay the battle
- Start a fight and find 4 and 5 plays only one animation. SN:R no longer works.
- Start a new map, issue persists. Only restarting the game instance would resolve.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 06.02.2024 17:05 by Archer30.)
05.02.2024 20:31
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #725

It could mean again, that Baratorch's way to exit battle (using goto hack) is unsafe. If C04SPF0.def resource counter is by unknown reason is not 0, then it will be kept in memory forever and SN:R works only when resource is fully unloaded and an attempt to load it by name is performed. Did you try to enter main menu and start new game AFTER a bug and check, whether the bug still persists or not?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
06.02.2024 00:01
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #726

Quote:Did you try to enter main menu and start new game AFTER a bug and check, whether the bug still persists or not?
It persists. Only restarting the game instance could fix.

Well, any workaround for "Playing a custom animation on multiple stacks simultaneously"?

Edit:
Using BattleReplay results in the same problem. The issue is exactly the same as using HD mod loading save game from battle.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 06.02.2024 15:56 by Archer30.)
06.02.2024 04:45
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #727

I reported to baratorch about defs RefCount issue. The remaining question is about safe trigger to play first battle animation?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
06.02.2024 17:24
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #728

Quote:The remaining question is about safe trigger to play first battle animation?
yeah that's one of them.
In fact, I feel like any screen animation/screen update (SN:D) is not safe before OnBattleRound&v997=0. I experienced updating the screen OnBattleRound&v997=0 and the game crashed with a low chance.

Note that replaying battle also ruins SN:R for spell animation, should that be fixed in battlereplay plugin?


Latest ERA mods and scripts in development - My GitHub
06.02.2024 17:31
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #729

Quote:Note that replaying battle also ruins SN:R for spell animation, should that be fixed in battlereplay plugin?
I don't know. At first glance it seems like combat resources releasing occurs in some AfterBattle trigger, and SN:R works only on resource loading from pac/s, not from memory cache. What if we replay battle, then finish battle and start new battle? Will SN:R be working again?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
06.02.2024 20:43
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #730

Same as hd loading during battle, the behavior of SN:R can only be corrected after restarting era


Latest ERA mods and scripts in development - My GitHub
06.02.2024 22:44
Find all posts by this user Quote this message in a reply
XEPOMAHT Offline
Moderators

Posts: 2270
Post: #731

Воговские диалоги с прокруткой поддержку этой вещи так и не сделали:

Quote: Images can be aligned vertically using the following attribute: valign=top|middle|bottom.
    Examples:
    {~>ava0037.def valign=bottom}
    {~>smalres.def:5}

    Vertical alignment modes:
    - 'top'. Image is drawn from the top left pixel of current character box.
    - 'middle'. Image is vertically centered relative to current text line height. This is the default mode for inline images.
    - 'bottom'. Image is drawn so, that it's bottom edge matches current text line bottom edge.

В обычном диалоге вроде бы работает, а с прокруткой - def всегда рисуется в левом верхнем углу. 105
06.02.2024 23:38
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #732

Archer30, thanks. And what if we don't use both battle replays and hd quit menu, will SN:R work reliably between battles? Seems like both battlereplay and HD mod's way do not allow game to release battle resources. It's not memory leak, just infinite time caching.

XEPOMAHT, а в каких именно диалогах не работает?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
07.02.2024 03:08
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #733

Berserker, Without BattleReplay/HD quit menu, SN:R also doesn't work between battles lol 148 Looks like I am too late to find out...


Latest ERA mods and scripts in development - My GitHub
07.02.2024 03:26
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16488
Post: #734

Argh ) Maybe it's particular resource or animation, which is never unloaded by game after usage? Did you try another def?


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
07.02.2024 03:53
Find all posts by this user Quote this message in a reply
XEPOMAHT Offline
Moderators

Posts: 2270
Post: #735

(07.02.2024 03:08)Berserker Wrote:  а в каких именно диалогах не работает?

Под команды !!DL, диалоги для которых из текстовиков собираются. Тифон использует собственные переходники для вызова !!DL-команд без использования ERM, портированые с MoP, возможно, под ЭРУ нужно что-то дописывать...
07.02.2024 10:36
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group