From: brett l. <wak...@gm...> - 2009-11-08 02:09:24
|
I've uploaded the release candidate for 1.0.7. Please test it, and let us know if there are any bugs. I've also committed a preliminary build.xml file that compiles the jar. It's rough, but functional. ---Brett. |
From: Erik V. <eri...@hc...> - 2009-11-08 10:46:53
|
Brett, Thanks. I suppose you have compiled it under Java 1.6, because it did not run under my Java 1.5 because of a "version error". Fine with me, if this is really what we want. But I'm still maintaining code compatibility with Java 1.5. Would it still be possible to keep building Rails under Java 1.5? To make starting Rails by clicking on a saved file work, I had to tweak rails.bat. In the first place, to make Rails pick up the saved file name, %* (or possibly %1) needs be added to the end of the line. For rails.sh that will be $* or $1. For me, it was also necessary to put a cd into rails.bat, to enable Windows finding the jar file. Not sure if there's a better way to achieve that. My rails.bat now reads: cd c:\projects\rails\releases\rails-1.0.7-rc1 java -jar rails-1.0.7-rc1.jar %* Once this is in place, it works. Perhaps we should somehow publish instructions on how to make this work? One bug has crept in recently: I inadvertently had removed a DisplayBuffer.clear() statement, so that now, when a save file is loaded, all previous screen messages reappear. I will fix that. For the rest, on first sight all seems OK. Erik. > -----Original Message----- > From: brett lentz [mailto:wak...@gm...] > Sent: Sunday 08 November 2009 03:09 > To: Development list for Rails: an 18xx game > Subject: Re: [Rails-devel] 1.0.7-rc1 is up > > I've uploaded the release candidate for 1.0.7. Please test it, and > let us know if there are any bugs. > > I've also committed a preliminary build.xml file that compiles the > jar. It's rough, but functional. > > ---Brett. > > -------------------------------------------------------------- > ---------------- > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and > deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: brett l. <wak...@gm...> - 2009-11-08 18:17:58
|
On Sun, Nov 8, 2009 at 2:46 AM, Erik Vos <eri...@hc...> wrote: > Brett, > > Thanks. > > I suppose you have compiled it under Java 1.6, because it did not run under > my Java 1.5 because of a "version error". > Fine with me, if this is really what we want. But I'm still maintaining code > compatibility with Java 1.5. > Would it still be possible to keep building Rails under Java 1.5? > Certainly. I'll build the next version under 1.5. > To make starting Rails by clicking on a saved file work, I had to tweak > rails.bat. > In the first place, to make Rails pick up the saved file name, %* (or > possibly %1) needs be added to the end of the line. > For rails.sh that will be $* or $1. That's an easy change. I'll add that. > For me, it was also necessary to put a cd into rails.bat, to enable Windows > finding the jar file. > Not sure if there's a better way to achieve that. My rails.bat now reads: > > cd c:\projects\rails\releases\rails-1.0.7-rc1 > java -jar rails-1.0.7-rc1.jar %* > > Once this is in place, it works. > Perhaps we should somehow publish instructions on how to make this work? > Yeah, perhaps that's the best solution for now. > One bug has crept in recently: I inadvertently had removed a > DisplayBuffer.clear() statement, so that now, when a save file is loaded, > all previous screen messages reappear. I will fix that. > For the rest, on first sight all seems OK. > > Erik. > > >> -----Original Message----- >> From: brett lentz [mailto:wak...@gm...] >> Sent: Sunday 08 November 2009 03:09 >> To: Development list for Rails: an 18xx game >> Subject: Re: [Rails-devel] 1.0.7-rc1 is up >> >> I've uploaded the release candidate for 1.0.7. Please test it, and >> let us know if there are any bugs. >> >> I've also committed a preliminary build.xml file that compiles the >> jar. It's rough, but functional. >> >> ---Brett. >> >> -------------------------------------------------------------- >> ---------------- >> Let Crystal Reports handle the reporting - Free Crystal >> Reports 2008 30-Day >> trial. Simplify your report design, integration and >> deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Jim B. <jim...@ya...> - 2009-11-10 19:50:17
Attachments:
1830_20091110_1347_Arne.rails
|
I'm seeing a bug/problem with rails in a current 1830 game w. 1.0.6, it appears there's some fatal problems with adjusting stocks that are already at 'rock bottom'. In this specific case (.rails file is attached), the NYNH is at one of the lhs corners of the stock chart (at $10), and Rails is crashing when the NYNH runs. I see errors in the log -- Cmdline configfile setting = null Configuration file = my.properties Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at rails.game.StockMarket.moveLeftOrDown(StockMarket.java:278) at rails.game.StockMarket.withhold(StockMarket.java:196) at rails.game.PublicCompany.withhold(PublicCompany.java:1169) at rails.game.OperatingRound.nextStep(OperatingRound.java:809) at rails.game.OperatingRound.nextStep(OperatingRound.java:770) at rails.game.OperatingRound.skip(OperatingRound.java:1008) at rails.game.OperatingRound.process(OperatingRound.java:219) at rails.game.GameManager.process(GameManager.java:530) at rails.ui.swing.GameUIManager.processOnServer(GameUIManager.java:121) at rails.ui.swing.ORWindow.process(ORWindow.java:127) at rails.ui.swing.ORUIManager.cancelUpgrade(ORUIManager.java:1024) at rails.ui.swing.UpgradesPanel.actionPerformed(UpgradesPanel.java:257) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java: 2028) Which appears to confirm that it's moving the stock price that's triggering this problem. I tried to upgrade to 1.0.7 pre-release, to see if that fixed this- but no luck. (same problem, in fact I think that log message I quoted above was actually from my test with 1.0.7.) I can file the defect/incident- but, any ideas on how I might work around this and proceed with our game? (Not sure we'll be able to play it out.) thanks in advance, for any tips, - jim |
From: Erik V. <eri...@hc...> - 2009-11-11 22:31:32
|
Jim, That was a stupid oversight in the code. Sorry for that. I'm afraid I have never tested this situation. It's now fixed in the code base, and the error has disappeared. If you can't use that, perhaps Brett would be willing to publish a new pre-release? Best regards, Erik. > -----Original Message----- > From: Jim Black [mailto:jim...@ya...] > Sent: Tuesday 10 November 2009 20:50 > To: Development list for Rails: an 18xx game > Subject: Re: [Rails-devel] 1.0.7-rc1 is up > > > I'm seeing a bug/problem with rails in a current 1830 game w. 1.0.6, > it appears there's some fatal problems with adjusting stocks > that are > already at 'rock bottom'. > > In this specific case (.rails file is attached), the NYNH is > at one of > the lhs corners of the stock chart (at $10), and Rails is crashing > when the NYNH runs. > > I see errors in the log -- > Cmdline configfile setting = null > Configuration file = my.properties > Exception in thread "AWT-EventQueue-0" > java.lang.NullPointerException > at rails.game.StockMarket.moveLeftOrDown(StockMarket.java:278) > at rails.game.StockMarket.withhold(StockMarket.java:196) > at rails.game.PublicCompany.withhold(PublicCompany.java:1169) > at rails.game.OperatingRound.nextStep(OperatingRound.java:809) > at rails.game.OperatingRound.nextStep(OperatingRound.java:770) > at rails.game.OperatingRound.skip(OperatingRound.java:1008) > at rails.game.OperatingRound.process(OperatingRound.java:219) > at rails.game.GameManager.process(GameManager.java:530) > at > rails.ui.swing.GameUIManager.processOnServer(GameUIManager.java:121) > at rails.ui.swing.ORWindow.process(ORWindow.java:127) > at > rails.ui.swing.ORUIManager.cancelUpgrade(ORUIManager.java:1024) > at > rails.ui.swing.UpgradesPanel.actionPerformed(UpgradesPanel.java:257) > at > javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java: > 2028) > > Which appears to confirm that it's moving the stock price that's > triggering this problem. > > I tried to upgrade to 1.0.7 pre-release, to see if that fixed this- > but no luck. (same problem, in fact I think that log message > I quoted > above was actually from my test with 1.0.7.) > > I can file the defect/incident- but, any ideas on how I might work > around this and proceed with our game? (Not sure we'll be able to > play it out.) > > thanks in advance, for any tips, > - jim > > |
From: brett l. <wak...@gm...> - 2009-11-11 22:38:44
|
On Wed, Nov 11, 2009 at 2:31 PM, Erik Vos <eri...@hc...> wrote: > Jim, > > That was a stupid oversight in the code. Sorry for that. I'm afraid I have > never tested this situation. > > It's now fixed in the code base, and the error has disappeared. > If you can't use that, perhaps Brett would be willing to publish a new > pre-release? Can do. This time I'll build it with JDK 5. ;-) > > Best regards, > Erik. ---Brett. > >> -----Original Message----- >> From: Jim Black [mailto:jim...@ya...] >> Sent: Tuesday 10 November 2009 20:50 >> To: Development list for Rails: an 18xx game >> Subject: Re: [Rails-devel] 1.0.7-rc1 is up >> >> >> I'm seeing a bug/problem with rails in a current 1830 game w. 1.0.6, >> it appears there's some fatal problems with adjusting stocks >> that are >> already at 'rock bottom'. >> >> In this specific case (.rails file is attached), the NYNH is >> at one of >> the lhs corners of the stock chart (at $10), and Rails is crashing >> when the NYNH runs. >> >> I see errors in the log -- >> Cmdline configfile setting = null >> Configuration file = my.properties >> Exception in thread "AWT-EventQueue-0" >> java.lang.NullPointerException >> at rails.game.StockMarket.moveLeftOrDown(StockMarket.java:278) >> at rails.game.StockMarket.withhold(StockMarket.java:196) >> at rails.game.PublicCompany.withhold(PublicCompany.java:1169) >> at rails.game.OperatingRound.nextStep(OperatingRound.java:809) >> at rails.game.OperatingRound.nextStep(OperatingRound.java:770) >> at rails.game.OperatingRound.skip(OperatingRound.java:1008) >> at rails.game.OperatingRound.process(OperatingRound.java:219) >> at rails.game.GameManager.process(GameManager.java:530) >> at >> rails.ui.swing.GameUIManager.processOnServer(GameUIManager.java:121) >> at rails.ui.swing.ORWindow.process(ORWindow.java:127) >> at >> rails.ui.swing.ORUIManager.cancelUpgrade(ORUIManager.java:1024) >> at >> rails.ui.swing.UpgradesPanel.actionPerformed(UpgradesPanel.java:257) >> at >> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java: >> 2028) >> >> Which appears to confirm that it's moving the stock price that's >> triggering this problem. >> >> I tried to upgrade to 1.0.7 pre-release, to see if that fixed this- >> but no luck. (same problem, in fact I think that log message >> I quoted >> above was actually from my test with 1.0.7.) >> >> I can file the defect/incident- but, any ideas on how I might work >> around this and proceed with our game? (Not sure we'll be able to >> play it out.) >> >> thanks in advance, for any tips, >> - jim >> >> > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |
From: Jim B. <jim...@ya...> - 2009-11-11 22:44:04
|
That's great guys- thanks so much! (I'm glad my tanked NYNH was able to help someone. :) Please just let us know when you publish a new build, and I'll download it. Should everyone in the game upgrade, if I save a file with the new version? (Or, if I upgrade just to perform this action myself, can we otherwise continue without version-incompatability issues across our current rails-version/clients?) best, - jim On Nov 11, 2009, at 2:37 PM, brett lentz wrote: > On Wed, Nov 11, 2009 at 2:31 PM, Erik Vos <eri...@hc...> wrote: >> Jim, >> >> That was a stupid oversight in the code. Sorry for that. I'm afraid >> I have >> never tested this situation. >> >> It's now fixed in the code base, and the error has disappeared. >> If you can't use that, perhaps Brett would be willing to publish a >> new >> pre-release? > > > Can do. This time I'll build it with JDK 5. ;-) > >> >> Best regards, >> Erik. > > ---Brett. > >> >>> -----Original Message----- >>> From: Jim Black [mailto:jim...@ya...] >>> Sent: Tuesday 10 November 2009 20:50 >>> To: Development list for Rails: an 18xx game >>> Subject: Re: [Rails-devel] 1.0.7-rc1 is up >>> >>> >>> I'm seeing a bug/problem with rails in a current 1830 game w. 1.0.6, >>> it appears there's some fatal problems with adjusting stocks >>> that are >>> already at 'rock bottom'. >>> >>> In this specific case (.rails file is attached), the NYNH is >>> at one of >>> the lhs corners of the stock chart (at $10), and Rails is crashing >>> when the NYNH runs. >>> >>> I see errors in the log -- >>> Cmdline configfile setting = null >>> Configuration file = my.properties >>> Exception in thread "AWT-EventQueue-0" >>> java.lang.NullPointerException >>> at rails.game.StockMarket.moveLeftOrDown(StockMarket.java:278) >>> at rails.game.StockMarket.withhold(StockMarket.java:196) >>> at rails.game.PublicCompany.withhold(PublicCompany.java:1169) >>> at rails.game.OperatingRound.nextStep(OperatingRound.java:809) >>> at rails.game.OperatingRound.nextStep(OperatingRound.java:770) >>> at rails.game.OperatingRound.skip(OperatingRound.java:1008) >>> at rails.game.OperatingRound.process(OperatingRound.java:219) >>> at rails.game.GameManager.process(GameManager.java:530) >>> at >>> rails.ui.swing.GameUIManager.processOnServer(GameUIManager.java:121) >>> at rails.ui.swing.ORWindow.process(ORWindow.java:127) >>> at >>> rails.ui.swing.ORUIManager.cancelUpgrade(ORUIManager.java:1024) >>> at >>> rails.ui.swing.UpgradesPanel.actionPerformed(UpgradesPanel.java:257) >>> at >>> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java: >>> 2028) >>> >>> Which appears to confirm that it's moving the stock price that's >>> triggering this problem. >>> >>> I tried to upgrade to 1.0.7 pre-release, to see if that fixed this- >>> but no luck. (same problem, in fact I think that log message >>> I quoted >>> above was actually from my test with 1.0.7.) >>> >>> I can file the defect/incident- but, any ideas on how I might work >>> around this and proceed with our game? (Not sure we'll be able to >>> play it out.) >>> >>> thanks in advance, for any tips, >>> - jim >>> >>> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports >> 2008 30-Day >> trial. Simplify your report design, integration and deployment - >> and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |
From: <eri...@hc...> - 2009-11-12 11:38:13
|
> > Please just let us know when you publish a new build, and I'll > download it. Should everyone in the game upgrade, if I save a file with > the new version? (Or, if I upgrade just to perform this action myself, > can we otherwise continue without version-incompatability issues across > our current rails-version/clients?) Since 1.0.6 came out, I have attempted to keep saved files backwards compatible (if only because I use mine for testing). I cannot guarantee 100%, but I suspect that should be no problem. The program, however, is a different matter. On loading a saved file, the game is completely replayed by Rails from the start. So if the program is not updated, the same error will keep showing up every time the game is reloaded. Yes, all your players should upgrade. (The above means, that saved files do not contain the current state of the game, but the sequence of all past player actions.) Erik. |