Current time: 23.03.2024, 10:39 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Плагины. Обсуждение
» Plugins. Discussion & Questions
Author Message
Berserker Offline
Administrators

Posts: 16449
Post: #391

Valery, the game never allowed to replay the battle. Only the battle replay plugin allow to press Cancel button in battle results screen and start the same battle again. Anyway, the plugin cannot restore everything, the scripts could change (specially, global variables). Thus it generates two ERM events, allowing to reset data manually. In other words, plugin should not be used with complex scripts without scripts adaptation and testing. Battle Save plugin is better for this task, though it allows to pick guarded resources and artifacts.


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

Posts: 1285
Post: #392

(13.05.2021 19:22)Berserker Wrote:  Battle Save plugin is better for this task, though it allows to pick guarded resources and artifacts.
И, самое ужасное, - он позволяет проходить сквозь охраняемые гарнизоны без боя.


Карта-мод "Война на Холсте"
13.05.2021 20:13
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #393

Bers, I see.

I never have battle results before battle, this is HD feature and only available to SoD/Hota, right?

When you do auto-combat, at the end you have an option to replay the battle (two icons, No/Yes), this is the replay I was talking about.
13.05.2021 22:14
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16449
Post: #394

Valery, yep, Baratorch implemented battle reply for SoD/Hota. No scripts there, so he only needed to restore heroes/armies/artifacts.


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

Posts: 604
Post: #395

XEPOMAHT, Thank you very much for the plugin! 96-copy I hope Panda can add it to your assembly Ab
19.05.2021 20:47
Find all posts by this user Quote this message in a reply
PerryR Offline

Posts: 456
Post: #396

Nice plugin and update to MoP XEPOMAHT
132
19.05.2021 22:41
Find all posts by this user Quote this message in a reply
SergOz Offline

Posts: 1285
Post: #397

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

147 Сори, в ERA 3.7 оказывается всё уже в норме.
Нужно было сначала проверить, потом писать.


Карта-мод "Война на Холсте"
(This post was last modified: 20.05.2021 02:07 by SergOz.)
20.05.2021 01:10
Find all posts by this user Quote this message in a reply
igrik Offline
Administrators

Posts: 2807
Post: #398

(20.05.2021 01:10)SergOz Wrote:  Получил я секретную инфу 144, что был исправлен плагин расширенного экрана лога битвы.
Подскажите, пожалуйста, где можно такой обновлённый плагин скачать.

147 Сори, в ERA 3.7 оказывается всё уже в норме.
Нужно было сначала проверить, потом писать.
Первое - это не отдельный плагин - это часть WND.
Второе - да, исправление есть. Но оно касается части алгоритма: ранее при затяжных боях (более 100 раундов) расширенный лог битвы открывался очень долго (игра якобы повисала). Сейчас это происходит мгновенно. Так как исправление не критическое, то обновление будет несколько позже.


game bug fixes extended.dll || My Plugins || My GitHub
20.05.2021 12:22
Visit this user's website Find all posts by this user Quote this message in a reply
SergOz Offline

Posts: 1285
Post: #399

(20.05.2021 12:22)igrik Wrote:  обновление будет несколько позже.
Ждём с нетерпением 121


Карта-мод "Война на Холсте"
20.05.2021 14:05
Find all posts by this user Quote this message in a reply
Raistlin Away
Moderators

Posts: 1348
Post: #400

Я сегодня новый плагин выложил, правда, без исходника. Сейчас подумал и решил, что код тоже можно показать - вдруг пригодится кому Ab
http://wforum.heroes35.net/showthread.ph...#pid124780

Кстати, в первой версии было 3 хука, сейчас я еще разок внимательно посмотрел на код и понял, что можно обойтись одним. Мне самому очень понравилось решение, наверное, как раз поэтому я его и выкладываю 96-copy


Создал новый глобальный мод: WoG Ultra Edition
20.05.2021 23:40
Find all posts by this user Quote this message in a reply
V_Maiko Offline

Posts: 604
Post: #401

Raistlin, I don't understand what the plugin is about, the translator doesn't tell me anything logical in the title, what is it about water and dimension door?
(This post was last modified: 21.05.2021 00:22 by V_Maiko.)
21.05.2021 00:21
Find all posts by this user Quote this message in a reply
Raistlin Away
Moderators

Posts: 1348
Post: #402

V_Maiko, I have fixed a SoD bug. When you cast Dimension Door, but it does not work (for example when you try to place your hero on water), you will still lose mana points. Earlier this problem was solved in HotA, now there is a solution for Era.


Создал новый глобальный мод: WoG Ultra Edition
21.05.2021 00:27
Find all posts by this user Quote this message in a reply
V_Maiko Offline

Posts: 604
Post: #403

Raistlin, perfect bug fix! 20 one more addition than panda should include in his assembly for players to take advantage of it.
(This post was last modified: 21.05.2021 00:34 by V_Maiko.)
21.05.2021 00:33
Find all posts by this user Quote this message in a reply
XEPOMAHT Offline
Moderators

Posts: 2265
Post: #404

(20.05.2021 23:40)Raistlin Wrote:  сейчас я еще разок внимательно посмотрел на код и понял, что можно обойтись одним.

Твой хук портит edi и немного стек после выхода из функции. Намного надежнее сделать бинарный патч, без хуков. 108
21.05.2021 00:34
Find all posts by this user Quote this message in a reply
Raistlin Away
Moderators

Posts: 1348
Post: #405

XEPOMAHT, да, Вы правы - я сам это только что заметил. Плагин снова обновлен, код сейчас уберу.

V_Maiko, thanks!


Создал новый глобальный мод: WoG Ultra Edition
(This post was last modified: 21.05.2021 00:45 by Raistlin.)
21.05.2021 00:44
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