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 > Heroes 3.5 - WoG and Beyond > Thread: How to edit HotA?
Thread: How to edit HotA? This thread is 53 pages long: 1 2 3 4 5 ... 10 20 30 40 ... 49 50 51 52 53 · «PREV / NEXT»
phoenix4ever
phoenix4ever


Supreme Hero
Heroes is love, Heroes is life
posted July 25, 2018 11:08 PM
Edited by phoenix4ever at 23:10, 25 Jul 2018.

@Djangoo What did you change the orbs bonus to?, +25%?
Yeah kinda strange how Sorcery only adds +15%, while the orbs adds +50%. The orbs are worth it, Sorcery not so much…

Perhaps both Sorcery and the orbs could be +25%... (Don't know if it will make Sorcery specialists OP...)

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

Tavern Dweller
posted July 26, 2018 01:56 AM

RoseKavalier said:
wuxiangjinxing said:
Is it possible to NOT delete heores' armies after the second hero in tavern each week?


C841Ch = 00
DA5F2h = 00


The second address is for retreated hero.
____________

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


Honorable
Famous Hero
posted July 26, 2018 04:58 AM

Djangoo said:
[...] but Cape surprisingly not.



I know the other one is right as well, just not sure when it is triggered. Use that one and this one.
E6655h 02 -> 01

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


Adventuring Hero
posted July 26, 2018 07:16 AM
Edited by Djangoo at 07:18, 26 Jul 2018.

phoenix4ever said:
@Djangoo What did you change the orbs bonus to?, +25%?
Yeah kinda strange how Sorcery only adds +15%, while the orbs adds +50%. The orbs are worth it, Sorcery not so much…

Perhaps both Sorcery and the orbs could be +25%... (Don't know if it will make Sorcery specialists OP...)


Changed both Sorcery and the Orbs to 20% at the moment. But I think 25% would be perfectly fine as well for both, probably better, because I also reduced secondary skill specialists to only 3% per level.

Orbs:
change 30 EB 63 00 at 0xE5B17 to:

25%: 14 83 67 00
20%: 32 A3 55 00

@RoseK
Thanks, I will test it later.

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


Supreme Hero
Heroes is love, Heroes is life
posted July 26, 2018 09:05 AM

Djangoo said:
I also reduced secondary skill specialists to only 3% per level

This is interesting, It makes heroes like Crag Hack, Tazar and Gunnar less OP.
How did you make this change?

I might also go for the change of orbs and Sorcery, both to +25%.

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


Adventuring Hero
posted July 26, 2018 05:53 PM
Edited by Djangoo at 20:15, 26 Jul 2018.

phoenix4ever said:
Djangoo said:
I also reduced secondary skill specialists to only 3% per level

This is interesting, It makes heroes like Crag Hack, Tazar and Gunnar less OP.
How did you make this change?



On page 9 there is a post by Maurice.

Maurice said:
DADO007 said:
can anyone help me? I want improve Gunnar, Kyrre and Dessa specialty. Logistic from 5% per level to 10%



It can be done, but it's a slight bit awkward. The code at 0x000E4F1Ch - 0x000E4F21h (4 bytes) holds the hex value of E4 EA 63 00. This is in Little Endian, least significant bit first, so for human readability the value should be read as 00 63 EA E4. This is a pointer to a data value, held at location 0x0023EAE4h (keep in mind that when data from within the .exe is loaded into runtime memory, 0x00400000h is added to the actual location -> 0x0023EAE4h then becomes 0x0063EAE4h, the value above).

The data read at that referenced location is 4 bytes in size and holds the byte string CD CC 4C 3D. Once again writing it in human readable order, we get 3D 4C CC CD. This is the hexadecimal 32-bit floating point representation of the value 0.05. It's this value that is multiplied for Heroes with the Logistics specialty, with the bonus of their Logistics skill. However, it's also the value used for other skill Specialists. As such, changing this particular value would also affect all other skill Specialists. That's not what you have in mind, I guess.




I edited
0x0023EAE4h --> 8f C2 F5 3C (3%)

If I understood correctly, you can directly change this value to your liking without affecting anything else but the specialists. Affecting only certain specialists should be possible too (see post by Maurice) but I didn't put in that effort.

@RoseK: with both values changed it works


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

Tavern Dweller
posted July 27, 2018 08:28 PM
Edited by Urr at 20:29, 27 Jul 2018.

Is there a way I can edit First Aid skill (other that increasing amount of hp healed) by hex-editing?
I want to make First Aid skill giving the Tent ability to "cast" Cure and dispel negative effects from one target. I guess its not possible with hex edit, but what about mass heal? I knew that its possible to change effect from spells on expert level (mass or one-target) with hex editing.

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


Honorable
Famous Hero
posted July 27, 2018 09:52 PM

Tents don't cast Cure.

Improving First Aid is discussed already in here, I suggest looking at existing documentation in the thread.

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


Hired Hero
posted August 02, 2018 01:43 AM
Edited by Nmesa at 05:55, 02 Aug 2018.

Hi, RoseKavalier, looks like you are the only one who keep the thread alive
Could you tell me please the hex offsets for:

Diplomacy artifacts (Statesman's Medal, Diplomat's Ring, Ambassador's Sash)
Health artifacts (Ring of Vitality, Ring of Life, Vial of Lifeblood)
Spell Duration artifacts (Collar of Conjuring, Ring of Conjuring, Cape of Conjuring).

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


Honorable
Famous Hero
posted August 02, 2018 03:39 AM
Edited by RoseKavalier at 03:40, 02 Aug 2018.

Nmesa said:
Hi, RozeCavalier, looks like you are the only one who keep the thread alive
Could you tell me please the hex offsets for:

Diplomacy artifacts (Statesman's Medal, Diplomat's Ring, Ambassador's Sash)
Health artifacts (Ring of Vitality, Ring of Life, Vial of Lifeblood)
Spell Duration artifacts (Collar of Conjuring, Ring of Conjuring, Cape of Conjuring).


Note these are the ones I have identified previously, could be there are more.

Diplo - DWORD (float) pointers
Medal E4892h [0x63B8D0]
Ring E48D8h [0x63B8D0]
Sash E4920h [0x63B8D0]

Health
Ring Vitality - E5E42h [1, Dword]
Ring Life - patch @ E5E80h up to E5E95h. Duration in red
04 83 45 FC 01 33 C0 8B CF 83 39 60 74 31 40 83 C1 08 3C 13 7C
Vial - E5EC2h [2, Byte]

Spells
Collar E5068h [1, Dword]
Ring E50A8h [2, Byte]
Cape E50E6 [3, Byte]
Magi E5126h [32h, Byte]

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


Hired Hero
posted August 02, 2018 05:41 AM
Edited by Nmesa at 05:43, 02 Aug 2018.

Thanks a lot. Spell artifacts are fine, but Health bonuses didnt change after I typed new numbers, I have no idea why.
I guess pointer [0x63B8D0] means -10% gold cost for surrendering? This is not 90%, so I have no idea how to change it for example to -25%.

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


Honorable
Famous Hero
posted August 02, 2018 06:14 AM
Edited by RoseKavalier at 06:17, 02 Aug 2018.

Diplo: it calculates discount. Each one adds 10% discount. You can make negative float if you want.

HP: welp, the one I gave you is definitely correct, there must be another function somewhere that does similar thing but used at another time.

Currently...
RVitality - E66B3h [1, Dword]
RLife - needs long patch
Vial - E66D7h [2, Byte]

If you use RLife long patch: RVitality changes.
1) E6698h 1Ch

2) E66B1h
03 6A 01 5B 8B 7D FC 6A 5F 89 F9 E8 9F 2D FF FF 84 C0 74 03 83 C3 01

RVitality
RLife

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


Hired Hero
posted August 02, 2018 06:44 AM

Thanks, its working now!

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


Supreme Hero
Heroes is love, Heroes is life
posted August 02, 2018 07:27 PM

Is there any way to buff Ballistics?, for example have catapult act before arrow towers, if you have the skill? Or give it an additional effect?

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


Famous Hero
Life and Freedom
posted August 02, 2018 07:55 PM

catapult and shooting towers should act the same time...

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


Honorable
Famous Hero
posted August 02, 2018 09:24 PM

phoenix4ever said:
Is there any way to buff Ballistics?, for example have catapult act before arrow towers, if you have the skill? Or give it an additional effect?



It's possible to swap their initiative order, but I can't make wine out of water.

64B6Fh 95 ==> 91
64B7Ah 95 ==> 91

64B8Dh 91 ==> 95
64B98h 91 ==> 95

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


Supreme Hero
Heroes is love, Heroes is life
posted August 02, 2018 09:42 PM

Thanks RK, but the above seems to work even if you don't have Ballistics, I wanted it to be a bonus for the Ballistics skill, but perhaps it's not possible?

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

Tavern Dweller
posted August 03, 2018 02:25 AM
Edited by wuxiangjinxing at 02:27, 03 Aug 2018.

Is it possible to change the experiences earned in battle from health-based to battle-value-based (or AI-value based)?
____________

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


Honorable
Famous Hero
posted August 03, 2018 04:03 AM

phoenix4ever said:
Thanks RK, but the above seems to work even if you don't have Ballistics, I wanted it to be a bonus for the Ballistics skill, but perhaps it's not possible?

That's why I wrote:
RoseKavalier said:
but I can't make wine out of water.

it's painful to add functionality with hex edit that isn't there in the first place.

wuxiangjinxing said:
Is it possible to change the experiences earned in battle from health-based to battle-value-based (or AI-value based)?

Yep.

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

Tavern Dweller
posted August 03, 2018 04:40 AM

RoseKavalier said:
phoenix4ever said:
Thanks RK, but the above seems to work even if you don't have Ballistics, I wanted it to be a bonus for the Ballistics skill, but perhaps it's not possible?

That's why I wrote:
RoseKavalier said:
but I can't make wine out of water.

it's painful to add functionality with hex edit that isn't there in the first place.

wuxiangjinxing said:
Is it possible to change the experiences earned in battle from health-based to battle-value-based (or AI-value based)?

Yep.


Oh that's awsome.  I guess I can find some space in the code by modifying where is originally int3 or NOP.  Do you think it's safe to do this?
____________

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

Page compiled in 0.0926 seconds