Current time: 24.11.2024, 12:57 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
ERA III
Author Message
XEPOMAHT Offline
Moderators

Posts: 2356
Post: #1396

(02.06.2021 23:17)Berserker Wrote:  разве это не HD-мода фишка для предотвращения вылетов? Проверка наличия реального кадра в дефе? Проверь без HD-мода тоже.

Без HD-мода тоже самое. Скорее всего это функционал самого спрайтового движка игры. При чём кадры "пляшут" именно у стартовых армиях. Почему-то именно им нужны все кадры из дефа, иначе они начинают "отсчёт" нужного кадра с 0 после последнего физического 105
(This post was last modified: 03.06.2021 00:07 by XEPOMAHT.)
02.06.2021 23:56
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1397

XEPOMAHT, возможно, это функционал элементов формы, всяких DlgDefItem. Элемент формы грузит def, проверяет номер кадра с максимальным числом кадров и меняет номер кадра. Вспомнил, там операция остатка от деления на число кадров в дефе. Так что да, придётся болванку сделать. Продублировать один прозрачный кадр, например.

Valery, either change ZVSE to ZVSE2 to enable ERM 2.0 features like constants (UNC_INT) is constant, not a function name or try:



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

Posts: 2196
Post: #1398

Hmm, here is the issue:

First script you gave, I add ZVSE2 in header, right?
I load game, press F12, bunch of errors (unknown constant global

Second script

If I load save game before the battle I did before testing, then F12, no clone
If I load previous Battle save (igrik plugin) then F12, clone come first round ( so ok).
If I attack a creature bank with Kyrie (has tactics) after F12, battle ok
If I attack same creature bank with another hero (no tactics) after F12, crash every time

It worked only when I loaded Battle.gm1, 105
(This post was last modified: 03.06.2021 00:24 by Valery.)
03.06.2021 00:14
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1399

Tested script v2 without issues on new game several times. Checked in debugger: the code is really changed/restored.

Try load single game, F12, save, restart game process.


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

Posts: 2196
Post: #1400

Ok, I added more infos in previous post, tested more on why one hero crashed and not the other. Will do now.

Edit: saving the restarting the game did it, vodooo Ab

Thanks a lot
(This post was last modified: 03.06.2021 00:29 by Valery.)
03.06.2021 00:26
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1401

This is alternative bin patch: https://dropmefiles.com/ZZByr
Misspelled in file name.


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

Posts: 2196
Post: #1402

Hey, I don't agree it was buggy. It did exactly what it said, clones second round. When you have tactics and the other hero not, you get 1 extra round where you can move your units (limited range but still). For me it made sense.

So will change plugin name to some decent one 103
(This post was last modified: 03.06.2021 00:34 by Valery.)
03.06.2021 00:32
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #1403

Plugin didn't work. Placed it in my mod global plugin, should it go in afterwog maybe?
Changing the plugin name has some negative effect?
(This post was last modified: 03.06.2021 00:38 by Valery.)
03.06.2021 00:37
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1404

Argh, sorry, patch will not, it's executed before Era's patch.

Quote:Edit: saving the restarting the game did it, vodooo
Better use ERM code in this case.

Quote:Hey, I don't agree it was buggy. It did exactly what it said, clones second round. When you have tactics and the other hero not, you get 1 extra round where you can move your units (limited range but still). For me it made sense.
It's a technical bug, because for gamer round 1 and round 2 have definite meaning in all TBS battles. Duplicating round 0 is a bug of messy internal implementation, nobody should be aware of. Imagine game combo arts applying spells would depend on tactics phase. Like Armory of the Damned.

Quote:you get 1 extra round where yo
Nope, tactics rounds are limitless and have negative values. The bug was with duplicating round 0 in a dark phase before tactics phase due to a code mess, when even no battlefield was drawn.


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

Posts: 2196
Post: #1405

Ok, keep that last script then. ThanksSm
03.06.2021 00:50
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1406

Welcome aboard 4


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

Posts: 610
Post: #1407

Berserker, good job Lord! We recover one of our main heroes 174
03.06.2021 01:07
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1408

Valery never died. He was always in our hearts Wub


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

Posts: 2196
Post: #1409

Well, I started working on in 2009 then non stop. 11 years later I need some rest, I just want playing. And here comes win 10.
03.06.2021 02:03
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #1410

After using Trainer mod, I get clipping graphics then all game is infected with parts of graphics appearing here and then. Restarting game doesn't help, I have to disable Trainer then F12 to get rid of. Any idea of what could cause such things?

I didn't even use its features, just opened the main dialog, then after closing all started. Conflict with native dialogs or something else?
(This post was last modified: 03.06.2021 15:42 by Valery.)
03.06.2021 15:37
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