From: Phil D. <de...@gm...> - 2011-03-06 20:16:11
|
Erik, Tried it this evening with an 1856 game I'm currently in, these two save files are one players turn apart and it throws an error using the reload functionality. I'll have a look into it as well but you can probably spot what's going wrong quicker than I can :) Phil On 5 March 2011 20:29, Erik Vos <eri...@xs...> wrote: > I have committed code for this feature. There is a new "File | Reload" > option in the game status window. > > Contrary to what I said below, it can only be used to load a *later* version > of the same game, and it also lets you retry if you pick a saved file that > does not match with the current game. > > It basically works for me, although error reporting may need some further > polishing. > > To anyone interested: please give it a try. > > Erik. > >> -----Oorspronkelijk bericht----- >> Van: Erik Vos [mailto:eri...@xs...] >> Verzonden: donderdag 3 maart 2011 22:31 >> Aan: 'Development list for Rails: an 18xx game' >> Onderwerp: Re: [Rails-devel] No close/load ability? >> >> OK, this (what I would call) "Reload" feature sounds useful and pretty > easy to >> do. The reloaded file must be an earlier or a later version of the same > game, >> otherwise Rails will complain and throw you out. I'll put this high on my > to-do >> list. >> >> Erik. >> >> > -----Oorspronkelijk bericht----- >> > Van: Rick Westerman [mailto:wes...@pu...] >> > Verzonden: woensdag 2 maart 2011 16:33 >> > Aan: Development list for Rails: an 18xx game >> > Onderwerp: Re: [Rails-devel] No close/load ability? >> > >> > >> > >> > > Thinking about it, what might be doable without too much effort is >> > > to enable loading a saved file that represents a later stage in the >> > > *same* game. >> > > Rails >> > > could do a check of the actions in the saved game against the >> > > actions currently in memory, and get on as long as these are >> > > identical, finally picking up any extra actions in the saved game >> > > file. If I understand you correctly, that would help you out in the >> > > case you describe, right? >> > >> > That would be correct. >> > >> > In part such an ability would potentially bring around the long >> > desired 'network play'. I can foresee more-or-less automated play >> > that involves >> the >> > program itself automatically dropping off and retrieving files from a >> place like >> > 'dropbox'. Of course this ability would require yet more coding! > Wish >> I >> > knew Java or had enough time to learn it. Alas my day job interferes >> > and >> my >> > night life (e.g., the family) keeps me occupied. >> > >> > Thanks, >> > -- Rick >> > >> > >> > >> > > > -----Oorspronkelijk bericht----- >> > > > Van: Rick Westerman [mailto:wes...@pu...] >> > > > Verzonden: dinsdag 1 maart 2011 14:19 >> > > > Aan: Development List Rails >> > > > Onderwerp: [Rails-devel] No close/load ability? >> > > > >> > > > Hello list: >> > > > >> > > > I am back looking and using Rails after a year or so hiatus. >> > > > One >> > > feature I find >> > > > missing (and that I find strange that no one has made a feature >> > > > request >> > > for) >> > > > is the ability to close the current game and open up another game >> > > > without having to quit and restart Rails. So I am wondering if I >> > > > am missing >> > > something >> > > > obvious. Is there a way to load in a game without having to quit >> > > > Rails? >> > > > >> > > > What is really bring this to the fore for me is that a buddy and >> > > > I are >> > > playing >> > > > two-player 1889 via putting our files into Dropbox. When we are >> > > > both on >> > > line >> > > > then we can get a bunch of moves done but are having to quit Rails >> > > > between moves. In other words I find myself doing: >> > > > >> > > > 1) Start Rails >> > > > 2) Load in the current game file, do my move, save the file. >> > > > 3) See via Dropbox that my buddy has done his move. >> > > > 4) Quit Rails. Repeat starting from #1. >> > > > >> > > > What would be preferable is: >> > > > >> > > > 1) Start Rails >> > > > 2) Load, do move, save as in #2 above. >> > > > 3) See my buddy do his move. >> > > > 4) Repeat starting with #2; i.e., no quit/start of Rails >> > > > >> > > > Thanks, >> > > > >> > > > -- >> > > > Rick Westerman >> > > > wes...@pu... >> > > > >> > >> > >> > ---------------------------------------------------------------------------- >> -- >> > Free Software Download: Index, Search & Analyze Logs and other IT data >> > in Real-Time with Splunk. Collect, index and harness all the fast >> > moving IT >> data >> > generated by your applications, servers and devices whether physical, >> virtual >> > or in the cloud. Deliver compliance at lower cost and gain new >> > business insights. http://p.sf.net/sfu/splunk-dev2dev >> > _______________________________________________ >> > Rails-devel mailing list >> > Rai...@li... >> > https://lists.sourceforge.net/lists/listinfo/rails-devel >> >> >> > ---------------------------------------------------------------------------- > -- >> What You Don't Know About Data Connectivity CAN Hurt You This paper >> provides an overview of data connectivity, details its effect on > application >> quality, and explores various alternative solutions. >> http://p.sf.net/sfu/progress-d2d >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |