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 20 30 40 50 60 70 80 90 ... 94 95 96 97 98 ... 100 110 111 · «PREV / NEXT»
BTB
BTB


Famous Hero
Moist & Creamy
posted June 12, 2021 09:34 PM

Probably your best bet there is to open up HD.exe in Cheat Engine and look at the code to be modified, then see if any of it differs from vanilla.

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


Known Hero
posted June 12, 2021 10:21 PM

BTB said:
Probably your best bet there is to open up HD.exe in Cheat Engine and look at the code to be modified, then see if any of it differs from vanilla.


So for example:

The water wheel:

In H3HD
0AA3D1: E8 7B D6 FF FF 5F 5E 5B 8B 4D F4 64 89 0D 00 00

In Vanila, on the same address:
0F BF D8 8B 45 E4 C1 E0 06 0F BF C0 0F BF FA 8B

But when I search for the exact same string (from HD):
E8 7B D6 FF FF 5F 5E 5B 8B 4D F4 64 89 0D 00 00 - is @ AA760

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


Known Hero
posted June 14, 2021 08:05 PM

In the RMG.txt (again in Vanila) is there a way to make the RMG-s I make selectable? Or are they made at random in the map editor (or in game).

I am very unfamiliar how it works, but am willing to give it a try ^^.

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


Promising
Supreme Hero
posted June 15, 2021 10:50 AM

Random, depends on option settings.

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


Known Hero
posted June 20, 2021 01:55 PM

It works.

deleted all the other RMGs from the txt, and left only mine for testing. So it works

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


Famous Hero
Moist & Creamy
posted June 20, 2021 07:29 PM

silverG said:
BTB said:
Probably your best bet there is to open up HD.exe in Cheat Engine and look at the code to be modified, then see if any of it differs from vanilla.


So for example:

The water wheel:

In H3HD
0AA3D1: E8 7B D6 FF FF 5F 5E 5B 8B 4D F4 64 89 0D 00 00

In Vanila, on the same address:
0F BF D8 8B 45 E4 C1 E0 06 0F BF C0 0F BF FA 8B

But when I search for the exact same string (from HD):
E8 7B D6 FF FF 5F 5E 5B 8B 4D F4 64 89 0D 00 00 - is @ AA760


Bear in mind that because the jump addresses are going to be different, the hex strings are not going to match up completely. But you can confirm that this is indeed what you're looking for by loading up the game in Cheat Engine and putting a stop at that address.

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


Known Hero
posted June 22, 2021 08:48 PM

BTB said:
silverG said:
BTB said:
Probably your best bet there is to open up HD.exe in Cheat Engine and look at the code to be modified, then see if any of it differs from vanilla.


So for example:

The water wheel:

In H3HD
0AA3D1: E8 7B D6 FF FF 5F 5E 5B 8B 4D F4 64 89 0D 00 00

In Vanila, on the same address:
0F BF D8 8B 45 E4 C1 E0 06 0F BF C0 0F BF FA 8B

But when I search for the exact same string (from HD):
E8 7B D6 FF FF 5F 5E 5B 8B 4D F4 64 89 0D 00 00 - is @ AA760


Bear in mind that because the jump addresses are going to be different, the hex strings are not going to match up completely. But you can confirm that this is indeed what you're looking for by loading up the game in Cheat Engine and putting a stop at that address.



How do I put a stop at the adress?

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


Famous Hero
Moist & Creamy
posted June 22, 2021 10:23 PM

silverG said:
How do I put a stop at the adress?


In the memory viewer, press F5. Then play the game. The game will halt at the instruction where the stop was placed.

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


Adventuring Hero
posted July 11, 2021 11:02 AM

I have 3 questions and I would appreciate it if someone could tell me how to solve them by hex edit.

1. How to change archangel-ressurection power-per-unit?

2. I found a bug that the mass cure spell could not remove the hypnotize spell. Is there a way to correct this?

3. Can I make RESURRATION spell work the same as principle of Vampire's Absorption avillity? For example, if the power of RESURRACTION is 200HP, it doesn't work for Titan at all, but I want to that it can recover health point, at least.

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


Legendary Hero
Heroes is love, Heroes is life
posted July 19, 2021 07:53 PM
Edited by phoenix4ever at 19:54, 19 Jul 2021.

Probably a long shot, but has anyone figured out how to change these things back to how they were before HotA:

* Restore Tower, Inferno and Conflux's build orders.
* Make Arch Devils give -1 luck.
* Make Firebirds immune to fire.

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


Known Hero
posted July 19, 2021 11:25 PM

Hello,

how can we edit the summon water elemental spell to actually summon Ice Elemntals insead - water elementals just seem useless.

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


Famous Hero
Moist & Creamy
posted July 20, 2021 09:39 AM
Edited by BTB at 10:07, 20 Jul 2021.

silverG said:
Hello,

how can we edit the summon water elemental spell to actually summon Ice Elemntals insead - water elementals just seem useless.


The IDs for the creatures summoned by the four elemental spells are specified at:

1A2042 = Fire
1A2057 = Earth
1A206C = Water
1A2081 = Air

A caveat to this is that the "Push" instruction used (6A XX) is signed and thus limits us
to a maximum ID of 7F; anything higher (which includes Energy Elementals) will be read as
a negative number and will crash the game. We can push higher values than 7F, but it will
need a longer opcode (68 XX 00 00 00), meaning we have to jump to free space to do it.

You can also remove the completely arbitrary rule specifying that only one type of
elemental may be summoned at a time by going to 19F8BF and changing 0F to 00.

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


Known Hero
posted July 20, 2021 03:28 PM
Edited by silverG at 20:02, 20 Jul 2021.

Ist there a way to change the pictures in the .def

For example I have changed the Summon Water and Air elementals to Ice and Storm, now it would be great if I can also adjust the .def so it looks more appealing.

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

Tavern Dweller
posted July 23, 2021 11:25 AM
Edited by Lubomirsb at 15:12, 23 Jul 2021.

Hello guys ! I read the original post and I ... didn't do quite well.
Can you navigate me on how to change Neela starting ability from Scholar to Logistics ?
From the polish guide. "Use the Hex-Editor to open the Heroes3.exe file and go to line 279DD0" . I did that except I don't have a line 279DD0 but 279D00. Still the description on the right is HeroSpec.txt so I guess its the right location.
"The order is reflected in HOTRAITS.txt". Ok so I see HOTRAITS.txt but how to "see" the order there ? Can you guys help me a bit ?

--- EDIT ---

So I found line 279DD0 and according to the guide

First hero:
00 00 00 00 07 00 00 00 00 00 00 00 06 00 00 00 01 00 00 00 01 00
00 00 01 00 00 00 00 00 00 00 FF FF FF FF
00 00 00 00 02 00 00 00 04 00 00 00 44 F1 67 00 34 F1 67 00 01 01

This should be some from human race (07) with first skill leadership (06) , I change 06 to 00 (pathfinding) and nothing changes for any hero in the castle. Is there something more to be done ?
____________

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


Known Hero
posted July 23, 2021 06:09 PM
Edited by silverG at 20:27, 23 Jul 2021.

Lubomirsb said:
Hello guys ! I read the original post and I ... didn't do quite well.
Can you navigate me on how to change Neela starting ability from Scholar to Logistics ?
From the polish guide. "Use the Hex-Editor to open the Heroes3.exe file and go to line 279DD0" . I did that except I don't have a line 279DD0 but 279D00. Still the description on the right is HeroSpec.txt so I guess its the right location.
"The order is reflected in HOTRAITS.txt". Ok so I see HOTRAITS.txt but how to "see" the order there ? Can you guys help me a bit ?

--- EDIT ---

So I found line 279DD0 and according to the guide

First hero:
00 00 00 00 07 00 00 00 00 00 00 00 06 00 00 00 01 00 00 00 01 00
00 00 01 00 00 00 00 00 00 00 FF FF FF FF
00 00 00 00 02 00 00 00 04 00 00 00 44 F1 67 00 34 F1 67 00 01 01

This should be some from human race (07) with first skill leadership (06) , I change 06 to 00 (pathfinding) and nothing changes for any hero in the castle. Is there something more to be done ?



00 00 00 00 07 00 00 00 00 00 00 00 06 00 00 00 01 00 00 00 01 0000 00 01 00 00 00 00 00 00 00 FF FF FF FF
00 00 00 00 02 00 00 00 04 00 00 00 44 F1 67 00 34 F1 67 00 01 01

the redis the secondary skill
the green is the secondary skill level (01 00 00 00 - basic; 02 00 00 00 - advanced; 03 00 00 00 - expert)

Assuming you want to change the scholar to logistics
Neela is at: 27AA64 in HxD edit.
change the 12 00 00 00 01 00 00 00 to 02 00 00 00 01 00 00 00.

SAVE the .exe file (but first make a backup of the original .exe).
after this, you need to overrwirte the .exe in the H3 file with the .exe that you've just modified.

If you wish I can send you my .exe (I am only playing H3SoD Vanila, not the HD version.)

If you wish to do some comparing, testing.

The rest of the infos you can look up here:
http://btb2.free.fr/misc/h3_hacking.txt

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

Tavern Dweller
posted July 23, 2021 08:49 PM

00 00 00 00 07 00 00 00 00 00 00 00 06 00 00 00 01 00 00 00 01 0000 00 01 00 00 00 00 00 00 00 FF FF FF FF
00 00 00 00 02 00 00 00 04 00 00 00 44 F1 67 00 34 F1 67 00 01 01

the redis the secondary skill
the green is the secondary skill level (01 00 00 00 - basic; 02 00 00 00 - advanced; 03 00 00 00 - expert)

Assuming you want to change the scholar to logistics
Neela is at: 27AA64 in HxD edit.
change the 12 00 00 00 01 00 00 00 to 02 00 00 00 01 00 00 00.

