PDA

View Full Version : Pool Table Bugs


SC Lecter
06-04-2008, 04:21 AM
I think the pool table has some bugs. (This is too lengthy to file in an assist.)

> You break a pool table.
The cue ball shoots forward from the end of your stick toward the tightly-packed billiard balls!
Oliver White sends the cue ball careening into the billiards at the far end of the table. CRACK! Balls scatter across the table!
A solid blue two ball rolls slowly into the a pool table's north side pocket
A solid green six ball rolls slowly into the a pool table's northeast corner pocket
A solid yellow one ball rolls slowly into the a pool table's northeast corner pocket
The billiard balls finally come to rest in an excellent break.
> You examine a pool table.
This is an ornately carved pool table, made of a dark cherry wood with high-gloss stain, the table is seven foot long and two and a half feet tall, the slate top and cushions are covered in a burgundy felt. There are six pockets built into the table,one on each corner and one on each long side. Each rail has a diamond-shaped sight imbedded into it.

There are seven striped balls and eight solids balls scattered randomly over the surface of the table. A pool cue is sitting on a pool table.

If you knock 3 solids in, you should have less solids on the table than you will stripes. Before the break there's 7 stripes, 8 solids (7 solids + an eight ball) and a cue ball. So, there should be 7 striped, 5 solids. Also note the "the a" problem and the lack of punctuation when a ball sinks.

Also, the cue ball never shows up on the table in an examine. It's effectively invisible, which I suppose is alright, (except it really isn't).

A new rack:

> You break a pool table.
The cue ball shoots forward from the end of your stick toward the tightly-packed billiard balls!
Oliver White sends the cue ball careening into the billiards at the far end of the table. CRACK! Balls scatter across the table, finally coming to rest in a fairly mediocre break.
...
There are seven striped balls and eight solids balls scattered randomly over the surface of the table. A pool cue is sitting on a pool table.

Ollie didn't sink anything, and again there's 15 balls on the table (which is suspiciously similar to what happened when he knocked 3 balls in earlier.)

Based on several attempts, this error is reproducible and isn't just an output problem (i.e., there really are 15 balls on the table instead of 12 or however many their should be.) Also the underlined sentences, they essentially say the same thing. Is one supposed to be sent to the room, and the other just to the player?

This is vaguely amusing (but not really a deal breaker):

> You examine a pool table's south side pocket.
A leather pocket built into the south side of the pool table. It is big enough to hold three billard balls. It contains a solid pink four ball, a solid burgundy seven ball, a solid red three ball, a solid orange five ball, a solid yellow one ball, a solid green six ball, a solid blue two ball, a white and yellow striped nine ball, a white and burgundy striped fifteen ball, a white and red striped eleven ball, a white and pink striped twelve ball, a white and blue striped ten ball, a white and orange striped thirteen ball and a white and green striped fourteen ball.

The look / examine table's ball for all of the balls need a space in them after the color:

A solid pinkbilliard ball. A white dot with the number four is painted on the ball on two sides. This is part of a set of fifteen balls used to play pool.


All of the outputs from strike table's cue ball need periods at the end:

A solid black eight ball barely misses a pool table's southwest corner pocket

Corinthian in the pool cue description needs to be capitalized.


The table needs an understand mechanism. Playing pool is complicated. Also, it needs some work. When you give an invalid input to set up a shot, you get:

[OOC: aim cue at <ball> and <pocket>]

Which is incorrect! It should be:

