|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted July 14, 2018 09:26 PM |
|
|
I'm probably being real dense right now, but I don't understand the above.
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted July 15, 2018 04:11 AM |
|
|
It's a hex patch, modify your exe the same way as before with the code provided starting at the specified address.
If you eventually want to change the 175% to another value, the red numbers indicate the address of the % value. Currently 6404b4 (or w/e it is) points to 1.75 aka 175%.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted July 15, 2018 08:59 AM |
|
|
But it's supposed to be at 0x5BDD2C right? (Or 1BDD2Ch?) I don't have any of the numbers you mention at that address...
|
|
Zaibach
Hired Hero
|
posted July 15, 2018 12:10 PM |
|
|
RoseKavalier said:
Try at 2747b4h.
IT WORKS! Thank you very much RoseKavalier, you are the best!
My new faction is called Garden, and it is an alternative Conflux with Fey creatures. I could upload the mod when it's polished if someone is interested.
See ya!
|
|
Zaibach
Hired Hero
|
posted July 15, 2018 01:37 PM |
|
Edited by Zaibach at 16:13, 15 Jul 2018.
|
Is there a way to set Leprachauns, Sharpshooters, etc. to be Conflux related creatures? (and not neutral creatures) And elementals to neutral creatures?
EDIT: I managed to find the town refs in HotA.dat and change it for Leprechauns and Satyrs. It is the ff ff ff ff (changed in 08 00 00 00).
But where are Sharpshooters and Enchanters (and elementals)? They will probably are in h3hota.exe but I don't know where.
EDIT2: Ok, finded them all! Tnx you anyway
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted July 15, 2018 05:06 PM |
|
|
phoenix4ever said: But it's supposed to be at 0x5BDD2C right? (Or 1BDD2Ch?) I don't have any of the numbers you mention at that address...
Of course you don't, it's the entire hex patch - every number. I never give out context, just the patch and where to put it.
Seriously get a disassembler and see what it changes.
@Zaibach
The regular creature table has been posted several times.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted July 15, 2018 05:20 PM |
|
|
Okaaay, so I'm supposed to change the entire patch, I thought it was only the red numbers, the Dword.
Sorry about that, guess I misunderstood it all from the start.
Edit: Tested the entire string and it works. Thanks for all your trouble RK.
That was the longest string for changing anything yet. I really did'nt think I needed to change the entire string, but I'm happy it works now.
|
|
Zaibach
Hired Hero
|
posted July 15, 2018 05:49 PM |
|
Edited by Zaibach at 17:51, 15 Jul 2018.
|
Welcome to the Garden Town!
[url=https://imgur.com/a/njva4XV]Screenshot[/url]
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted July 15, 2018 09:28 PM |
|
|
@Zaibach
Now only level 6 and 7 need replacement
phoenix4ever said: Okaaay, so I'm supposed to change the entire patch, I thought it was only the red numbers, the Dword.
Sorry about that, guess I misunderstood it all from the start.
Edit: Tested the entire string and it works. Thanks for all your trouble RK.
That was the longest string for changing anything yet. I really did'nt think I needed to change the entire string, but I'm happy it works now.
Original code calculated mana in a very different fashion, the actual +100% portion was simply
SHL mana, 1
Which in binary operations means mana = mana * 2.
I had to reach some way back to "optimize" the code in order to create enough room for the new instructions. It also skips proper conversion from float to integer as per HoMM3 standard (which is why it rounds to nearest integer), but it netted some precious room. Not as bad as AlexSpl's patch to change Citadel/Castle growth thankfully.
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted July 18, 2018 03:06 AM |
|
|
RoseKavalier said: Vortex: this isn't perfect but should do the job considering HotA stops leveling at 74 now. Rounds to nearest integer rather than floor. (e.g. 10 becomes 17.5 >>> 18 and not 17)
0x5BDD2C
D1 E0 50 DB 04 E4 D9 1C E4 E8 E6 6D F2 FF D8 0C E4 D8 0D D4 04 66 00 DB 1C E4 5B 0F BF 4F 18 0F BF DB
Red is dword address used for 1.75 constant if you ever want to change it later or if HotA does something different there.
In the same line of thought, here is a patch for Magic Spring starting at 0x4A32D2
03 6A 01 5E 8D 0C B6 D1 E1 51 89 F9 E8 3D 18 04 00 DB 04 E4 D9 1C E4 D8 0C E4 D8 0D D4 04 66 00 DB 1C E4 58 0F BF F0 0F BF 57 18 8A 5D 10
Same pointer to 1.75 float in red.
|
|
peter1985
Hired Hero
|
posted July 18, 2018 09:31 AM |
|
|
Welcome H3 fans!
Soon I'll finish programming and download the newer version. I did a lot of graphics repairs, which took a lot of time. 99% is ready for programming, but stopped again in 1-2 things. I would like to ask for help.
On the map there are creature buildings that have (waw) sounds. 1 sound is assigned to several buildings, which I would like to modify.
The dungeon is in the castle (Mushroom Rings, Troglodyte horde building). I've already reprogrammed (00288840) to put the level 2 on level 1, but the graphics in the castle will still make the animation level 1.
In the "Experimental Shop", you can fight with golems and give you a giant bonus. I would like to add another bonus unit to the building.
The COVE town + 1 sulfur in Resource Silo. I did not find this change, but I've added it to the dungeon town. I changed the dungeon town mineral, so the cove was changed.
Thank you for your help. If you think, I will send pictures and videos about what I'm editing!
|
|
Djangoo
Adventuring Hero
|
posted July 23, 2018 12:30 PM |
|
|
Hello, I have a few questions regarding artifacts and I wonder if the following is possible to do with hex edit?
1. I basically removed Eagle Eye from the game and therefore want to make the Eagle Eye artifacts give a bonus to Sorcery instead.
2. smaller bonus to Orb of Rain/Firmament/Silt/Fire.
3. Cape of Velocity bonus speed 2 --> 1.
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted July 23, 2018 03:02 PM |
|
|
Djangoo said: Hello, I have a few questions regarding artifacts and I wonder if the following is possible to do with hex edit?
1. I basically removed Eagle Eye from the game and therefore want to make the Eagle Eye artifacts give a bonus to Sorcery instead.
2. smaller bonus to Orb of Rain/Firmament/Silt/Fire.
3. Cape of Velocity bonus speed 2 --> 1.
No
Yes
Yes
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted July 24, 2018 12:40 AM |
|
|
I was wondering if it's possible to change the effect of 3 artifacts:
*Shackles Of War
*Wayfarer's Boots (HotA artifact)
*Horn Of The Abyss (HotA artifact)
At the moment I don't really have any good ideas for any of them. (Also because I'm not sure what is possible and perhaps the HotA artifacts are hard to edit?)
Wayfarer's Boots could perhaps act like Boots Of Speed do now, (+600 movement) then I will change Boots Of Speed to +300 or +450.
Horn Of The Abyss could give you Fangarm abilities, meaning being immune to mind spells and auto casting expert Counterstrike at the start of a battle.
But I'd be interested if anyone, have some other good ideas for them.
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted July 24, 2018 01:42 AM |
|
|
You're welcome to dig in hota.dll for the hota artifacts. What I'll say is there is no universal function for artifacts, they are pretty much checked individually or in similar uses at specific places in the code.
For example: Necklace of Swiftness, Ring of the Wayfarer and Cape of Velocity are bunched together in one spot and not referenced elsewhere.
From this, you can conclude that Shackles are pretty much single-use: can run or not.
|
|
phoenix4ever
Legendary Hero
Heroes is love, Heroes is life
|
posted July 24, 2018 10:04 AM |
|
|
But it's possible to give Shackles another effect, right?
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted July 24, 2018 10:32 PM |
|
|
RoseKavalier said: From this, you can conclude that Shackles are pretty much single-use: can run or not.
I'm not sure what other use you can accomplish with hex edit.
|
|
wuxiangjinxing
Hired Hero
|
posted July 25, 2018 01:20 PM |
|
|
Is it possible to NOT delete heores' armies after the second hero in tavern each week?
____________
|
|
RoseKavalier
Admirable
Supreme Hero
|
posted July 25, 2018 04:02 PM |
|
|
wuxiangjinxing said: Is it possible to NOT delete heores' armies after the second hero in tavern each week?
C841Ch = 00
DA5F2h = 00
Djangoo said: 2. smaller bonus to Orb of Rain/Firmament/Silt/Fire.
3. Cape of Velocity bonus speed 2 --> 1.
Orbs:
Change DWORD pointer at E5B17h
Currently: 0x63EB30 = 1.500
Look back in the thread if you don't know what this means.
Cape
E5DD4h = 01
|
|
Djangoo
Adventuring Hero
|
posted July 25, 2018 07:22 PM |
|
Edited by Djangoo at 21:32, 25 Jul 2018.
|
Yes I know what to do from here, thanks RoseKavalier, you rule!
edit:
Orbs worked (1.2: 30 EB 63 00 --> 32 A3 55 00), but Cape surprisingly not.
but the Cape bonus never really bothered me much anyways, glad to be able to edit the Orbs (more than triple the bonus of Sorcery, wut?).
|
|
|