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

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

Posts: 1175
Post: #301

Thanks Berserker and Night. I have heard from daemon about his experience communicating with bara, was a very tough experience according to him. Rolleyes


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

Posts: 16657
Post: #302

Night, Бара мне уже много лет не отвечает на письма на этот ящик.


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

Posts: 1175
Post: #303

There is function to remove a neutral stack when the amount is exactly 4095, right click on a 4095 stack and we got this.
Image: AxmNyOl.jpg
Is this hard-coded? It seems to be a little bit old-fashionable - is this function still needed?


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

Posts: 16657
Post: #304

Archer30, seems like some mod feature. Try without mods.


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

Posts: 1175
Post: #305

Tried )


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

Posts: 4343
Post: #306

Archer30, new game? checked your "wog/data/s" folder?


Image: widget.png?style=banner2

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

Posts: 1175
Post: #307

daemon, I don't even have a "s" folder from mods\wog\data. Neither it shouldn't be just me having this dialog, set a stack with quantity equal to 4095 and check for yourself )


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

Posts: 4343
Post: #308

backdoor :mon_demon:


Image: widget.png?style=banner2

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

Posts: 16657
Post: #309

Archer30, there is real issue with such stacks. Many functions, calculating Fight Value or other value multiply monster quantity by big number. Such number must not exceed 2 147 483 647. Of course, simple binary patch is able to suppress the above mentioned message. We need to find out Azure Dragon fight value and calculate possible new limit.


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

Posts: 4343
Post: #310

Berserker,

Azure Dragon
AI Value - 78845
Fight Value - 56315


Image: widget.png?style=banner2

Новейший Heroes Launcher
06.10.2020 22:21
Visit this user's website Find all posts by this user Quote this message in a reply
V_Maiko Offline

Posts: 610
Post: #311

Berserker, daemon_n, , I do not agree to put a limit equal to or below Azure Dragon to the values of the creatures, in my mod I have creatures more powerful than Azure Dragon and therefore the AI value will be higher, look at this case.
Image: Screenshot-1.png
06.10.2020 22:34
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #312

Посмотрел я код WoG. Максимальное число монстров в виде отряда на карте — 4095 или 12 бит. Больше просто физически не хранится. Кто-нибудь, проведите эксперимент. Установить число 4095 и дождитесь прироста населения. Если число монстров не увеличится на 10%, то проверку можно убрать. Важно, чтобы ЕРМ скрипты и моды учитывали это ограничение на !!MO:G.


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

Posts: 462
Post: #313

Berserker, не знаю, насколько соответствует моя проверка твоей задаче, но я как только увидел сообщение Archer30, где предлагают убрать юнит с карты, сразу захотел у себя такое же посмотреть и поставил в редакторе 4000 существ (больше не дало) гидр Т8, включил мод на увеличение нейтральных стаков на 10% в неделю и пропускал - не увеличились сверх этого лимита.
Эту проверил опцию (Click to View)
Другие не проверял, но там вроде, как опция в правилах игры, где по 4% в день армии увеличивает, она так делает, но у меня дальше другие дела появились, подзабилбыл дальше глянуть.
(This post was last modified: 07.10.2020 00:19 by Night.)
07.10.2020 00:17
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #314

Night, больше невозможно физически, но есть риск, что дальше начинает портиться поле «агрессия»:

unsigned Number :12; 12 бит
unsigned Agression : 5; 5 бит
Через ЕРМ физически больше не поставишь, уйдёт дальше в значение немногим > 0, то есть произойдёт переполнение.
Далее ждём понедельника.


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

Posts: 1175
Post: #315

Latest finding about Revealing the whole XXL map = crash upon loading

Basically, there are 5 ways in total to reveal the whole XXL map, they are
1. Heroes' vision (by walking through the whole map)
2. Skyship (The wonder of Tower)
3. Cheat code
4. Erm
5. Cartographer

I wasn't able to test the 1st as obviously it's too time consuming. But for the rest of them, an interesting finding is that the 5th, cartographer (with all 3 types) can safely reveal the whole map without a crash upon loading.

Download for examples: XXL Map+savegame revealed the whole map without crash

At this point, the way of revealing a map can be distributed into ethical and unethical ways. The ethical way provide a safe way of revealing the map, while the unethical way is dealing with the devil.
Ethical: Cartographer
Unethical: Skyship, cheat code and erm
not sure: Heros' vision

Another interesting finding is that if a map has been already revealed by Cartographer fully, it does not matter if it's revealed by unethical ways followed by, the savegame will still be safely loaded.

Now return to fixing the crash of XXL by revealing the map. A possible approach to solve this issue is comparing the difference between Cartographer and other ways. The might be enough to tell the answer.
Alternatively, assuming that revealing the map with heros' vision is an ehical way (very likely), the only thing needs to be fixed is Skyship in normal gameplay without cheating. A simple patch changing the effect of Skyship (for example, reveal only a fixed range) could resolve the crash problem.

____________________

Edit:A more interesting fact is that even with an unethical way for revealing, pass a turn and then save/load will also become safe.
This might be the best way to avoid crash before a real solution comes out.


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 09.10.2020 18:38 by Archer30.)
09.10.2020 10:49
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