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 > Library of Enlightenment > Thread: [H3] SoD_SP: a HDmod plugin
Thread: [H3] SoD_SP: a HDmod plugin This thread is 33 pages long: 1 10 ... 13 14 15 16 17 ... 20 30 33 · «PREV / NEXT»
daemon_n
daemon_n


Known Hero
posted July 20, 2019 04:15 AM
Edited by daemon_n at 11:15, 22 Jul 2019.

if place cursor on this zone, then it will say about morale but not luck and Right-clicking on this zone also call morale message box
Deleted Image

I'm sorry. Once tried to find how to make spoiler for it bui unlucky -- next time will use lower resolution.

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


Admirable
Supreme Hero
posted July 20, 2019 05:29 PM

v1.17.2

Thanks, it's fixed! I switched IDs to enum format to help understand what is what.



Version 1.17.2
[-] Corrected creature's Luck numeric display text id


____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Adventuring Hero
posted July 21, 2019 08:59 AM

1.17.2
Original berserk behavior is not working properly. Cast a bers on three imp in the middle and they keep standing still without attacking other imps.Save

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


Admirable
Supreme Hero
posted July 26, 2019 05:08 AM

@wenwell
I'll have a look but I'm away from home for some time. Probably just bad code conversion on my part.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Admirable
Supreme Hero
posted July 31, 2019 06:19 PM
Edited by RoseKavalier at 18:19, 31 Jul 2019.

1.17.3



Version 1.17.3
[-] Fixed berserk bug introduced by 1.16.8, AI now behaves as it should



Thanks for the heads up @wenwell.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Hired Hero
posted July 31, 2019 10:42 PM
Edited by Gravedigger at 22:07, 01 Aug 2019.

Hello, I would like to thank You for creating this amazing plugin.
It's freaking amazing!

However after latest update i can't equally split a stack of units what i mean

Till now
100 units in one stack - SHIFT+LMB
2x stack of 50 units
4x stack of 25 units
and so on ...

Now
100 units in one stack - SHIFT+LMB
2x stack of 50 units
1x50 units, 2x 25 units
it just divides one stack the second one staying still after first splitting

There is something new in options to turn on or what ?
Creature Split is disabled - so as i understand it should work in HD mod

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


Admirable
Supreme Hero
posted August 01, 2019 10:36 PM

Gravedigger said:
However after latest update i can't equally split a stack of units what i mean

[...]

There is something new in options to turn on or what ?
Creature Split is disabled - so as i understand it should work in HD mod


Check your HDmod tweaks/settings.

<UI.QuickArmyManagementMode> {0, 1} = 0
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Famous Hero
posted August 02, 2019 06:30 AM

Can SoD_SP provide better compatibility for RoE maps than original 3.2/4.0 game ?

I mean for example combo artifacts disabling, moat damage, additional hero misc slot.
It is realised in RoE campaigns of 3.2/4.0 but on base of AB maps. So, Sir Mullich is enabled, unfortunately.

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


Promising
Supreme Hero
posted August 02, 2019 07:48 AM

Yoy can always disable Sir Mullich in AB maps in map editor. It's map editor feature, not engine.
____________

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


Famous Hero
posted August 02, 2019 08:23 AM

avatar said:
Yoy can always disable Sir Mullich in AB maps in map editor. It's map editor feature, not engine.


Once again, it was realised only for campaigns. I mean engine features.

Besides, there is small problem concerning native land of Elemental creatures.

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


Famous Hero
posted August 02, 2019 05:44 PM

Amazingly, this code works. Even Elementals have correct speed.

// set RoE version
_PI->WriteHexPatch(0x67F554, "00");
// if h3blade.exe present
_PI->WriteHexPatch(0x4ED43A, "00");
// enable RMG
_PI->WriteHexPatch(0x57C10F, "90 90 90 90 90 90");
// RMG bug fix (disable Conflux, not Fortress)
_PI->WriteHexPatch(0x538D7B, "9E");

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


Admirable
Supreme Hero
posted August 05, 2019 10:44 PM

Ben80 said:
Can SoD_SP provide better compatibility for RoE maps than original 3.2/4.0 game ?

I mean for example combo artifacts disabling, moat damage, additional hero misc slot.
It is realised in RoE campaigns of 3.2/4.0 but on base of AB maps. So, Sir Mullich is enabled, unfortunately.


RoE_SP and AB_SP projects don't yet exist, but it looks like you've figured out working solutions!
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Famous Hero
posted August 06, 2019 08:58 PM

RoseKavalier said:

