You can subscribe to this list here.
2005 |
Jan
|
Feb
(25) |
Mar
(84) |
Apr
(76) |
May
(25) |
Jun
(1) |
Jul
(28) |
Aug
(23) |
Sep
(50) |
Oct
(46) |
Nov
(65) |
Dec
(76) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(60) |
Feb
(33) |
Mar
(4) |
Apr
(17) |
May
(16) |
Jun
(18) |
Jul
(131) |
Aug
(11) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(5) |
2007 |
Jan
(71) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(19) |
Jul
(40) |
Aug
(38) |
Sep
(7) |
Oct
(58) |
Nov
|
Dec
(10) |
2008 |
Jan
(17) |
Feb
(27) |
Mar
(12) |
Apr
(1) |
May
(50) |
Jun
(10) |
Jul
|
Aug
(15) |
Sep
(24) |
Oct
(64) |
Nov
(115) |
Dec
(47) |
2009 |
Jan
(30) |
Feb
(1) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
(4) |
Nov
(132) |
Dec
(93) |
2010 |
Jan
(266) |
Feb
(120) |
Mar
(168) |
Apr
(127) |
May
(83) |
Jun
(93) |
Jul
(77) |
Aug
(77) |
Sep
(86) |
Oct
(30) |
Nov
(4) |
Dec
(22) |
2011 |
Jan
(48) |
Feb
(81) |
Mar
(198) |
Apr
(174) |
May
(72) |
Jun
(101) |
Jul
(236) |
Aug
(144) |
Sep
(54) |
Oct
(132) |
Nov
(94) |
Dec
(111) |
2012 |
Jan
(135) |
Feb
(166) |
Mar
(86) |
Apr
(85) |
May
(137) |
Jun
(83) |
Jul
(54) |
Aug
(29) |
Sep
(49) |
Oct
(37) |
Nov
(8) |
Dec
(6) |
2013 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
(14) |
May
(5) |
Jun
(15) |
Jul
|
Aug
(38) |
Sep
(44) |
Oct
(45) |
Nov
(40) |
Dec
(23) |
2014 |
Jan
(22) |
Feb
(63) |
Mar
(43) |
Apr
(60) |
May
(10) |
Jun
(5) |
Jul
(13) |
Aug
(57) |
Sep
(36) |
Oct
(2) |
Nov
(30) |
Dec
(27) |
2015 |
Jan
(5) |
Feb
(2) |
Mar
(14) |
Apr
(3) |
May
|
Jun
(3) |
Jul
(10) |
Aug
(63) |
Sep
(31) |
Oct
(26) |
Nov
(11) |
Dec
(6) |
2016 |
Jan
|
Feb
(11) |
Mar
|
Apr
|
May
(1) |
Jun
(16) |
Jul
|
Aug
(4) |
Sep
|
Oct
(1) |
Nov
(4) |
Dec
(1) |
2017 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
(20) |
Jul
(4) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(6) |
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(10) |
May
(10) |
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
(3) |
Apr
(9) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
(4) |
2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Erik V. <eri...@hc...> - 2006-01-17 20:29:58
|
> Another bug -- in SR2, players buy the B&O from IPO at $90, > but par was > set to $100. See previous post. Erik. |
From: Erik V. <eri...@hc...> - 2006-01-17 20:29:27
|
> Bug 1: After buying a 5-train in OR 6.1, after the OR ends, > we're returned to a stock round instead of going to OR 6.2. That was a bug in XML parsing in class Phase. > Bug 2: The C&O is started in SR 4 for a par price of 76$, > then in SR 7 you should see that player 3 buys a share of C&O > from the IPO for $82." Yes, all buys were done at current price. Sloppy work from my side. One of those things that get first postponed and then forgotten. Should both be fixed now. Erik. |
From: John A. T. <ja...@ja...> - 2006-01-16 22:37:48
|
On Mon, 16 Jan 2006, Brett Lentz wrote: > The play output is a bit long, but you'll find two bugs towards the end > of the output. > > Bug 1: After buying a 5-train in OR 6.1, after the OR ends, we're > returned to a stock round instead of going to OR 6.2. > > Bug 2: The C&O is started in SR 4 for a par price of 76$, then in SR 7 > you should see that player 3 buys a share of C&O from the IPO for $82." Another bug -- in SR2, players buy the B&O from IPO at $90, but par was set to $100. -- John A. Tamplin ja...@ja... 770/436-5387 HOME 4116 Manson Ave Smyrna, GA 30082-3723 |
From: Brett L. <wak...@ea...> - 2006-01-16 22:30:58
|
The play output is a bit long, but you'll find two bugs towards the end of the output. Bug 1: After buying a 5-train in OR 6.1, after the OR ends, we're returned to a stock round instead of going to OR 6.2. Bug 2: The C&O is started in SR 4 for a par price of 76$, then in SR 7 you should see that player 3 buys a share of C&O from the IPO for $82." ---Brett. Game is 1830 Component GameManager initialised as game.GameManager Component TileManager initialised as game.TileManager Component Map initialised as game.MapManager Bank size is 12000 MIN_PLAYERS: 2 MAX_PLAYERS: 6 Component Bank initialised as game.Bank Component CompanyManager initialised as game.CompanyManager Component StockMarket initialised as game.StockMarket Component TrainManager initialised as game.TrainManager Start of phase 2 Component PhaseManager initialised as game.PhaseManager Player 0 receives $400. Bank now has $11600 Player 1 receives $400. Bank now has $11200 Player 2 receives $400. Bank now has $10800 Player 3 receives $400. Bank now has $10400 Player 4 receives $400. Bank now has $10000 Player 5 receives $400. Bank now has $9600 Start of initial round 0 has the Priority Deal 0 bids $225 on B&O. Remains $175 1 bids $165 on C&A. Remains $235 2 bids $115 on M&H. Remains $285 3 bids $75 on D&H. Remains $325 4 bids $45 on C&StL. Remains $355 5 buys SVNRR for $20. 4 buys C&StL for $45. 3 buys D&H for $75. 2 buys M&H for $115. 1 buys C&A for $165. 1 also gets PRR 10% share 0 buys B&O for $225. 0 also gets B&O 20% president share 5 starts B&O at $100 Start of Stock Round 1 0 has the Priority Deal 0 buys 1 share(s) (10%) of B&O from IPO for $100. 1 starts PRR at 100 and buys 2 share(s) (20%) for $200. 2 buys 1 share(s) (10%) of B&O from IPO for $100. 3 buys 1 share(s) (10%) of PRR from IPO for $100. 4 buys 1 share(s) (10%) of B&O from IPO for $100. 5 buys 1 share(s) (10%) of PRR from IPO for $100. 0 cannot buy 1 share(s) of B&O from IPO: 0 does not have enough money 0 passes. 1 passes. 2 buys 1 share(s) (10%) of B&O from IPO for $100. B&O floats and receives $1000 3 buys 1 share(s) (10%) of PRR from IPO for $100. PRR floats and receives $1000 4 buys 1 share(s) (10%) of B&O from IPO for $100. 5 buys 1 share(s) (10%) of PRR from IPO for $100. 0 passes. 1 passes. 2 cannot buy 1 share(s) of B&O from IPO: 2 does not have enough money 2 passes. 3 buys 1 share(s) (10%) of PRR from IPO for $100. 4 buys 1 share(s) (10%) of B&O from IPO for $100. 5 buys 1 share(s) (10%) of PRR from IPO for $100. 0 passes. 1 passes. 2 passes. 3 passes. 4 passes. 5 passes. All players have passed, end of SR 1 Phase=2 ORs=1 Start of Operating Round 1.1 5 receives $5 for SVNRR 4 receives $10 for C&StL 3 receives $15 for D&H 2 receives $20 for M&H 1 receives $25 for C&A 0 receives $30 for B&O B&O lays tile 57 at hex J14 for $80 B&O lays a token on J14 for $40 B&O earns $0 B&O prices goes from $100 (G1) to $90 (F1) B&O buys 2-train from IPO for $80 Private B&O closes First 2-train bought B&O buys 2-train from IPO for $80 B&O buys 2-train from IPO for $80 PRR lays tile 57 at hex H10 PRR earns $0 PRR prices goes from $100 (G1) to $90 (F1) PRR buys 2-train from IPO for $80 End of Operating Round 1.1 Start of Stock Round 2 0 has the Priority Deal 0 buys 1 share(s) (10%) of B&O from IPO for $90. 1 passes. 2 buys 1 share(s) (10%) of B&O from IPO for $90. 3 passes. 4 passes. 5 passes. 0 passes. 1 passes. 2 passes. All players have passed, end of SR 2 B&O is sold out B&O stays at F1 Phase=2 ORs=1 Start of Operating Round 2.1 5 receives $5 for SVNRR 4 receives $10 for C&StL 3 receives $15 for D&H 2 receives $20 for M&H 1 receives $25 for C&A B&O lays tile 9 at hex I17 for $80 B&O earns $140 B&O pays out full dividend of $140 0 receives $56 2 receives $42 4 receives $42 B&O prices goes from $90 (F1) to $100 (G1) PRR lays tile 9 at hex H14 PRR earns $30 PRR pays out full dividend of $30 5 receives $9 3 receives $9 1 receives $9 PRR prices goes from $90 (F1) to $100 (G1) PRR buys 2-train from IPO for $80 End of Operating Round 2.1 Start of Stock Round 3 3 has the Priority Deal 3 passes. 4 buys 1 share(s) (10%) of PRR from IPO for $100. 5 passes. 0 passes. 1 passes. 2 passes. 3 passes. 4 passes. All players have passed, end of SR 3 B&O is sold out B&O stays at G1 PRR is sold out PRR stays at G1 Phase=2 ORs=1 Start of Operating Round 3.1 5 receives $5 for SVNRR 4 receives $10 for C&StL 3 receives $15 for D&H 2 receives $20 for M&H 1 receives $25 for C&A B&O earns $140 B&O pays out full dividend of $140 0 receives $56 2 receives $42 4 receives $42 B&O prices goes from $100 (G1) to $112 (H1) PRR lays tile 57 at hex H16 PRR earns $60 PRR pays out full dividend of $60 5 receives $18 3 receives $18 4 receives $6 1 receives $18 PRR prices goes from $100 (G1) to $112 (H1) End of Operating Round 3.1 Start of Stock Round 4 5 has the Priority Deal 5 sells 1 shares (10%) of PRR for $112 PRR prices goes from $112 (H1) to $100 (H2) 5 sells 1 shares (10%) of PRR for $112 PRR prices goes from $100 (H2) to $90 (H3) 5 sells 1 shares (10%) of PRR for $112 PRR prices goes from $90 (H3) to $82 (H4) 5 starts C&O at 76 and buys 2 share(s) (20%) for $152. 0 passes. 1 buys 1 share(s) (10%) of PRR from Pool for $82. 2 sells 1 shares (10%) of B&O for $112 B&O prices goes from $112 (H1) to $100 (H2) 2 sells 1 shares (10%) of B&O for $112 B&O prices goes from $100 (H2) to $90 (H3) 2 sells 1 shares (10%) of B&O for $112 B&O prices goes from $90 (H3) to $82 (H4) 2 starts NYC at 76 and buys 2 share(s) (20%) for $152. 3 buys 1 share(s) (10%) of PRR from Pool for $82. 4 sells 1 shares (10%) of PRR for $82 PRR prices goes from $82 (H4) to $76 (H5) 4 sells 1 shares (10%) of B&O for $82 B&O prices goes from $82 (H4) to $76 (H5) 4 sells 1 shares (10%) of B&O for $82 B&O prices goes from $76 (H5) to $71 (H6) 4 starts NYNH at 67 and buys 2 share(s) (20%) for $134. 5 buys 1 share(s) (10%) of C&O from IPO for $76. 0 buys 1 share(s) (10%) of B&O from Pool for $71. 1 passes. 2 buys 1 share(s) (10%) of NYC from IPO for $76. 3 passes. 4 buys 1 share(s) (10%) of NYNH from IPO for $67. 5 buys 1 share(s) (10%) of C&O from IPO for $76. 0 passes. 1 passes. 2 buys 1 share(s) (10%) of NYC from IPO for $76. 3 passes. 4 buys 1 share(s) (10%) of NYNH from IPO for $67. 5 buys 1 share(s) (10%) of C&O from IPO for $76. 0 passes. 1 passes. 2 buys 1 share(s) (10%) of NYC from IPO for $76. 3 passes. 4 sells 1 shares (10%) of B&O for $71 B&O prices goes from $71 (H6) to $69 (H7) 4 buys 1 share(s) (10%) of NYNH from IPO for $67. 5 buys 1 share(s) (10%) of C&O from IPO for $76. C&O floats and receives $760 0 passes. 1 passes. 2 buys 1 share(s) (10%) of NYNH from IPO for $67. NYNH floats and receives $670 2 sells 1 shares (10%) of NYNH for $67 NYNH prices goes from $67 (G6) to $67 (G7) 3 passes. 4 passes. 5 passes. 0 passes. 1 passes. 2 buys 1 share(s) (10%) of NYC from IPO for $76. NYC floats and receives $760 3 passes. 4 passes. 5 passes. 0 passes. 1 passes. 2 passes. All players have passed, end of SR 4 Phase=2 ORs=1 Start of Operating Round 4.1 5 receives $5 for SVNRR 4 receives $10 for C&StL 3 receives $15 for D&H 2 receives $20 for M&H 1 receives $25 for C&A PRR lays tile 8 at hex H8 PRR lays a token on H16 for $40 PRR earns $60 PRR pays out full dividend of $60 3 receives $24 PRR receives $12 1 receives $24 PRR prices goes from $76 (H5) to $82 (I5) C&O lays tile 69 at hex G7 C&O lays a token on H10 for $40 C&O earns $0 C&O prices goes from $76 (G4) to $71 (F4) C&O buys 2-train from IPO for $80 All 2-trains are sold out, 3-trains now available C&O buys 3-train from IPO for $180 First 3-train bought Start of phase 3 C&O buys SVNRR from 5 for $40. NYC lays tile 57 at hex E19 NYC earns $0 NYC prices goes from $76 (G4) to $71 (F4) NYC buys 3-train from IPO for $180 NYC buys M&H from 2 for $220. B&O lays tile 14 at hex J14 B&O earns $170 B&O pays out full dividend of $170 0 receives $85 B&O receives $85 B&O prices goes from $69 (H7) to $70 (I7) B&O buys 3-train from IPO for $180 NYNH lays tile 1 at hex F20 NYNH earns $0 NYNH prices goes from $67 (G7) to $63 (F7) NYNH buys 3-train from IPO for $180 NYNH buys 3-train from IPO for $180 All 3-trains are sold out, 4-trains now available Cannot buy private C&A from 1 for $320: Not enough money NYNH buys C&A from 1 for $310. End of Operating Round 4.1 Start of Stock Round 5 3 has the Priority Deal 3 cannot buy 1 share(s) of PRR from Pool: 3 does not have enough money 3 passes. 4 buys 1 share(s) (10%) of NYNH from IPO for $63. 5 passes. 0 buys 1 share(s) (10%) of B&O from Pool for $70. 1 sells 1 shares (10%) of PRR for $82 PRR prices goes from $82 (I5) to $75 (I6) Presidency of PRR is transferred to 3 1 sells 1 shares (10%) of PRR for $82 PRR prices goes from $75 (I6) to $70 (I7) 1 sells 1 shares (10%) of PRR for $82 PRR stays at I7 1 starts B&M at 100 and buys 2 share(s) (20%) for $200. 2 buys 1 share(s) (10%) of C&O from IPO for $71. 3 passes. 4 passes. 5 passes. 0 buys 1 share(s) (10%) of C&O from IPO for $71. 1 buys 1 share(s) (10%) of B&M from IPO for $100. 2 buys 1 share(s) (10%) of NYNH from IPO for $63. 3 passes. 4 passes. 5 passes. 0 passes. 1 buys 1 share(s) (10%) of B&M from IPO for $100. 2 buys 1 share(s) (10%) of B&O from Pool for $70. 3 passes. 4 passes. 5 passes. 0 passes. 1 buys 1 share(s) (10%) of B&M from IPO for $100. 2 passes. 3 passes. 4 passes. 5 passes. 0 passes. 1 buys 1 share(s) (10%) of B&M from IPO for $100. B&M floats and receives $1000 2 passes. 3 passes. 4 passes. 5 passes. 0 passes. 1 passes. All players have passed, end of SR 5 Phase=3 ORs=2 Start of Operating Round 5.1 C&O receives $5 for SVNRR 4 receives $10 for C&StL 3 receives $15 for D&H NYC receives $20 for M&H NYNH receives $25 for C&A B&M lays tile 53 at hex E23 B&M earns $0 B&M prices goes from $100 (G1) to $90 (F1) B&M buys 4-train from IPO for $300 First 4-train bought Start of phase 4 All 2-trains are rusted and have been removed C&O lays tile 9 at hex G5 C&O earns $60 C&O pays out full dividend of $60 0 receives $6 5 receives $36 2 receives $6 C&O prices goes from $71 (F4) to $76 (G4) NYC lays tile 8 at hex F18 NYC earns $0 NYC prices goes from $71 (F4) to $66 (E4) B&O lays tile 53 at hex I15 B&O earns $110 B&O pays out full dividend of $110 0 receives $66 2 receives $11 B&O receives $33 B&O prices goes from $70 (I7) to $75 (I6) PRR lays tile 14 at hex H16 PRR earns $0 PRR prices goes from $70 (I7) to $69 (H7) PRR buys 4-train from IPO for $300 NYNH earns $50 NYNH pays out full dividend of $50 2 receives $5 NYNH receives $5 4 receives $30 NYNH prices goes from $63 (F7) to $67 (G7) End of Operating Round 5.1 Start of Operating Round 5.2 C&O receives $5 for SVNRR 4 receives $10 for C&StL 3 receives $15 for D&H NYC receives $20 for M&H NYNH receives $25 for C&A B&M lays tile 57 at hex F22 for $80 B&M earns $90 B&M pays out full dividend of $90 1 receives $54 B&M prices goes from $90 (F1) to $100 (G1) C&O lays tile 57 at hex H4 C&O earns $60 C&O pays out full dividend of $60 0 receives $6 5 receives $36 2 receives $6 C&O prices goes from $76 (G4) to $82 (H4) C&O buys 4-train from IPO for $300 B&O lays tile 27 at hex H14 B&O lays a token on H16 for $100 B&O earns $110 B&O pays out full dividend of $110 0 receives $66 2 receives $11 B&O receives $33 B&O prices goes from $75 (I6) to $80 (J6) PRR lays tile 59 at hex H18 PRR earns $120 PRR pays out full dividend of $120 3 receives $48 PRR receives $60 1 receives $12 PRR prices goes from $69 (H7) to $70 (I7) NYNH lays a token on F22 for $40 NYNH earns $150 NYNH withholds dividend of $150 NYNH prices goes from $67 (G7) to $63 (F7) NYC lays tile 54 at hex G19 for $80 NYC earns $80 NYC pays out full dividend of $80 2 receives $48 NYC prices goes from $66 (E4) to $71 (F4) NYC buys 4-train from IPO for $300 All 4-trains are sold out, 5-trains now available End of Operating Round 5.2 Start of Stock Round 6 2 has the Priority Deal 2 buys 1 share(s) (10%) of PRR from Pool for $70. 3 buys 1 share(s) (10%) of PRR from Pool for $70. 4 passes. 5 buys 1 share(s) (10%) of NYNH from Pool for $63. 0 buys 1 share(s) (10%) of C&O from IPO for $82. 1 buys 1 share(s) (10%) of NYNH from IPO for $63. 2 cannot buy 1 share(s) of B&O from Pool: 2 does not have enough money 2 buys 1 share(s) (10%) of PRR from Pool for $70. 3 passes. 4 passes. 5 passes. 0 passes. 1 buys 1 share(s) (10%) of NYNH from IPO for $63. 2 passes. 3 passes. 4 passes. 5 passes. 0 passes. 1 passes. All players have passed, end of SR 6 NYNH is sold out NYNH prices goes from $63 (F7) to $65 (F6) Phase=4 ORs=1 Start of Operating Round 6.1 C&O receives $5 for SVNRR 4 receives $10 for C&StL 3 receives $15 for D&H NYC receives $20 for M&H NYNH receives $25 for C&A B&M lays tile 15 at hex F22 B&M lays a token on F22 for $40 B&M earns $120 B&M pays out full dividend of $120 1 receives $72 B&M prices goes from $100 (G1) to $112 (H1) B&M buys 5-train from IPO for $450 First 5-train bought Start of phase 5 Private SVNRR closes Private C&StL closes Private D&H closes Private M&H closes Private C&A closes C&O lays tile 9 at hex I3 C&O earns $200 C&O pays out full dividend of $200 0 receives $40 5 receives $120 2 receives $20 C&O prices goes from $82 (H4) to $90 (I4) B&O lays tile 65 at hex H18 B&O earns $130 B&O pays out full dividend of $130 0 receives $78 2 receives $13 B&O receives $39 B&O prices goes from $80 (J6) to $90 (J5) B&O buys 5-train from IPO for $450 NYC lays tile 14 at hex E19 NYC earns $90 NYC pays out full dividend of $90 2 receives $54 NYC prices goes from $71 (F4) to $76 (G4) PRR lays tile 56 at hex G17 PRR earns $150 PRR pays out full dividend of $150 3 receives $75 2 receives $30 PRR receives $30 1 receives $15 PRR prices goes from $70 (I7) to $75 (I6) PRR buys 5-train from IPO for $450 All 5-trains are sold out, 6-trains now available NYNH lays tile 62 at hex G19 NYNH earns $210 NYNH pays out full dividend of $210 5 receives $21 2 receives $21 4 receives $126 1 receives $42 NYNH prices goes from $65 (F6) to $67 (G6) End of Operating Round 6.1 Start of Stock Round 7 2 has the Priority Deal 2 sells 1 shares (10%) of B&O for $90 B&O prices goes from $90 (J5) to $80 (J6) 2 sells 1 shares (10%) of PRR for $75 PRR prices goes from $75 (I6) to $70 (I7) 2 sells 1 shares (10%) of PRR for $75 PRR stays at I7 2 sells 1 shares (10%) of NYNH for $67 NYNH prices goes from $67 (G6) to $67 (G7) 2 sells 1 shares (10%) of C&O for $90 C&O prices goes from $90 (I4) to $82 (I5) 2 starts Erie at 82 and buys 2 share(s) (20%) for $164. 3 buys 1 share(s) (10%) of PRR from Pool for $70. 4 buys 1 share(s) (10%) of B&O from Pool for $80. 5 buys 1 share(s) (10%) of NYNH from Pool for $67. 0 buys 1 share(s) (10%) of PRR from Pool for $70. 1 buys 1 share(s) (10%) of B&O from Pool for $80. 2 buys 1 share(s) (10%) of Erie from IPO for $82. 3 buys 1 share(s) (10%) of C&O from IPO for $82. count = 0, total = 170 count = 0, total = 510 count = 0, total = 215 |
From: Erik V. <eri...@hc...> - 2006-01-14 20:59:17
|
This bug should have been fixed now. > I suspect that this section of code was written before you > implemented multiple ORs between each SR. So, I think we'd > have this bug regardless of the unified JFrame or not. (I > think I've encountered it before.) You're absolutely right. > >I also had a compilation error that GUIHex and HexMap could no > >longer access StatusWindow.orWindow, because that field seems > >to have been made private. I now use a method to get this object > >(the proper way!). > > > > Huh. I'd swear I committed changes with a getter method for > orWindow. Apparently I was wrong. To be honest, this is not the first time that I have to correct a compiliation error after an update. It is always a small thing, so I tend to keep silent about it. But it looks as if your synchronisation is not always complete. Erik. |
From: Brett L. <wak...@ea...> - 2006-01-13 02:35:52
|
>>One other problem is, that during the OR I cannot make the >>Stock Chart window visible. Perhaps you can look at that? >> > >Yeah, I just noticed that issue myself. I suspect it has something to do with incorrectly setting the StockMarket window visibility to false. I'll check it out. > > Ok, got that fixed. No more setting the window to invisible immediately after we make it visible. While I was mucking about in StatusWindow, I also cleaned up most of the strings. I set up several more static strings to consolidate them into. I also cleaned up the actionPerformed() method so that now everything works within a single (long) if/else clause instead of the multiple conditional statements we had. ---Brett. |
From: Brett L. <wak...@ea...> - 2006-01-12 23:27:57
|
> >> Yes, it was the NYC. It was attempting to lay the connecting >> tile to New York, but it seems to be any hex location because >> the second message was generated by attempting to lay a tile >> in a different hex. > >I suspect that this is caused by the fact that in OR 3.1 NYC has >shifted down one place in the operation order, below NYNH. >Class OperatingRound correctly thinks that it is NYNH's turn >(I added this expectation to the display), but the View side >is apparently confused and acts as if NYC has the turn, which it has not. > >Previously, with a fresh new JFrame was created for each OR, >with the newest company operating order. >The JPanel in the new composite ORWindow does not seem to be >refreshed between consecutive ORs, leaving >the operating order as it was in the previous OR. > >I will have a detailed look at the code later. > I suspect that this section of code was written before you implemented multiple ORs between each SR. So, I think we'd have this bug regardless of the unified JFrame or not. (I think I've encountered it before.) Either way, I think you're right that the root cause is the view and model are out of sync. > >One other problem is, that during the OR I cannot make the >Stock Chart window visible. Perhaps you can look at that? > Yeah, I just noticed that issue myself. I suspect it has something to do with incorrectly setting the StockMarket window visibility to false. I'll check it out. >To help myself here, I have changed all Price fields to >show both the price and the location on the stock chart >(also in the Log Window). > >I also had a compilation error that GUIHex and HexMap could no >longer access StatusWindow.orWindow, because that field seems >to have been made private. I now use a method to get this object >(the proper way!). > Huh. I'd swear I committed changes with a getter method for orWindow. Apparently I was wrong. ---Brett. |
From: Erik V. <eri...@hc...> - 2006-01-12 22:19:53
|
> Yes, it was the NYC. It was attempting to lay the connecting > tile to New York, but it seems to be any hex location because > the second message was generated by attempting to lay a tile > in a different hex. I suspect that this is caused by the fact that in OR 3.1 NYC has shifted down one place in the operation order, below NYNH. Class OperatingRound correctly thinks that it is NYNH's turn (I added this expectation to the display), but the View side is apparently confused and acts as if NYC has the turn, which it has not. Previously, with a fresh new JFrame was created for each OR, with the newest company operating order. The JPanel in the new composite ORWindow does not seem to be refreshed between consecutive ORs, leaving the operating order as it was in the previous OR. I will have a detailed look at the code later. One other problem is, that during the OR I cannot make the Stock Chart window visible. Perhaps you can look at that? To help myself here, I have changed all Price fields to show both the price and the location on the stock chart (also in the Log Window). I also had a compilation error that GUIHex and HexMap could no longer access StatusWindow.orWindow, because that field seems to have been made private. I now use a method to get this object (the proper way!). Erik. |
From: Brett L. <wak...@ea...> - 2006-01-11 23:43:33
|
Yes, it was the NYC. It was attempting to lay the connecting tile to New York, but it seems to be any hex location because the second message was generated by attempting to lay a tile in a different hex. ---Brett -----Original Message----- >From: Erik Vos <eri...@hc...> >Sent: Jan 11, 2006 6:30 PM >To: rai...@li... >Subject: RE: [Rails-devel] Wrong Company bug. > >Was it in fact NYC that tried to lay a tile? >And on what hex? > >Erik. > >> -----Original Message----- >> From: rai...@li... >> [mailto:rai...@li...] On Behalf Of >> Brett Lentz >> Sent: 11 January 2006 22:24 >> To: rails-devel >> Subject: [Rails-devel] Wrong Company bug. >> >> I'm including the full console output of my game so you can >> recreate this. >> >> Basically, the bug seems to be a problem with the order of >> company operation. The weird bit is that it gives me the >> "Wrong company" error, but successfully plays the tile. It >> just seems like there's something slightly out-of-sync. >> >> Perhaps it's caused by the purchasing of the 5-train? >> >> ---Brett. >> >> >> >> >> >> Game is 1830 >> Component GameManager initialised as game.GameManager >> Component TileManager initialised as game.TileManager >> Component Map initialised as game.MapManager >> Bank size is 12000 >> MIN_PLAYERS: 2 >> MAX_PLAYERS: 6 >> Component Bank initialised as game.Bank >> Component CompanyManager initialised as game.CompanyManager >> Component StockMarket initialised as game.StockMarket >> Component TrainManager initialised as game.TrainManager >> Start of phase 2 >> Component PhaseManager initialised as game.PhaseManager >> Player 0 receives $800. Bank now has $11200 >> Player 1 receives $800. Bank now has $10400 >> Player 2 receives $800. Bank now has $9600 >> >> Start of initial round >> 0 has the Priority Deal >> 0 bids $225 on B&O. Remains $575 >> 1 bids $165 on C&A. Remains $635 >> 2 bids $115 on M&H. Remains $685 >> 0 bids $75 on D&H. Remains $500 >> 1 bids $45 on C&StL. Remains $590 >> 2 buys SVNRR for $20. >> 1 buys C&StL for $45. >> 0 buys D&H for $75. >> 2 buys M&H for $115. >> 1 buys C&A for $165. >> 1 also gets PRR 10% share >> 0 buys B&O for $225. >> 0 also gets B&O 20% president share >> 2 starts B&O at $100 >> >> Start of Stock Round 1 >> 0 has the Priority Deal >> 0 buys 1 share(s) (10%) of B&O from IPO for $100. >> 0 cannot start PRR: Already bought this turn >> 1 starts PRR at 100 and buys 2 share(s) (20%) for $200. >> 2 starts NYNH at 100 and buys 2 share(s) (20%) for $200. >> 0 buys 1 share(s) (10%) of B&O from IPO for $100. >> 1 buys 1 share(s) (10%) of PRR from IPO for $100. >> 2 buys 1 share(s) (10%) of NYNH from IPO for $100. >> 0 buys 1 share(s) (10%) of B&O from IPO for $100. >> 1 buys 1 share(s) (10%) of PRR from IPO for $100. >> 2 buys 1 share(s) (10%) of NYNH from IPO for $100. >> 0 buys 1 share(s) (10%) of B&O from IPO for $100. >> B&O floats and receives $1000 >> 1 buys 1 share(s) (10%) of PRR from IPO for $100. >> PRR floats and receives $1000 >> 2 buys 1 share(s) (10%) of NYNH from IPO for $100. >> 0 passes. >> 1 passes. >> 2 buys 1 share(s) (10%) of NYNH from IPO for $100. >> NYNH floats and receives $1000 >> 0 buys 1 share(s) (10%) of NYNH from IPO for $100. >> 1 passes. >> 2 passes. >> 0 passes. >> All players have passed, end of SR 1 >> Phase=2 ORs=1 >> >> Start of Operating Round 1.1 >> 2 receives $5 for SVNRR >> 1 receives $10 for C&StL >> 0 receives $15 for D&H >> 2 receives $20 for M&H >> 1 receives $25 for C&A >> 0 receives $30 for B&O >> B&O lays tile 57 at hex J14 for $80 >> Normal=1/1 special=0/0 >> B&O lays a token on J14 for $40 >> B&O earns $0 >> B&O moves from G1 to F1 >> B&O buys 2-train from IPO for $80 >> Private B&O closes >> First 2-train bought >> B&O buys 2-train from IPO for $80 >> B&O buys 2-train from IPO for $80 >> PRR lays tile 9 at hex H14 >> Normal=1/1 special=0/0 >> PRR earns $0 >> PRR moves from G1 to F1 >> PRR buys 2-train from IPO for $80 >> PRR buys 2-train from IPO for $80 >> NYNH lays tile 1 at hex F20 >> Normal=1/1 special=0/0 >> NYNH earns $0 >> NYNH moves from G1 to F1 >> NYNH buys 2-train from IPO for $80 >> All 2-trains are sold out, 3-trains now available >> NYNH buys 3-train from IPO for $180 >> First 3-train bought >> Start of phase 3 >> End of Operating Round 1.1 >> >> Start of Stock Round 2 >> 1 has the Priority Deal >> 1 buys 1 share(s) (10%) of B&O from IPO for $90. >> 2 passes. >> 0 passes. >> 1 passes. >> All players have passed, end of SR 2 >> Phase=3 ORs=2 >> >> Start of Operating Round 2.1 >> 2 receives $5 for SVNRR >> 1 receives $10 for C&StL >> 0 receives $15 for D&H >> 2 receives $20 for M&H >> 1 receives $25 for C&A >> B&O lays tile 14 at hex J14 >> Normal=1/1 special=0/0 >> B&O earns $170 >> B&O pays out full dividend of $170 >> 0 receives $102 >> 1 receives $17 >> B&O moves from F1 to G1 >> B&O buys D&H from 0 for $140. >> PRR lays tile 57 at hex H16 >> Normal=1/1 special=0/0 >> PRR earns $30 >> PRR pays out full dividend of $30 >> 1 receives $18 >> PRR moves from F1 to G1 >> PRR buys C&StL from 1 for $80. >> PRR buys C&A from 1 for $320. >> NYNH lays tile 57 at hex F22 for $80 >> Normal=1/1 special=0/0 >> NYNH lays a token on F22 for $40 >> NYNH earns $110 >> NYNH pays out full dividend of $110 >> 0 receives $11 >> 2 receives $66 >> NYNH moves from F1 to G1 >> NYNH buys SVNRR from 2 for $40. >> NYNH buys M&H from 2 for $220. >> End of Operating Round 2.1 >> >> Start of Operating Round 2.2 >> NYNH receives $5 for SVNRR >> PRR receives $10 for C&StL >> B&O receives $15 for D&H >> NYNH receives $20 for M&H >> PRR receives $25 for C&A >> Special tile lay allowed on hex F16, extra=false >> B&O lays tile 53 at hex I15 >> Normal=1/1 special=0/0 >> B&O earns $190 >> B&O pays out full dividend of $190 >> 0 receives $114 >> 1 receives $19 >> B&O moves from G1 to H1 >> B&O buys 3-train from IPO for $180 >> Special tile lay allowed on hex B20, extra=true >> PRR lays tile 57 at hex H10 >> Normal=1/1 special=0/1 >> Special tile lay allowed on hex B20, extra=true >> PRR lays tile 58 at hex B20 >> A special property of C&StL is used >> Normal=1/1 special=1/1 >> PRR earns $60 >> PRR pays out full dividend of $60 >> 1 receives $36 >> PRR moves from G1 to H1 >> PRR buys 3-train from IPO for $180 >> NYNH lays tile 15 at hex F22 >> Normal=1/1 special=0/0 >> NYNH earns $120 >> NYNH pays out full dividend of $120 >> 0 receives $12 >> 2 receives $72 >> NYNH moves from G1 to H1 >> End of Operating Round 2.2 >> >> Start of Stock Round 3 >> 2 has the Priority Deal >> 2 buys 1 share(s) (10%) of B&O from IPO for $112. >> 0 buys 1 share(s) (10%) of NYNH from IPO for $112. >> 1 buys 1 share(s) (10%) of B&O from IPO for $112. >> 2 buys 1 share(s) (10%) of B&O from IPO for $112. >> 0 buys 1 share(s) (10%) of NYNH from IPO for $112. >> 1 buys 1 share(s) (10%) of NYNH from IPO for $112. >> 2 passes. >> 0 passes. >> 1 starts C&O at 100 and buys 2 share(s) (20%) for $200. >> 1 sells 1 shares (10%) of NYNH for $112 >> NYNH moves from H1 to H2 >> 1 sells 1 shares (10%) of B&O for $112 >> B&O moves from H1 to H2 >> 1 sells 1 shares (10%) of B&O for $112 >> B&O moves from H2 to H3 >> 2 buys 1 share(s) (10%) of B&O from Pool for $90. >> 0 buys 1 share(s) (10%) of NYNH from Pool for $100. >> 1 buys 1 share(s) (10%) of C&O from IPO for $100. >> 2 buys 1 share(s) (10%) of B&O from Pool for $90. >> 0 buys 1 share(s) (10%) of C&O from IPO for $100. >> 1 buys 1 share(s) (10%) of C&O from IPO for $100. >> 2 buys 1 share(s) (10%) of C&O from IPO for $100. >> C&O floats and receives $1000 >> 0 passes. >> 1 buys 1 share(s) (10%) of C&O from IPO for $100. >> 2 passes. >> 0 passes. >> 1 buys 1 share(s) (10%) of C&O from IPO for $100. >> 2 sells 1 shares (10%) of B&O for $90 >> B&O moves from H3 to H4 >> 2 sells 1 shares (10%) of B&O for $90 >> B&O moves from H4 to H5 >> 2 sells 1 shares (10%) of B&O for $90 >> B&O moves from H5 to H6 >> 2 sells 1 shares (10%) of B&O for $90 >> B&O moves from H6 to H7 >> 2 sells 1 shares (10%) of C&O for $100 >> C&O moves from G1 to G2 >> 2 starts NYC at 76 and buys 2 share(s) (20%) for $152. >> 0 sells 1 shares (10%) of C&O for $90 >> C&O moves from G2 to G3 >> 0 sells 1 shares (10%) of NYNH for $100 >> NYNH moves from H2 to H3 >> 0 sells 1 shares (10%) of NYNH for $100 >> NYNH moves from H3 to H4 >> 0 sells 1 shares (10%) of NYNH for $100 >> NYNH moves from H4 to H5 >> 0 sells 1 shares (10%) of NYNH for $100 >> NYNH moves from H5 to H6 >> 0 starts B&M at 82 and buys 2 share(s) (20%) for $164. >> 1 buys 1 share(s) (10%) of NYNH from Pool for $71. >> 2 buys 1 share(s) (10%) of NYC from IPO for $76. >> 0 buys 1 share(s) (10%) of B&M from IPO for $82. >> 1 passes. >> 2 buys 1 share(s) (10%) of NYC from IPO for $76. >> 0 buys 1 share(s) (10%) of B&M from IPO for $82. >> 1 passes. >> 2 buys 1 share(s) (10%) of NYC from IPO for $76. >> 0 buys 1 share(s) (10%) of B&M from IPO for $82. >> 1 passes. >> 2 buys 1 share(s) (10%) of NYC from IPO for $76. >> NYC floats and receives $760 >> 0 buys 1 share(s) (10%) of B&M from IPO for $82. >> B&M floats and receives $820 >> 1 passes. >> 2 passes. >> 0 passes. >> All players have passed, end of SR 3 >> Phase=3 ORs=2 >> >> Start of Operating Round 3.1 >> NYNH receives $5 for SVNRR >> PRR receives $10 for C&StL >> B&O receives $15 for D&H >> NYNH receives $20 for M&H >> PRR receives $25 for C&A >> PRR lays tile 14 at hex H16 >> Normal=1/1 special=0/0 >> PRR earns $70 >> PRR pays out full dividend of $70 >> 1 receives $42 >> PRR moves from H1 to I1 >> C&O lays tile 9 at hex G5 >> Normal=1/1 special=0/0 >> C&O earns $0 >> C&O moves from G3 to F3 >> C&O buys 3-train from IPO for $180 >> B&M lays tile 53 at hex E23 >> Normal=1/1 special=0/0 >> B&M lays a token on F22 for $40 >> B&M earns $0 >> B&M moves from G3 to F3 >> B&M buys 3-train from IPO for $180 >> All 3-trains are sold out, 4-trains now available >> B&M buys 4-train from IPO for $300 >> First 4-train bought >> Start of phase 4 >> All 2-trains are rusted and have been removed >> NYC lays tile 57 at hex E19 >> Normal=1/1 special=0/0 >> NYC earns $0 >> NYC moves from G4 to F4 >> NYC buys 4-train from IPO for $300 >> NYNH lays tile 54 at hex G19 for $80 >> Normal=1/1 special=0/0 >> NYNH earns $100 >> NYNH pays out full dividend of $100 >> 2 receives $60 >> NYNH receives $30 >> 1 receives $10 >> NYNH moves from H6 to I6 >> NYNH buys 4-train from IPO for $300 >> Special tile lay allowed on hex F16, extra=false >> B&O lays tile 27 at hex H14 >> Normal=1/1 special=0/0 >> B&O earns $110 >> B&O pays out full dividend of $110 >> B&O receives $44 >> 0 receives $66 >> B&O moves from H7 to I7 >> B&O buys 4-train from IPO for $300 >> All 4-trains are sold out, 5-trains now available >> End of Operating Round 3.1 >> >> Start of Operating Round 3.2 >> NYNH receives $5 for SVNRR >> PRR receives $10 for C&StL >> B&O receives $15 for D&H >> NYNH receives $20 for M&H >> PRR receives $25 for C&A >> PRR lays tile 59 at hex H18 >> Normal=1/1 special=0/0 >> PRR earns $80 >> PRR pays out full dividend of $80 >> 1 receives $48 >> PRR moves from I1 to J1 >> PRR buys 3-train from C&O for $280 >> C&O lays tile 57 at hex H4 >> Normal=1/1 special=0/0 >> C&O earns $0 >> C&O moves from F3 to E3 >> C&O buys 5-train from IPO for $450 >> First 5-train bought >> Start of phase 5 >> Private SVNRR closes >> Private C&StL closes >> Private D&H closes >> Private M&H closes >> Private C&A closes >> C&O buys 5-train from IPO for $450 >> B&M lays tile 62 at hex G19 >> Normal=1/1 special=0/0 >> B&M earns $210 >> B&M pays out full dividend of $210 >> 0 receives $126 >> B&M moves from F3 to G3 >> Cannot process tile laying: Wrong company NYC >> Cannot process tile laying: Wrong company NYC >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep >> through log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. >> DOWNLOAD SPLUNK! >> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Rails-devel mailing list >Rai...@li... >https://lists.sourceforge.net/lists/listinfo/rails-devel |
From: Erik V. <eri...@hc...> - 2006-01-11 23:30:40
|
Was it in fact NYC that tried to lay a tile? And on what hex? Erik. > -----Original Message----- > From: rai...@li... > [mailto:rai...@li...] On Behalf Of > Brett Lentz > Sent: 11 January 2006 22:24 > To: rails-devel > Subject: [Rails-devel] Wrong Company bug. > > I'm including the full console output of my game so you can > recreate this. > > Basically, the bug seems to be a problem with the order of > company operation. The weird bit is that it gives me the > "Wrong company" error, but successfully plays the tile. It > just seems like there's something slightly out-of-sync. > > Perhaps it's caused by the purchasing of the 5-train? > > ---Brett. > > > > > > Game is 1830 > Component GameManager initialised as game.GameManager > Component TileManager initialised as game.TileManager > Component Map initialised as game.MapManager > Bank size is 12000 > MIN_PLAYERS: 2 > MAX_PLAYERS: 6 > Component Bank initialised as game.Bank > Component CompanyManager initialised as game.CompanyManager > Component StockMarket initialised as game.StockMarket > Component TrainManager initialised as game.TrainManager > Start of phase 2 > Component PhaseManager initialised as game.PhaseManager > Player 0 receives $800. Bank now has $11200 > Player 1 receives $800. Bank now has $10400 > Player 2 receives $800. Bank now has $9600 > > Start of initial round > 0 has the Priority Deal > 0 bids $225 on B&O. Remains $575 > 1 bids $165 on C&A. Remains $635 > 2 bids $115 on M&H. Remains $685 > 0 bids $75 on D&H. Remains $500 > 1 bids $45 on C&StL. Remains $590 > 2 buys SVNRR for $20. > 1 buys C&StL for $45. > 0 buys D&H for $75. > 2 buys M&H for $115. > 1 buys C&A for $165. > 1 also gets PRR 10% share > 0 buys B&O for $225. > 0 also gets B&O 20% president share > 2 starts B&O at $100 > > Start of Stock Round 1 > 0 has the Priority Deal > 0 buys 1 share(s) (10%) of B&O from IPO for $100. > 0 cannot start PRR: Already bought this turn > 1 starts PRR at 100 and buys 2 share(s) (20%) for $200. > 2 starts NYNH at 100 and buys 2 share(s) (20%) for $200. > 0 buys 1 share(s) (10%) of B&O from IPO for $100. > 1 buys 1 share(s) (10%) of PRR from IPO for $100. > 2 buys 1 share(s) (10%) of NYNH from IPO for $100. > 0 buys 1 share(s) (10%) of B&O from IPO for $100. > 1 buys 1 share(s) (10%) of PRR from IPO for $100. > 2 buys 1 share(s) (10%) of NYNH from IPO for $100. > 0 buys 1 share(s) (10%) of B&O from IPO for $100. > B&O floats and receives $1000 > 1 buys 1 share(s) (10%) of PRR from IPO for $100. > PRR floats and receives $1000 > 2 buys 1 share(s) (10%) of NYNH from IPO for $100. > 0 passes. > 1 passes. > 2 buys 1 share(s) (10%) of NYNH from IPO for $100. > NYNH floats and receives $1000 > 0 buys 1 share(s) (10%) of NYNH from IPO for $100. > 1 passes. > 2 passes. > 0 passes. > All players have passed, end of SR 1 > Phase=2 ORs=1 > > Start of Operating Round 1.1 > 2 receives $5 for SVNRR > 1 receives $10 for C&StL > 0 receives $15 for D&H > 2 receives $20 for M&H > 1 receives $25 for C&A > 0 receives $30 for B&O > B&O lays tile 57 at hex J14 for $80 > Normal=1/1 special=0/0 > B&O lays a token on J14 for $40 > B&O earns $0 > B&O moves from G1 to F1 > B&O buys 2-train from IPO for $80 > Private B&O closes > First 2-train bought > B&O buys 2-train from IPO for $80 > B&O buys 2-train from IPO for $80 > PRR lays tile 9 at hex H14 > Normal=1/1 special=0/0 > PRR earns $0 > PRR moves from G1 to F1 > PRR buys 2-train from IPO for $80 > PRR buys 2-train from IPO for $80 > NYNH lays tile 1 at hex F20 > Normal=1/1 special=0/0 > NYNH earns $0 > NYNH moves from G1 to F1 > NYNH buys 2-train from IPO for $80 > All 2-trains are sold out, 3-trains now available > NYNH buys 3-train from IPO for $180 > First 3-train bought > Start of phase 3 > End of Operating Round 1.1 > > Start of Stock Round 2 > 1 has the Priority Deal > 1 buys 1 share(s) (10%) of B&O from IPO for $90. > 2 passes. > 0 passes. > 1 passes. > All players have passed, end of SR 2 > Phase=3 ORs=2 > > Start of Operating Round 2.1 > 2 receives $5 for SVNRR > 1 receives $10 for C&StL > 0 receives $15 for D&H > 2 receives $20 for M&H > 1 receives $25 for C&A > B&O lays tile 14 at hex J14 > Normal=1/1 special=0/0 > B&O earns $170 > B&O pays out full dividend of $170 > 0 receives $102 > 1 receives $17 > B&O moves from F1 to G1 > B&O buys D&H from 0 for $140. > PRR lays tile 57 at hex H16 > Normal=1/1 special=0/0 > PRR earns $30 > PRR pays out full dividend of $30 > 1 receives $18 > PRR moves from F1 to G1 > PRR buys C&StL from 1 for $80. > PRR buys C&A from 1 for $320. > NYNH lays tile 57 at hex F22 for $80 > Normal=1/1 special=0/0 > NYNH lays a token on F22 for $40 > NYNH earns $110 > NYNH pays out full dividend of $110 > 0 receives $11 > 2 receives $66 > NYNH moves from F1 to G1 > NYNH buys SVNRR from 2 for $40. > NYNH buys M&H from 2 for $220. > End of Operating Round 2.1 > > Start of Operating Round 2.2 > NYNH receives $5 for SVNRR > PRR receives $10 for C&StL > B&O receives $15 for D&H > NYNH receives $20 for M&H > PRR receives $25 for C&A > Special tile lay allowed on hex F16, extra=false > B&O lays tile 53 at hex I15 > Normal=1/1 special=0/0 > B&O earns $190 > B&O pays out full dividend of $190 > 0 receives $114 > 1 receives $19 > B&O moves from G1 to H1 > B&O buys 3-train from IPO for $180 > Special tile lay allowed on hex B20, extra=true > PRR lays tile 57 at hex H10 > Normal=1/1 special=0/1 > Special tile lay allowed on hex B20, extra=true > PRR lays tile 58 at hex B20 > A special property of C&StL is used > Normal=1/1 special=1/1 > PRR earns $60 > PRR pays out full dividend of $60 > 1 receives $36 > PRR moves from G1 to H1 > PRR buys 3-train from IPO for $180 > NYNH lays tile 15 at hex F22 > Normal=1/1 special=0/0 > NYNH earns $120 > NYNH pays out full dividend of $120 > 0 receives $12 > 2 receives $72 > NYNH moves from G1 to H1 > End of Operating Round 2.2 > > Start of Stock Round 3 > 2 has the Priority Deal > 2 buys 1 share(s) (10%) of B&O from IPO for $112. > 0 buys 1 share(s) (10%) of NYNH from IPO for $112. > 1 buys 1 share(s) (10%) of B&O from IPO for $112. > 2 buys 1 share(s) (10%) of B&O from IPO for $112. > 0 buys 1 share(s) (10%) of NYNH from IPO for $112. > 1 buys 1 share(s) (10%) of NYNH from IPO for $112. > 2 passes. > 0 passes. > 1 starts C&O at 100 and buys 2 share(s) (20%) for $200. > 1 sells 1 shares (10%) of NYNH for $112 > NYNH moves from H1 to H2 > 1 sells 1 shares (10%) of B&O for $112 > B&O moves from H1 to H2 > 1 sells 1 shares (10%) of B&O for $112 > B&O moves from H2 to H3 > 2 buys 1 share(s) (10%) of B&O from Pool for $90. > 0 buys 1 share(s) (10%) of NYNH from Pool for $100. > 1 buys 1 share(s) (10%) of C&O from IPO for $100. > 2 buys 1 share(s) (10%) of B&O from Pool for $90. > 0 buys 1 share(s) (10%) of C&O from IPO for $100. > 1 buys 1 share(s) (10%) of C&O from IPO for $100. > 2 buys 1 share(s) (10%) of C&O from IPO for $100. > C&O floats and receives $1000 > 0 passes. > 1 buys 1 share(s) (10%) of C&O from IPO for $100. > 2 passes. > 0 passes. > 1 buys 1 share(s) (10%) of C&O from IPO for $100. > 2 sells 1 shares (10%) of B&O for $90 > B&O moves from H3 to H4 > 2 sells 1 shares (10%) of B&O for $90 > B&O moves from H4 to H5 > 2 sells 1 shares (10%) of B&O for $90 > B&O moves from H5 to H6 > 2 sells 1 shares (10%) of B&O for $90 > B&O moves from H6 to H7 > 2 sells 1 shares (10%) of C&O for $100 > C&O moves from G1 to G2 > 2 starts NYC at 76 and buys 2 share(s) (20%) for $152. > 0 sells 1 shares (10%) of C&O for $90 > C&O moves from G2 to G3 > 0 sells 1 shares (10%) of NYNH for $100 > NYNH moves from H2 to H3 > 0 sells 1 shares (10%) of NYNH for $100 > NYNH moves from H3 to H4 > 0 sells 1 shares (10%) of NYNH for $100 > NYNH moves from H4 to H5 > 0 sells 1 shares (10%) of NYNH for $100 > NYNH moves from H5 to H6 > 0 starts B&M at 82 and buys 2 share(s) (20%) for $164. > 1 buys 1 share(s) (10%) of NYNH from Pool for $71. > 2 buys 1 share(s) (10%) of NYC from IPO for $76. > 0 buys 1 share(s) (10%) of B&M from IPO for $82. > 1 passes. > 2 buys 1 share(s) (10%) of NYC from IPO for $76. > 0 buys 1 share(s) (10%) of B&M from IPO for $82. > 1 passes. > 2 buys 1 share(s) (10%) of NYC from IPO for $76. > 0 buys 1 share(s) (10%) of B&M from IPO for $82. > 1 passes. > 2 buys 1 share(s) (10%) of NYC from IPO for $76. > NYC floats and receives $760 > 0 buys 1 share(s) (10%) of B&M from IPO for $82. > B&M floats and receives $820 > 1 passes. > 2 passes. > 0 passes. > All players have passed, end of SR 3 > Phase=3 ORs=2 > > Start of Operating Round 3.1 > NYNH receives $5 for SVNRR > PRR receives $10 for C&StL > B&O receives $15 for D&H > NYNH receives $20 for M&H > PRR receives $25 for C&A > PRR lays tile 14 at hex H16 > Normal=1/1 special=0/0 > PRR earns $70 > PRR pays out full dividend of $70 > 1 receives $42 > PRR moves from H1 to I1 > C&O lays tile 9 at hex G5 > Normal=1/1 special=0/0 > C&O earns $0 > C&O moves from G3 to F3 > C&O buys 3-train from IPO for $180 > B&M lays tile 53 at hex E23 > Normal=1/1 special=0/0 > B&M lays a token on F22 for $40 > B&M earns $0 > B&M moves from G3 to F3 > B&M buys 3-train from IPO for $180 > All 3-trains are sold out, 4-trains now available > B&M buys 4-train from IPO for $300 > First 4-train bought > Start of phase 4 > All 2-trains are rusted and have been removed > NYC lays tile 57 at hex E19 > Normal=1/1 special=0/0 > NYC earns $0 > NYC moves from G4 to F4 > NYC buys 4-train from IPO for $300 > NYNH lays tile 54 at hex G19 for $80 > Normal=1/1 special=0/0 > NYNH earns $100 > NYNH pays out full dividend of $100 > 2 receives $60 > NYNH receives $30 > 1 receives $10 > NYNH moves from H6 to I6 > NYNH buys 4-train from IPO for $300 > Special tile lay allowed on hex F16, extra=false > B&O lays tile 27 at hex H14 > Normal=1/1 special=0/0 > B&O earns $110 > B&O pays out full dividend of $110 > B&O receives $44 > 0 receives $66 > B&O moves from H7 to I7 > B&O buys 4-train from IPO for $300 > All 4-trains are sold out, 5-trains now available > End of Operating Round 3.1 > > Start of Operating Round 3.2 > NYNH receives $5 for SVNRR > PRR receives $10 for C&StL > B&O receives $15 for D&H > NYNH receives $20 for M&H > PRR receives $25 for C&A > PRR lays tile 59 at hex H18 > Normal=1/1 special=0/0 > PRR earns $80 > PRR pays out full dividend of $80 > 1 receives $48 > PRR moves from I1 to J1 > PRR buys 3-train from C&O for $280 > C&O lays tile 57 at hex H4 > Normal=1/1 special=0/0 > C&O earns $0 > C&O moves from F3 to E3 > C&O buys 5-train from IPO for $450 > First 5-train bought > Start of phase 5 > Private SVNRR closes > Private C&StL closes > Private D&H closes > Private M&H closes > Private C&A closes > C&O buys 5-train from IPO for $450 > B&M lays tile 62 at hex G19 > Normal=1/1 special=0/0 > B&M earns $210 > B&M pays out full dividend of $210 > 0 receives $126 > B&M moves from F3 to G3 > Cannot process tile laying: Wrong company NYC > Cannot process tile laying: Wrong company NYC > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Brett L. <wak...@ea...> - 2006-01-11 21:24:11
|
I'm including the full console output of my game so you can recreate this. Basically, the bug seems to be a problem with the order of company operation. The weird bit is that it gives me the "Wrong company" error, but successfully plays the tile. It just seems like there's something slightly out-of-sync. Perhaps it's caused by the purchasing of the 5-train? ---Brett. Game is 1830 Component GameManager initialised as game.GameManager Component TileManager initialised as game.TileManager Component Map initialised as game.MapManager Bank size is 12000 MIN_PLAYERS: 2 MAX_PLAYERS: 6 Component Bank initialised as game.Bank Component CompanyManager initialised as game.CompanyManager Component StockMarket initialised as game.StockMarket Component TrainManager initialised as game.TrainManager Start of phase 2 Component PhaseManager initialised as game.PhaseManager Player 0 receives $800. Bank now has $11200 Player 1 receives $800. Bank now has $10400 Player 2 receives $800. Bank now has $9600 Start of initial round 0 has the Priority Deal 0 bids $225 on B&O. Remains $575 1 bids $165 on C&A. Remains $635 2 bids $115 on M&H. Remains $685 0 bids $75 on D&H. Remains $500 1 bids $45 on C&StL. Remains $590 2 buys SVNRR for $20. 1 buys C&StL for $45. 0 buys D&H for $75. 2 buys M&H for $115. 1 buys C&A for $165. 1 also gets PRR 10% share 0 buys B&O for $225. 0 also gets B&O 20% president share 2 starts B&O at $100 Start of Stock Round 1 0 has the Priority Deal 0 buys 1 share(s) (10%) of B&O from IPO for $100. 0 cannot start PRR: Already bought this turn 1 starts PRR at 100 and buys 2 share(s) (20%) for $200. 2 starts NYNH at 100 and buys 2 share(s) (20%) for $200. 0 buys 1 share(s) (10%) of B&O from IPO for $100. 1 buys 1 share(s) (10%) of PRR from IPO for $100. 2 buys 1 share(s) (10%) of NYNH from IPO for $100. 0 buys 1 share(s) (10%) of B&O from IPO for $100. 1 buys 1 share(s) (10%) of PRR from IPO for $100. 2 buys 1 share(s) (10%) of NYNH from IPO for $100. 0 buys 1 share(s) (10%) of B&O from IPO for $100. B&O floats and receives $1000 1 buys 1 share(s) (10%) of PRR from IPO for $100. PRR floats and receives $1000 2 buys 1 share(s) (10%) of NYNH from IPO for $100. 0 passes. 1 passes. 2 buys 1 share(s) (10%) of NYNH from IPO for $100. NYNH floats and receives $1000 0 buys 1 share(s) (10%) of NYNH from IPO for $100. 1 passes. 2 passes. 0 passes. All players have passed, end of SR 1 Phase=2 ORs=1 Start of Operating Round 1.1 2 receives $5 for SVNRR 1 receives $10 for C&StL 0 receives $15 for D&H 2 receives $20 for M&H 1 receives $25 for C&A 0 receives $30 for B&O B&O lays tile 57 at hex J14 for $80 Normal=1/1 special=0/0 B&O lays a token on J14 for $40 B&O earns $0 B&O moves from G1 to F1 B&O buys 2-train from IPO for $80 Private B&O closes First 2-train bought B&O buys 2-train from IPO for $80 B&O buys 2-train from IPO for $80 PRR lays tile 9 at hex H14 Normal=1/1 special=0/0 PRR earns $0 PRR moves from G1 to F1 PRR buys 2-train from IPO for $80 PRR buys 2-train from IPO for $80 NYNH lays tile 1 at hex F20 Normal=1/1 special=0/0 NYNH earns $0 NYNH moves from G1 to F1 NYNH buys 2-train from IPO for $80 All 2-trains are sold out, 3-trains now available NYNH buys 3-train from IPO for $180 First 3-train bought Start of phase 3 End of Operating Round 1.1 Start of Stock Round 2 1 has the Priority Deal 1 buys 1 share(s) (10%) of B&O from IPO for $90. 2 passes. 0 passes. 1 passes. All players have passed, end of SR 2 Phase=3 ORs=2 Start of Operating Round 2.1 2 receives $5 for SVNRR 1 receives $10 for C&StL 0 receives $15 for D&H 2 receives $20 for M&H 1 receives $25 for C&A B&O lays tile 14 at hex J14 Normal=1/1 special=0/0 B&O earns $170 B&O pays out full dividend of $170 0 receives $102 1 receives $17 B&O moves from F1 to G1 B&O buys D&H from 0 for $140. PRR lays tile 57 at hex H16 Normal=1/1 special=0/0 PRR earns $30 PRR pays out full dividend of $30 1 receives $18 PRR moves from F1 to G1 PRR buys C&StL from 1 for $80. PRR buys C&A from 1 for $320. NYNH lays tile 57 at hex F22 for $80 Normal=1/1 special=0/0 NYNH lays a token on F22 for $40 NYNH earns $110 NYNH pays out full dividend of $110 0 receives $11 2 receives $66 NYNH moves from F1 to G1 NYNH buys SVNRR from 2 for $40. NYNH buys M&H from 2 for $220. End of Operating Round 2.1 Start of Operating Round 2.2 NYNH receives $5 for SVNRR PRR receives $10 for C&StL B&O receives $15 for D&H NYNH receives $20 for M&H PRR receives $25 for C&A Special tile lay allowed on hex F16, extra=false B&O lays tile 53 at hex I15 Normal=1/1 special=0/0 B&O earns $190 B&O pays out full dividend of $190 0 receives $114 1 receives $19 B&O moves from G1 to H1 B&O buys 3-train from IPO for $180 Special tile lay allowed on hex B20, extra=true PRR lays tile 57 at hex H10 Normal=1/1 special=0/1 Special tile lay allowed on hex B20, extra=true PRR lays tile 58 at hex B20 A special property of C&StL is used Normal=1/1 special=1/1 PRR earns $60 PRR pays out full dividend of $60 1 receives $36 PRR moves from G1 to H1 PRR buys 3-train from IPO for $180 NYNH lays tile 15 at hex F22 Normal=1/1 special=0/0 NYNH earns $120 NYNH pays out full dividend of $120 0 receives $12 2 receives $72 NYNH moves from G1 to H1 End of Operating Round 2.2 Start of Stock Round 3 2 has the Priority Deal 2 buys 1 share(s) (10%) of B&O from IPO for $112. 0 buys 1 share(s) (10%) of NYNH from IPO for $112. 1 buys 1 share(s) (10%) of B&O from IPO for $112. 2 buys 1 share(s) (10%) of B&O from IPO for $112. 0 buys 1 share(s) (10%) of NYNH from IPO for $112. 1 buys 1 share(s) (10%) of NYNH from IPO for $112. 2 passes. 0 passes. 1 starts C&O at 100 and buys 2 share(s) (20%) for $200. 1 sells 1 shares (10%) of NYNH for $112 NYNH moves from H1 to H2 1 sells 1 shares (10%) of B&O for $112 B&O moves from H1 to H2 1 sells 1 shares (10%) of B&O for $112 B&O moves from H2 to H3 2 buys 1 share(s) (10%) of B&O from Pool for $90. 0 buys 1 share(s) (10%) of NYNH from Pool for $100. 1 buys 1 share(s) (10%) of C&O from IPO for $100. 2 buys 1 share(s) (10%) of B&O from Pool for $90. 0 buys 1 share(s) (10%) of C&O from IPO for $100. 1 buys 1 share(s) (10%) of C&O from IPO for $100. 2 buys 1 share(s) (10%) of C&O from IPO for $100. C&O floats and receives $1000 0 passes. 1 buys 1 share(s) (10%) of C&O from IPO for $100. 2 passes. 0 passes. 1 buys 1 share(s) (10%) of C&O from IPO for $100. 2 sells 1 shares (10%) of B&O for $90 B&O moves from H3 to H4 2 sells 1 shares (10%) of B&O for $90 B&O moves from H4 to H5 2 sells 1 shares (10%) of B&O for $90 B&O moves from H5 to H6 2 sells 1 shares (10%) of B&O for $90 B&O moves from H6 to H7 2 sells 1 shares (10%) of C&O for $100 C&O moves from G1 to G2 2 starts NYC at 76 and buys 2 share(s) (20%) for $152. 0 sells 1 shares (10%) of C&O for $90 C&O moves from G2 to G3 0 sells 1 shares (10%) of NYNH for $100 NYNH moves from H2 to H3 0 sells 1 shares (10%) of NYNH for $100 NYNH moves from H3 to H4 0 sells 1 shares (10%) of NYNH for $100 NYNH moves from H4 to H5 0 sells 1 shares (10%) of NYNH for $100 NYNH moves from H5 to H6 0 starts B&M at 82 and buys 2 share(s) (20%) for $164. 1 buys 1 share(s) (10%) of NYNH from Pool for $71. 2 buys 1 share(s) (10%) of NYC from IPO for $76. 0 buys 1 share(s) (10%) of B&M from IPO for $82. 1 passes. 2 buys 1 share(s) (10%) of NYC from IPO for $76. 0 buys 1 share(s) (10%) of B&M from IPO for $82. 1 passes. 2 buys 1 share(s) (10%) of NYC from IPO for $76. 0 buys 1 share(s) (10%) of B&M from IPO for $82. 1 passes. 2 buys 1 share(s) (10%) of NYC from IPO for $76. NYC floats and receives $760 0 buys 1 share(s) (10%) of B&M from IPO for $82. B&M floats and receives $820 1 passes. 2 passes. 0 passes. All players have passed, end of SR 3 Phase=3 ORs=2 Start of Operating Round 3.1 NYNH receives $5 for SVNRR PRR receives $10 for C&StL B&O receives $15 for D&H NYNH receives $20 for M&H PRR receives $25 for C&A PRR lays tile 14 at hex H16 Normal=1/1 special=0/0 PRR earns $70 PRR pays out full dividend of $70 1 receives $42 PRR moves from H1 to I1 C&O lays tile 9 at hex G5 Normal=1/1 special=0/0 C&O earns $0 C&O moves from G3 to F3 C&O buys 3-train from IPO for $180 B&M lays tile 53 at hex E23 Normal=1/1 special=0/0 B&M lays a token on F22 for $40 B&M earns $0 B&M moves from G3 to F3 B&M buys 3-train from IPO for $180 All 3-trains are sold out, 4-trains now available B&M buys 4-train from IPO for $300 First 4-train bought Start of phase 4 All 2-trains are rusted and have been removed NYC lays tile 57 at hex E19 Normal=1/1 special=0/0 NYC earns $0 NYC moves from G4 to F4 NYC buys 4-train from IPO for $300 NYNH lays tile 54 at hex G19 for $80 Normal=1/1 special=0/0 NYNH earns $100 NYNH pays out full dividend of $100 2 receives $60 NYNH receives $30 1 receives $10 NYNH moves from H6 to I6 NYNH buys 4-train from IPO for $300 Special tile lay allowed on hex F16, extra=false B&O lays tile 27 at hex H14 Normal=1/1 special=0/0 B&O earns $110 B&O pays out full dividend of $110 B&O receives $44 0 receives $66 B&O moves from H7 to I7 B&O buys 4-train from IPO for $300 All 4-trains are sold out, 5-trains now available End of Operating Round 3.1 Start of Operating Round 3.2 NYNH receives $5 for SVNRR PRR receives $10 for C&StL B&O receives $15 for D&H NYNH receives $20 for M&H PRR receives $25 for C&A PRR lays tile 59 at hex H18 Normal=1/1 special=0/0 PRR earns $80 PRR pays out full dividend of $80 1 receives $48 PRR moves from I1 to J1 PRR buys 3-train from C&O for $280 C&O lays tile 57 at hex H4 Normal=1/1 special=0/0 C&O earns $0 C&O moves from F3 to E3 C&O buys 5-train from IPO for $450 First 5-train bought Start of phase 5 Private SVNRR closes Private C&StL closes Private D&H closes Private M&H closes Private C&A closes C&O buys 5-train from IPO for $450 B&M lays tile 62 at hex G19 Normal=1/1 special=0/0 B&M earns $210 B&M pays out full dividend of $210 0 receives $126 B&M moves from F3 to G3 Cannot process tile laying: Wrong company NYC Cannot process tile laying: Wrong company NYC |
From: Brett L. <wak...@ea...> - 2006-01-11 02:05:35
|
>Please also take into account, that the number of operating >companies can be substantial. >18EU starts with 15 minor companies and 1837 with 21 (plus some >early major companies after a few SRs), >all laying tiles and running trains etc. >I can imagine that these all will not fit in one window with a map. I think perhaps we should simply offer a button in the window (Menu and MenuItems is probably best) to allow toggling of the StatusPanel (the Button Panel should always be visible). ---Brett. |
From: Brett L. <wak...@ea...> - 2006-01-10 22:50:41
|
>>One small annoyance: if I make the map visible at the start of the game, >>and then click it away, it does not become automatically visible again >>at the start of the first OR. I must click it on again in StatusWindow. >> > >Yeah, I've noticed this too. I'm working on tracking down the cause. I've found this bug and fixed it. ---Brett. |
From: Brett L. <wak...@ea...> - 2006-01-10 22:39:08
|
>> Ok... I've gotten the merged ORWindow working and comitted. >> It can still use some tweaking to get the sizing correct. > >I was a bit skeptical, but it looks pretty good. > Thanks. I didn't want to change how any of our components looked. I like the way the status info is presented. I just wanted everything to be contained within a single window. >One small annoyance: if I make the map visible at the start of the game, >and then click it away, it does not become automatically visible again >at the start of the first OR. I must click it on again in StatusWindow. > Yeah, I've noticed this too. I'm working on tracking down the cause. >> One lingering issue: Is there a way to find whether there >> has been an Operating Round or not? > >There wasn't, but now there is: OperatingRound.getLastORNumber() >returns the last (cumulative) OR number - zero if there wasn't any. > Perfect. This fixes a bug you hadn't seen yet. ;-) ---Brett. |
From: Erik V. <eri...@hc...> - 2006-01-10 21:54:49
|
> Ok... I've gotten the merged ORWindow working and comitted. > It can still use some tweaking to get the sizing correct. I was a bit skeptical, but it looks pretty good. One small annoyance: if I make the map visible at the start of the game, and then click it away, it does not become automatically visible again at the start of the first OR. I must click it on again in StatusWindow. > One lingering issue: Is there a way to find whether there > has been an Operating Round or not? There wasn't, but now there is: OperatingRound.getLastORNumber() returns the last (cumulative) OR number - zero if there wasn't any. Erik. |
From: Brett L. <wak...@ea...> - 2006-01-10 21:05:50
|
>Please also take into account, that the number of operating >companies can be substantial. >18EU starts with 15 minor companies and 1837 with 21 (plus some >early major companies after a few SRs), >all laying tiles and running trains etc. >I can imagine that these all will not fit in one window with a map. > >Ideal would be a facility to dock frames in a window, >or drag them out to create a separate window. >But that is for some distant future, I guess.... > Yeah, I'm not certain how friendly Java is to things like docking. I'll play around with a JScrollPane and see how it looks when there's a large amount of companies running. ---Brett. |
From: Erik V. <eri...@hc...> - 2006-01-10 20:49:25
|
> Well, the nice thing about using the ORWindow as the main > container is that the changes are really minimal. Basically, > there's little more than changing MapWindow to be a JPanel > instead of a JFrame, changing the calls from using > contentPane to using the JPanel's add() methods, and adding > the mapWindow to ORWindow's constructor. > > The tricky part is, as you mentioned, this changes how the > map is made visible, and there's some resizing issues. > > I think I'm going to explore these issues a little further > before I commit anything. Please also take into account, that the number of operating companies can be substantial. 18EU starts with 15 minor companies and 1837 with 21 (plus some early major companies after a few SRs), all laying tiles and running trains etc. I can imagine that these all will not fit in one window with a map. Ideal would be a facility to dock frames in a window, or drag them out to create a separate window. But that is for some distant future, I guess.... Erik. |
From: Brett L. <wak...@ea...> - 2006-01-10 20:16:44
|
Ok... I've gotten the merged ORWindow working and comitted. It can still use some tweaking to get the sizing correct. Here's an overview of the changes: ORWindow is now just the container class ORPanel is all of the status panel code. MapPanel is MapWindow retooled as a JPanel. UpgradesPanel has been moved out of MapPanel and into ORWindow as one of three main JPanels contained within ORWindow. One lingering issue: Is there a way to find whether there has been an Operating Round or not? ---Brett. -----Original Message----- >From: Brett Lentz <wak...@ea...> >Sent: Jan 9, 2006 6:59 PM >To: rai...@li... >Subject: RE: [Rails-devel] Combining ORWindow and MapWindow > >Well, the nice thing about using the ORWindow as the main container is that the changes are really minimal. Basically, there's little more than changing MapWindow to be a JPanel instead of a JFrame, changing the calls from using contentPane to using the JPanel's add() methods, and adding the mapWindow to ORWindow's constructor. > >The tricky part is, as you mentioned, this changes how the map is made visible, and there's some resizing issues. > >I think I'm going to explore these issues a little further before I commit anything. > > >---Brett. > >-----Original Message----- >>From: Erik Vos <eri...@hc...> >>Sent: Jan 9, 2006 6:14 PM >>To: rai...@li... >>Subject: RE: [Rails-devel] Combining ORWindow and MapWindow >> >>I suppose the OR Window will now become a JPanel, >>that is alternatingly visible and invisible? >> >>There are two reasons why I have some doubts on this move: >>1. The window (panel) sizes will often not match very well, >>2. The OR window currently only exists during an OR, >>whereas the map always exists (though not always visible), >>so that we should be careful about re-initialisation. >> >>On the other hand: I was considering to move, or duplicate, >>the current buttons in the upgrade panel to the OR window. >>Such integration might become easier. >> >>None of my doubts are really prohibitive, so I don't mind trying this, >>but I would prefer to keep the way back open for a while. >> >>Erik. >> >> >>> -----Original Message----- >>> From: rai...@li... >>> [mailto:rai...@li...] On Behalf Of >>> Brett Lentz >>> Sent: 09 January 2006 23:59 >>> To: rails-devel >>> Subject: [Rails-devel] Combining ORWindow and MapWindow >>> >>> I've been looking at how to combine these two windows over >>> the weekend. >>> >>> The easiest method is to add MapWindow to ORWindow rather >>> than the other way around. >>> >>> Currently, I've got a working unified window. There's some >>> resizing issues I'm working out, but overall it works fairly well. >>> >>> However, before I commit the changes... are there any >>> reasons why I should not commit this, just yet? >>> >>> >>> >>> ---Brett. >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: Splunk Inc. Do you grep >>> through log files >>> for problems? Stop! Download the new AJAX search engine that makes >>> searching your log files as easy as surfing the web. >>> DOWNLOAD SPLUNK! >>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >>> _______________________________________________ >>> Rails-devel mailing list >>> Rai...@li... >>> https://lists.sourceforge.net/lists/listinfo/rails-devel >>> >>> >> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >>for problems? Stop! Download the new AJAX search engine that makes >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >>_______________________________________________ >>Rails-devel mailing list >>Rai...@li... >>https://lists.sourceforge.net/lists/listinfo/rails-devel > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Rails-devel mailing list >Rai...@li... >https://lists.sourceforge.net/lists/listinfo/rails-devel |
From: Brett L. <wak...@ea...> - 2006-01-10 00:00:04
|
Well, the nice thing about using the ORWindow as the main container is that the changes are really minimal. Basically, there's little more than changing MapWindow to be a JPanel instead of a JFrame, changing the calls from using contentPane to using the JPanel's add() methods, and adding the mapWindow to ORWindow's constructor. The tricky part is, as you mentioned, this changes how the map is made visible, and there's some resizing issues. I think I'm going to explore these issues a little further before I commit anything. ---Brett. -----Original Message----- >From: Erik Vos <eri...@hc...> >Sent: Jan 9, 2006 6:14 PM >To: rai...@li... >Subject: RE: [Rails-devel] Combining ORWindow and MapWindow > >I suppose the OR Window will now become a JPanel, >that is alternatingly visible and invisible? > >There are two reasons why I have some doubts on this move: >1. The window (panel) sizes will often not match very well, >2. The OR window currently only exists during an OR, >whereas the map always exists (though not always visible), >so that we should be careful about re-initialisation. > >On the other hand: I was considering to move, or duplicate, >the current buttons in the upgrade panel to the OR window. >Such integration might become easier. > >None of my doubts are really prohibitive, so I don't mind trying this, >but I would prefer to keep the way back open for a while. > >Erik. > > >> -----Original Message----- >> From: rai...@li... >> [mailto:rai...@li...] On Behalf Of >> Brett Lentz >> Sent: 09 January 2006 23:59 >> To: rails-devel >> Subject: [Rails-devel] Combining ORWindow and MapWindow >> >> I've been looking at how to combine these two windows over >> the weekend. >> >> The easiest method is to add MapWindow to ORWindow rather >> than the other way around. >> >> Currently, I've got a working unified window. There's some >> resizing issues I'm working out, but overall it works fairly well. >> >> However, before I commit the changes... are there any >> reasons why I should not commit this, just yet? >> >> >> >> ---Brett. >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep >> through log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. >> DOWNLOAD SPLUNK! >> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Rails-devel mailing list >Rai...@li... >https://lists.sourceforge.net/lists/listinfo/rails-devel |
From: Erik V. <eri...@hc...> - 2006-01-09 23:14:34
|
I suppose the OR Window will now become a JPanel, that is alternatingly visible and invisible? There are two reasons why I have some doubts on this move: 1. The window (panel) sizes will often not match very well, 2. The OR window currently only exists during an OR, whereas the map always exists (though not always visible), so that we should be careful about re-initialisation. On the other hand: I was considering to move, or duplicate, the current buttons in the upgrade panel to the OR window. Such integration might become easier. None of my doubts are really prohibitive, so I don't mind trying this, but I would prefer to keep the way back open for a while. Erik. > -----Original Message----- > From: rai...@li... > [mailto:rai...@li...] On Behalf Of > Brett Lentz > Sent: 09 January 2006 23:59 > To: rails-devel > Subject: [Rails-devel] Combining ORWindow and MapWindow > > I've been looking at how to combine these two windows over > the weekend. > > The easiest method is to add MapWindow to ORWindow rather > than the other way around. > > Currently, I've got a working unified window. There's some > resizing issues I'm working out, but overall it works fairly well. > > However, before I commit the changes... are there any > reasons why I should not commit this, just yet? > > > > ---Brett. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Brett L. <wak...@ea...> - 2006-01-09 22:59:17
|
I've been looking at how to combine these two windows over the weekend. The easiest method is to add MapWindow to ORWindow rather than the other way around. Currently, I've got a working unified window. There's some resizing issues I'm working out, but overall it works fairly well. However, before I commit the changes... are there any reasons why I should not commit this, just yet? ---Brett. |
From: Erik V. <eri...@hc...> - 2006-01-08 20:05:36
|
OK, I see what the problem is: if the first tile lay is a "normal" one, any subsequent tile lay must use a special property; but this was not checked. Should be fixed now. I have also improved the OR window in a number of respects: - removed Close Private button. - added Privates columns (owned and cost this round); these columns will only appear in games where companies can buy Privates. - removed column for trains just bought, leaving only the currently owned trains column. - Other minor changes. Erik. > -----Original Message----- > From: rai...@li... > [mailto:rai...@li...] On Behalf Of > Brett Lentz > Sent: 06 January 2006 01:56 > To: rai...@li... > Subject: RE: [Rails-devel] OR Bug? > > Ok... I found how to duplicate it. > > I play a "reasonable" 3 player game. By reasonable, I mean > simulating a real game by making sensible choices that I've > seen made in actual games. I start up the B&O, PRR, and C&O > at the beginning of the game. > > After 3 trains come out, I had the PRR buy the C&StL. The > following OR, the PRR is allowed to make as many tile lays as > it likes, anywhere on the map. > > Here's the console output from my game during the OR that I > replicated the behavior: > > Start of Operating Round 3.2 > 2 receives $5 for SVNRR > PRR receives $10 for C&StL > 0 receives $15 for D&H > 2 receives $20 for M&H > PRR receives $25 for C&A > B&O buys D&H from 0 for $140. > Special tile lay allowed on hex F16, extra=false > B&O lays tile #53/I15/SW > Normal=1/1 special=0/0 > B&O earns $250 > B&O pays out full dividend of $250 > 1 receives $50 > 2 receives $25 > 0 receives $150 > B&O moves from H1 to I1 > Special tile lay allowed on hex B20, extra=true > PRR lays tile #57/H10/SW > Normal=1/1 special=0/1 > Special tile lay allowed on hex B20, extra=true > PRR lays tile #14/H10/SW > Normal=2/1 special=0/1 > Special tile lay allowed on hex B20, extra=true > PRR lays tile #8/H8/SW > Normal=3/1 special=0/1 > Special tile lay allowed on hex B20, extra=true > PRR lays tile #55/G7/SW > Normal=4/1 special=0/1 > Special tile lay allowed on hex B20, extra=true > count = 0, total = 170 > count = 0, total = 510 > count = 0, total = 215 > > > > ---Brett > > -----Original Message----- > >From: Brett Lentz <wak...@ea...> > >Sent: Jan 5, 2006 6:39 PM > >To: rai...@li... > >Subject: RE: [Rails-devel] OR Bug? > > > >I'll test some more to see if i can duplicate it again. I > think perhaps all of our cleanups and fixes may have fixed it. > > > > > > > >---Brett. > > > > > >-----Original Message----- > >>From: Erik Vos <eri...@hc...> > >>Sent: Jan 5, 2006 5:19 PM > >>To: rai...@li... > >>Subject: RE: [Rails-devel] OR Bug? > >> > >>> Have you also noticed that laying special tiles is not > >>> limited at all yet? A public company that owns a private who > >>> is allowed to lay special tiles can lay any tile anywhere on > >>> the map, and can lay any number of tiles. > >> > >>No, I have not noticed that, even when I tried tonight. > >>Nevertheless I have cleaned up the code a bit, and added, > >>that the ability is now also given in the same round in which > >>the private is bought, if done prior to any tile laying. > >> > >>If you still have this problem, please let me know what you > did to get it. > >> > >>Also done some other cleanups, mainly to remove now > redundant code from > >>GameStatus. > >> > >>Erik. > >> > >> > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep > through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. > DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Brett L. <wak...@ea...> - 2006-01-06 00:55:46
|
Ok... I found how to duplicate it. I play a "reasonable" 3 player game. By reasonable, I mean simulating a real game by making sensible choices that I've seen made in actual games. I start up the B&O, PRR, and C&O at the beginning of the game. After 3 trains come out, I had the PRR buy the C&StL. The following OR, the PRR is allowed to make as many tile lays as it likes, anywhere on the map. Here's the console output from my game during the OR that I replicated the behavior: Start of Operating Round 3.2 2 receives $5 for SVNRR PRR receives $10 for C&StL 0 receives $15 for D&H 2 receives $20 for M&H PRR receives $25 for C&A B&O buys D&H from 0 for $140. Special tile lay allowed on hex F16, extra=false B&O lays tile #53/I15/SW Normal=1/1 special=0/0 B&O earns $250 B&O pays out full dividend of $250 1 receives $50 2 receives $25 0 receives $150 B&O moves from H1 to I1 Special tile lay allowed on hex B20, extra=true PRR lays tile #57/H10/SW Normal=1/1 special=0/1 Special tile lay allowed on hex B20, extra=true PRR lays tile #14/H10/SW Normal=2/1 special=0/1 Special tile lay allowed on hex B20, extra=true PRR lays tile #8/H8/SW Normal=3/1 special=0/1 Special tile lay allowed on hex B20, extra=true PRR lays tile #55/G7/SW Normal=4/1 special=0/1 Special tile lay allowed on hex B20, extra=true count = 0, total = 170 count = 0, total = 510 count = 0, total = 215 ---Brett -----Original Message----- >From: Brett Lentz <wak...@ea...> >Sent: Jan 5, 2006 6:39 PM >To: rai...@li... >Subject: RE: [Rails-devel] OR Bug? > >I'll test some more to see if i can duplicate it again. I think perhaps all of our cleanups and fixes may have fixed it. > > > >---Brett. > > >-----Original Message----- >>From: Erik Vos <eri...@hc...> >>Sent: Jan 5, 2006 5:19 PM >>To: rai...@li... >>Subject: RE: [Rails-devel] OR Bug? >> >>> Have you also noticed that laying special tiles is not >>> limited at all yet? A public company that owns a private who >>> is allowed to lay special tiles can lay any tile anywhere on >>> the map, and can lay any number of tiles. >> >>No, I have not noticed that, even when I tried tonight. >>Nevertheless I have cleaned up the code a bit, and added, >>that the ability is now also given in the same round in which >>the private is bought, if done prior to any tile laying. >> >>If you still have this problem, please let me know what you did to get it. >> >>Also done some other cleanups, mainly to remove now redundant code from >>GameStatus. >> >>Erik. >> >> |
From: Brett L. <wak...@ea...> - 2006-01-05 23:40:06
|
I'll test some more to see if i can duplicate it again. I think perhaps all of our cleanups and fixes may have fixed it. ---Brett. -----Original Message----- >From: Erik Vos <eri...@hc...> >Sent: Jan 5, 2006 5:19 PM >To: rai...@li... >Subject: RE: [Rails-devel] OR Bug? > >> Have you also noticed that laying special tiles is not >> limited at all yet? A public company that owns a private who >> is allowed to lay special tiles can lay any tile anywhere on >> the map, and can lay any number of tiles. > >No, I have not noticed that, even when I tried tonight. >Nevertheless I have cleaned up the code a bit, and added, >that the ability is now also given in the same round in which >the private is bought, if done prior to any tile laying. > >If you still have this problem, please let me know what you did to get it. > >Also done some other cleanups, mainly to remove now redundant code from >GameStatus. > >Erik. > > > |
From: Erik V. <eri...@hc...> - 2006-01-05 22:19:38
|
> Have you also noticed that laying special tiles is not > limited at all yet? A public company that owns a private who > is allowed to lay special tiles can lay any tile anywhere on > the map, and can lay any number of tiles. No, I have not noticed that, even when I tried tonight. Nevertheless I have cleaned up the code a bit, and added, that the ability is now also given in the same round in which the private is bought, if done prior to any tile laying. If you still have this problem, please let me know what you did to get it. Also done some other cleanups, mainly to remove now redundant code from GameStatus. Erik. |