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: <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. |
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: 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: 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: Jim B. <jim...@ya...> - 2009-11-10 19:50:17
|
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: Jim B. <jim...@ya...> - 2009-11-09 18:39:55
|
Chris, Thanks for the followup- > Yeah, we tried that, but renaming the file doesn't "touch" the timestamp in Linux. Bummer. I always open the file and write it back (to coerce the update), and the move file is being saved at the same time anyway- but that's a good point, because- > Good system though. What I'm hoping is that eventually we can get it to push updates to the other players' clients, so we can play near- realtime online. One major disadvantage of the approach I'm using, vs yours, is that the update of the 'rails save file' and the 'current player token' file is not atomic- a player can do one, but forget the other, etc. Or, a player might save his move, but before he sends email and updates the token, he begins to reconsider. Not a good situation- as someone else might now be assume the move is played (given the notification of the saved move, in the dropbox). We did it the other way- the same file- with Steam, for a while, when using VASSAL. But, people were always screwing up the turn-order and making mistakes- which is why we started keeping them separate. VASSAL didn't maintain turn-order at all, though- players did. Rails, by contrast, maintains turn-order properly. So, maybe this isn't really a problem, anymore- and I should try it your way, again. :-) - jim |
From: Chris S. <chr...@gm...> - 2009-11-09 18:27:32
|
Yeah, we tried that, but renaming the file doesn't "touch" the timestamp in Linux. Good system though. What I'm hoping is that eventually we can get it to push updates to the other players' clients, so we can play near-realtime online. -- Chris Please consider the environment before printing this e-mail. On Mon, Nov 9, 2009 at 10:06 AM, Jim Black <jim...@ya...> wrote: > > On Nov 9, 2009, at 9:32 AM, Chris Shaffer wrote: > > If you can coordinate each user loading the new saved game, I suspect >> > you could effect a sort of low-tech networked play. >> > > Yeah, that's effectively what we have now. We save and append the next > player's name to the save file, they see dropbox update the file and see > their name in the filename and know its their turn. > > > works like that here too, but here's the save protocol we use (similar, but > different) - > > a) use UTC option so timestamps sequence properly > b) each player appends his-own-name to the save-file ('-jb', or whatever) > > c) there's an empty file in the folder, representing the "current player" > token. whenever someone moves, they update this empty file, and rename it > to point to the next player. > > d) we also have an "archive" subfolder for each game folder, > > Other details: > i. This approach for initialing your own save-file ((b), above), makes it > easier to find/identify particular saved moves. > ii. To supplement (b) and (d) for the game archive, I also drop other > empty/placeholder files in the folder, as bookmarks for the SR/OR > transitions. > iii. All these files are named appropriately (with the game prefix), so > that they all sequence in folder-browsing (from Rails, from browsing folders > externally, etc), with the "current move" token at the very end. > iv. Thus, I can always & quickly browse the current folders in my dropbox > (one per active game), see a short listing of the recent moves for each, > with the "current player" named at the end. > > In this way, we get a decent archive (easy to browse the archive subfolder, > and identify key phases too- sr2, or3.1, etc), the current-player signaling > stuff ("token files") remains separate from the .rails move stuff ("save > files"), and notifications are easily both "pushed" (by dropbox > notifications when a move or token is updated), and "pulled" (naming and > archive conventions that make the folders very quick to browse, to review > current game states). > > Anyway, I thought I'd share this in case any of its helpful to you. > > - 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-09 18:20:10
|
PPS- also, chris- it occurs to me that the approach I described with the separate, empty "current player token" file can be viewed as a "lock file" for the game- whoever "owns" that token file (ie, whoever the file is named after), is the current player that's writing to the rails folder, in general. When that player finishes, he renames the file to point to the next player - and, essentially, has thus handed the "write lock" over to the subsequent player, too. It hasn't really come up for us that we had the opportunity for write conflicts on the same files (and, even if we do housekeeping simultaneously- simple renames and moves- it's fairly harmless, even if there is an unlikely collision). But, this might provide additional practical benefits from decoupling the actual 'save file' (a .rails extension file, holding game state) from the 'current player' file (an empty file, renamed by convention to identify the current-player, and stand-out at the top of the browser list). best, - jim On Nov 9, 2009, at 9:25 AM, Chris Shaffer wrote: > Before I try it, I thought I'd ask - has anyone tried simultaneously > loading a game from two different computers while using Dropbox as > the game save file location? If one player makes an action, would > it update in the other player's copy of the open game file? Or am I > just asking for trouble? > > -- > Chris > > Please consider the environment before printing this e-mail. > ------------------------------------------------------------------------------ > 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-09 18:09:37
|
PS. My (d) item was a little incomplete, below. That is, we have an archive sub-folder within each game folder- periodically we just select a bunch of the oldest "recent moves", and move them all into that subfolder. So, the housekeeping is pretty easy, and we browse fairly short lists of [only] recent moves during typical play/etc. On Nov 9, 2009, at 10:06 AM, Jim Black wrote: > > On Nov 9, 2009, at 9:32 AM, Chris Shaffer wrote: > >> If you can coordinate each user loading the new saved game, I suspect >> you could effect a sort of low-tech networked play. >> >> Yeah, that's effectively what we have now. We save and append the >> next player's name to the save file, they see dropbox update the >> file and see their name in the filename and know its their turn. > > works like that here too, but here's the save protocol we use > (similar, but different) - > > a) use UTC option so timestamps sequence properly > b) each player appends his-own-name to the save-file ('-jb', or > whatever) > > c) there's an empty file in the folder, representing the "current > player" token. whenever someone moves, they update this empty file, > and rename it to point to the next player. > > d) we also have an "archive" subfolder for each game folder, > > Other details: > i. This approach for initialing your own save-file ((b), above), > makes it easier to find/identify particular saved moves. > ii. To supplement (b) and (d) for the game archive, I also drop > other empty/placeholder files in the folder, as bookmarks for the SR/ > OR transitions. > iii. All these files are named appropriately (with the game > prefix), so that they all sequence in folder-browsing (from Rails, > from browsing folders externally, etc), with the "current move" > token at the very end. > iv. Thus, I can always & quickly browse the current folders in my > dropbox (one per active game), see a short listing of the recent > moves for each, with the "current player" named at the end. > > In this way, we get a decent archive (easy to browse the archive > subfolder, and identify key phases too- sr2, or3.1, etc), the > current-player signaling stuff ("token files") remains separate from > the .rails move stuff ("save files"), and notifications are easily > both "pushed" (by dropbox notifications when a move or token is > updated), and "pulled" (naming and archive conventions that make the > folders very quick to browse, to review current game states). > > Anyway, I thought I'd share this in case any of its helpful to you. > > - jim > > |
From: Jim B. <jim...@ya...> - 2009-11-09 18:06:51
|
On Nov 9, 2009, at 9:32 AM, Chris Shaffer wrote: > If you can coordinate each user loading the new saved game, I suspect > you could effect a sort of low-tech networked play. > > Yeah, that's effectively what we have now. We save and append the > next player's name to the save file, they see dropbox update the > file and see their name in the filename and know its their turn. works like that here too, but here's the save protocol we use (similar, but different) - a) use UTC option so timestamps sequence properly b) each player appends his-own-name to the save-file ('-jb', or whatever) c) there's an empty file in the folder, representing the "current player" token. whenever someone moves, they update this empty file, and rename it to point to the next player. d) we also have an "archive" subfolder for each game folder, Other details: i. This approach for initialing your own save-file ((b), above), makes it easier to find/identify particular saved moves. ii. To supplement (b) and (d) for the game archive, I also drop other empty/placeholder files in the folder, as bookmarks for the SR/OR transitions. iii. All these files are named appropriately (with the game prefix), so that they all sequence in folder-browsing (from Rails, from browsing folders externally, etc), with the "current move" token at the very end. iv. Thus, I can always & quickly browse the current folders in my dropbox (one per active game), see a short listing of the recent moves for each, with the "current player" named at the end. In this way, we get a decent archive (easy to browse the archive subfolder, and identify key phases too- sr2, or3.1, etc), the current- player signaling stuff ("token files") remains separate from the .rails move stuff ("save files"), and notifications are easily both "pushed" (by dropbox notifications when a move or token is updated), and "pulled" (naming and archive conventions that make the folders very quick to browse, to review current game states). Anyway, I thought I'd share this in case any of its helpful to you. - jim |
From: Chris S. <chr...@gm...> - 2009-11-09 17:32:48
|
> > If you can coordinate each user loading the new saved game, I suspect > you could effect a sort of low-tech networked play. > Yeah, that's effectively what we have now. We save and append the next player's name to the save file, they see dropbox update the file and see their name in the filename and know its their turn. Chris |
From: brett l. <wak...@gm...> - 2009-11-09 17:29:18
|
On Mon, Nov 9, 2009 at 9:25 AM, Chris Shaffer <chr...@gm...> wrote: > Before I try it, I thought I'd ask - has anyone tried simultaneously loading > a game from two different computers while using Dropbox as the game save > file location? If one player makes an action, would it update in the other > player's copy of the open game file? Or am I just asking for trouble? I would expect that very little happens. The save file is read only at load-time. After that, it's not read again. The only time the file is written is when a user saves the game. If you can coordinate each user loading the new saved game, I suspect you could effect a sort of low-tech networked play. > > -- > Chris > > Please consider the environment before printing this e-mail. ---Brett. |
From: Chris S. <chr...@gm...> - 2009-11-09 17:25:37
|
Before I try it, I thought I'd ask - has anyone tried simultaneously loading a game from two different computers while using Dropbox as the game save file location? If one player makes an action, would it update in the other player's copy of the open game file? Or am I just asking for trouble? -- Chris Please consider the environment before printing this e-mail. |
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: 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 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: Jim B. <jim...@ya...> - 2009-11-07 17:27:16
|
I agree that that using "the current directory" would work well- eventually I just moved my dropbox so that it lived where Rails insisted on setting the working directory. :-) Also, Chris asked me about that java user.dir setting- it turns out it doesn't work on windows either. Here's my mea culpa (indirectly): > > Doh! Sorry, gave you a bum steer on user.dir. That's a > java system property that I suggested trying w/out actually > trying it out in rails myself. Does not work for me in windows > either. > > On reflection, there's no real reason to think that should > have worked. rails starts that load dialog out in My Documents > even though I am starting rails from somewhere else, so the > path rails uses for that dialog is plainly not based on user.dir. > > If this was going to be added as a feature to rails, > it would probably be more appropriate for them to read > a property defined specifically for rails, rather than > trying to leverage user.dir. user.dir defaults to the > directory that java was started from and probably should > not be overwritten anyway. > > Sorry I made you guys waste time on that, should have tried > it out before making the suggestion. :-( > Which brings us all to the same conclusions on that, I think! Finally, chris wrote > Is there any way to specify "the current directory" in a Mac .command file? Well- depending on what you mean- it's a unix command shell, so you could try `pwd` (inside single-backquotes, just like that). Thanks Erik and everyone for the work and thoughts on some pragmatic tweaks/options here. regards, - jim On Nov 7, 2009, at 3:41 AM, Chris Shaffer wrote: > Sorry to spam the list on this - next time I'll do (most) of my > testing and then report back. > > So, I was able to rename the rails.sh file to rails.command, use > chmod+x and then execute it by double clicking in the Mac > interface. It couldn't find the jar file. If I edit the file to > have the fully qualified path to the jar file, it works but > obviously that won't translate to my other Mac, where my home > directory has a different path. Is there any way to specify "the > current directory" in a Mac .command file? > > Again, defaulting to the current directory would be a great solution > for this. > > -- > Chris > > Please consider the environment before printing this e-mail. > > ------------------------------------------------------------------------------ > 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-07 17:08:27
|
Try setting it to "./rails-<version>.jar" ---Brett. On Sat, Nov 7, 2009 at 3:41 AM, Chris Shaffer <chr...@gm...> wrote: > Sorry to spam the list on this - next time I'll do (most) of my testing and > then report back. > > So, I was able to rename the rails.sh file to rails.command, use chmod+x and > then execute it by double clicking in the Mac interface. It couldn't find > the jar file. If I edit the file to have the fully qualified path to the > jar file, it works but obviously that won't translate to my other Mac, where > my home directory has a different path. Is there any way to specify "the > current directory" in a Mac .command file? > > Again, defaulting to the current directory would be a great solution for > this. > > -- > Chris > > Please consider the environment before printing this e-mail. > > > ------------------------------------------------------------------------------ > 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: Erik V. <eri...@hc...> - 2009-11-07 12:08:29
|
Unfortunately I can't comment on Mac issues. The current directory default will be in the next release (it's Java's "user.dir" system property). Erik. _____ From: Chris Shaffer [mailto:chr...@gm...] Sent: Saturday 07 November 2009 12:41 To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Opening save files directly Sorry to spam the list on this - next time I'll do (most) of my testing and then report back. So, I was able to rename the rails.sh file to rails.command, use chmod+x and then execute it by double clicking in the Mac interface. It couldn't find the jar file. If I edit the file to have the fully qualified path to the jar file, it works but obviously that won't translate to my other Mac, where my home directory has a different path. Is there any way to specify "the current directory" in a Mac .command file? Again, defaulting to the current directory would be a great solution for this. -- Chris Please consider the environment before printing this e-mail. |
From: Chris S. <chr...@gm...> - 2009-11-07 11:41:14
|
Sorry to spam the list on this - next time I'll do (most) of my testing and then report back. So, I was able to rename the rails.sh file to rails.command, use chmod+x and then execute it by double clicking in the Mac interface. It couldn't find the jar file. If I edit the file to have the fully qualified path to the jar file, it works but obviously that won't translate to my other Mac, where my home directory has a different path. Is there any way to specify "the current directory" in a Mac .command file? Again, defaulting to the current directory would be a great solution for this. -- Chris Please consider the environment before printing this e-mail. |
From: Chris S. <chr...@gm...> - 2009-11-07 11:25:35
|
So, having looked at the my.properties solution, I'm not sure it helps my particular solution. I have the entire program in a Dropbox folder. Sometimes I open it with my work Mac, sometimes with my home Linux box, and sometimes I open it from a guest Windows computer in the library. So the my.properties file is shared. Defaulting to the current directory would work well for this situation. In general, if there's a way we can keep the solution platform agnostic, that would be preferred. -- Chris Please consider the environment before printing this e-mail. |
From: Chris S. <chr...@gm...> - 2009-11-07 11:06:14
|
> > Would it help if the program would use the program's working directory as > the default place > to save and load files (if no custom property is set) instead of My > Documents? > Yes, this would be a good default. -- Chris Please consider the environment before printing this e-mail. |
From: Erik V. <eri...@hc...> - 2009-11-07 09:59:44
|
Chris, If you have WinZip or another zipper, you can open the .jar file with it (technically it's just a zip file) and extract my.properties from it. Brett, Perhaps we should do something on the Sourceforge site to provide instructions on how to do such simple customizations? A Windows installer that would extract my.properties and the startup script would be great, but that may be too far-fetched (at least I have never done such a thing). General question: Would it help if the program would use the program's working directory as the default place to save and load files (if no custom property is set) instead of My Documents? Erik. _____ From: Chris Shaffer [mailto:chr...@gm...] Sent: Saturday 07 November 2009 05:27 To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Opening save files directly Not being a Java programmer, I'm not clear on how to check if something is in my jar. -- Chris Please consider the environment before printing this e-mail. On Fri, Nov 6, 2009 at 12:55 PM, Erik Vos <eri...@hc...> wrote: Chris, If it isn't included in the jar file (IMO it should be), you can find it at the top level in the CVS source on sourceforge.net. If Rails can't find it after you have installed it, you can add the following option to the rails.bat startup script, immediately after java: -Dconfigfile=<path>/my.properties Erik. _____ From: Chris Shaffer [mailto:chr...@gm...] Sent: Friday 06 November 2009 06:05 To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Opening save files directly Where would one find the my.properties file? I've searched all the rails directories without success. -- Chris Please consider the environment before printing this e-mail. On Thu, Nov 5, 2009 at 11:44 AM, Erik Vos <eri...@hc...> wrote: There is an option in the user-customizable properties file (default name my.properties) that you can set to your save-file directory: save.directory= c:/projects/rails/save By default this is commented out. Erik. _____ From: Chris Shaffer [mailto:chr...@gm...] Sent: Thursday 05 November 2009 20:26 To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Opening save files directly My friend says this: I've also spent the last half hour or so trying to implement Mr. Black's suggestion for -Duser.dir, without success. After several trials, I was able to get Rails to start with that switch in place, but it always starts out in "My Documents," regardless of what directory I specify for user.dir. Any suggestions? Also, is this something I should submit as a formal enhancement request? -- Chris Please consider the environment before printing this e-mail. On Thu, Nov 5, 2009 at 10:33 AM, Jim Black <jim...@ya...> wrote: Chris, I might be able to help with the working directory- a Windows user told me to use java's "-Duser.dir" argument to set the working directory. (I think that's -Duser.dir=/foo/bar, then- whatever the typical java cmd-line syntax is.) This is working for windows users, apparently, but it doesn't work for me on my mac. Incidentally, to get consistent time stamps in filenames (like GMT time- independent of players' local timezones), start up rails like this- java -Duser.timezone=UTC -jar rails-1.0.6.jar That way, all timestamps will be in UTC format, and consistent. Like you, I would also like to know how to associate the file type to load java/rails- so I can just 'doubleclick' on someone's saved move. It would be a little different windows vs mac, I guess, since it's batch args to the java cmd line in either case (the association is to java, I assume). - jim On Nov 5, 2009, at 10:14 AM, Chris Shaffer wrote: > Is there any way to associate the .rails extension with the program, > so you can open a save file directly? Failing that, is there a way > to change the default location in which Rails looks for files? I > have a friend using Windows and it always defaults to opening his My > Documents folder, instead of the Dropbox folder in which we're > keeping the files. > > -- > Chris > > Please consider the environment before printing this e-mail. > ---------------------------------------------------------------------------- -- > 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 ---------------------------------------------------------------------------- -- 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: Chris S. <chr...@gm...> - 2009-11-07 04:27:05
|
Not being a Java programmer, I'm not clear on how to check if something is in my jar. -- Chris Please consider the environment before printing this e-mail. On Fri, Nov 6, 2009 at 12:55 PM, Erik Vos <eri...@hc...> wrote: > Chris, > > If it isn't included in the jar file (IMO it should be), you can find it at > the top level in the CVS source on sourceforge.net. > > If Rails can't find it after you have installed it, you can add the > following option to the rails.bat startup script, immediately after *java*: > > -Dconfigfile=<path>/my.properties > > Erik. > > ------------------------------ > *From:* Chris Shaffer [mailto:chr...@gm...] > *Sent:* Friday 06 November 2009 06:05 > > *To:* Development list for Rails: an 18xx game > *Subject:* Re: [Rails-devel] Opening save files directly > > Where would one find the my.properties file? I've searched all the rails > directories without success. > > -- > Chris > > Please consider the environment before printing this e-mail. > > > On Thu, Nov 5, 2009 at 11:44 AM, Erik Vos <eri...@hc...> wrote: > >> There is an option in the user-customizable properties file (default >> name my.properties) that you can set to your save-file directory: >> >> save.directory= >> c:/projects/rails/save >> >> By default this is commented out. >> >> Erik. >> >> ------------------------------ >> *From:* Chris Shaffer [mailto:chr...@gm...] >> *Sent:* Thursday 05 November 2009 20:26 >> >> *To:* Development list for Rails: an 18xx game >> *Subject:* Re: [Rails-devel] Opening save files directly >> >> My friend says this: >> >> I've also spent the last half hour or so trying to implement Mr. Black's >>> suggestion for -Duser.dir, without success. After several trials, I was >>> able to get Rails to start with that switch in place, but it always starts >>> out in "My Documents," regardless of what directory I specify for user.dir. >>> >> >> Any suggestions? >> >> Also, is this something I should submit as a formal enhancement request? >> >> -- >> Chris >> >> Please consider the environment before printing this e-mail. >> >> >> On Thu, Nov 5, 2009 at 10:33 AM, Jim Black <jim...@ya...>wrote: >> >>> Chris, >>> >>> I might be able to help with the working directory- a Windows user >>> told me to use java's "-Duser.dir" argument to set the working >>> directory. (I think that's -Duser.dir=/foo/bar, then- whatever the >>> typical java cmd-line syntax is.) This is working for windows users, >>> apparently, but it doesn't work for me on my mac. >>> >>> Incidentally, to get consistent time stamps in filenames (like GMT >>> time- independent of players' local timezones), start up rails like >>> this- >>> java -Duser.timezone=UTC -jar rails-1.0.6.jar >>> That way, all timestamps will be in UTC format, and consistent. >>> >>> Like you, I would also like to know how to associate the file type to >>> load java/rails- so I can just 'doubleclick' on someone's saved move. >>> It would be a little different windows vs mac, I guess, since it's >>> batch args to the java cmd line in either case (the association is to >>> java, I assume). >>> >>> - jim >>> >>> On Nov 5, 2009, at 10:14 AM, Chris Shaffer wrote: >>> >>> > Is there any way to associate the .rails extension with the program, >>> > so you can open a save file directly? Failing that, is there a way >>> > to change the default location in which Rails looks for files? I >>> > have a friend using Windows and it always defaults to opening his My >>> > Documents folder, instead of the Dropbox folder in which we're >>> > keeping the files. >>> > >>> > -- >>> > Chris >>> > >>> > Please consider the environment before printing this e-mail. >>> > >>> ------------------------------------------------------------------------------ >>> > 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 >>> >> >> >> >> ------------------------------------------------------------------------------ >> 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: Erik V. <eri...@hc...> - 2009-11-06 20:55:15
|
Chris, If it isn't included in the jar file (IMO it should be), you can find it at the top level in the CVS source on sourceforge.net. If Rails can't find it after you have installed it, you can add the following option to the rails.bat startup script, immediately after java: -Dconfigfile=<path>/my.properties Erik. _____ From: Chris Shaffer [mailto:chr...@gm...] Sent: Friday 06 November 2009 06:05 To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Opening save files directly Where would one find the my.properties file? I've searched all the rails directories without success. -- Chris Please consider the environment before printing this e-mail. On Thu, Nov 5, 2009 at 11:44 AM, Erik Vos <eri...@hc...> wrote: There is an option in the user-customizable properties file (default name my.properties) that you can set to your save-file directory: save.directory= c:/projects/rails/save By default this is commented out. Erik. _____ From: Chris Shaffer [mailto:chr...@gm...] Sent: Thursday 05 November 2009 20:26 To: Development list for Rails: an 18xx game Subject: Re: [Rails-devel] Opening save files directly My friend says this: I've also spent the last half hour or so trying to implement Mr. Black's suggestion for -Duser.dir, without success. After several trials, I was able to get Rails to start with that switch in place, but it always starts out in "My Documents," regardless of what directory I specify for user.dir. Any suggestions? Also, is this something I should submit as a formal enhancement request? -- Chris Please consider the environment before printing this e-mail. On Thu, Nov 5, 2009 at 10:33 AM, Jim Black <jim...@ya...> wrote: Chris, I might be able to help with the working directory- a Windows user told me to use java's "-Duser.dir" argument to set the working directory. (I think that's -Duser.dir=/foo/bar, then- whatever the typical java cmd-line syntax is.) This is working for windows users, apparently, but it doesn't work for me on my mac. Incidentally, to get consistent time stamps in filenames (like GMT time- independent of players' local timezones), start up rails like this- java -Duser.timezone=UTC -jar rails-1.0.6.jar That way, all timestamps will be in UTC format, and consistent. Like you, I would also like to know how to associate the file type to load java/rails- so I can just 'doubleclick' on someone's saved move. It would be a little different windows vs mac, I guess, since it's batch args to the java cmd line in either case (the association is to java, I assume). - jim On Nov 5, 2009, at 10:14 AM, Chris Shaffer wrote: > Is there any way to associate the .rails extension with the program, > so you can open a save file directly? Failing that, is there a way > to change the default location in which Rails looks for files? I > have a friend using Windows and it always defaults to opening his My > Documents folder, instead of the Dropbox folder in which we're > keeping the files. > > -- > Chris > > Please consider the environment before printing this e-mail. > ---------------------------------------------------------------------------- -- > 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 ---------------------------------------------------------------------------- -- 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 |