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

Submitter:  Wolfgang Klier <stubai>
Submitted:  Sun 14 Nov 2004 01:10:49 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Operating System:  None

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

Applied the attached patch to cvs.  Thanks.

Kevin Webb <kwebb>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2005-04-19 kwebb StatusNone Fixed
    Open/ClosedOpen Closed
2005-04-09 None Attached File- Added crack-attack-1.1.12-r1-hang-in-midair.patch, #2397
2004-11-14 stubai Carbon-Copy- Added stubai

Back to the top

Powered by Savane 3.12