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 2 3 4 5 ... 10 20 ... 29 30 31 32 33 · «PREV / NEXT»
RoseKavalier
RoseKavalier


Admirable
Supreme Hero
posted October 22, 2017 11:59 PM

Nikos said:
Congratulations, RoseKavalier! Great as always!

I have noticed that lately AI heroes avoid attacking the other AI heroes  and taking their towns (when there are no teams of course) but they always battle (weaker) human heroes and take their towns.
I don't know if this a bug or an normal aspect of predetermined AI behaviour I just realised.
What do you think?

No clue if AI has a human-bias; I do know AI gets reckless if it has no towns left and will attack at hopeless odds - maybe that's something you noticed.
____________
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
Nikos
Nikos


Adventuring Hero
posted October 25, 2017 11:27 PM

Hello!
I started using the new version of the plugin and the game crashed twice during a siege.
The first time I had two stacks of Archangels and at some point one of them lost their number and wouldn't act. I was even able to place another creature on top of them!
I tried again. This time the Archangels were OK but the game eventually crashed (maybe because I tried to cast every single spell to check the new info box).
When I removed the plugin, there was no problem.
RoseKavalier, I could send you the save file as well as the two crash logs if you wish.
Cheers!

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


Admirable
Supreme Hero
posted October 26, 2017 01:02 AM
Edited by RoseKavalier at 01:05, 26 Oct 2017.

Sure thing.

I just put up another beta version, I noticed an internal testing function I had left by mistake in the previous version (it did nothing except let me test and most likely lead to crashes when triggered). It was triggered during combat sometimes so maybe that was your issue, let me know.

EDIT: Links are fixed.


____________
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
Nikos
Nikos


Adventuring Hero
posted October 26, 2017 11:25 PM

I think it's OK now!

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


Admirable
Omnipresent Hero
Wog refugee
posted October 29, 2017 07:39 PM

What is the fix for >99 primary skills?

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


Admirable
Supreme Hero
posted October 29, 2017 08:26 PM
Edited by RoseKavalier at 20:26, 29 Oct 2017.

Salamandre said:
What is the fix for >99 primary skills?


I found 25 instances (maybe missing a few things from HotA) of the code that increases your primary skills and placed hooks there to prevent overflow.

Same with resources overflow, but thankfully there aren't as many.

I have a similar fix for experience, including fixing Tree of Knowledge, but I have not found a good way to implement it yet. Maybe I should revisit this.

____________
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
lutyee
lutyee

Tavern Dweller
posted November 01, 2017 04:39 PM

I downloaded the lastest version yesterday, and now the game always crashes when I enter the Library of Enlightment. If i remove the plugin in the HDMOD, it works, and i can turn it on again afterwards. It just wont let me join with the plugin enabled, anyone else?
____________

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


Adventuring Hero
posted November 01, 2017 06:50 PM

I just checked it and it happened to me too.
When a hero visits the Library of Enlightenment for the first time and has their skills increased, the game crashes.
But nothing happens if the specific Library has been already visited by the specific hero or when the hero cannot be admitted to the Library.

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

Tavern Dweller
posted November 01, 2017 08:37 PM

I also get a crash when I try to use teleport (the water spell). Also doesent happen when I remove the plugin, so it must be related to it.
____________

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


Admirable
Supreme Hero
posted November 02, 2017 12:47 PM

The Library is a typo on my part while converting code.

Teleport bug is also from converting code, I checked most cases but forgot Teleport which acts a bit differently

I will release a fix for both later today.
____________
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
lutyee
lutyee

Tavern Dweller
posted November 02, 2017 09:37 PM

Ok 1 more, but im not 100% positive on this. I visited a seers hut and it also crashed, without plugin it was fine. It didnt happen on another seers hut on the map tho, so im not sure why that did happen.
____________

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


Admirable
Supreme Hero
posted November 02, 2017 10:09 PM
Edited by RoseKavalier at 21:03, 03 Nov 2017.

That's strange because SoD_SP doesn't do anything directly related to Seer Huts. The only thing semi-related is the number formatting of resources for the dialog and that seems to work fine.

If you can replicate this bug, please send me a save with instructions. Maybe it's something else I can't think of

I'm an idiot, I guess it's for primary or resource overflow. How did I forget that
I don't have any more time today to spend on this, I'll fix it tomorrow at some point.

EDIT: I tried resources and primary skill, no crash.
Please send me a save, otherwise I have no idea.
____________
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 November 04, 2017 01:13 AM

Links updated.

Version 1.10b_beta
[+] Quickly access "Load game" now works during battle (hotkey: Shift+F9)
[-] Fixed a few bugs

---

