Current time: 22.11.2024, 08:20 Hello There, Guest! (LoginRegister)
Language: english | russian  

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

Posts: 1175
Post: #1996

Berserker, I see thanks.

Currently SN:D doesn't include UN:R2 refreshing reouces bar, would you consider improve it?


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

Posts: 16657
Post: #1997

Afair, it's not always desirable to update resources bar. Am I wrong?


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

Posts: 1175
Post: #1998

I see. Personally, I didn't encounter anything that I didn't wish to update the res bar (if applicable), but I completely understand that could happen for someone staying on Windows 2003 148


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 02.04.2022 13:55 by Archer30.)
02.04.2022 08:55
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1999

Iirc, sometimes you can update adv map, having some dialog opened over it, but updating resource bar causing resource bar to display on the top z-plane, which seems like glitch visually.


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

Posts: 1175
Post: #2000

I see, let's keep it the current way then.
____

I have a finding today, and I am not sure whether this is intended, so I ask here.

Is this correct that the arguments of MF1 trigger can be out of range? It happens with Fireshield, when Efreet Sultan is killed, its fire shield triggers MF1 with a big number as the attacker's ID and my BM:T was screwed up.


This doesn't make much sense, especially considering the alias "OnMonsterPhysicalDamage". What do you think? 102


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 03.04.2022 19:30 by Archer30.)
03.04.2022 19:24
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2001

Fire Shield damages physically, that's correct.
Cannot find the place, where I would add !#VA(atkStack:x) (defStack:x) parameters to MF1 trigger. Could you point to documentation, where you read about it?


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

Posts: 1175
Post: #2002

Berserker, my miss lol. Sorry for that. I learned from some ancient Chinese scripts about MF1 and thought x1/x2 were officially declared as attacking stack/defending stack. So basically if I add
it would still be safe to use in this way, yes?


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 04.04.2022 07:39 by Archer30.)
04.04.2022 07:36
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2003

As far as I know, MF1 does not receive any x-parameters. MF:N returns defending stack, but there is no concept of attacking stack in the trigger.
Trigger intercepts function DealPhysicalDamage. This function is called by Moat, Towers, Fire Shield and regular stack strikes. We do not know the source of aggression in it.


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

Posts: 1175
Post: #2004

I see. Currently, my buggy script is used by TUM players. 148 We have got a larger number of samples to test whether x1 as the attacker for MF1 is reliable


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

Posts: 1175
Post: #2005

I propose this to be added at the end of 9999 era - stdlib.erm / auto-completion of sublime


Just returning a constant, but it is rather useful and important. This funcion here is required to convince mod makers to always get the last art ID by using it. In TUM, I have my own FU(GetMaxArtifactId) to return the correct art ID without duplicates, which is desirable to be used by others as well.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 08.04.2022 19:33 by Archer30.)
08.04.2022 17:22
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2006

Agree. Just add it and send updated file to daemon_n.


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

Posts: 1175
Post: #2007

Berserker, thanks for approving.

We encounter an issue with Amethyst 2 x SN:H^monname^.

According to Majaczek, SN:H does not support creatures after 196. I tried to change the description of #311 and it corrupted the portrait of Orrin.

Majaczek claims that in order to fix the problem, changes have to be made from ERA, like "expanding the table".

Is this true though? 102 Will it be easier to be done via era, or fix from Amethyst?
You can find the source of the plugin here:
https://gitlab.com/Knightmarevive/_h3era...2/amethyst


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 09.04.2022 06:20 by Archer30.)
09.04.2022 06:12
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1175
Post: #2008

Berserker, hi! I just realise that we have no multiple choices support for Radio dialogue. As I see from Era Framework, it may not be difficult to fix. It is only not sure how you would like to proceed. What do you think about it?



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

Posts: 16657
Post: #2009

About SN:H. Tell majaczek to call Era API in OnAfterWoG plugins event:

RedirectMemoryBlock(7D0C90 /* old wog monsters table */, old table size, new address);

Also RedirectMemoryBlock must be called for the following wog tables:

MonNamesSettingsTable: PMonNamesSettingsTable = Ptr($A48440);
MonNamesSingularTable: Utils.PEndlessPcharArr = Ptr($7C8240);
MonNamesPluralTable: Utils.PEndlessPcharArr = Ptr($7B6650);
MonNamesSpecialtyTable: Utils.PEndlessPcharArr = Ptr($7C4018);
MonNamesSingularTableBack: Utils.PEndlessPcharArr = Ptr($A498A8);
MonNamesPluralTableBack: Utils.PEndlessPcharArr = Ptr($A48128);
MonNamesSpecialtyTableBack: Utils.PEndlessPcharArr = Ptr($A88E78);

---------------------------------

I didn't implement support for multichoice dialogs, they are not radio, but checkbox dialogs and most API functions should be changed. No easy solution.


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

Posts: 1175
Post: #2010

Berserker, thanks for the info!


Latest ERA mods and scripts in development - My GitHub
15.04.2022 12:15
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