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: Heroes 3 Hacking Reference Guide
Thread: Heroes 3 Hacking Reference Guide This thread is 42 pages long: 1 10 ... 12 13 14 15 16 ... 20 30 40 42 · «PREV / NEXT»
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted May 19, 2021 11:38 PM
Edited by AlexSpl at 23:48, 19 May 2021.

Not actually, you don't have to touch the DOS header. Some random example - link. You add free space to the end of the executable and edit the PE header.

It works The example - WoG. Also I use this method in my patch (Heroes 1 TE with plugins support, but just to put there my loader for plugins, but you can put whatever code you want there, and make your section as big as you wish).

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


Famous Hero
Moist & Creamy
posted May 19, 2021 11:49 PM
Edited by BTB at 23:50, 19 May 2021.

I'll keep this in mind if space ends up becoming an issue. But I've an abundance of it at the moment

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


Legendary Hero
Heroes is love, Heroes is life
posted May 22, 2021 09:43 PM

BTB do you know anything about unused spell specialties?
I was thinking about changing Ash's and Inteus's Bloodlust to Curse and Misfortune instead.
I think I have tried these specialties before, but they does'nt seem to do anything, perhaps they need to be "activated" somewhere or do these specials simply not work?
Sorrow would also be an interesting spell specialty.
All damage specialties seems to work, also those not currently implemented.

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


Famous Hero
Moist & Creamy
posted May 22, 2021 11:25 PM

All spells without specialties default to the scaling routine, which in 99% of cases does nothing since the formula does not appreciably increase the result. You would have to go to the table that specifies which spell has which specialty and set it to something else.

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


Legendary Hero
Heroes is love, Heroes is life
posted May 22, 2021 11:35 PM

So if I want Curse and Misfortune I would have to replace two of the existing specialties?

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


Famous Hero
Moist & Creamy
posted May 22, 2021 11:47 PM

Phoenix4ever said:
So if I want Curse and Misfortune I would have to replace two of the existing specialties?


No.

Curse: 0E6375
Misfortune: 0E637F

Change these values from 6 to the desired bonus.

00 = +100% damage
01 = +50% damage
02 = Tier bonus (Bloodlust, Stoneskin, etc.)
03 = Static bonus (+2)
04 = Always expert (Fortune)
05 = Tier bonus (Slayer)

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


Legendary Hero
Heroes is love, Heroes is life
posted May 22, 2021 11:50 PM
Edited by Phoenix4ever at 09:13, 23 May 2021.

Oh okay, I need to try that.
Thanks.

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


Responsible
Legendary Hero
Modding the Unmoddable
posted May 23, 2021 01:22 AM

Curse can't have "percent increase" since it's always minimum damage. % per level formula does nothing,

Similarly misfortune, it's always *maximum* negative luck. You can't go over that. (though I guess you can cast at expert and make it mass)
____________
Never changing = never improving

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


Famous Hero
Moist & Creamy
posted May 23, 2021 01:27 AM
Edited by BTB at 01:28, 23 May 2021.

NimoStar said:
Curse can't have "percent increase" since it's always minimum damage. % per level formula does nothing


This is incorrect. It will have the exact same effect as the Bless bonus in the original game.

NimoStar said:
Similarly misfortune, it's always *maximum* negative luck. You can't go over that. (though I guess you can cast at expert and make it mass)


It is possible (and recommended) to edit the Morale and Luck formulas to raise the maximum/minimum bonuses.

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


Legendary Hero
Heroes is love, Heroes is life
posted May 23, 2021 09:13 AM
Edited by Phoenix4ever at 09:16, 23 May 2021.

Expert Misfortune only gives -2, with the specialty it would always give -3. (opposite the Fortune specialty.)

Expert Curse does minimum damage -1, so I don't see why it would'nt work. (opposite the Bless specialty.)

BTB can you perhaps give me the addresses for Sorrow and Slow too?

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


Famous Hero
Moist & Creamy
posted May 23, 2021 09:16 AM
Edited by BTB at 09:17, 23 May 2021.

Phoenix4ever said:
Expert Misfortune only gives -2, with the specialty it would always give -3. (opposite the Fortune specialty.)

BTB can you perhaps give me the addresses for Sorrow and Slow too?


All of the addresses are in my guide.

Quote:

