Crashing on Sandbox & Scenarios mode Stonegate Map

Avatar
  • Views 13,959
  • updated
  • Completed - Resolved

Windows 10 64bit

AMD FX 8350

16gig DDR3

2 x ATI Radeon Fury x (crossfire)

Game Version 1.3.1f5


When playing game. Only locks up game when minion finishes claiming the tavern hallways, either side of the map, that leads to the final hero's and inhibitor room, screen freezes, audio continues, have to log out of account and log back in to force close it. Unable to complete this game as cant go any further without capturing the hallways.

Game Version:
Steam Public
Platform:
Windows
Duplicates 1
[Bug/Crash] Stonegate

In the single-player scenario Stonegate, capturing either of the two extremely large corridors made out of tavern tiles which lead to the inhibitor causes the game to freeze, likely because to many room tiles are claimed at the same time.

To replicate this bug, simply try to claim one of the corridors.

Avatar
Jan - Eric Merzel
  • Started

Thanks for the report :)


Avatar
Internal Team
[~stefan.furcht] have a look in the prop parser, room matrix, find biggest square. The L shape of those room produce an infinite loop there :^/
Avatar
Jymm

I've also noticed that, as more of the map is claimed, the game locks up when the Hand hovers over a character - not clicked or grabbed, but just hovering over. Doesn't seem to matter if they are moving or not (ko/dead).


Intel Cor i7-4790K 4gHz

32 gigs Ram

Win 7 Prof

Dual NVidia GeForce GTX 970's (1920x1080 res)

Game Version 1.3.1f5

Avatar
Internal Team
[~nano]
The algorithm itself is based on simple for-loops, thus it can not produce an infinite loop.
However I figured there was a failure with the enlargement of the counts buffer which does cause an integer overflow in case a new matrix is needed which has more than double amount of elements than all rooms parsed before.
It was just a little mistyped statement: newCap <<= newCap, instead of newCap <<= 1
Good find!
This might have caused freezes on some other maps as well. Especially if they contain very large/long rooms.
Avatar
Jan - Eric Merzel
  • Completed - Resolved
Avatar
Stefan Furcht Programmer

The issue has been fixed internally and the fix will be included in next patch.

Avatar
anonymous

Hello. I have the same problem, when minions claim the tavern on this map the screen freeze. I have WFTO v1.3.1f5. What can I do? Thanks.

Avatar
Stefan Furcht Programmer

The issue is already fixed and will be patched in a couple of days.

However if you want to avoid the problem right now, it should not freeze, if you build a room which is at least half as long as this tavern floor, you can sell it afterwards.
This will make sure that an internal buffer is increased so that the problem does not happen.

Hope that helps!

Avatar
anonymous

Sorry, but that has not worked...

I'll wait to the next patch.

Thanks. :)

Avatar
Stefan Furcht Programmer

Hrm, it should have worked, but you couldn't do a spiral or any similar trick.
The room would need more than the half length of the long tavern in terms of covered map width or map height.
To be more exact, if you put an rectangle around the entire tavern floor room, the rectangle put around the room you need to build must have at least half of the area than the rectangle around this tavern floor.

However this is a complicated workaround and it shouldn't take long before the patch comes out.

Cheers :)