bugCrack Attack! - Bugs: bug #10988, stones hang in mid air

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10988: stones hang in mid air

Submitted by:  Wolfgang Klier <stubai>
Submitted on:  Sun 14 Nov 2004 01:10:49 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedOperating System: None

Tue 19 Apr 2005 09:25:33 PM UTC, comment #3:

Applied the attached patch to cvs. Thanks.

Kevin Webb <kwebb>
Project Administrator
Sat 09 Apr 2005 09:55:03 PM UTC, comment #2:

I've tracked down this bug to Grid.cxx, see the attached patch.
the patch is not optimal - it widens the shattering window size of the garbage up and down (was only up before); but it corrects this bug and doesn't seem to have any worse side-effects.

A more correct way would be to check where in the garbage we are now and set the shattering window accordingly.

Anonymous
Tue 14 Dec 2004 03:15:20 PM UTC, comment #1:

in short, when a box is destroyed from the top (rather than from the bottom), the invisible barrier is formed.

Following scenario reproduces the bug (use fixed width font):

MMMMMM
OO xl
OO lx
OO xl
xxxxxx
xxxxxx
[screenshot 1 ;-)]

in the screenshot above, O's are the orange, tall box; M's are a regular bar-like box; x's are regular cubes/stones and l's are regular cubes/stones of the same color.

when the l's are assembled, the two boxes are broken, and following appears:

nnnnnn
nn x_
_ x
_ x
xxxxxx
xxxxxx
[screenshot 2]
n's are newly formed cubes/stones, and 's are newly fomed holes. Note that orange box should have produced 3x2 n's, but instead produces 1x2 n's and 2x2 's. this block of 4 _'s is the invisible barrier.

as you can see the box destruction algorithms walks downwards incorrectly (first the M bar at the top is broken, then the O box lower).

Anonymous
Sun 14 Nov 2004 01:10:49 AM UTC, original submission:

In extreme mode from time to time (I have not found out what triggers this bug unfortunately) if you dissolve an orange or a big (2x2) violett garbage it stays as a barrier (i.e. stones above it and garbage just stay in mid air). It rises up with the field though.

Wolfgang Klier <stubai>

 

Attached Files
file #523:  crack-attack-1.1.12-r1-hang-in-midair.patch added by None (503B - application/octet-stream - patch for crack-attack bug #10988 - stones hang in midair)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 19 Apr 2005 09:25:33 PM UTCkwebbStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sat 09 Apr 2005 09:55:03 PM UTCNoneAttached File-=>Added crack-attack-1.1.12-r1-hang-in-midair.patch, #2397
Sun 14 Nov 2004 01:10:49 AM UTCstubaiCarbon-Copy-=>Added stubai

Back to the top


Powered by Savane 3.1-cleanup1