Summon Boat 2854AC Meteor Shower 2860E4 Stoneskin 286D1C
Scuttle Boat 285534 Death Ripple 28616C Disrupting Ray 286DA4
Visions 2855BC Destroy Undead 2861F4 Prayer 286E2C
View Earth 285644 Armageddon 28627C Mirth 286EB4
Disguise 2856CC Shield 286304 Sorrow 286F3C
View Air 285754 Air Shield 28638C Fortune 286FC4
Fly 2857DC Fire Shield 286414 Misfortune 28704C
Water Walk 285864 Resist Air 28649C Haste 2870D4
Dimension Door 2858EC Resist Fire 286524 Slow 28715C
Town Portal 285974 Resist Water 2865AC Slayer 2871E4
Quicksand 2859FC Resist Earth 286634 Frenzy 28726C
Land Mine 285A84 Anti-Magic 2866BC Counterstrike 28737C
Force Field 285B0C Dispel 286744 Berserk 287404
Fire Wall 285B94 Magic Mirror 2867CC Hypnotize 28748C
Earthquake 285C1C Cure 286854 Forgetfulness 287514
Magic Arrow 285CA4 Resurrection 2868DC Blind 28759C
Ice Bolt 285D2C Animate Dead 286964 Teleport 287624
Lightning Bolt 285DB4 Sacrifice 2869EC Remove Obstacle 2876AC
Implosion 285E3C Bless 286A74 Clone 287734
Chain Lightning 285EC4 Curse 286AFC Summon Fire 2877BC
Frost Ring 285F4C Bloodlust 286B84 Summon Earth 287844
Fireball 285FD4 Precision 286C0C Summon Water 2878CC
Inferno 28605C Weakness 286C94 Summon Air 287954



(God, the formatting on this forum is ass. Pure roasted ass.)

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


Legendary Hero
Heroes is love, Heroes is life
posted May 23, 2021 09:17 AM

Thank you.

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


Famous Hero
Moist & Creamy
posted May 27, 2021 02:20 AM

Something else I did a little while ago was rewrote the scaling spell bonus formula to something a lot simpler. A scaling bonus that does more damage to LOWER-tier units seemed kinda bass-ackwards, so I simplified the formula to simply add damage equal to the unit's tier times the hero's level. It's fairly customizable to your liking since the resulting formula takes up a lot less space.

If anyone is interested, I can post it.

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


Legendary Hero
Heroes is love, Heroes is life
posted May 27, 2021 05:17 PM
Edited by phoenix4ever at 22:54, 28 May 2021.

BTB do you know if it is possible to make Haste/Slow and Bless/Curse remove each other, instead of countering each other?
(Example if needed: My enemy starts the round by casting Mass Haste, when I get my turn, I cast Mass Slow, but this will not mean his units have Mass Slow, but instead no spells at all, since the Slow removed the Haste.)
This is part of the reason why these spells are so strong, too strong imo.

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


Famous Hero
Moist & Creamy
posted May 29, 2021 02:25 AM
Edited by BTB at 02:28, 29 May 2021.

I remember seeing the subject come up, but never looking into them because I wasn't interested. Off-hand, I think it's related to the spell flags, but it would have to be one of the effects I haven't documented yet. I'd suggest starting there.

EDIT: looking at it more, it might be perhaps related to the absence of this bit:

BYTE 2, BIT 2 (40)
------------------

Used on (Earth/Air/Fire) Shield, Counterstrike, Anti-Magic, Magic Mirror, and all magic resist spells.
There is no apparent link between these spells separating them from the other buff/debuff spells.

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


Legendary Hero
Heroes is love, Heroes is life
posted May 29, 2021 07:38 AM

BTB said:
BYTE 2, BIT 2 (40)

So this is missing from Haste, Slow, Bless and Curse?
I'm gonna need to check that out.

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


Famous Hero
Moist & Creamy
posted May 29, 2021 07:50 AM

Phoenix4ever said:
BTB said:
BYTE 2, BIT 2 (40)

So this is missing from Haste, Slow, Bless and Curse?
I'm gonna need to check that out.


Also Bloodlust, Stone Skin, Precision, Weakness...

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


Legendary Hero
Heroes is love, Heroes is life
posted May 29, 2021 08:13 AM
Edited by Phoenix4ever at 10:57, 29 May 2021.

Hmm those are not counterspells, so it might not have anything to do with that.
But I'll see if I can do anything with the Haste, Slow, Bless and Curse flags.

Edit: It would be interesting if we could fully crack the code about what the data in byte 2 and 3 does to spells.
I see you have already speculated about that and I guess it's hard to know for sure exactly what they do.

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


Famous Hero
Moist & Creamy
posted May 29, 2021 01:28 PM

Well, I'm almost ready to update this guide... it's a little messy toward the end because I haven't gone through and cleaned things up or elaborated on a couple of things, but the information is all there.

I also feel like, slowly but surely, this thing is turning into "ASM for Dummies".

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


Famous Hero
Moist & Creamy
posted May 30, 2021 04:54 AM

All right, I've updated the hacking guide. It's still a little messy toward the end so I'll update it again when it's all cleaned up, but the information is all there.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 42 pages long: 1 10 ... 12 13 14 15 16 ... 20 30 40 42 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0799 seconds