RoE_SP and AB_SP projects don't yet exist, but it looks like you've figured out working solutions!


Game version constant changing is working solution, however EXE file already have code which check o_GameMgr->map_version and unfortunately o_GameMgr->map_version have incorrect value.

For example, I'm playing some AB map and here (CombatMan_00469A30) check o_GameMgr->map_version. It should be 1, but actually is 2.


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


Admirable
Supreme Hero
posted August 19, 2019 09:06 PM

1.17.4



Version 1.17.4
[+] Added plugin H3.CombatAnimation that cycles through standing stance of combat monsters
[ ] Improved H3API function H3Hero::SkillsLeftToLearn to take into consideration prohibited hero class skills
[-] Corrected game start flag for overflow protection during level-up
[-] Battlequeue round was being incorrectly shown for every creature after the first round, it is now only showing up for the first creature of a new round


____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Hired Hero
posted August 24, 2019 01:20 AM

Is the newer version of Sod_SP not compatible with WinXP? I cant launch the game with plugin active.

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


Admirable
Supreme Hero
posted August 24, 2019 04:28 AM
Edited by RoseKavalier at 16:40, 24 Aug 2019.

Nmesa said:
Is the newer version of Sod_SP not compatible with WinXP? I cant launch the game with plugin active.


I've reinstalled my OS a few versions ago and now compilation is with VS2017 instead of VS2013 but the project settings have not changed except the platform toolset (v140_xp) which is still supposed to be compatible with xp.

I'll get another copy of VS2013 and post new releases with it, watch this post.

I haven't tested on WinXP virtual machine for a while, I've not done the necessary steps since reinstall

EDIT rebuilt with VS2013 and tested in virtual machine with WinXP. Download this and replace the SoD_SP.dll in your H3 folder ... then let me know if that works.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Hired Hero
posted August 24, 2019 10:53 PM

RoseKavalier said:
EDIT rebuilt with VS2013 and tested in virtual machine with WinXP. [url=https://drive.google.com/uc?export=download&id=1INCnh9F2v4NFJXF3YpmQf1i4d0LY8YH6]Download this[/url] and replace the SoD_SP.dll in your H3 folder ... then let me know if that works.

Thanks, its working great now.

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


Admirable
Supreme Hero
posted August 25, 2019 03:48 PM

1.17.5



Version 1.17.5
[-] SoD_SP is now again compatible with windows xp
[-] The installer is now again compatible with windows xp, but loses language and UNICODE support
[-] Fixed an inaccuracy in H3API resulting in wrongly colored custom dialogs



Great to know it works now!
I have tested everything in virtual xp and noticed that the installer with UNICODE also did not work (at least, not from an off-the-shelf xp). I have therefore scrapped language support in the installer. You can still select your in-game SoD_SP language at the last page but non-latin characters are not allowed for compatibility reasons.

I'm still unclear as to what broke it when I switched to VS2017 and will be investigating to figure out the culprit, there could be some limitations to not use a more recent compiler.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Admirable
Supreme Hero
posted August 31, 2019 05:13 PM

1.17.6



Version 1.17.6
[+] Added H3Exception to H3API to handle SEH exceptions
[ ] Re-introducing UNICODE support to installer, windows xp compatible
[ ] New ini parser, fully compatible with windows xp
[-] Fixed a few incorrect save color dialog hotkeys (Ctrl + F12)

[*] From now on built with VS2017 v141_xp to use modern C++ features



Following up on the last post, I figured out the source of the problem. It's slightly technical but I'm putting this out for information (should anyone encounter similar problems in the future) more than anything else. The ini parsing library I was using was throwing a SEH error while trying to set up its own error handler. This occurred through the use of std::map when compiled with C++11 compatible versions of MSVC (VS2015 or more recent) but working fine on older versions. I tried to find the source of this by searching, changing compiler settings and by installing any missing parts to my windows xp image... to no avail.

In the end I wrote my own ini parser that does not use std::map and while at it, I've added the H3API::H3Exception library to take care of similar issues. For now SoD_SP does not use H3Exception outside the new ini parser but I may revise this in the future. The performance hit on try-catch blocks is minimal and it can prevent crashes and frustration whilst giving me some additional info to hunt bugs.

Finally, I found out that using pre-version 6 of Inno Setup could enable UNICODE-compatibility under windows xp, so extra languages for the installer are back.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

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


Admirable
Omnipresent Hero
Wog refugee
posted August 31, 2019 05:30 PM

takes a peek...

no Era compatibility yet

..fades away

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 33 pages long: 1 10 ... 13 14 15 16 17 ... 20 30 33 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1088 seconds