Load game during battle is a bit tricky to implement (I'm not getting into the details); it will be updated as needed with the latest version of HDmod and HotA whenever necessary - no support for older versions of either.
____________
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
Urr
Urr

Tavern Dweller
posted November 06, 2017 09:01 PM

Would be cool to have an option to disable coloured combat info (amount of kills, sequence) for more vanilla feeling. Or an option to disable additional spell info (i have this already and your plugin overrides my change ).
Crashes in main menu occurs quite often, i think its because old saves not compatible in some way with the plugin, so entering the load menu causes the crashes. Even after editing a map crash can be experienced in new scenario menu.
____________

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


Admirable
Supreme Hero
posted November 07, 2017 01:20 AM

Urr said:
Would be cool to have an option to disable coloured combat info (amount of kills, sequence) for more vanilla feeling. Or an option to disable additional spell info (i have this already and your plugin overrides my change ).
Crashes in main menu occurs quite often, i think its because old saves not compatible in some way with the plugin, so entering the load menu causes the crashes. Even after editing a map crash can be experienced in new scenario menu.


Can you be more precise? HotA? HDmod version? Plugin version? ...
There were some crashes in 1.10a that were fixed in 1.10b. I have not gotten a crash since 1.10b is out.

Unless the pattern can be reproduced, I can't help you with your crashes. The best way is with saves and instructions that show what happens.

~~~

Customization: I don't want to start fine tuning to everybody's taste because that'll mean a million checkboxes. I can add more "on/off" options (hopefully translators will not want to shoot me) ; for now color will remain but at some point it will be editable.
____________
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
Maurice
Maurice

Hero of Order
Part of the furniture
posted November 07, 2017 10:14 AM

RoseKavalier said:
Customization: I don't want to start fine tuning to everybody's taste because that'll mean a million checkboxes.


I agree with you on this point. As a middle ground, would it be possible to cluster options that fall in the same area under a single button?

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


Admirable
Supreme Hero
posted November 11, 2017 01:10 AM

v1.11

Maurice said:
I agree with you on this point. As a middle ground, would it be possible to cluster options that fall in the same area under a single button?


I'll probably re-organize options in the future so that they're grouped by categories - and at the same time make it look better for HotA. Right now it's a bit of a mess...
Anyhow... there are some new features.

~~~~~~~~ v1.11 ~~~~~~~~

This version should be stable and is no longer labeled 'Beta'. The reported bugs have been fixed or could not be reproduced... If you use other plugins or non-standard installations, I can't guarantee there will be no interference.

[+] Turbo: option to allow faster animations in combat
[+] You can set your own color (see SoD_SP.ini for options and color codes)
[+] Mouse cursor coordinates (x,y,z) in Map Adventure
[+] Option to disable extra spell information available in the Spellbook
[+] List of Quick Spells and Targets available in combat: 'ALT' + 'right-click' Spellbook icon
[+] Bug fix: AI no longer casts 'Town Portal' on Cursed Ground
   Bug fix: AI no longer casts 'Fly' if he does not have it (Waterwalk~Fly bug)

Turbo adds 3 new animation speeds in combat. If you turn it on and select the slowest speed, it is noticeably faster than the previous fastest speed. At the second speed option, it is roughly the same speed as HotA's "speed 5" option. The last speed option is... well pretty fast.

Color used by SoD_SP can now be customized to your liking.
Don't like the old defaults? Why not set your own?


List of Quickspells lets you see current assignments in case you forget.

To see the list: hold ALT and right-click on the spellbook icon.


Bug fixes ... the AI cheats, we know that. Sometimes it's necessary, sometimes it makes no sense at all. I've introduced an option to prevent the AI from:
*using 'Town Portal' on Cursed Ground;
*casting 'Fly' when the spell is not known.
In the second case, the AI would sometimes cast 'Fly' after casting Waterwalk if there was an obstacle along his path... EVEN if the spell is not available.

These new options can be accessed via the SoD_SP options menu (F12). To change color, you will need to edit SoD_SP.ini before launching the game, there is no option in-game.


Links updated in first post and in Google Docs as usual.

Translation
There are 29 new lines of text added (half being one or two words)... if you're interested in helping with these, you can download the file here:
v1.11 new text @ GOOGLE DRIVE
NOTE: only comments (#) and text (between " ")
____________
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
Maurice
Maurice

Hero of Order
Part of the furniture
posted November 11, 2017 01:16 PM

RoseKavalier said:
In the second case, the AI would sometimes cast 'Fly' after casting Waterwalk if there was an obstacle along his path... EVEN if the spell is not available.


Isn't the Fly spell in this case a quick and dirty fix to prevent the AI Hero from getting stuck because of the obstacle?

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


Admirable
Supreme Hero
posted November 11, 2017 03:05 PM

Maurice said:
Isn't the Fly spell in this case a quick and dirty fix to prevent the AI Hero from getting stuck because of the obstacle?


From what I looked at in the code, the AI checks if it has access to every spell when it is making its initial destination choice. Every step it takes, the process is repeated.

So when starting, the AI may notice it lacks Fly, but has Waterwalk. With this in storage, it decides on a destination that is across water. When the AI is finally on water and stepping forward, it may re-evaluate its original path in a different portion of the code - at which point it does not check if it has 'Fly' ... it just casts it and then with this new effect on, destination reevaluation will probably change since that hero can now go pretty much anywhere.

With the fix, the AI will instead head in the direction of the original destination. It will need to take into account any obstacles it originally did not consider as you can see in this video - there is a delay in the second sequence once AI has stepped on water.
66


Unfortunately I only found 1 save with this bug which means I am not 100% certain this fix is final... there may be other similar issues.
If anyone has similar situation and the fix freezes or does not work, please let me know - it would be greatly appreciated
____________
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 November 11, 2017 04:31 PM

Great fix, would it be possible to translate this or levels overflow fix into Era plugins as well? If it is not too much work.

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

Page compiled in 0.1128 seconds