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 ]
New Server | HOMM1: info forum | HOMM2: info forum | HOMM3: info forum | HOMM4: info forum | HOMM5: info 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 10 pages long: 1 2 3 4 5 6 7 8 9 10 · «PREV / NEXT»
RoseKavalier
RoseKavalier


Honorable
Famous Hero
posted February 21, 2018 01:45 AM

Can you upload the SoD_SP_Debug.ini file as well? You uploaded the HDmod dump only.

My home machine runs W10 64bit, on GoG version with latest HDmod as well. Try running the debug version there as well, it is compiled differently, it should be able to run.

This crash is certainly puzzling.
____________
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
4ltair
4ltair

Tavern Dweller
posted February 21, 2018 02:06 AM
Edited by 4ltair at 02:22, 21 Feb 2018.

To explain a bit better what i did:
1. I have removed the normal SoD_SP plugin from HD mod
2. I have added the SoD_SP_debug plugin
3. I started the game, generated a random map
4. I tried to initiate combat, the game crashed
5. I have copied all  information from SoD_SP_dump.ini file in the pastebin

If needed, i can upload the file itself (i can also give you the HD_Crash_LOG.txt file

Also, i can give you other logs, just give me a step by step instruction on how to obtain them and I'll upload the files or just the content, whatever's preferable for you.

Edit: sorry, my reading comprehension is not the best at 3 AM in the morning . I have uploaded the content of the SoD_SP_debug.ini at the following pastebin:

https://pastebin.com/vPe17xLU

Edit 2: i have sent you an e-mail with the 2 files, a savegame and the HD_CRASH_LOG after i created a random map and tried to initiate combat.

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


Honorable
Famous Hero
posted February 21, 2018 04:09 AM
Edited by RoseKavalier at 05:06, 21 Feb 2018.

Thanks, it's the same as other user's bug - Quickspell panel function causes the crash. Using your save doesn't cause any problems on my end.

Out of curiosity, have you tried the FindMe feature (CTRL+F) ?
Let me know it that works or crashes, they both have a function in common.

I will add extra checks in the guilty function to try and isolate the source of the crash... post to be updated.

Debug v1_13b
This version has the spellbook fix btw.
The same two files will be generated, but an additional file Quickspell_Panel.ini will provide a lot more localized information in the crash area. It won't be quite the same as running debugger during crash but should give me a better idea of the problem.
____________
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
4ltair
4ltair

Tavern Dweller
posted February 21, 2018 06:08 AM

When i tried to use the FindMe feature the game crashed also, i just forgot to mention that earlier.

I am at work now but in about 10 hours i will install the debug version from your post and send you the logs.

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


Honorable
Famous Hero
posted February 21, 2018 02:38 PM
Edited by RoseKavalier at 14:39, 21 Feb 2018.

Alright thanks, although I am about 95% confident what I will see in the logs now.

It seems to me, that for some reason, your setup fails to read the DEFs in Packs/SoD_SP/Data. Move (don't copy/paste) both DEF files from that folder to Packs/SoD_SP instead, see if that fixes it.
____________
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
4ltair
4ltair

Tavern Dweller
posted February 21, 2018 04:08 PM
Edited by 4ltair at 16:14, 21 Feb 2018.

Indeed, by moving those 2 files as instructed, the game no longer crashes when entering combat or when using the FindMe function.

The bug with not being able to buy the magic book is still there (let me know if you need the savegame and the .ini files).

Edit: by using SoD_SP_debug_1.13b and moving the 2 .def files, all the mentioned bugs are gone (FindMe works perfectly, combat no longer crashes and the hero can buy a magic book).
____________

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


Honorable
Famous Hero
posted February 21, 2018 04:23 PM
Edited by RoseKavalier at 16:23, 21 Feb 2018.

Ok good!

I'll make a quick non-debug version later during lunchtime to fix these bugs. Even though I'm still not sure what is the issue with reading the DEFs in SoD_SP/Data/ I suppose we'll all just have to live with a little bit more clutter in SoD_SP unless I can make sense of it.
____________
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
4ltair
4ltair

Tavern Dweller
posted February 21, 2018 04:53 PM

Glad that i could help.

I know the OCD feeling regarding clutter but as long as the plugin works, i think we can all live with it.
____________

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


Honorable
Famous Hero
posted February 22, 2018 04:36 AM
Edited by RoseKavalier at 04:38, 22 Feb 2018.

v1.13b

Mostly bug fixes and outstanding issues, links in first post updated.

[ ] Greek and German languages updated (thanks Nikos)
[ ] Battle Queue now takes slow into account
[ ] Code generation changed (bulkier but fewer requirements)

[-] Fixed bug with Combat Quick Load (Shift+F9)
[-] Workaround for SoD_SP DEFs to prevent some crashes (thanks 4ltair)
[-] Fixed bug preventing purchase of Spellbook from Mage Guild (thanks Sewa)

Version 1.14 will be delayed since I'm no longer rushed to fix these bugs.
____________
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
Athis
Athis


Adventuring Hero
posted March 04, 2018 12:45 AM
Edited by Athis at 00:45, 04 Mar 2018.

RoseKavalier
I was looking for a fix for the Armorer bug and was directed to your mod.
I really like some of the other features you have included.
Excellent documentation too. Thanks

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


Adventuring Hero
posted March 04, 2018 03:30 PM


Another couple of features I would like have to do with scrolling on the campaign map
I would like the Arrow keys function to default to scrolling rather than moving the character
Having to use Ctrl + Arrow is awkward
And I would like to be able to turn off screen edge scrolling - or at least drastically reduce its sensitivity
Are these already in a mod?
Are they even possible?

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


Honorable
Famous Hero
posted March 04, 2018 05:29 PM

Athis said:

I would like the Arrow keys function to default to scrolling rather than moving the character
Having to use Ctrl + Arrow is awkward


Swapping around the behaviour of these two is something that can be done but this kind of change is a matter of the user's preference and not something I want to start dealing with at the moment.

Athis said:

And I would like to be able to turn off screen edge scrolling - or at least drastically reduce its sensitivity

It's already in-game:
System Options > Map Scroll Speed
____________
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
Athis
Athis


Adventuring Hero
posted March 04, 2018 11:01 PM


Athis said:

And I would like to be able to turn off screen edge scrolling - or at least drastically reduce its sensitivity

It's already in-game:
System Options > Map Scroll Speed


doh!
Thanks

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


Honorable
Famous Hero
posted March 20, 2018 05:59 PM

v 1.14

[+] Option to remove Summoned Elementals and Cloned Creatures from Battlefield Casualties screen
[+] Battlefield Casualties over 9999 are now shown per thousands (e.g. 200,000 is now 200k)
[ ] Multiplayer mode (including SoD Lobby) is no longer accessible when SoD_SP is active
[ ] Quick Spell panel reworked to remove clutter (right-click now resets target) [thanks Salamandre for suggestion]
[-] Fixed a bug from version 1.13 that unintentionally changed AI behaviour

Further removing the option of multiplayer gaming from SoD_SP makes me feel less worried about future releases having some features that are useful for Single Player but could be abused for multiplayer.

There is a tiny bit of new text which is not yet translated, I prioritized bug fix. There will likely be some future small 1.14x updates in any case.

Seeing as HDmod no longer allows HotA from using custom plugins, I've not tested this version with HotA. If anyone is keeping an old HDmod version to use SoD_SP and has some issues, let me know of any crashes/bugs as per usual.
____________
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
igrik
igrik


Known Hero
posted March 23, 2018 09:55 AM
Edited by igrik at 11:57, 23 Mar 2018.

RoseKavalier said:
v1.14

rus.ini (v1.14)


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


Adventuring Hero
posted March 23, 2018 06:36 PM

 SoD_SP is a work well done, certainly shortens time spent on epic maps, but is it possible to launch with WoG? My heroes just crash when I select Load/New Game.

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


Admirable
Omnipresent Hero
Wog refugee
posted March 23, 2018 08:10 PM

it can't work with wog, addresses are different.

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


Honorable
Famous Hero
posted March 23, 2018 10:34 PM

igrik said:
RoseKavalier said:
v1.14

rus.ini (v1.14)




Yikes, I uploaded the old DEF.
Here is a temp link to the correct DEF. I will later update the official download links.

TYVM for the translation, once again!

AlfWithCake said:
 SoD_SP is a work well done, certainly shortens time spent on epic maps, but is it possible to launch with WoG? My heroes just crash when I select Load/New Game.

The biggest issue is that there is no "standard WoG/ERA" version since anyone can install mods. So while it may work with what I'd use to enable compatibility, the next person may get crashes.

I'd also have to change a lot of code to be more general.
For instance, quick spells only check for spell ID at the moment (adventure spells are ID 0-9) however one mod may change behaviour of spells so I would instead have to grab spell ID and then check if it's a battlefield spell. This is a fairly easy one however, it only requires one extra line of code since the first bit of spell flags is whether this spell is valid for battlefield. Some other things would need quite a bit more work.

Then again, enabling HotA compatibility was fairly easy once I tried to do it.

In terms of priority, I have at the moment:
1. Mapmaking mini-map (well under way)
2. Unleashed mapeditor update (almost done)
3. SoD_SP 1.15 (under way)
4. Mapmaking 2 XL maps (on break)
5a. Another project
5b. WoG compatibility

The good news, for WoG, is that I rarely work on a single project at once so if I ever get started it won't be after finishing my XL-map/other project.

Salamandre said:
it can't work with wog, addresses are different.

That's not quite the issue, for example you have HDmod working with all three SoD/HotA/WoG (to some extent). Even if addresses were completely different (they're not, WoG is SoD + some code added at the end), it's still not too difficult to find with needles, like looking for a needle in a haystack but with a computer.

Example from potmdehex to get the tile vision pointer:
* find a unique piece of assembly code that is near the area you want to patch (this will be your needle).
* define the needle as an array of bytes
* the needle may be a bit off from the exact area, so you may need to define an offset
* compare exe/dll code with your needle and patch it when found

Really not that hard, just a bit time consuming. Some other structures that are different in SoD/HotA/WoG (for example) are quite easy to find as you just need to find a reference to the structure's position. e.g. HotA has more than 156 heroes so they moved the Heroes structure elsewhere... but original game code still needs to access this structure, you only need to find one of these spots and define your structure base as the value at that spot.
(hero structure is referenced at 0x41C6B5 in WoG/SoD/HotA, as well as many other places)

Finally identifying which exe is used (SoD/HotA/WoG) and which code to execute is also not that difficult as they all have varying pieces of code at one spot or another.
____________
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
turboagent
turboagent

Tavern Dweller
posted April 09, 2018 09:57 PM
Edited by turboagent at 22:03, 09 Apr 2018.

RoseKavalier

Very good addition to the game.
It became more convenient to control spells, the order of the turn in battle.
Thank you for your efforts.

I would like to make one more wish.
When you press F9, it is saved quickly with the prefix <QuickSave>. I suggest adding a combination of Ctrl-F9 - the player is invited to enter a prefix.
<UserDefinedName> _M_W_D_000.GM1
Later on, when you click on F9, the game will be quickly saved with a new prefix.
So it will be easier to navigate in the game's saves.

Used by Google Translat
____________

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

Tavern Dweller
posted April 17, 2018 11:20 PM
Edited by turboagent at 23:39, 17 Apr 2018.

Bug report:
1.

image1

2.

image2

3. Save

P.S.
Heroes 3 SoD
SOD_SP 1.14
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 10 pages long: 1 2 3 4 5 6 7 8 9 10 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0849 seconds