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 3.5 - WoG and Beyond > Thread: How to edit HotA?
Thread: How to edit HotA? This Popular Thread is 111 pages long: 1 ... 10 11 12 13 14 ... 20 30 40 50 60 70 80 90 100 110 111 · «PREV / NEXT»
RoseKavalier
RoseKavalier


Admirable
Supreme Hero
posted June 16, 2017 04:00 PM
Edited by RoseKavalier at 16:01, 16 Jun 2017.

Patcher_x86 is a project where you can combine Assembly and modern programming language to change Heroes3.
It's available through baratorch's dropbox.
I don't know how to use it though

Sokoro said:
Yes, that is what I plan to do, change it back to 10,20,30. Could someone explain how to change the pointer?


See offset in first post of thread - offset: 0x0023e9b8(necromancy)

For logistics (first post): offset: 0x0023ea68(logistics)

Necromancy skill reads %value at memory 0x004E3F56 or E3F56 in hex editor. You can find this with disassembler or hex editor by searching for the offset above by adding 0x400000 (0x63E9B8) and reverse byte order. e.g. search for B8E963

So we just replace the necromancy pointer for the logistics pointer (0x63EA68) and reverse bytes (68EA63). '63' is unchanged so just edit the other two:

~~~

TL;DR

Restore 10/20/30% for Necromancy in memory:
Quote:

0x4E3F59 0x68
0x4E5F5A 0xEA




or in hex editor:
Quote:

0xE3F59 0x68
0xE5F5A 0xEA



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

Tavern Dweller
posted June 16, 2017 07:01 PM

Thanks! It worked, necromancy is back to its op glory (at least in the SS existence). Your reply should help other people too.

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

Tavern Dweller
posted June 16, 2017 07:53 PM
Edited by Gertos at 20:05, 16 Jun 2017.

Hey guys, i just have read whole topic, you did really good job with deasamble hex file.

I would like to increase a little bonus damage for spell specialists (solmyr, xarfax etc.) as it is for Ciele (+50%). Current bonus (0.03/lvl) is quite poor. Is that possible?

Is that possible to edit luck/morale values?

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


Admirable
Supreme Hero
posted June 16, 2017 09:07 PM

Gertos said:
Hey guys, i just have read whole topic, you did really good job with deasamble hex file.

I would like to increase a little bonus damage for spell specialists (solmyr, xarfax etc.) as it is for Ciele (+50%). Current bonus (0.03/lvl) is quite poor. Is that possible?



0x63AC08
It's not DWORD like the other ones posted before, it uses QWORD so you have 8 bytes to change.

0.03: 0x3F9EB851EB851EB8 << current
0.04: 0x3FA47AE147AE147B
0.05: 0x3FA999999999999A
0.06: 0x3FAEB851EB851EB9
0.10: 0x3FB999999999999A
0.15: 0x3FC3333333333333
0.20: 0x3FC999999999999A
0.25: 0x3FD0000000000000
0.50: 0x3FE0000000000000
1.00: 0x3FF0000000000000
(remember to reverse bytes)

Calculator

Recall that it also divides effect by creature level, so targetting an Archangel would result in a lot less than targetting an Imp.

Morale/luck: you mean odds of triggering?
____________
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
Baronus
Baronus


Legendary Hero
posted June 16, 2017 09:37 PM
Edited by Baronus at 21:38, 16 Jun 2017.

So maybe you know how to change absurdal phoenix rebirth to 100%? I found percent but changing destroy ability!

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


Admirable
Supreme Hero
posted June 16, 2017 10:02 PM
Edited by RoseKavalier at 14:10, 17 Jun 2017.

Baronus said:
So maybe you know how to change absurdal phoenix rebirth to 100%? I found percent but changing destroy ability!

I haven't looked into Phoenix ability yet so I don't have function address, got a reference I can look up?

0x4690B6 -> 89 (move initial alive number into # to be resurrected)
0x4690B7 -> C3

0x4690C5 -> EB (since rebirth is 100%, don't check for modulo 5 remainder rebirth chance
____________
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
Gertos
Gertos

Tavern Dweller
posted June 16, 2017 10:13 PM

About luck/morale. For now total luck is +3 with 12,5 % chance to gain which is ridiculous. It would be great to increase total luck to 5 or more with 30 % chance to gain. What about negative luck?

Quote:
Specific spells: Magic Arrow
Magic Arrow (Ciele) is the second damage Spell that has its own bonus regulation. In this case, as bonus the damage is effectively increased by 50%. The game does this by simply taking the spell damage, dividing it by 2 (through a register shift of the variable holding the amount of damage, so nothing to easily edit within the exe) and adding that on top of the spell damage.


Ciele has different formula than other hereos, so i think it's not possible as Maurice wrote. Just wanted make sure.

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


Admirable
Supreme Hero
posted June 16, 2017 10:42 PM
Edited by RoseKavalier at 23:05, 16 Jun 2017.

Gertos said:
About luck/morale. For now total luck is +3 with 12,5 % chance to gain which is ridiculous. It would be great to increase total luck to 5 or more with 30 % chance to gain. What about negative luck?

For Good Morale, I think you can try:
0x464586 -> 05
0x4645A0 -> 05

Bad Morale:
0x46458C -> FB
0x464593 -> FB

5 Morale gives you 5/24 = 20.8% odds

Luck: Don't have the function handy
I'll edit in when I can.

EDIT:
Looks like the luck function is handled through hota.dll so you're not getting an easy fix (because of bad luck which was not originally implemented).

Gertos said:
Ciele has different formula than other hereos, so i think it's not possible as Maurice wrote. Just wanted make sure.


Ciele and Luna are certainly possible, but it depends what you want to do. For instance you can have Ciele double damage by NOPing (0x90...0x90) the "divide by 2" SHR instruction.
____________
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
Baronus
Baronus


Legendary Hero
posted June 16, 2017 10:55 PM
Edited by Baronus at 22:56, 16 Jun 2017.

GREEEAT!! Why two values? Its is maybe morale + luck :-):-):-)
How is limit for morale and luck? And what with icon if will be 10? 10 icons?

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


