Massive multiplayer bug discovered in Heroes 3!

The old Heroes games developed by New World Computing. Please specify which game you are referring to in your post.
User avatar
UndeadHalfOrc
Cyber Zombie
Cyber Zombie
Posts: 1362
Joined: 13 Mar 2007

Massive multiplayer bug discovered in Heroes 3!

Unread postby UndeadHalfOrc » 01 Apr 2008, 15:48

So for a few months now, I have two computers at home networked together and it allowed me to do some serious quirky testing with H2 and H3's TCP/IP capabilities.

If player A attacks Player B's hero, and Player B wins and gains one or more level ups, Player B has to select which secondary skills he wants for his hero, WHILE Player A is still in his turn, right? Player A has this message appearing on his screen temporarily blocking any further actions:
"Please wait while the other player receives level ups", and his screen remains blocked as long as Player B is still in his level up screen.

But it doesn't work properly. In my tests, I've seen it work properly a few times, when Player B only had 1 level up and 1 skill to choose. But most of the times (and every time, if Player B gains 2 levels or more from the fight), when Player B's turns comes up, he's in for a nasty surprise when he looks at his winning hero's screen: the new secondary skills he chose are screwed up (wrong icons, no text) and if he right clicks one of those screwed up icons, the game crashes.

Bottom line is: for any serious H3 games, play HOT SEAT! Hot seat battles all happens on one computer so Player's B's level ups are registered correctly and that's why it never fails.

(EDIT: I was wrong about Heroes 2. See my post below.)
Last edited by UndeadHalfOrc on 02 Apr 2008, 15:41, edited 3 times in total.

User avatar
UndeadHalfOrc
Cyber Zombie
Cyber Zombie
Posts: 1362
Joined: 13 Mar 2007

Unread postby UndeadHalfOrc » 01 Apr 2008, 15:54

And yes, I know the date, April 1, believe me this is no April Fools joke. :(

Anybody else but me have 2 computers linked together? I'd love it if someone else helped me investigate the bug further, especially for Heroes 3 (Heroes 2 is obviously completely unsalvageable, in its current state, due to bad design), so that our expert hackers on the CH community may fix it!

User avatar
Ya5MieL
Marksman
Marksman
Posts: 428
Joined: 06 Jan 2006
Location: Kutjevo, Croatia

Unread postby Ya5MieL » 01 Apr 2008, 16:49

While the bug might indeed exist (i wouldn't be surprised), it seems it was not causing many problems, otherwise it would be noticed much sooner.

Thats why we should all switch to H5 :P


Anyway.
I don't think editing this might be possible atm.. but it could be useful to groups that are trying to recreate h3 engine. We wouldn't want the bug to be there as well.

Good find.

User avatar
UndeadHalfOrc
Cyber Zombie
Cyber Zombie
Posts: 1362
Joined: 13 Mar 2007

Unread postby UndeadHalfOrc » 01 Apr 2008, 17:24

Ya5MieL wrote:While the bug might indeed exist (i wouldn't be surprised), it seems it was not causing many problems, otherwise it would be noticed much sooner.
For the bug to have remained hidden for so many years I have a theory for that. The most likely case of it happening in a real multiplayer TCP/IP game would be for the final battle between two human players WHERE THE DEFENDING player wins (so that enough creatures died for one or two a level ups). As we all know, the attacker is obviously the most likely to win since he was the one who decided he had the likely advantage.

And for those cases, if the bug DID show up, most players stop playing after that final battle anyway because the loser usually just surrenders.

Anyway, my tests were made with the normal, unmodded Heroes 3 Shadow of Death 3.2 with Armageddon's Blade installed. For Heroes 2, PoL latest version (2.1)
Last edited by UndeadHalfOrc on 02 Apr 2008, 15:42, edited 1 time in total.

User avatar
UndeadHalfOrc
Cyber Zombie
Cyber Zombie
Posts: 1362
Joined: 13 Mar 2007

Unread postby UndeadHalfOrc » 01 Apr 2008, 17:33

Here is a H3 savegame I made on red's turn, after blue player attacked red's hero and red won. Look at Tyraxor's secondary skills (the first four are OK because he started with those on the map). You can load it on single player or hot-seat 2 player.

http://pages.infinit.net/plague/multiplayer_bug.GM2
Last edited by UndeadHalfOrc on 02 Apr 2008, 15:42, edited 1 time in total.

User avatar
MistWeaver
Wraith
Wraith
Posts: 1277
Joined: 28 Feb 2006
Location: Citadel of Frosts

Unread postby MistWeaver » 02 Apr 2008, 12:17

So, the workaround is something like - PlayerA after he lost the battle, needs just to wait chat confirm from PlayerB, that he finished lvl ups, right ?

User avatar
UndeadHalfOrc
Cyber Zombie
Cyber Zombie
Posts: 1362
Joined: 13 Mar 2007

Unread postby UndeadHalfOrc » 02 Apr 2008, 14:40

There's no workaround, the game already blocks Player A from doing anything while Player B levels up. The bug is that Player B's hero is screwed up. Load the H3 save game I provided, you'll see!

The only real workaround I have seen is to save the game before the big battle and do it Hot seat... but it requires your opponent to be in the same room as you. :(
Last edited by UndeadHalfOrc on 02 Apr 2008, 15:43, edited 1 time in total.

User avatar
UndeadHalfOrc
Cyber Zombie
Cyber Zombie
Posts: 1362
Joined: 13 Mar 2007

Unread postby UndeadHalfOrc » 02 Apr 2008, 15:39

Guys, I'm sorry but I was wrong about Heroes 2.

After further tests I found out it works perfectly fine. What it does, is that it HANGS the game only if Player A attacks the same Player B hero again. (without any messages, mind you). It hangs Player A until Player B chooses his skills, and when he's done that, the second battle begins. If Player A leaves Player B alone during his turn (most likely will), nothing will happen at all.

Ignore everything I said about Heroes 2. Only Heroes 3 is bugged.

Heroes 1 network game works fine as well (no secondary skills to select)

User avatar
MistWeaver
Wraith
Wraith
Posts: 1277
Joined: 28 Feb 2006
Location: Citadel of Frosts

Unread postby MistWeaver » 02 Apr 2008, 21:03

I just tested H2 myself, and was going to say that it worked fine for me :) Still, its nice that you've found this. Now we know how not to act in MP game

User avatar
Yurian Stonebow
Archmage
Archmage
Posts: 961
Joined: 06 Jan 2006
Location: Vantaa, Finland

Unread postby Yurian Stonebow » 08 Apr 2008, 13:17

I hope this is not considered offtopic or double thread...

I don't much play multiplayer via the internet, but it seems that 3do/NWC (and probably Ubisoft version as well) Heroes III and its expansion packs are somehow "hostile" towards Win XP. The game plays fine multiplayer TCP/IP sessions with Win 98 and no odd things happen... So what's with XP? The aged system of H3 cannot recognize updated versions of same program under a newer operating system?

Are we doomed to play with third party products?? Hamachi, anyone?



Yurian
Don't worry if things are going badly today. They will be much worse tomorrow.


Return to “Heroes I-IV”

Who is online

Users browsing this forum: No registered users and 31 guests