Current time: 24.11.2024, 22:27 Hello There, Guest! (LoginRegister)
Language: english | russian  

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

Posts: 1175
Post: #2476

Berserker, igrik, thanks Thank_you


Latest ERA mods and scripts in development - My GitHub
21.12.2023 21:11
Find all posts by this user Quote this message in a reply
Valery Offline

Posts: 2196
Post: #2477

Bersy, I have a strange bug, mod manager in Era 395 you made for me, it skips the .pac files when compressing. I tried 10 times, same issue. I had to use previous Era version to pack the map
25.12.2023 00:30
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2478

Valery, I will report to SyDr, Mod Manager author. I took it from the latest Era Launcher. Probably, SyDr didn't notice the bug in his last releases.


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

Posts: 16657
Post: #2479

https://dropmefiles.com/NHhrt

Code:
Version 3.9.7 (12/2023)
------------------------
[+] Added support for arrays and primitive types in language json files, because they are often used as config files. Numbers are converted to strings, booleans are converted to "0" and "1", null values are ignored (the same, as key-value pair didn't exist at all). Arrays are treated as objects with monotonically increasing string keys ("0", "1", "2").

  Example json:

  {
    "creatures": [
      {
        "id": 2000
      },

      {
        "id":       150,
        "name":     "SuperRobot",
        "isGod":    true,
        "power":    77.345,
        "copyFrom": null
      }
    ]
  }

  Example script:

  !?FU(OnAfterErmInstructions);
  !!IF:M^%T(creatures.0.id) %T(creatures.1.id) %T(creatures.1.name) %T(creatures.1.isGod) %T(creatures.1.power) %T(creatures.1.copyFrom)^;

[-] Fixed bug: png resources where cached forever, causing visual glitches in mods like Random Wallpaper.
[-] Fixed bug: battle obstacles placement differed from SoD.


Version 3.9.6 (12/2023)
------------------------
[+] Added support for multiple language files in a single mod. Json files from Lang\[Language] directory have priority over files in Lang directory root. Current language is stored in heroes3.ini in "Era" section under "Language" key and defaults to "en".

It's recommended to keep any mod main language data in root "Lang" directory and alternative localizations in appropriate subdirectories (en, pl, ru, fr).

[+] Added new exported function to era.dll:
  // Changes current language code in memory without altering ini files or reloading already loaded data
  SetLanguage (NewLanguage: pchar): TDwordBool; stdcall;

  // Reloads all json files from "Lang" directory and current language subdirectory.
  ReloadLanguageData; stdcall;

[-] Fixed "SN:H" command and "OnAdvMapTileHint" event behavior. No hint is applied and no event is generated if tile is not visible by current player.


Коротко: баг с расстановкой объектов на поле боя исправлен, баг со случайными изображениями для интерфейса исправлен, json-конфиги стали удобнее.


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

Posts: 16
Post: #2480

Here is updated era-modern to 3.9.7 version
28.12.2023 14:19
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2481

Thanks. I think we should try to use era-modern dll in Era Assembly by daemon_n to test its stability.


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

Posts: 16
Post: #2482

Agree with Bersy.
I did a lot tastings locally, but real test would be mass-test.

I would propose to have both dll versions for some time.
Let modern-era dlls be default. Then include script to replace modern-era with original and vice versa.
28.12.2023 15:05
Find all posts by this user Quote this message in a reply
Berserker Offline
Administrators

Posts: 16657
Post: #2483

Ok, we'll try )


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

Posts: 1175
Post: #2484

Hi, Berserker, it looks like OnGameLeave no longer works on exiting the game during battle. Not sure when the compatibility was broken between HD and era, but it's happening.
Can this be possibly improved?

Script for testing:


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

Posts: 4343
Post: #2485

Archer30, we have also game bug fixes extended plugin 102


Image: widget.png?style=banner2

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

Posts: 16657
Post: #2486

I think it's some HD mod issue. Did you try with a bit older HD-mod version?


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

Posts: 1175
Post: #2487

Well, I picked five versions from here to test, from HD 5.1 to 5.4, and none of them worked.


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

Posts: 16657
Post: #2488

Archer30, I wrote to Baratorch about the issue.


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

Posts: 16657
Post: #2489



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

Posts: 1175
Post: #2490

Thanks! 148 Is ERA 4 the next one or 3.9.10?


Latest ERA mods and scripts in development - My GitHub
30.12.2023 04:16
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