[OOC: aim table's cue ball at <ball> and <pocket>]

(and really, for the ease of the players should be written as [OOC: aim table's cue ball at table's <ball> and table's <pocket>] )


Also, if you aren't holding a cue stick and attempt to aim, you get:

> You must be holding a cue stick to break.

regardless of whether you are trying to break or just strike a ball.


And, from an actual playing pool point of view, the 8-ball should be distinguished differently from the stripes and solids. Since gather table gathers all 15 balls, this is 8-ball, not 9-ball or some other variant, and the 8-ball is special. Can it be called "eight-ball" or some such and remove it's "solid" designation?

[Originally posted by Oliver White]

SC Lecter
06-04-2008, 04:28 AM
The table is doing some weird things.

It's not always reproducible, but here's some output. I'm underlining the problems.

> You take a pool cue.
> You go around the pool table, checking the pockets for balls and then arrange them neatly in the wooden triangle.
> You move from a gold three-reeled nickel slot machine to a pool table.
The cue ball shoots forward from the end of your stick toward the tightly-packed billiard balls!
Oliver White sends the cue ball careening into the billiards at the far end of the table. CRACK! Balls scatter across the table!
You must gather and rack the balls first.
0 13
A white and orange striped thirteen ball bounces against the other balls before dropping into the a pool table's southeast corner pocket
0 12
A white and blue striped ten ball shoots directly into the a pool table's northeast corner pocket
The billiard balls finally come to rest in an excellent break.

You've got some odd code popping up every so often! Lots and lots of repetition shows that this only occurs if you sink 2 balls. Sinking 1 ball, scratching, or sinking 1 ball + scratching doesn't cause this. Plus it's telling me I need to rack the table in the middle of the break? Further testing demonstrates that you'll get this error whenever you break table starting from any proximity away from the table


> You examine fourteen balls.

If 2 balls go in the pockets, this looks perfect!



> You go around the pool table, checking the pockets for balls and then arrange them neatly in the wooden triangle.
> You examine a pool table.
This is an ornately carved pool table, made of a dark cherry wood with high-gloss stain, the table is seven foot long and two and a half feet tall, the slate top and cushions are covered in a burgundy felt. There are six pockets built into the table,one on each corner and one on each long side. Each rail has a diamond-shaped sight imbedded into it.

The billiard balls are positioned in a neat triangle on one end of the table while the cue ball sits motionlessly on the other. Someone can break by striking the cue ball with a cue stick.

Some minor typos there. (Plus the ball sinks on the break need periods at the end of the sentences above.)



> You examine a pool table.
This is an ornately carved pool table, made of a dark cherry wood with high-gloss stain, the table is seven foot long and two and a half feet tall, the slate top and cushions are covered in a burgundy felt. There are six pockets built into the table,one on each corner and one on each long side. Each rail has a diamond-shaped sight imbedded into it.

The billiard balls are positioned in a neat triangle on one end of the table while the cue ball sits motionlessly on the other. Someone can break by striking the cue ball with a cue stick.
> The balls are already racked
> You must choose one of a white and orange striped thirteen ball, a white and blue striped ten ball, a solid green six ball, a solid white cue ball, a white and red striped eleven ball, a white and pink striped twelve ball, a solid yellow one ball, a solid blue two ball, a white and burgundy striped fifteen ball, a white and yellow striped nine ball, a white and green striped fourteen ball, a solid orange five ball, a solid red three ball, a solid burgundy seven ball, a solid pink four ball or a solid black eight ball.
> You examine sixteen balls.

16 balls on a fresh table. Good! (7 stripes, 7 solids, an 8 ball and a cue ball)


> You break a pool table.
The cue ball shoots forward from the end of your stick toward the tightly-packed billiard balls!
Oliver White sends the cue ball careening into the billiards at the far end of the table. CRACK! Balls scatter across the table, finally coming to rest in a fairly mediocre break.

> You go around the pool table, checking the pockets for balls and then arrange them neatly in the wooden triangle.
> You break a pool table.
The cue ball shoots forward from the end of your stick toward the tightly-packed billiard balls!
Oliver White sends the cue ball careening into the billiards at the far end of the table. CRACK! Balls scatter across the table!
0 12
A white and orange striped thirteen ball rolls slowly into the a pool table's north side pocket
9 11
A solid yellow one ball rolls slowly into the a pool table's southeast corner pocket
Oliver White seems to have made an excellent break but the cue ball has gone into the a pool table's north side pocket. Scratch!

> You examine a pool table.
This is an ornately carved pool table, made of a dark cherry wood with high-gloss stain, the table is seven foot long and two and a half feet tall, the slate top and cushions are covered in a burgundy felt. There are six pockets built into the table,one on each corner and one on each long side. Each rail has a diamond-shaped sight imbedded into it.

There are three striped balls and eight solids balls scattered randomly over the surface of the table.
> You examine thirteen balls.

That ball count doesn't look right given what it said was sunk: a solid, a striped and the cue ball. Examine ball gives 13 balls, which if 3 are in pockets, is good. Examine table gives only 11 balls? Perhaps the table examine isn't showing the cue ball anymore (which it does above in one of the fresh examines), but that doesn't explain where 3 stripes went. This seems to be a somewhat reproducible phenomena on the table examine with the 3 stripe / 8 solid usually showing up. However after many, many gathers, breaks, etc., the table examines went to 2 striped, 8 solid, and then finally 1 striped, 8 solids. It seems the examine table's balls count is still right though.



> You go around the pool table, checking the pockets for balls and then arrange them neatly in the wooden triangle.
> You break a pool table.
The cue ball shoots forward from the end of your stick toward the tightly-packed billiard balls!
Oliver White sends the cue ball careening into the billiards at the far end of the table. CRACK! Balls scatter across the table!
4 11
A solid pink four ball bounces against the other balls before dropping into the a pool table's northwest corner pocket
9 10
A solid green six ball shoots directly into the a pool table's north side pocket

Array index out of range
[... lines and lines of error code ...]

Something broke big time.


> You examine a pool table.
This is an ornately carved pool table, made of a dark cherry wood with high-gloss stain, the table is seven foot long and two and a half feet tall, the slate top and cushions are covered in a burgundy felt. There are six pockets built into the table,one on each corner and one on each long side. Each rail has a diamond-shaped sight imbedded into it.

There are three striped balls and eight solids balls scattered randomly over the surface of the table.
> You examine fourteen balls.

[Originally posted by Oliver White]