Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 3.5 - WoG and Beyond > Thread: Era II
Thread: Era II This Popular Thread is 220 pages long: 1 30 60 90 120 150 180 ... 202 203 204 205 206 ... 210 220 · «PREV / NEXT»
Draker
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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Archer30
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 )

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Hero_of_Light
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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Hero_of_Light
Hero_of_Light


Responsible
Supreme Hero
posted February 24, 2020 05:01 PM
Edited by Hero_of_Light at 17:04, 24 Feb 2020.

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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Hero_of_Light
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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Z
Z


Hired Hero
posted February 29, 2020 12:29 AM

Nice.

Is it OK to install it over previous version?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted February 29, 2020 01:59 AM

2.9.12 is actually is available at the same link. I would advice to install over clean, unless you don't plan to play WoG Campaigns.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Z
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

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted February 29, 2020 08:56 PM

I fixed it yesterday and reuploaded WoG Scripts mod. Could you reinstall just it?
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Z
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?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted March 06, 2020 03:52 PM

Nope, except that you can upload Debug directory after crash and savegame before crash. https://dropmefiles.com
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Draker
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

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted March 06, 2020 08:46 PM

Draker, disable YBackpack mod, reload savegame press F12, save and reload again. I found no crash context, except the specified one.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Draker
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?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
Bersy


Honorable
Supreme Hero
posted March 06, 2020 10:20 PM

Yes, please.
____________
Heroes 3 Era and everything for it. Releases folder for releases.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Draker
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

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Bersy
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.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This Popular Thread is 220 pages long: 1 30 60 90 120 150 180 ... 202 203 204 205 206 ... 210 220 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.2601 seconds