Current time: 28.11.2024, 17:29 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
ERA III
Author Message
daemon_n Offline
Administrators

Posts: 4343
Post: #2206

igrik, разрешены. С 3.1+, кажется


Image: widget.png?style=banner2

Новейший Heroes Launcher
15.03.2023 13:47
Visit this user's website Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2207

igrik, да, разрешены и означают =(TRUE).


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

Posts: 1175
Post: #2208

I thought that's !=(FALSE)?


Latest ERA mods and scripts in development - My GitHub
15.03.2023 23:52
Find all posts by this user Quote this message in a reply
daemon_n Offline
Administrators

Posts: 4343
Post: #2209

Archer30, !false is equal to true :mon_demon:


Image: widget.png?style=banner2

Новейший Heroes Launcher
16.03.2023 03:29
Visit this user's website Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2210

There are several consistency problems of the wog stack exp abilities. Not sure if anybody cares. For example:

1. Firebird and Phoenix have the strongest Fire Shield ability in the game. It possesses all the allies with Fire Shield on high rank. However, Sacred Phoenix loses this ability completely.
2. Gorynyches are fearless. Yet they still got the fearless stack exp ability for some reason.


Latest ERA mods and scripts in development - My GitHub
16.03.2023 06:53
Find all posts by this user Quote this message in a reply
Panda Away
Moderators

Posts: 1005
Post: #2211

Berserker, XEPOMAHT,
спасибо за разъяснения.

Глюк с обновлением патчера при обновлении HD-мода.

(версия патчера должна быть ниже 4.15.1 или выше 4.17.3, то, что между этими версиями - глючит).
Ну, версию ниже 4.15.1 можно взять из архива или чистой сборки, там HD-мод 5.3 R6, а вот где взять версию выше 4.17.3 - вот в чем вопрос, т.к. сейчас при обновлении у меня последняя 5.4 R26, но версия патчера там 4.17.2.


Тот, кто просыпается рано - жаворонок, поздно - сова. А тот, кто плохо спит и ходит с черными кругами под глазами - панда!
17.03.2023 07:27
Find all posts by this user Quote this message in a reply
XEPOMAHT Online
Moderators

Posts: 2356
Post: #2212

(17.03.2023 07:27)Panda Wrote:  сейчас при обновлении у меня последняя 5.4 R26, но версия патчера там 4.17.2.

Начиная с версии 5.3 R15 должен обновиться до 4.17.3. Возможно, из-за багов откатили до 4.17.2 или в логе обновлений ошибка. Лично я обновлял только патчер (т.к. именно он нестабильно и работал), сам HD-мод у меня 5.3 R11, но по логу правятся ошибки, включаяя критические, так что более предподчтительнее именно 5.4 R26 (я не поспеваю за обновлениями HD-мода, т.к. вручную муторно, это не ЭРА, где для обновления под ЭРА+ достаточно заменить 1 dll).
17.03.2023 10:00
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2213

Quote:I thought that's !=(FALSE)?
You're right.


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

Posts: 1175
Post: #2214

There is a Heroes 3 bug in ERA. Disguise spell shows different levels of effect for different players.

Here's what you would see after casting Expert Disguise:
And here's what your opponent would see:
According to wiki, the second picture is wrong. The opponent should see all 0 (expert effect) like in the first picture.


Latest ERA mods and scripts in development - My GitHub
17.03.2023 13:43
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2215

It looks to me that the 5th parameter of BM:C, checking whether the position has a valid stack uses a bad way to check.

The BM:C spell won't be cast if the 5th parameter is TRUE, and the casting position is at a 2-hex unit's head.

While BM:C behaves out of expectation, BU:E works quite well. It correctly returns the stack ID when checking the hex of the head of a 2-hex unit.

My question is, is it possible to let BM:C uses to the same method of checking as BU:E?


Latest ERA mods and scripts in development - My GitHub
20.03.2023 19:17
Find all posts by this user Quote this message in a reply
XEPOMAHT Online
Moderators

Posts: 2356
Post: #2216

(20.03.2023 19:17)Archer30 Wrote:  My question is, is it possible to let BM:C uses to the same method of checking as BU:E?

Можно. Но для этого понадобится СИ-шный компилятор, чтобы заменить этот код

Code:
            if(Check){ // если надо проверять
                for(i=0,st=-1;i<(21*2);i++){
                    // 3.58 Tower skip
                    if(i==20) continue; // 3.58
                    if(i==41) continue; // 3.58
                    tmon=&bm[0x54CC+0x548*i];
                    if((*(int *)&tmon[0x38])==Pos){ st=i; break; }
                }
                if(st==-1) break;
                tmon=&bm[0x54CC+0x548*st];
                if((*(int *)&tmon[0x4C])==0) break; // монстр уже убит
            }

на этот

Code:
            bh=(char *)GetHexStr(v);
            if(bh==0){ MError("\"!!BU:E\"-incorrect hex number."); RETURN(0) }
            if(bh[0x18]==-1){ // нет живого стека
                st=-1;
            }else{
                st=(int)bh[0x18]*21+(int)bh[0x19];
            }

Т.е. спросите о подобном плагине для тех, кто пишет на СИ (не смогу помочь с этим).
20.03.2023 20:44
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2217

XEPOMAHT, thank you very much. I believe this fix should be in ERA Rolleyes


Latest ERA mods and scripts in development - My GitHub
21.03.2023 13:25
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2218

There is another inconsistency with these 2-hex things.

In heroes 3, for Magog and Liches, we are able to choose which hex to attack on a 2-hex unit by mouse-clicking. This is crucial to maximize the effect of the attack and reduce the friendly fire.

Yet in WoG stack experience abilities - spell casting before/after attacks, this mechanism is lost. The spell will always be cast on the BM:P result of the 2-hex unit, instead of the hex mouse clicked.
You might think this is ok, yet when playing Magog, you would immediately feel uncomfortable. Magog has a 50% chance to cast Fireball before attacks on Ace rank. If you mouse click on the head of a 2-hex unit, you would see the first Fireball (stack exp ability) explode on the hip of the unit, and the second Fireball (attack) explodes on the head. I don't see a reason this attacking stack exp ability should have a different mechanism. Just like hero casting, you should be able to choose which actual hex to cast on attacks.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 23.03.2023 03:48 by Archer30.)
23.03.2023 03:47
Find all posts by this user Quote this message in a reply
XEPOMAHT Online
Moderators

Posts: 2356
Post: #2219

(23.03.2023 03:47)Archer30 Wrote:  Magog has a 50% chance to cast Fireball before attacks on Ace rank. If you mouse click on the head of a 2-hex unit, you would see the first Fireball (stack exp ability) explode on the hip of the unit, and the second Fireball (attack) explodes on the head. I don't see a reason this attacking stack exp ability should have a different mechanism. Just like hero casting, you should be able to choose which actual hex to cast on attacks.

WoG-ability magogs is cast original spell. SoD-ability magogs not cast spell, only adding damage surround stacks after attack with Fireball animation. It is different game mechanics.
23.03.2023 07:33
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2220

Yes, they are different. One is a normal attack and one is spell casting. But why should they use different strategies for positions? There is no reason, right? When a hero casts Fireball, the Fireball would appear in exactly the position of mouse-clicking. The same applies to Magog's normal attacks. That's why stack exp Fireball casting in the mouse-clicking position would also be favored. It follows the original H3 logic.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 25.03.2023 01:43 by Archer30.)
24.03.2023 07:28
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