Admirable
Supreme Hero
posted June 16, 2017 11:02 PM

Not the best programming:
First value loads '05' (or '03') in function argument.
Second value is the comparison - if Morale is greater than comparison, use the value from the function argument.

Morale def has another comparison elsewhere with '3' so if you're above it (say 5 like it's already possible), it still shows the 3rd def... you'd need new defs and most likely some more changes to display morale above 3.
____________
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
Baronus
Baronus


Legendary Hero
posted June 16, 2017 11:44 PM
Edited by Baronus at 14:09, 17 Jun 2017.

Absolutly wonderfull! I must use it. I think that we can use limit 0f and f0 negative. Its max I think. 15/24 = 62,5%! New game option! And lidership will be great ability.
..
Edited.
I checked phoenixes and it works! You deleted something :-) Percent I suppose :-) I try give 100%:-) Now Conflux is repaired!:-) We can give growth 2 for phoenixes!

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

Tavern Dweller
posted June 17, 2017 06:37 PM

Thanks a lot. I wanted boost luck mostly. But morale also needed that.

Quote:
I think that we can use limit 0f and f0 negative. Its max I think. 15/24 = 62,5%!


You can set 18 instead of 0f, thats 24 in hex. That give you 100% chance of triggering.

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


Legendary Hero
posted June 17, 2017 07:45 PM

Yes I know if it work. Good idea! I think about.
Positive 24 /24 = 100% >18
Negative 12/24 = 50% > f3
Great! Ideal!
Or
Positive 40/24 = 167%
Negative 15/24 = 62,5%
Max because 15/24 = 40/64 balanced proportion.

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

Tavern Dweller
posted July 11, 2017 02:07 PM

Hello guys

Heroes 3 is the best game ever in my opinion but as you say there are still so many unbalanced skills and spells in it.

One of these skills is diplomacy... I play hota and want to ban this unblockable skill from the game. can someone say how?
____________

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


Admirable
Supreme Hero
posted July 11, 2017 07:44 PM

You can disable it from level-ups with HCTRAITS.TXT (see last patch here) but you'll need MMArchive to use the HotA one.

But that doesn't block Seer Huts, Scholars or heroes starting with the skill.

Otherwise you'll need some programming: banned skills are written at game start by 0x004C25E0.
____________
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
raistlinazure
raistlinazure

Tavern Dweller
posted July 11, 2017 08:10 PM

RoseKavalier said:
You can disable it from level-ups with HCTRAITS.TXT (see last patch [url=http://randommaps.narod.ru/text.html]here[/url]) but you'll need MMArchive to use the HotA one.

But that doesn't block Seer Huts, Scholars or heroes starting with the skill.

Otherwise you'll need some programming: banned skills are written at game start by 0x004C25E0.


thanks for your help. Im not good at coding to be honest. isnt there a simple program which removes diplmacy permanently?
____________

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


Promising
Supreme Hero
Researching Magic
posted July 11, 2017 08:28 PM

raistlinazure said:
isnt there a simple program which removes diplmacy permanently?


yes, it's called ERA

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

Tavern Dweller
posted July 11, 2017 10:31 PM

RerryR said:
raistlinazure said:
isnt there a simple program which removes diplmacy permanently?


yes, it's called ERA



I have era but &#305; dont know how to use it. can you show how to ban skills with pictures?
____________

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


Admirable
Omnipresent Hero
Wog refugee
posted July 11, 2017 10:37 PM

Hota is not compatible with Era, so is either one or another. Then for banning successfully a skill, you need to create a mod with the right script. Is very simple however you must know the base of erm scripts.

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

Tavern Dweller
posted July 11, 2017 11:00 PM

I tried to edit hota random map and removed diplomacy from the game with edit options. but I started the game with adela of castle and she still had diplomacy.

I havent tried it yet but if I also remove diplomacy heroes then will it work?
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: Next Thread » This Popular Thread is 111 pages long: 1 ... 10 11 12 13 14 ... 20 30 40 50 60 70 80 90 100 110 111 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.1958 seconds