Skip to content

Posts from A program for determining luck/morality in Heroes 3! Auto-translated

4.8 (4 ratings)
#587
Auto-translated
Thank you very much for such a detailed analysis.
#588
Auto-translated
Wow, cool! So, you created something for the first game? That's awesome! And I was struggling with the campaign in the old-fashioned way...
User Avatar
#589
Auto-translated
Discovered that the +4 bonus also disappears when the attacking unit is on the "line of attack." What exactly constitutes the "line of attack" remains to be determined. ---------|D1 A---------D2 ---------|D3 For example, in this case, the bonus is removed from all three enemy units.
#590
Auto-translated
Please add sorting in the hero grid by name and MP, as well as a filter when searching by the minimum MP value, so that, for example, you can find all heroes with an MP of 1800 or more! And the biggest request is to make the hero window search by title, not by the executable file name.
User Avatar
#591
Auto-translated
.:: LMOracle 3.51 ::.

:: What's new? ::
1) Added the ability to plan the recruitment of neutral creatures;
2) Fixed:
a) The program now correctly predicts recruitment even on the underground level;
b) Hostility, charisma, and other values are now displayed only when hovering the cursor over a neutral creature stack.

Now the program shows the exact number of neutral creatures in a stack on the map when hovering the mouse cursor over it, as well as:
- Hostility of the stack (X, ranges from -4 to 10);
- Hero's Charisma (Ch, ranges from -3 to 16, more details in the "FizMiG Reference" forum thread);

:: Instructions ::
Find the desired Hero and select him from the list (DOUBLE-CLICK on the Hero's name).

If the Hero's charisma is not less than the hostility of the neutral stack (a necessary condition for recruitment), the program also shows the JV value (used to determine whether the neutral stack will join for free). The condition JV >= X is a sufficient condition for free recruitment. If this condition is not met, the program shows the JVG value (used to determine whether the neutral stack will join for gold). JVG >= X is a sufficient condition for recruitment for gold. The program also provides a text-based prediction in case the neutral stack joins (for free or for gold). There must be enough gold, otherwise the neutrals will simply not join. If the Hero's charisma is not less than the hostility, but neither of the conditions (JV >= X, JVG >= X) is met, the program shows both values (JV and JVG).

For reference: JV = Sympathy + Diplomacy_Level + 1, JVG = Sympathy + 2*Diplomacy_Level + 1, where
Sympathy = 0 if your army does not have the same or upgraded creatures as the neutrals;
Sympathy = 1 if your army has at least one such or upgraded creature;
Sympathy = 2 if the total number of such and upgraded creatures in your army is strictly greater than the number of other creatures.

Note. Recruiting magma, ice, and energy elementals will not be helped by earth, water, and fire elementals. This is an exception to the general rule (possibly a bug).

Diplomacy_Level = 0..3 - the level of development of the secondary skill Diplomacy.

Example. You need to recruit a stack of archangels. You don't have any angels or archangels in your army. X=5, Ch=9, and the program says that JV=2, JVG=3. This means that you have a basic diplomacy skill. If you get an advanced skill (JV=3, JVG=5), you will be able to recruit these neutrals for gold. But even with an expert diplomacy skill, you will not be able to recruit this stack for free (JV=4). But if you have at least one angel in your army, there will be no problems with free recruitment with expert diplomacy (JV = 1 + 3 + 1 = 5 = X).

Note. On the Easy difficulty level, recruiting neutrals works as if the Hero already has a basic diplomacy skill. For example, if the Hero learns advanced diplomacy, recruitment will proceed according to the expert diplomacy scheme. The bonus disappears when you get expert diplomacy. Keep this in mind. Although, I don't think anyone plays on Easy here :)

LMOracle 3.51
#592
Auto-translated
Please add support for the Russian version of SoD 3.2. Also, it would be great to have the option to save information about found heroes to a file. Additionally, you could display information about heroes' primary skills in the grid.
User Avatar
#593
Auto-translated
Good day.

2AlexSpl: It would be good to include a file with the history of changes to the program in the archive, as is usually done for programs.

Sincerely, K0Lb@zzeR.
:smile13: [ТУРНИР] "Гонка за Лидером" :smile13:
:smile28: [M] "Я и моя тень" - "I am and my shadow" :smile28:
:smile16: "Быстрая смерть" - "Fast Death" :smile16:
User Avatar
#594
Auto-translated
.:: LMOracle 3.6 ::.

:: What's new? ::
1) Now you can sort the list of Heroes alphabetically, by MaxMP, or by MP (right-click -> Sort);
2) Added the ability to search for Heroes with a specific skill (right-click -> Find -> Skilled Heroes);
3) "Search" menu;
4) Search for a process by its window title.

Download LMOracle 3.6
In reply to AlexSpl
User Avatar
#595
Auto-translated
Here are a few suggestions!

1. Is it possible to implement a feature where, when searching for heroes, the interface displays their affiliation with a particular color. For example, if a hero belongs to the player, their name would be displayed in red (depending on the player's color), and if a hero belongs to the AI, their name would be displayed in the AI's color. Heroes that are neutral could be displayed in black, and heroes that are not available on the map could be displayed in another color or with an underline/strikethrough.... It would also be great to indicate if a hero is in a tavern with a different font style and the player's (or AI's) color. That would be awesome!!! It would eliminate the need for a "sniffer" tool!
For example, like this:
Adel - belongs to the red player
Moner - belongs to the green player
Fiona - in the tavern of the blue player
Sir Mullich - simply available
Jelu - banned
{{Grindan}} - in prison.

2. Create a program (possibly a separate one) that doesn't search for heroes, but instead places the desired hero (from those available, of course!) in the tavern. This would save a lot of time!!!

3. We recently tested the "invisibility" feature for the traffic light during online play. It turns out it doesn't work!!!!! :eek: I wonder what's causing this? Although, maybe it's for the best that it doesn't work online, as many people were already panicking about it :D

4. Alex, please add two items to the "Help" section: "About" and a help section explaining what buttons to press and so on!
#596
Auto-translated
I want to thank you again. Comments: 1. When deleting a hero from the list, I would like the focus to move to the next hero. Currently, it is inconvenient to delete multiple heroes; you have to click on "delete," then on the hero. 2. When searching for heroes of a specific class (from the menu), the already found heroes should not be deleted (currently, the grid is cleared and filled with new ones). 3. Implement the ability to load heroes from a file and save them to a file. For example, you find the desired heroes, save them to a file, and the next time you can load them from the file instead of searching again. 4. Make the sorting work in both directions (ascending and descending). Make the sorting by clicking on the column name (I can share the sorting code). 5. Diplomacy only works if both the Monitor and Oracle are enabled; I usually only use the Monitor, which is inconvenient. to dirty. I do it like this: there is a file that stores the probabilities of a hero of a certain type appearing in the tavern - HCTRAITS.TXT. For example, when digging for a jewel, you set the percentage...
In reply to Монца
User Avatar
#597
Auto-translated
Monza

I do it like this: there is a file that stores the probabilities of a hero of a certain type appearing in the tavern - HCTRAITS.TXT. For example, you dig for Jelu, set the percentage.
Where is it located? I have the Platinum Edition, and I couldn't find it either in the root directory or on the disc...

Added 4 minutes later
Dirty_Player

For example, like this:
Adel - belongs to the red faction
Moner - belongs to the green faction
Fiona - is in the tavern of the blue faction
Sir Mullich - is simply available
Jelu - is banned

{{Grindan}} - is in prison.
There is such a thing: it scans your heroes, even those that are banned.

+ and another request: is it possible to search for skill combinations? for example, you need air + logistics + earth.

P.S.: The program is great, I don't know how it is with the "traffic light" - I haven't figured it out, but the tree processing part of the program is simply mind-blowing. Thank you.

P.P.S.: Digging in external taverns and cities of allies is ruining my nervous system. I think it's not just mine. Therefore, Monza, please explain how to find the file with the probability - I can't figure it out. And if you made a "hero substitution" - so that it sets the probability to 95% for the desired hero (not 100 - just in case there is a classmate in the tavern or a hero in the tavern is a companion or banned) - it would be just amazing...
In reply to Монца
User Avatar
#598
Auto-translated
Monza
to dirty.
I do it like this: there's a file that stores the probabilities of a hero of a certain type appearing in the tavern - HCTRAITS.TXT. For example, you dig for Jellu, and the percentage...
I've heard about this method! But if they catch you, they'll immediately invalidate the result! :(

2 Vanya: you forgot about the dungeon... you're right!

The probability notepad is extracted from the resources... There's one in The Third Era!
#599
Auto-translated
how is it even possible to do that? And how can you prove it? Explain.
The file is located in the resources, in h3bitmap.lod. For convenience, extract the file and place it in the data folder (you don't need to pack it), open it with Excel, and use it. After making changes, save it, restart the game.

to AlexSpl
Also, I would like to be able to search for a hero based on the following criterion: who gets +10 attack first. I think it shouldn't be difficult to implement.
User Avatar
#600
Auto-translated
How do I open the h3bitmap.lod file?
User Avatar
#601
Auto-translated
1. Is it possible to implement a feature where, when searching for heroes, the program displays their affiliation with a particular color? For example, if a hero belongs to the player, their name would be displayed in red (depending on the player's color), and if the hero belongs to the AI, their name would be displayed in the AI's color. Heroes that don't belong to anyone could be displayed in black, and heroes that are not available on the map could be displayed in another color or with a strikethrough. It would also be great to indicate if a hero is in a tavern by using italics and the player's (or AI's) color. That would be awesome! It would make "Sniffer" completely useless!

It's possible. I will implement it.
2. Create a program (possibly a separate one) that doesn't search for heroes but instead places the desired hero (from the available ones) in the tavern. This would save a lot of time!

That's also possible, but it would involve writing to the RAM. The "Traffic Light" program's motto is: observe, but don't interfere. If you want it based on another program, that's fine.
3. We recently tested the "Traffic Light" program with "Invisibool" enabled during an online game. It turns out it doesn't work!!!!! I wonder what's causing this? Although, maybe it's for the best that it doesn't work online, as many people were already panicking about it.

That's strange (something might be wrong with the addresses). However, it's probably for the best. Online games are very sensitive to programs of this kind.
4. Alex, please add two items to the "Help" section: "About" and "Help," where it explains what to click and how to do it!

There will be a text file with instructions in the archive.
1. When deleting a hero from the list, I would like the focus to move to the next hero. Currently, it's inconvenient to delete multiple heroes; I have to click on "delete" and then on the hero.

It seems like everything is already working correctly with that.
2. When searching for heroes of a specific class (from the menu), the already found heroes should not be deleted (currently, the grid is cleared and filled with new ones).

OK.
3. Implement the ability to load heroes from a file and save them to a file. For example, if I find the desired heroes, I can save them to a file, and the next time I can load them from the file instead of searching again.

That's a good idea, but I don't like files very much, especially when they are missing. But it seems that it's impossible without them. Then all settings should also be saved in an ini file. I will do it.
4. Make the sorting work in both directions (ascending and descending). Make it possible to sort by clicking on the column name (I can share the sorting code).

If it's not difficult, send the code to my email.
5. Diplomacy only works if both the "Traffic Light" and "Oracle" are enabled. I usually only use the "Traffic Light," which is inconvenient.

I will fix it.
Also, I would like to be able to search for a hero based on the following criterion: who will get +10 attack first. I think it shouldn't be difficult to implement.

I will take it into account.
+ another request: is it possible to search for combinations of skills? For example, I need a hero with Air Magic + Logistics + Earth Magic.

Yes, it will be implemented.