SAVE the .exe file (but first make a backup of the original .exe).
after this, you need to overrwirte the .exe in the H3 file with the .exe that you've just modified.

If you wish I can send you my .exe (I am only playing H3SoD Vanila, not the HD version.)

If you wish to do some comparing, testing.

The rest of the infos you can look up here:
http://btb2.free.fr/misc/h3_hacking.txt


Thank you so much for the fast reply ! Now its working. I had two problems, one of which was that I was editing heroes3.exe instead of the h3hota HD.exe ... and the other comes from the first, I can not see which hero I edit.
The link for h3_hacking.txt is pure gold. Thank you man !
____________

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


Known Hero
posted July 23, 2021 08:57 PM

You are welcome.

Sadly I can't edit/hack H3HD, because it crashes....

But I am satisfied with H3SoD Vanila as well.

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


Known Hero
posted July 24, 2021 12:05 AM
Edited by silverG at 14:32, 25 Jul 2021.

Aaaaaaaa crap....

My H3SoD.exe got a critical error, cause of the H3Bitmap.lod being too large, and kept constantly crashing.

I went to reinstall it, and my haste level was in expert mode, and I accidentally clicked on the "delete saved games" and the uninstall deleted EVERYTHING, including my backups of working tweaks  and notes...

Ffffffffuuuuuuuuuuck!

EDIT:



Found an old backup of the .exe, here 20% of the edited stuff is missing, but with a little time, I can get it all back and running.

QUICK QUESTION:

Did we manage to unlock the secrets behind the gold mine productivity increase?

CHanging:
2782A0 - 1,000
277990 - 1,000

doesn't seem to cut it.... we only get the report of the x nmber when capturing it, but the x isn't added to kingdom's income.

E8 03 00 00 - the 1,000 Gold is almost everywhere:
1D769
1E822
1F22D
22178
29205
2B14F
31100
31331
35848
4AE43
53480
537C1
93659
9E568
A347F
A50D0
A50F5
A5577
A5587
A65DF

and the list gose on.... But what sparked my interest are these here:
2823FC - 84 00 00 00 50 C3 00 00 C4 09 00 00 DC 05 00 00 E8 03 00 00 F4 01 00 00 00 00 00 00

26069C - 64 00 00 00 23 00 00 00 01 00 00 00 24 00 00 00 E8 03 00 00 25 00 00 00 C8 00 00 00

26061C - 01 00 00 00 0C 00 00 00 0A 00 00 00 0D 00 00 00 E8 03 00 00 0E 00 00 00 01 00 00 00

260500 - 00 00 00 00 00 00 F4 3F 00 00 00 3F 00 00 00 3F E8 03 00 00 96 00 00 00 64 00 00 00

These look kind of familiar, but I can't realy put my finger on it what they are for.

And I tried to make the Creature Horde for Tower more adequate, I personally don't like it, that the Gargoyles are +8, they are useless in my opinion; so I adjusted the horde to be Gremlins/Master gremlins.

Creature (2887E0)             Growth (2887E4)              Tier (283A68)
1C 00 00 00                     1E 00 00 00                  01 -> 00

As soon as I build the Sculptors wings, the game gets a minor bug and removes the WOrkshop building, meaning I have to rebuild it. But the horde numbers have been applied.

Is there a way to work through this little glitch?

Is there a way to increase the +350 Gold skill speciality to say +1000Gold? - I couldn't find it in the helpful b2b?

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


Famous Hero
Moist & Creamy
posted July 25, 2021 05:11 PM

The value of resource specialties is hardcoded; the only one I know how to edit is gold
specialties (0E4681 = 5E 01 00 00, or 350 gold). These specialties are dumb, anyways.

----

Mine output:

277978, 278288 (Sawmill)
27797C, 27828C (Mercury Lab)
277980, 278290 (Ore Pit)
277984, 278294 (Sulfur)
277988, 278298 (Crystals)
27798C, 27829C (Gems)
277990, 2782A0 (Gold Mine)

---

The horde building thing is a known pain in the ass. Short answer is that I don't know how to change the tier that a horde building is boosting.

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


Known Hero
posted July 25, 2021 07:48 PM

BTB said:
The value of resource specialties is hardcoded; the only one I know how to edit is gold
specialties (0E4681 = 5E 01 00 00, or 350 gold). These specialties are dumb, anyways.

----

Mine output:

277978, 278288 (Sawmill)
27797C, 27828C (Mercury Lab)
277980, 278290 (Ore Pit)
277984, 278294 (Sulfur)
277988, 278298 (Crystals)
27798C, 27829C (Gems)
277990, 2782A0 (Gold Mine)

---

The horde building thing is a known pain in the ass. Short answer is that I don't know how to change the tier that a horde building is boosting.


Yeah, the 277990, 2782A0 (Gold Mine).
DOes it, however, it DOES NOT add to the income directly. One ist the text and the other should add to the income, however it does not.

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

Page compiled in 0.0893 seconds