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

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

Posts: 16657
Post: #1486

Ok, then no more life for 2.46 and Windows 10. I restored the code and ported some VFS features, but seems like everything fails. So new Era VFS was written just in time.
Send me TEW mod and savegame please. I'll test this part too.


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

Posts: 2196
Post: #1487

TEW4: https://dropmefiles.com/IdwlR
Save: https://dropmefiles.com/vLiKA

Spacebar, autobattle. You will get same artifact. The randomizer for artifact is at line 3838:


If you do battle manual, you will get another y91 value,but same for each manual battle too.
(This post was last modified: 12.06.2021 01:45 by Valery.)
12.06.2021 01:40
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1488

Ok, if I make any action in battle manually, I get random artifact (any action + pressed Q), otherwise I get the same #2 artifact. Will try to debug tomorrow.


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

Posts: 2196
Post: #1489

Thanks a lot. I tested both HD and no HD and same.
(This post was last modified: 12.06.2021 02:21 by Valery.)
12.06.2021 02:12
Find all posts by this user Quote this message in a reply
Panda Away
Moderators

Posts: 1005
Post: #1490

Кстати, давно уже хотел спросить, да всё забывал об этом:
Иногда при старте рандомной карты, игрок стартует с 2 городами, это баг какой, скрипт какой глючит, или просто такой шаблон сгенерировался? 105


Тот, кто просыпается рано - жаворонок, поздно - сова. А тот, кто плохо спит и ходит с черными кругами под глазами - панда!
12.06.2021 11:55
Find all posts by this user Quote this message in a reply
daemon_n Offline
Administrators

Posts: 4343
Post: #1491

Panda, такой шаблон


Image: widget.png?style=banner2

Новейший Heroes Launcher
12.06.2021 19:53
Visit this user's website Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #1492

It's very strange. I tested further the randomizer

gives random values

(This post was last modified: 12.06.2021 22:53 by Valery.)
12.06.2021 22:52
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1493

Valery, investigating.

Try:

gives random values



Found how to fix it, now searching for the reason.

https://dropmefiles.com/v2XPN


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

Posts: 16657
Post: #1494

Ok, the reason is that game calls Set Random Generator Seed/State with fixed value before battle and I rewrote VR:T command in such a way, that I also update Era generator state, making it deterministic. That's not ideal solution, so I removing this functionality, fixing VR:T. Thank you!


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

Posts: 2196
Post: #1495

Thanks to you!

So what I do now, just replace the dll? Will it be available to all Era 3 releases or better I wait you to find further solutions?
12.06.2021 23:45
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1496

Welcome! It will be included in the next 3.8.1 release. And yes, just replace dll )


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

Posts: 2196
Post: #1497

Works!
12.06.2021 23:57
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #1498

That's great. Thanks again for reporting.


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

Posts: 1175
Post: #1499

Hi Berserker, looks like we are missing constants for the type of hero and auto-completion for keys like (KEY_F1)?


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

Posts: 16657
Post: #1500

I'll try to add them soon.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
13.06.2021 20:32
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