Wake of Gods Forum | Форум Во Имя Богов

Full Version: ERA III
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
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.
Thanks a lot. I tested both HD and no HD and same.
Кстати, давно уже хотел спросить, да всё забывал об этом:
Иногда при старте рандомной карты, игрок стартует с 2 городами, это баг какой, скрипт какой глючит, или просто такой шаблон сгенерировался? 105
Panda, такой шаблон
It's very strange. I tested further the randomizer

gives random values

Valery, investigating.

Try:

gives random values



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

https://dropmefiles.com/v2XPN
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!
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?
Welcome! It will be included in the next 3.8.1 release. And yes, just replace dll )
Works!
That's great. Thanks again for reporting.
Hi Berserker, looks like we are missing constants for the type of hero and auto-completion for keys like (KEY_F1)?
I'll try to add them soon.
Reference URL's