|
|
Draker
Known Hero
Building the Dragon City
|
posted February 22, 2020 03:06 PM |
|
Edited by Draker at 15:15, 22 Feb 2020.
|
This ModList is the only file in Debug folder. :/
EDIT:
Mitril Smelter mod was culprit.
|
|
Archer30
Adventuring Hero
|
posted February 23, 2020 05:28 AM |
|
Edited by Archer30 at 05:28, 23 Feb 2020.
|
Draker said: This ModList is the only file in Debug folder. :/
EDIT:
Mitril Smelter mod was culprit.
There was no crash on mine with Daemon's Assembly + Mithril Smelter (I merged 78.erm myself to get them work together )
|
|
Hero_of_Light
Responsible
Supreme Hero
|
posted February 24, 2020 01:23 PM |
|
|
Is there somewhere a guide on how to make new (or edit) plugins for ERA?
I want to apply these changes via plugin so that they will work on all maps (custom or random), but I don't know how. I want:
Sanya the Cleric to start with Destroy Undead (instead of Dispel)
Piquedram the Alchemist to start with Disrupting Ray (instead of Shield)
Torosar the Alchemist to start with Lighnting Bolt (instead of Magic Arrow) and with Gargoyles instead of Ballista
Serena the Wizard to start with Air Elemental (instead of Dispel)
Pyre the Demoniac to start with Gogs instead of Ballista
Olema the Heretic to start with Fire Elemental(instead of Weakness)
Aislin the Necromancer to start with Shield (instead of Meteor Shower)
Jeddite the Warlock to start with Earth Elemental (instead of Ressurection)
Aenain the Elementalist to start with Water Elemental (instead of Disrupting Ray)
Inteus the Elementalist to start with Land Mine (instead of Bloodlust).
____________
Not idly do the leaves of Lorien fall.
|
|
Bersy
Honorable
Supreme Hero
|
posted February 24, 2020 02:33 PM |
|
|
Plugins are usually written using compiled programming languages like C++ or Object Pascal. They require basic language knowledge plus reverse engineering skills.
For for you are trying to achive hex-patching skills may be enough, when you find place in exe with initial spells for heroes and replace them with new numbers. I cannot write the manual here, but the adjacent topic is dedicated to hex editing. Once you finished editing exe, you can generate memory patch for Era using ToolsBinMagicdiff.bat "old exe path" "new exe path" "binary patch name.bin"
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
Hero_of_Light
Responsible
Supreme Hero
|
posted February 24, 2020 05:01 PM |
|
|
How do I open such a bin file? I've seen Binmagic but it doesn't seem to open such files. I have some similar patches for my mod and maybe if I saw what they looked like, I could add these small changes myself.
____________
Not idly do the leaves of Lorien fall.
|
|
Bersy
Honorable
Supreme Hero
|
posted February 24, 2020 05:31 PM |
|
|
Bin files should not be opened. You should edit h3era.exe first with hex editor. Then use BinMagicdiff.bat to generate difference patch between old and new exe. And your patch will probably fail if new heroes are added to the game in the future.
You can also change start spells with ERM, but those spells will not be shown before map start.
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
Hero_of_Light
Responsible
Supreme Hero
|
posted February 24, 2020 09:34 PM |
|
|
I tried the hex editor but I could not find the offsets for the heroes that I am looking for. It is hard and uncharted territory for me.
Fixing these things through ERM would not work 100% and that's why I don't like it. Suppose I remove Magic Arrow from Torosar via ERM (which is easy enough). This would mean that he will always start without Magic Arrow, even if it was given to him via the map editor or (even worse) if he is a hero you keep through campaigns. That's why I wanted these changes via patches.
But anyway, I'll see what I can do. If anyone knows how to easily do this patch I would really appreciate it.
____________
Not idly do the leaves of Lorien fall.
|
|
Bersy
Honorable
Supreme Hero
|
posted February 27, 2020 01:37 AM |
|
Edited by Bersy at 02:50, 27 Feb 2020.
|
HoMM 3 ERA update released
Current version: 2.9.11
Briefly: a small update that restores the functionality of old maps and mods, as well as including several new features for developers and players.
Added the "Quest Dialog" plugin by igrik. Allows you to conveniently view contents of quests and move screen to desired seer's huts.
It has become easier to use localized strings in EPM (%T() syntax in literals).
The original pseudo-random number generator has been restored. Obstacles in combat no longer change when you reload. High-quality PRNG "Mersenne Twister" transferred to the EPM command VR:T.
And other minor fixes (h3 structures and constants.txt, macros by Algor for ERM editor, event names correction).
Download
Download WoG Scripts mod
Version 2.9.11
------------------------
[+] Added Quest Dialog plugin by igrik. It allows to easily view quests contents and move view to seer huts.
[+] Added %T(translatable_key_from_json) interpolation in ^...^ strings. Thus json texts without parameters may be inserted directly.
Example: !!IF:M^Welcome to {%T(mymod.woody_castle_object)}!^;
[+] Heroes 3 PRNG was restored. VR:R uses it, as in old times. Mersenne Twister PRNG was moved to VR:T command.
Mersenne Twister generator state is NOT synchronized between remote PCs automatically. Do not use it in
battles for you mod to be compatible with multiplayer.
[+] Included macros for Erm Editor, enabling automatical indentation and comment insertion via ALT + END. Credits: Algor.
[+] Added "h3 structures and constants.txt" by BTB/RoseCavalier to Help directory.
[*] Reallowed SN:K#1/#2/#3/#4 to work with strings.
[-] Fixed OnUnequipArt and OnEquipArt named events. They were called instead of each other.
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
Z
Hired Hero
|
posted February 29, 2020 12:29 AM |
|
|
Nice.
Is it OK to install it over previous version?
|
|
Bersy
Honorable
Supreme Hero
|
posted February 29, 2020 01:59 AM |
|
|
|
Z
Hired Hero
|
posted February 29, 2020 06:48 PM |
|
|
I did a fresh instalaltion.
But, my earlier problem still remains.
Ike in this post here: http://heroescommunity.com/viewthread.php3?TID=37208&PID=1510018#focus
|
|
Bersy
Honorable
Supreme Hero
|
posted February 29, 2020 08:56 PM |
|
|
|
Z
Hired Hero
|
posted March 01, 2020 02:51 PM |
|
Edited by Z at 11:33, 06 Mar 2020.
|
Bersy said: I fixed it yesterday and reuploaded WoG Scripts mod. Could you reinstall just it?
Works like a charm, thank you
EDIT: of course I have some other issues now.
Since the 2.9.x updates (and now) my maps keeps crashing. I know sometimes they might get buggy if I wogify maps (and I mostly do) but now became impossible to finish every single map.
Crashes usually occur at the beginning of the 4 th month (M4 W1 D7) or if I'm lucky to pass beyond that point, at the beggining of 5th.
Any advices?
|
|
Bersy
Honorable
Supreme Hero
|
posted March 06, 2020 03:52 PM |
|
|
|
Draker
Known Hero
Building the Dragon City
|
posted March 06, 2020 07:58 PM |
|
Edited by Draker at 20:00, 06 Mar 2020.
|
Sorry for late reporting, but I know reached point where game crash (without error message) on my turn even if I disable Mithril Smelter. Debug dir only contains mopd list so I will press F11 manually.
Save and Debug dir can be downloaded from:
https://1drv.ms/u/s!Agkzb-Ndg2gFl2ZzNCbbC9jmNSUU?e=YXC8Af
ERA 2.9.12
|
|
Bersy
Honorable
Supreme Hero
|
posted March 06, 2020 08:46 PM |
|
|
|
Draker
Known Hero
Building the Dragon City
|
posted March 06, 2020 10:18 PM |
|
|
I've done as you said but it is still crashing. That script is part of HmS_improved interface mode. Doi you want that new save and its Debug dir?
|
|
Bersy
Honorable
Supreme Hero
|
posted March 06, 2020 10:20 PM |
|
|
|
Draker
Known Hero
Building the Dragon City
|
posted March 06, 2020 10:25 PM |
|
|
There you go.
https://1drv.ms/u/s!Agkzb-Ndg2gFl2cUS5LAFeNB892_?e=ZyL4wU
|
|
Bersy
Honorable
Supreme Hero
|
posted March 06, 2020 11:28 PM |
|
Edited by Bersy at 00:08, 07 Mar 2020.
|
Debugged saved game. Seems like recursion in ERM (function calling itself deeper and deeper), eating all stack space. The worst error.
!!FU7021&v7190=1/v7021=v7026/y1>0:Px16/y1; in 30 wog - enhanced secondary skills.erm on line 621 at pos 3
Here !!FU7021 calls itself. Something is wrong with condition probably, because it's endless. I will post you save and my investigation on wforum, where scripts get fixes.
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
|