From: Erik V. <eri...@xs...> - 2011-07-09 12:49:12
|
Something is wrong with passing on the game options selected (or not) in GameSetupWindow. If Options is expanded and a variant (such as Coalfields) is selected, the log shows: 2011-07-09 14:44:17 INFO Game option null set to Coalfields (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option null set to Highlight (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option null set to Suggest (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option null set to no (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option null set to no (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option null set to no (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option UnlimitedTopTrains_D set to no (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option null set to no (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option null set to no (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option null set to no (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option null set to PRR (GameSetupWindow startNewGame 477) 2011-07-09 14:44:17 INFO Game option null set to yes (GameSetupWindow startNewGame 477) and it's these null names that cause the crash. If I code the null names to be ignored, the base game starts, rather than Coalfields. Not sure why this happens, but something related to options must have changed recently. Erik. > -----Original Message----- > From: Stefan Frey [mailto:ste...@we...] > Sent: Saturday, July 09, 2011 2:26 PM > To: 'Development list for Rails: an 18xx game' > Subject: [Rails-devel] Problem to start new games > > Erik or Brett: > On testing I realized that currently for some games/variants a new game > cannot be started: > > 1830 coalfields does not work > (Null pointer exception in Game class), however 1830 base does work. > > 1889 does not work > (Configruation error: Invalid quantity 0 for train cert type 6 in > TrainCertificateClass). > > 1856, 18EU seems to work. > > However loading either an older 1830 coalfields or 1889 save file still works. > > Another strange thing: > The Available Games dropdown shows next to each game instead of the > game status the same label "Notes". > > I am pretty sure that neither of this was caused by my work, do you have an > ideas what happened there? > > Stefan > > ---------------------------------------------------------------------------- -- > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |