Posts from Reverse Engeneering HoMM 3
Please correct me if I'm wrong....
P.S. And in general, let's create an expert system, even if it's based on a production model - what's wrong with that? We have plenty of experts...
disassemble the necessary part of the executable file.
Первое правило форума :
"Хвалу и клевету приемли равнодушно
И не оспаривай глупца" (с)
Новичкам: ВНИМАТЕЛЬНО перечитайте ВЕСЬ первый пост по нижеприведенной ссылке и 90% ваших вопросов отпадут( на остальные 10% с удовольствием отвечу):
Правила онлайн игр
Perhaps the first post didn't imply a specific and clear algorithm?
I meant the entire algorithm, down to the smallest detail.
- what does this give, please explain?
The algorithm. Getting statistics and speculating on them is a worse option.
IMHO :)
Added after 4 minutes
The skill tree is generated when the map is launched. That is, you start the game, and a certain skill tree is generated. That is, you can study the tree on the first day, and it will remain constant throughout the game.
I agree with Horn. It's not exactly a tree that's created, but rather a random number (or several numbers) that is then used to generate everything.
Important point. If you get a skill in the witch's hut, the seer's hut, the university, or from a scholar, it completely breaks the skill tree and gives a new one, but it's permanent and doesn't depend on level-ups!
Of course. In the sense that you're talking about, the tree is broken; in a mathematical sense, that number is changed.
If you store the entire tree, it will take up a lot of space, believe me. :)
Of course. In the sense you're talking about, the tree is broken; in a mathematical sense, the number itself changes.
I meant the entire algorithm, down to the smallest detail.
If you store the entire tree, it will take up a lot of space, believe me.
I outlined a version that can be understood by the "average person," which I understand and practically anyone else will understand.
Not everyone will want to delve into such complexities.
Once you understand this algorithm, you can present it to the public in an easily digestible form. Those who have tried to understand the algorithms of God have presented them in the form of Newton's laws, or something similar:p
I meant the entire algorithm, down to the smallest detail.
ERM has an operator that allows you to find out what will be offered on the next level. This means that Slava has found the entry point to the desired function in the Heroes of Might and Magic code. Perhaps (in ERM, you can't be sure of anything in advance - everything needs to be tested :rolleyes:), this operator will allow you to write a script that generates a tree for a specific hero. The only question is, in what form should this tree be presented? At most, a script can create a text file. This means that another program is also needed to convert these text files into a visual format, for example, a graph. This would undoubtedly be useful for offline play, but it would require a lot of work... However, if someone takes on the second part of the work (interpreting the text file), I could try to handle the first part. But it will only work in WoG and add-ons based on it; unfortunately, it won't work for the classic SoD.
Of course. In the sense that you are talking about, the tree is broken; in a mathematical sense, that number is changed.
Most likely, it is not the number that changes, but its interpretation by the algorithm. After all, if a hero acquires a skill from a witch, instead of the chance of getting it as a new skill, there is a chance to improve it. That is, the skill from the right slot "moves" to the left.
Why is it needed? Players have enough with the probability table and knowledge of those specific details, like the guaranteed appearance of Wisdom. The specific implementation is only needed by someone who is going to modify it. :)
Has it been proven that the values from the probability table for classes are not subject to adjustments by the algorithm in the event of certain events (for example, in the case of already existing skills)?
If there is no correlation between the probabilities of skill drops, then it's a bit sad.
And who can say for sure what other rules there are besides Wisdom at level 6 and some magic school at level 4?
ERM has an operator that allows you to find out what will be offered at the next level. This means that Slava found the entry point to the desired function in the Heroes of Might and Magic code. Perhaps (in ERM, you can't be sure of anything in advance - everything needs to be tested :rolleyes:), this operator will allow you to write a script that generates a tree for a specific hero. The only question is, in what form should this tree be presented? At most, a script can create a text file. This means that another program is also needed to convert these text files into a visual format, for example, into a graph. This would undoubtedly be useful for offline play, but it would require a lot of work... However, if someone takes on the second part of the work (interpreting the text file), I could try to handle the first part. But it will only work in WoG and add-ons based on it; for classic SoD, unfortunately, it won't.
If this is an offer to everyone who is interested, then I will definitely think about it for a couple of days and write to you in a private message.
It's likely that the number itself isn't changing, but rather its interpretation by the algorithm. After all, if a hero acquires a skill from a Sorceress, instead of having a chance to obtain it as a new skill, they have a chance to upgrade it. In other words, the skill from the right slot "moves" to the left.
Yesterday, I was playing as Inferno. The Scholar gives Octavia the basic Necromancy skill. After a few levels, I was offered to upgrade it, even though Earth and Logistics were not at the expert level. That is, if the chance to upgrade was equal to the chance to obtain it (which is 0%), then I would only be able to upgrade it when all the skills were at the expert level and there were no free slots. But that's not the case. From the above, it follows that one of two things is true:
1. There are specific probabilities for obtaining a particular upgradeable skill.
2. The skill in the left slot is chosen randomly from the non-expert skills.
I think that option 2 is correct. If anyone knows for sure, please share!
Но поскольку я нищий,
у меня лишь есть мечты.
Я разостлал свои мечты пред вашими ногами.
Ступайте бережно, ибо вы ступаете по моим мечтам.
