From: Stefan F. <ste...@we...> - 2012-05-02 05:12:10
|
Mike: thanks for the (detailed) bug reports. I can confirm both bugs. Both are related to the fact the undo mechanism of Rails still has a few bugs remaining. As going back in game history is based on the undo mechanism it shares the issues. This is one of the issues which will be addressed in Rails2.x and will be (hopefully) easier to identifier and fix. As I focus on the core of the rails2.x now (and this is harder work or better more tedious work as I hoped it to be), I abstain from looking into the precise nature of the bugs (though I have some ideas where to start). Maybe Erik will have a look into it? Usually the effects will not survive reload (as it replays the game from the beginning and thus does not use undo). So either the game is loaded in a correct state (most cases) or it is broken and unloadable (only a few cases). A general workaround would be a menu item that allows an automatic replay which simulates the sequence of a save and reload and will get the game back into a reasonable state automatically? Stefan On 04/18/2012 07:26 AM, Mike Bourke wrote: > While playing a game of 1830 (simple Option) recently, I noticed a pair of > subtle bugs in the game system. Log files for these bugs are not available > but saved games are, and I have verified that the bugs are reproducible > using the specific techniques described below. > > Bug #1: Problem ending company Op round when president has been forced to > sell shares. > > Details: The B&O president has just been forced to sell shares in order to > raise the capital for a diesel. Play then moves to the newly-launched C&O, > but the game freezes. C&O never gets to lay track, the map window (top left) > reads "lay token" and "no token" and both choices are greyed out, as are the > buttons at the bottom of the map window ("Done", "undo", "redo"). However, > as soon as "save game" is performed, the problem clears itself. > > To reproduce this bug: > > 1. load 1830_20120415_0220_M4.rails. > 2. In the game report, locate and click on the entry that reads "B&O does > not pay a dividend", then "play from here." > 3. In the map window, click on "buy train". Note the relative order of L&N > and C&O shares. > 4. Sell 2 shares of PRR, 1 share of NYC, and (critical) 1 share of L&N. Note > that the relative order of L&N and C&O shares have changed because of the > sale of shares. > 5. Click "done". > > Bug #2: Incorrect display of company names when returning to an earlier > action and clicking "play from here". > > Details: shortly thereafter in the same game, the L&O took its op round. > Despite the "unlimited tiles option being turned on, the game would not > permit a standard yellow city tile (57) to be placed at location H4, the > L&O's home base. This appears to be due to an incomplete processing of past > actions in the "play from here" function, specifically stock movement > resulting from the forced sale of shares. > > To reproduce this bug: > > 1. load 1830_20120415_0224_M2.rails > 2. In the game report, locate and click on "M2 sells 1 10% certificate of > NYC to pool for $50", then "play from here". > 3. In the Map window, note that the relative order of L&N and C&O shares is > the same as before the B&O president sold a share of the L&N even though the > game report shows this event as having occurred. > 4. In the Map Window, click "done". > 5. Game will not permit L&N to lay a tile in it's home base. The game is > highlighting valid tile lays for the C&O (which SHOULD operate now) and will > permit either of those tiles to be layed. > 6. If you lay a tile, click "no token", and buy a diesel, it is the C&O who > gains the train. Click "done". > 7. Play then moves to the C&O according to the (incorrect) map window > display, and all actions appropriate to the L&N's turn (tile lay at H4, > purchase of a diesel etc). > > Mike Bourke > Campaign Mastery http://www.campaignmastery.com > Co-author, Assassin's Amulet http://www.legaciescampaignsetting.com > > > > > > > --- > avast! Antivirus: Outbound message clean. > Virus Database (VPS): 120417-0, 17/04/2012 > Tested on: 18/04/2012 3:26:57 PM > avast! - copyright (c) 1988-2012 AVAST Software. > http://www.avast.com > > > > > > > > ------------------------------------------------------------------------------ > Better than sec? Nothing is better than sec when it comes to > monitoring Big Data applications. Try Boundary one-second > resolution app monitoring today. Free. > http://p.sf.net/sfu/Boundary-dev2dev > > > > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |