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 4 - Lands of Axeoth > Thread: Why i cannot add 3'rd or 4'th abilities?
Thread: Why i cannot add 3'rd or 4'th abilities? This thread is 2 pages long: 1 2 · NEXT»
vulcancolak
vulcancolak


Famous Hero
posted February 06, 2020 10:02 AM
Edited by vulcancolak at 07:12, 27 Feb 2020.

Why i cannot add 3'rd or 4'th abilities?

Hello everyone. I am trying to add 3'rd ability to Angel but here is the picture

click

When i try to add new ability on next part, it removes all of the current abilities.
39 (resurrection) 6A 19 (fly) and if i will put new ability on these values, current abilities removes. Do i need to to do something special for that? I can replace the current ones but not the add new ones even if the unit still have the 2 empty slots


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


Responsible
Supreme Hero
Modding the Unmoddable
posted February 14, 2020 11:22 PM

You need RoseKavalier's DLL extension to do that (well that or make binary assembly jumps as Equi did which is ... quite hard)

Get it in his messages here:

http://heroescommunity.com/viewthread.php3?TID=46056
____________
Discover H4 Greatest Mod!
https://www.moddb.com/mods/greatest-mod/downloads
(Also biggest of only two 2 mods for HOMM IV)

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


Famous Hero
posted February 16, 2020 07:23 AM

Uhm.. Wow. Probably i will skip this one because it is too advanced for me. Thank you so much for your help.

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


Admirable
Supreme Hero
posted February 16, 2020 03:28 PM

Just to be certain... you looked at this post?

Because once you've downloaded files and created a patched exe, all you have to do is edit a json (text) file to get whatever abilities... that should be simpler than the hex editing you were writing about in op.
____________
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
vulcancolak
vulcancolak


Famous Hero
posted February 17, 2020 11:18 AM
Edited by vulcancolak at 07:50, 18 Feb 2020.

RoseKavalier said:
Just to be certain... you looked at this post?

Because once you've downloaded files and created a patched exe, all you have to do is edit a json (text) file to get whatever abilities... that should be simpler than the hex editing you were writing about in op.

The problem is, i have a many flaws with English and it looked complicated to me. But if you say it is easier than exe edit, i will read it carefully today and try to handle it by myself. But i will ask for the help if i stuck at some points. By the way my "MAIN" goal is able to edit artifacts. I have a serious problems with artifacts and it would be amazing to edit them as i want. Thank you for your response, i will check this out today.

Update 1: Yes i have checked but when i tried to open, i get the error message about some dll files and i have downloaded them

vcruntime140d.dll
ucrtbased.dll
vcruntime140d

I have downloaded 3 of these files and put it into my heroes 4 folder. But after i do that, i am getting error like this.

The application was unable to start correctly (0x000007b)
Click OK to close the application.


Update 2: Today i have moved 3 dll files from heroes 4 directory, uninstalled all visual studios and installed this one
https://ibb.co/W0wrfGJ
But still it is asking for the missing dll files.

And also i have realized msvcp140d.dll, vcruntime140d.dll and ucrtbased.dll files are not installing with this all in one pack. What should we do? Maybe i can try to use your own dll files for the make it work.

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


Admirable
Supreme Hero
posted February 18, 2020 05:11 PM

vulcancolak said:

And also i have realized msvcp140d.dll, vcruntime140d.dll and ucrtbased.dll files are not installing with this all in one pack. What should we do? Maybe i can try to use your own dll files for the make it work.


Hmm, that's an unfortunate error on my part it appears.
Usually I set my released projects to be fully inclusive but it seems I simply forgot to do it here.

I'll fix the issues then update the files 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
vulcancolak
vulcancolak


Famous Hero
posted February 18, 2020 07:15 PM

RoseKavalier said:
vulcancolak said:

And also i have realized msvcp140d.dll, vcruntime140d.dll and ucrtbased.dll files are not installing with this all in one pack. What should we do? Maybe i can try to use your own dll files for the make it work.


Hmm, that's an unfortunate error on my part it appears.
Usually I set my released projects to be fully inclusive but it seems I simply forgot to do it here.

I'll fix the issues then update the files later today.


I am waiting for good news. And thank you again for your help.

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


Admirable
Supreme Hero
posted February 21, 2020 05:16 PM bonus applied by Galaad on 22 Feb 2020.

It took longer than expected but I have recompiled everything with verified settings.
And then I did the extra step of checking on a winXP VM with bare bones...where it patched and loaded just fine so I'm hoping your issues will be resolved as well.

Link to release page
____________
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
NimoStar
NimoStar


Responsible
Supreme Hero
Modding the Unmoddable
posted February 22, 2020 03:57 PM

Nice. I take it that the link will be fixed on the original page?
____________
Discover H4 Greatest Mod!
https://www.moddb.com/mods/greatest-mod/downloads
(Also biggest of only two 2 mods for HOMM IV)

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


Admirable
Supreme Hero
posted February 22, 2020 06:06 PM

It's the same link, to the release page of H4MS repository, unless I every modify the repository or Github modifies how release pages are accessed (like Dropbox did not too long ago), the initial link will remain valid.

...I just updated H4MS.zip on that page.
____________
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
vulcancolak
vulcancolak


Famous Hero
posted February 23, 2020 06:59 AM
Edited by vulcancolak at 07:00, 23 Feb 2020.

Hello again RoseKavalier. Now i have started to test it. I have realized it requires the original file first. Because i wasn't able to work on my modified Heroes4.exe but i can create [patched]heroes4.exe. But when i click the exe (i haven't modified anything and just wanted to test it) nothing happens. It is normal?
I can provide any information you need.


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


