|
|
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
|
|
Deflaktor
Responsible
Known Hero
|
posted December 20, 2016 04:01 PM |
|
|
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
|
|
Deflaktor
Responsible
Known Hero
|
posted December 20, 2016 04:37 PM |
|
|
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
|
|
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
____________
|
|
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
|
|
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
|
|
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
|
|
Deflaktor
Responsible
Known Hero
|
posted December 23, 2016 07:13 PM |
|
|
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
|
|
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
|
|
Deflaktor
Responsible
Known Hero
|
posted December 23, 2016 09:38 PM |
|
|
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
|
|
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
|
|
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
|
|
Deflaktor
Responsible
Known Hero
|
posted December 23, 2016 11:54 PM |
|
|
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
|
|
Deflaktor
Responsible
Known Hero
|
posted December 24, 2016 04:24 AM |
|
|
|
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
|
|
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
|
|
Deflaktor
Responsible
Known Hero
|
posted December 24, 2016 11:08 AM |
|
|
|
magnomagus
Admirable
Legendary Hero
modding wizard
|
posted December 24, 2016 12:42 PM |
|
|
|
dredknight
Honorable
Supreme Hero
disrupting the moding industry
|
posted December 24, 2016 01:44 PM |
|
|
|
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
|
|
|