PDA

View Full Version : Freeze bug


GrO
3 Apr 2011, 23:17
I don't know, if it was reported before, but it seems that Frozen Worms are kind of invisible for the game engine, while the crate is falling.

Frozen Worm just collected the crate (all players on v31). Replay below (about 30 min 20 sec):

2011-04-03 21.23.27 [Online] koza, rA`Reymomo, @GrO, BulgariaN.WAgame (http://www.mediafire.com/?ubb741t8eotg1fl)

Zippy
4 Apr 2011, 03:30
That's strange.

Does that only happen when the crate hits a specific angle on the frozen worm?

GrO
4 Apr 2011, 11:17
It's the first time I've ever seen something like this and probably the fault is in the frozen worm's placement (edge of the square "pixel"), so the engine "thought" the worm sits on the ground, then the crate would fall on that square without any problems.

That's, what I think, but I may be wrong.

Deadcode
10 Apr 2011, 00:59
Yikes, I specifically remember fixing that bug. I was sure that the fix in 3.6.26.4 actually worked. Yet, the game logic version in that replay is the latest.

Hmm, will have to give this another look. Thanks for reporting.

Edit: Apparently I didn't account for crates being collected just by falling past a worm — I only prevented crates from falling to a spot next to a worm.

GrO
10 Apr 2011, 17:42
Yikes, I specifically remember fixing that bug. I was sure that the fix in 3.6.26.4 actually worked. Yet, the game logic version in that replay is the latest.

Hmm, will have to give this another look. Thanks for reporting.

Edit: Apparently I didn't account for crates being collected just by falling past a worm — I only prevented crates from falling to a spot next to a worm.

It was really lucky to detect that bug. Different map, different players or nobody who bothers in reporting anything at the forums and we would never know about this, before releasing v4.0 ;]

Thurbo
10 Apr 2011, 17:59
I didn't even know worms could collect crates while it's not their move...

GrO
10 Apr 2011, 18:06
I didn't even know worms could collect crates while it's not their move...

Using TestStuff has shown me that it's possible, when a worm hangs on the "Batty Rope". Just play a shopper game with /ts or /batty, make all worms hanging on the roof and I'm sure it will happen sooner or later.


@Deadcode

Maybe the easiest way to fix it would be making the frozen worms unable to collect any crates, that way the crate would just sit on the frozen worm?

EDIT:

Maybe it could be done the same way to avoid collecting crates by hanging worms on the "Batty Rope", so the crate would just sit on those worms?