Admirable
Supreme Hero
posted February 23, 2020 02:51 PM

So, just to recap...

* you were able to create the patched exe using 'H4patcher.exe' ?
* but then launching the patched exe does nothing... no message error, no loading cursor, no nothing?

Some questions...
* launching the default heroes4.exe works?
* have you tried launching as administrator? / are you using an administrator account ?
* what OS are you using?

I can add some extra debug information to try and locate where issues may lie but I'd like to know some more details first. Testing on winXP and win10 usually covered most of every issue I've ever encountered in my short modding career, hoping this is no different
____________
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
vulcancolak
vulcancolak


Famous Hero
posted February 24, 2020 07:22 AM

Hello my friend. Sure. First of all yes i can run heroes4.exe (it is original with 2002 date) then i am patching it with your patcher and when i click to it, it is trying to load something for 3 seconds, then nothing happens. When i return home, i will try it with my original heroes 4 folder and i will let you know what happens. I have Windows 10 Pro and yes i have tried run as administrator with my local administrator account.

RoseKavalier said:
I can add some extra debug information to try and locate where issues may lie but I'd like to know some more details first. Testing on winXP and win10 usually covered most of every issue I've ever encountered in my short modding career, hoping this is no different


Don't feel bad about the situation. Age 35, still modding many games (heroes4, heroes5, dozens of warcraft maps, red alert 3, tes v skyrim, starcraft 1, starcraft 2) and i know how it feels when people find issues after countless hours and sleepless nights.

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


Admirable
Supreme Hero
posted February 25, 2020 03:40 AM
Edited by RoseKavalier at 23:56, 25 Feb 2020.

Alright, let's try this.

I simplified the code to use basic winapi functions and added some very basic debugging to H4MS. Every time H4MS does manage to load, you'll either get a messagebox with an error or some logging to "H4MS debug [date].txt".

Also the paths to dll are explicitly stated now instead of using relative directory, hoping that helps along with a few extra safeties here and there.

For now I switched everything to ascii instead of wide char, technically this shouldn't change anything because old exe like this don't work with non-ascii directories anyway... but we'll see.

Download H4MS basic log

Not going through github repository cos we're looking for a needle here.
____________
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
vulcancolak
vulcancolak


Famous Hero
posted February 25, 2020 07:38 PM
Edited by vulcancolak at 19:40, 25 Feb 2020.

Hello again my friend. Now i have tested it with original Heroes 4. Now this time after i patch it, i was able to start the game. Game started with 1 campaign but when i tried to enter map folder, game crashes. Here is the picture.

google create url then i have tried to download the file you have uploaded but

"Error Code: 404
Description: File Not Found
Please try again or return to Heroes Community Home Page"


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


Admirable
Supreme Hero
posted February 25, 2020 11:57 PM

I flipped the link and name around, fixed it.
Re-posting for clarity:
Download H4MS basic log
____________
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
vulcancolak
vulcancolak


Famous Hero
posted February 26, 2020 05:05 PM
Edited by vulcancolak at 17:21, 26 Feb 2020.

RoseKavalier said:
I flipped the link and name around, fixed it.
Re-posting for clarity:
Download H4MS basic log


Man, you are amazing. Definitely. How can i properly thank you? Not only you. Specially NimoStar and Karmakeld too.

Edit. Lol i have a serious problem now When i put patched exe to my folder (my heroes 4 mod) it is not loading

Here it is my folder infrastructure. I am sorry about that. I was thought i was able to run exe within my heroes4 mod folder.
My mod based on equilibris 3.51 and my files within the equi.h4r


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


Admirable
Supreme Hero
posted February 26, 2020 08:13 PM

I haven't looked at supporting Equi yet, only the base game.

If it now works on the base game for you, then I'll update the actual release and one day look at supporting Equi.
____________
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
vulcancolak
vulcancolak


Famous Hero
posted February 26, 2020 08:50 PM

If i would know how to make it work with equi, probably i would like to do that but sadly i don't have the talents to do that. But at least current release is fixed thanks to me i believe take care of yourself.

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


Responsible
Supreme Hero
Modding the Unmoddable
posted February 27, 2020 12:46 AM

Too bad. IF it doesn't work with Equilibris then it won't work with my mod either, since it is als equilibris based like vulcancolak's one.

I supposse the incompatiblity happens because of the equilibris .dll which "Hacks" the code in the original exe replacing it / supplementing it with its own.

So, when the .exe is modified/patched by the RoseKavalier ability adder,
then part of the code is replacd again by the equi dll and making it non functional.

that is my take on the problem, anyways, just an hypothesis, but sounds logical based on how everything works.

Supporting equilibris then is a matter of making a modified DLL.

However there is another option...

the Equilibris exe has some parts of the creature ability list replaced by the hex jumps I mentioned (that sends the exe code to read the abilities somewhere else in its own code, like the extra Earth Elemental abilities)

THe rosekavalier extension that is suppossed to work replacing this section of the code is ... destroyed, for lack of a better word (corrupted?) by this jump.

In that case it MAY BE easy to fix this by hex-replacing the hex code of abilities in Equilibris exe, by the code of abilities in original exe (and the parts off site as well), thus suppressing the jump and letting rosekavalier extension work.
____________
Discover H4 Greatest Mod!
https://www.moddb.com/mods/greatest-mod/downloads
(Also biggest of only two 2 mods for HOMM IV)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 2 pages long: 1 2 · NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0849 seconds