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: General HOMM3 cheat engine script
Thread: General HOMM3 cheat engine script
wuxiangjinxing
wuxiangjinxing


Hired Hero
posted April 08, 2021 05:22 AM

General HOMM3 cheat engine script

This is a cheat-enging script I made for my own gameplay and I decide to share it in this community.  It's not a script that helps you modify hero's stats or get 99999 golds, but rather allows you to change some 'rules' in game.

You can find the script here:
[url=https://drive.google.com/file/d/1JQaHkDqfDSjUl072y4l6adB3swwJwLNV/view?usp=sharing]h3 cheat engine script[/url]

Most of the features in the script work with HOMM 3.2, HOTA and ERA.  I do not play with other MODs but I guess they still work if the MODs are based on HOMM 3.2, but you might need to use the script with your own judgement.  For example, obviously VCMI is a completely new platform and the script will not work.

Lot of features in the script are from the following thread, thanks a lot all the questions and answers:
[url=http://heroescommunity.com/forumdisplay.php3?FID=12]How to edit HOTA[/url]

Currently the script has the following features:
Battle experience is based on AI value instead of HP.
Creatures can cast spells on themselves.
Not only the first two tavern heroes each week can keep their troops.
Allow refusing both secondary skills at lvl-up.
First aid tent always heal for MAX possible HP, still dependent on skill level.
Forgetfulness is NOT a mass spell with advanced water magic.
Any creature can be spawned in a refuggee camp.
Heroes are always spawned with MAX possible creatures in each troop stack.
Allow transferring a hero's last troop stack.
Fix an old bug that Roland is specified on crusader instead of swordsman.
Heroes are always spawned with three troop stacks.
Allow 15 heroes on the adventure map.

WIP:
1)Try to ask the author of HD mod to add a scroll bar to the hero list
2)Try to figure out why the following feature of 'delete hero's last troop' does not work for HOMM 3.2 and HOTA.  This feature only works with ERA.
4ddc7e:
 db 90 90 90 90 90
5af7d0:
 db b2 01 90
5d5139:
 db 90 90 90 90 90
5d50f1:
 db 90 90 90 90 90

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


Responsible
Supreme Hero
posted April 09, 2021 03:04 PM
Edited by AlexSpl at 15:06, 09 Apr 2021.

Quote:
Allow 15 heroes on the adventure map.

How is this possible? I mean, you have only 8 fields for heroes in Player structure. The next two fields are for Tavern heroes, so this won't work without bugs.

If you really want to change heroes' limit, consider this plugin (you are still limited by 8 heroes though).

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


Hired Hero
posted April 10, 2021 01:54 PM

AlexSpl said:
Quote:
Allow 15 heroes on the adventure map.

How is this possible? I mean, you have only 8 fields for heroes in Player structure. The next two fields are for Tavern heroes, so this won't work without bugs.

If you really want to change heroes' limit, consider [url=https://handbookhmm.ru/forum/viewtopic.php?f=56&t=518&start=2000#p21443]this plugin[/url] (you are still limited by 8 heroes though).


Based on my testing, the '8 fields for heroes in Player' just affect the functions related to the hero list (i.e, searching for the next hero still has movement points).  However, the codes that determines whether you can hire a new hero from tavern or moving a hero out of town are just simply checking a single byte.

I have not found any severe bug that breaks the game.  Certainly you cannot select the hero on the hero list due to UI limit, but you can select the hero manually.  Saving/loading works just fine and the saved game is compatible w/o the script being executed.  Here is an example save file you can download and check to see whether there is any severe problem.

[url=https://drive.google.com/file/d/1lmAazh7MVtcMZeUmBzECBQ1n2zS7XJuU/view?usp=sharing]12 heroes[/url]  

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


Admirable
Omnipresent Hero
Wog refugee
posted April 10, 2021 06:57 PM

I tested your save and it works. For Era/Wog, assigning one key to display/loop only the extra heroes could be possible.

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


Hired Hero
posted April 11, 2021 01:20 AM

Okay I do find a big problem: those extra heroes will not recover movement points every day!  

If playing with ERA I can simply write an erm script that loops over all heroes and recover their movement points at the beginning of each day.  But for HOMM 3.2 and HOTA that will be very painful...  I can write a cheat-engine script to give them movement points but I cannot do all those calculations (slowest troop, logistics, boots and gloves) in cheat engine script.


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

Tavern Dweller
posted April 20, 2021 08:15 AM

Yay! I'm gonna save this cheat sheet.. I will check more like this.. And I will share this with my fellow gamer, we have a community forum. [url=https://klamathlandscapepros.com/]Click here[/url] to see our community... Thank you


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0364 seconds