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 5 - Modders Workshop > Thread: [TOOL] Homm5 Patcher & patch collection
Thread: [TOOL] Homm5 Patcher & patch collection This thread is 13 pages long: 1 2 3 4 5 6 7 8 9 10 11 12 13 · «PREV / NEXT»
Elvin
Elvin


Admirable
Omnipresent Hero
Endless Revival
posted December 18, 2016 12:41 PM

Vokial is mostly away but he could set the thread as project for you to edit at will.
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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


Responsible
Known Hero
posted December 20, 2016 04:01 PM
Edited by Deflaktor at 16:02, 20 Dec 2016.

Elvin said:
Vokial is mostly away but he could set the thread as project for you to edit at will.


Yeah, I asked for that around a year ago with no reply.

____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Responsible
Known Hero
posted December 20, 2016 04:37 PM
Edited by Deflaktor at 16:40, 20 Dec 2016.

Yet another version of the Patcher is out.

Homm5Patcher 2.7

Changes to the patcher:
- The patch list is sorted alphabetically now.
- Fill Operator (*) can now be used in both either patchBytes or originalBytes
- Hex Bytes do not have to be seperated by spaces anymore.
- Improved clarity of error messages.
- Patch Definitions can now consist of only checkAddress and checkBytes.
- Better conflict detection between patches.

With a new patch:
miniArtifacts2.yml
It's an (almost) complete rewrite of the function for calculating the values of the mini artifacts depending on hero's knowledge. It overwrites both the now deprecated miniArtifacts.yml and initiativeMiniArtifact.yml.

It converts the formula into the following calculation:

Quote:

value = (wisdom * miniArtifact_per_mille) / 1000
value++
if(value > miniArtifact_max)
 value = miniArtifact_max



Whereas miniArtifact_per_mille and miniArtifact_max can be specified for each mini artifact seperately. The only exception is the magic proof mini artifact which will keep its old formula.
____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Honorable
Legendary Hero
We don't need another 'eroes
posted December 20, 2016 05:00 PM

Deflaktor said:
Yeah, I asked for that around a year ago with no reply.



lol yeah no offense to anyone, but with the inactivity and the stressed messages from the current guy you could probably use a different moderator in that workshop who is able to moderate lol
____________

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


Admirable
Legendary Hero
modding wizard
posted December 21, 2016 02:36 PM

This new mini artifact patch sounds interesting, but i wonder can i patch MMH55 exe with it while it was already patched with the old mini-artifact patch? or do i somehow need to unpatch it first?

Also wondering are you interested in finding offset for mages energy channel 25% lowered to 10%?
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Responsible
Known Hero
posted December 21, 2016 04:49 PM

Yes you can safely overwrite it over the existing mini artifact patches. I took special care for that.

Okay I will try to find that offset

____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Admirable
Legendary Hero
modding wizard
posted December 23, 2016 04:19 PM

I've tested some more your latest patches, but

It now goes to level 50, but even with faster level patch applied it goes up very fast somewhere between 40-49. Currently H5.5 has very well balanced graph:

Lvl 25 requires rougly the same amount of experience
Lvl 30 requires 475k instead of 785k
Lvl 35 requires 4.2M instead of 15M
Lvl 37 requires 16M instead of 75M
Lvl 39 requires 83M instead of 463M
Lvl 40 requires 200M instead of 1300M

but potentially I think 475k- ~16-20M could be stretched over 31 to 48

The mini artifact also seems to have a bug (applied on mmh55) only HP,A,D & shatter remain available the others dissappear?


____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Responsible
Known Hero
posted December 23, 2016 07:13 PM
Edited by Deflaktor at 09:08, 24 Dec 2016.

magnomagus said:
I've tested some more your latest patches, but

It now goes to level 50, but even with faster level patch applied it goes up very fast somewhere between 40-49. Currently H5.5 has very well balanced graph:

Lvl 25 requires rougly the same amount of experience
Lvl 30 requires 475k instead of 785k
Lvl 35 requires 4.2M instead of 15M
Lvl 37 requires 16M instead of 75M
Lvl 39 requires 83M instead of 463M
Lvl 40 requires 200M instead of 1300M

but potentially I think 475k- ~16-20M could be stretched over 31 to 48



You can design a own level curve here Calculator

magnomagus said:

The mini artifact also seems to have a bug (applied on mmh55) only HP,A,D & shatter remain available the others dissappear?



Sorry there was a copy&paste error. New version fixes this. While doing that I also noticed that the patcher had a bug which has also been fixed so there is now yet another new version of the Patcher.

Patcher 2.8

Mini Artifacts V2.1
____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Admirable
Legendary Hero
modding wizard
posted December 23, 2016 09:10 PM

Thanks for fast update.

Quote:
You can design a own level curve here Calculator


I should have phrased my post differently, by very fast I meant like instantly, they require much less experience or no experience compared to levels before level 40. They don't follow the pattern from the 1.3 default setting. After lvl 40 the graph is bugged.
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Responsible
Known Hero
posted December 23, 2016 09:38 PM
Edited by Deflaktor at 21:42, 23 Dec 2016.

