Skip to content

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

4.8 (4 ratings)
In reply to Vanechka
User Avatar
Auto-translated
Well, what better day to start a revolution than 08.08.08? Right?
There was a slight delay with the program. It would be good to release it in the morning, around 8:08:08.

And as for playing online, to paraphrase Kyle:
- Did you really win fairly? Did you look at the map? Did you use any auxiliary programs?
- Of course not!
- Then why did it take you so long to make your move when it was the archers' turn? And why did your morale increase right after that?
- I was just deciding who to shoot at. And I went to the kitchen to get some coffee. The morale increase was just a coincidence/randomness/luck.
- Well, then I have no complaints! Congratulations on your fair victory!!!
;)
SoD 3.2, 2SM4d(3), Full random
In reply to Senatоr
User Avatar
Auto-translated
Senatоr;189575
There was a slight delay with the program. It would be good to release it in the morning, around 8:08:08.
or even at 8pm:08:08 ;)
User Avatar
Auto-translated
Kyle;189582
you can also play at 8pm:08:08 ;)
That time will be here for me soon, in 2 minutes!

2Senator: Didn't you know that's how they play online?
In reply to Dirty_Player
User Avatar
Auto-translated
I'm ready to release the alpha version. I can't guarantee it will work on every machine. If there are any bugs, it's not my fault :) As they say, use it at your own risk...

1) The executable file should be named heroes3.exe (the window title doesn't matter);
2) I only tested it with the complete collection from Buka.

Limitations (for now):
1) The program shows the remainder of the division and only signals when the remainder is equal to 1, using a blue color;
2) The program only predicts morale.

P. S. Try testing the program first with a squad size of 1. "Windows" appear quite often, but they are very narrow. Wait for the "large window" (R changes unevenly, in jerks).

Morale! :)
In reply to Dirty_Player
User Avatar
Auto-translated
My time is almost up, in 2 minutes!
It didn't work for Novosibirsk :p.
Let's take Ukraine as an example. According to my watch, we still have 3 hours and 41 minutes. There's time for improvements:smile01:
Didn't you know that's how they play online?
Well, you can play with a group of friends. But a serious tournament?! With a large number of players, with a prize pool... it's scary to even imagine. :smile07:
SoD 3.2, 2SM4d(3), Full random
In reply to Senatоr
User Avatar
Auto-translated
AlexSpl;189586
Ready to release the alpha.
Go ahead! The audience is waiting :)
Senatоr;189587
Well, you can play with a group of friends. But what about a serious tournament? With a large number of players, with a prize pool... it's almost scary to imagine. :smile07:
But how can you prove that the map editor wasn't viewed? Serious tournaments should be played in computer clubs!
In reply to Dirty_Player
User Avatar
Auto-translated
Download Morality Traffic Light v0.0

1) Launch Heroes in windowed mode (you can also use fullscreen, but then you won't see the Traffic Light itself);
2) Launch the Traffic Light;
3) Enter a battle (the Traffic Light will display UNKNOWN);
4) Press "Start";
5) If everything is done correctly, instead of UNKNOWN, you will see the changing remaining value. When it equals one, the program will signal this.
6) Make the Heroes window active;
7) Play!

ATTENTION! Morale will not drop during an attack, despite the program's signal (in this case, R is also used for luck, I haven't implemented it yet, but it's not a problem).

Morale! :)
In reply to AlexSpl
User Avatar
Auto-translated
AlexSpl;189591

ATTENTION! When attacking, morale will continue to decrease until it reaches zero, regardless of the program's signal (in this case, R is also used for luck, although I haven't implemented it yet, but it's not a problem).
I don't understand, how do you check if the program is working? o_O
In reply to Kyle
User Avatar
Auto-translated
2Kyle: Move your unit at the moment when the program signals (when the remainder equals one).

I can assume that if the unit's luck is not less than one, in case of an attack, luck will be displayed instead of morale.
In reply to Kyle
User Avatar
Auto-translated
It's not working for me. I launch it, attack, and the program displays "19" and that's it. It doesn't change... one turn has no morale, the second turn has morale and luck, but "19" just stays there! :confused:
In reply to Dirty_Player
User Avatar
Auto-translated
Thank you for discontinuing the third installment as a tournament game. All former participants in the third installment's tournaments are invited to play the second installment! As a reminder, in the second installment, battles always proceed identically; that is, luck and morale, with the same actions, ALWAYS repeat. And talented programmers also have a wide field of opportunity – a random map generator for the second installment is greatly needed, at least at the level of the third installment. And many good people will thank you greatly!

Орден Фениксахаризматический :) лидер
In reply to Dirty_Player
User Avatar
Auto-translated
I haven't been on the forum for a hundred years, thanks to Ley for mentioning this program!
I have a suggestion: let's create a program called hero killer: your hero attacks the enemy hero in auto-battle until he wins!
"Если свет который во мне есть тьма, то какова тогда тьма?"

Ушел в Аллоды Онлайн!:)
In reply to Dirty_Player
User Avatar
Auto-translated
to Qwerty and fanat: Your sarcasm is understandable, but if you had taken the time to read this thread, starting from page 11 or 12, I think you wouldn't have written such posts.
In reply to Dirty_Player
User Avatar
Auto-translated
2Dirty Player: If the number doesn't change, it means that R is stored at a different address (the thing is that the address is fixed in the program). It works for me. Tomorrow I will upload the corrected version (v0.1). P.S. The program has only been tested on one computer so far, so if the number R doesn't change for you, it means that the program is reading R from the wrong address, and it is unlikely to work.
In reply to Dirty_Player
User Avatar
Auto-translated
Kyle, you're right; it's almost awkward to say anything more. Most likely, everything will become clear in a month or two, when things settle down, get tested, and we see what the outcome is. It's already started; the address is incorrect, it's not for that processor, or that operating system, etc.

Statistics

Welcome our newest member: Emil