Just now I extracted the total exp needed for the levels after 40 directly from memory:

Level 40:   3,140,344
Level 41:   4,638,022
Level 42:   7,094,213
Level 43:  11,220,613
Level 44:  18,318,020
Level 45:  30,809,455
Level 46:  53,294,035
Level 47:  94,665,659
Level 48: 172,444,307
Level 49: 321,779,299
Level 50: 614,475,843

Note that 2,147,483,647 exp is the limit. If the exp needed goes beyond that it will instantly make you level 50.

Here are some Screenshots

These Values also correspond to the values the Calculator plots when setting growth_coefficient to 0.04 and level_modifier to -1.

So it works on my side. Can you send me your EXE? Im not sure what went wrong.
____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Admirable
Omnipresent Hero
Endless Revival
posted December 23, 2016 10:01 PM
Edited by Elvin at 22:39, 23 Dec 2016.

Deflaktor said:
value = (wisdom * miniArtifact_per_mille) / 1000
value++
if(value > miniArtifact_max)
 value = miniArtifact_max

So how does that work for the armour-crushing artifact? I think its miniArtifact_per_mille is 66 in which case 15 knowledge would give a value of 16x66/1000=0.99? But that doesn't sound right, what am I missing?

To be more precise, what value(miniArtifact_per_mille) would give -3 defense at 18 knowledge?
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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


Admirable
Legendary Hero
modding wizard
posted December 23, 2016 10:46 PM

Ok, I tried again with your new patcher and now it works properly

The only downside, now I have a lot of work to do if I really want to implement it in H55 properly.
____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Responsible
Known Hero
posted December 23, 2016 11:54 PM
Edited by Deflaktor at 01:16, 24 Dec 2016.

Elvin said:

So how does that work for the armour-crushing artifact? I think its miniArtifact_per_mille is 66 in which case 15 knowledge would give a value of 16x66/1000=0.99? But that doesn't sound right, what am I missing?

To be more precise, what value(miniArtifact_per_mille) would give -3 defense at 18 knowledge?


The values I put per default are those which mimic vanilla behavior. Note that 66/1000 is (almost) the same as 1/15, which is the vanilla divisor for that mini artifact.

To answer your question:
Quote:

(18 * x/1000) + 1 = 3
18 * x/1000 = 2
18 * x = 2000
x = 2000/18
x = 111



EDIT: Just noticed that I misread what you wrote

you dont add 1 to your wisdom but rather after the calculation. To put it in formula terms it is
(wisdom * per_mille / 1000) + 1
so with 15 wisdom and per_mille set to 66 the calculation is:
(15 * 66 / 1000) + 1 = 1.99
So only at 16 wisdom you get the next value:
(15 * 66 / 1000) + 1 = 2.056

In hindsight I should have probably set the per_mille value to 67 rather than 66 as that mimics the vanilla behavior better. I might just as well change that.

____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Responsible
Known Hero
posted December 24, 2016 04:24 AM
Edited by Deflaktor at 08:22, 24 Dec 2016.

Released energyChannel.yml
Released towerDamage.yml
____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Admirable
Omnipresent Hero
Endless Revival
posted December 24, 2016 09:16 AM

Oh there was +1 in the formula, that explains everything. Thanks!
____________
H5 is still alive and kicking, join us in the Duel Map discord server!
Map also hosted on Moddb

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


Responsible
Known Hero
posted December 24, 2016 09:40 AM

There is an error in my calculation. You rather need 112 than 111. Because 18*111/1000 + 1 = 2.998 which will be trunctuated to just 2.
18*112/1000 + 1 = 3.016 which will be correctly trunctuated to 3.
____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Responsible
Known Hero
posted December 24, 2016 11:08 AM

pest.yml has been updated to v1.6

The call ship trigger reported by dredknight is fixed now.
____________
My Heroes5 Dump /// My Heroes5 Patcher

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


Admirable
Legendary Hero
modding wizard
posted December 24, 2016 12:42 PM

Wow, you are on a roll! (again)

I was wondering now you have all this knowledge, is it still impossible to extend artifacts to more than 128?

____________
MMH5.5 Downloads | MMH5.5 Translations | MMH5.5 FAQ

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


Honorable
Supreme Hero
disrupting the moding industry
posted December 24, 2016 01:44 PM
Edited by dredknight at 13:45, 24 Dec 2016.

* Getting my popcorn and watching the thread *
____________
Join our official discord channel | NCF Utility Beta

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


Responsible
Known Hero
posted December 24, 2016 05:40 PM

Done

maxArtifacts.yml

I think the problem in the old, bugged patch was that I used some space that I thought was empty but it was not.

The patch does not crash anymore, however I still cannot test it, as I'm not familiar with adding new artifacts.

____________
My Heroes5 Dump /// My Heroes5 Patcher

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

Page compiled in 0.0705 seconds