From: Erik V. <eri...@xs...> - 2011-07-21 08:34:24
|
For what it's worth: My idea about client/server was that both sides would parse the XML and thus would have access to all static (as opposed to dynamic) objects. Only the dynamic (state) info would be in the server only. Parsing at the client would been initiated by much simpler (and probably less) managers, probably not really worth that name. But I haven't really thought this through yet. BTW I was recently approached by a Dutch guy (Ruud Poutsma) who is developing a server game engine (for Settlers of Catan) that he thinks could be used generally. He had found the Rails site and insists that it could be useful to us. He is looking for assistance. All his mails were in Dutch, so it's no use to forward these. I have told him that I do not want to work on his project personally, and that he should write it up in English so I could forward it to the group. He has not done that yet. Anyway, here is the link to his code: https://github.com/generateui/OpenSettlers/tree/master/src/java/soc/common/server Erik. > -----Original Message----- > From: brett lentz [mailto:bre...@gm...] > Sent: Thursday, July 21, 2011 8:09 AM > To: Development list for Rails: an 18xx game > Subject: Re: [Rails-devel] Game Notes (was: Git repository is now available.) > > Yup, that sounds like it might be necessary if one of the existing *Managers > isn't a good fit. > > I'm trying to look ahead to our dream of client/server separation where I > expect the server will handle all the XML reading and pass it's authoritative > information to the client. In this case, the client side will need to be able to > instantiate objects without calling the > ConfigureFromXML() methods in each of the *Managers. > > So, if your implementation of new *Managers involves new > ConfigureFromXML() methods, I'd like to suggest this may be the time to > work on an alternative initialization methodology. It seems that > GameInfoParser might be part of the solution, but I'm not certain. > > Unravelling the current game init code is taking me more time than I like. > > ---Brett. > > On Wed, Jul 20, 2011 at 10:20 PM, Stefan Frey <ste...@we...> wrote: > > step by step ;-) > > > > OK: I will fix the initialization issues on my own (most likely by > > introducing TokenManager and SpecialPropertyManager that store the > > previously static class > > variables) . > > Stefan > > > > On Thursday, July 21, 2011 06:46:05 am brett lentz wrote: > >> That's progress! :-) > >> > >> If you've got time, feel free to fix the issues. It sounds like > >> you'll be able to get to it before I do. I don't want to force you to > >> wait for me if these issues are hindering you from moving forward > >> > >> I think I've got most of the basic ideas implemented (albeit > >> imperfectly) for this stage. So, bugfix away. > >> > >> ---Brett. > >> > >> On Wed, Jul 20, 2011 at 9:43 PM, Stefan Frey <ste...@we...> > wrote: > >> > Brett, > >> > back to Rails issues: > >> > > >> > * The game notes show up again, but new game still stops with > >> > NullPointerException errors. It occurs only if the option pane is > >> > expanded. 18xx log reports that the options are not set correctly. > >> > > >> > * The automated game tests work again but only for the first. The > >> > second and following runs fail automatically with Java exceptions, > >> > as the static class variables inside Token are not initialized > >> > again (this is especially true for TokenMap). > >> > Do you still intend to fix that or do you prefer to let me have a > >> > look at this as you already have to cope with my mistakes with git? > >> > Fixing the automated tests has a high priority on my todo list. > >> > > >> > Stefan > >> > > >> > On Tuesday, July 19, 2011 10:28:28 pm brett lentz wrote: > >> >> Ah. Now I see where it was lost. > >> >> > >> >> Apologies for the oversight. The fix has been committed. > >> >> > >> >> ---Brett. > >> >> > >> >> On Tue, Jul 19, 2011 at 12:20 PM, Erik Vos <eri...@xs...> wrote: > >> >> > I think it is all explained by the fact that your GameInfoParser > >> >> > does not parse <Note>. Erik. > >> >> > > >> >> >> -----Original Message----- > >> >> >> From: brett lentz [mailto:bre...@gm...] > >> >> >> Sent: Monday, July 18, 2011 11:54 PM > >> >> >> To: Development list for Rails: an 18xx game > >> >> >> Subject: Re: [Rails-devel] Game Notes (was: Git repository is > >> >> >> now > >> >> >> available.) > >> >> >> > >> >> >> Erik - > >> >> >> > >> >> >> Looking over my commit history, I don't see a call to setNote() > >> >> >> in any of the diffs. > >> >> >> > >> >> >> I see where I moved GameInfo into rails.common.parser. > GameInfo > >> >> >> still has the setNote() method, but I can't locate any calls to it. > >> >> >> > >> >> >> ---Brett. > >> >> >> > >> >> >> > >> >> >> > >> >> >> On Mon, Jul 18, 2011 at 12:03 PM, brett lentz > >> >> >> <bre...@gm...> > >> >> >> > >> >> >> wrote: > >> >> >> > Hrm... I'd swear I moved that call into the new constructor. > >> >> >> > It was working when I last tested it. > >> >> >> > > >> >> >> > I'll check it out and see what went wrong. > >> >> >> > > >> >> >> > ---Brett. > >> >> >> > > >> >> >> > On Mon, Jul 18, 2011 at 11:50 AM, Erik Vos > >> >> >> > <eri...@xs...> > > wrote: > >> >> >> >> Brett, > >> >> >> >> > >> >> >> >> I think this is caused by your refactoring of game info parsing. > >> >> >> >> GameInfo.setNote() is no longer called, so all notes stay at > >> >> >> >> the default value "Notes". You seem to have overlooked > >> >> >> >> <Note> in your new > >> >> >> > >> >> >> parser. > >> >> >> > >> >> >> >> Erik. > >> >> >> >> > >> >> >> >>> -----Original Message----- > >> >> >> >>> From: Phil Davies [mailto:de...@gm...] > >> >> >> >>> Sent: Monday, July 18, 2011 1:51 PM > >> >> >> >>> To: Development list for Rails: an 18xx game > >> >> >> >>> Subject: Re: [Rails-devel] Git repository is now available. > >> >> >> >>> > >> >> >> >>> Something strange in the version checked out from Git. On > >> >> >> >>> the available games dialogue at startup, each game just ahs > >> >> >> >>> the word 'Notes' next to it, rather than the previous > >> >> >> >>> designation of 'playable, > >> >> >> > >> >> >> unplayable' etc. > >> >> >> > >> >> >> >> ------------------------------------------------------------ > >> >> >> >> ------ > >> >> >> >> --- --------- > >> >> >> >> Storage Efficiency Calculator This modeling tool is based on > >> >> >> >> patent-pending intellectual property that has been used > >> >> >> >> successfully in hundreds of IBM storage optimization engage- > >> >> >> >> ments, worldwide. Store less, Store more with what you own, > >> >> >> >> Move data to the right place. Try It Now! > >> >> >> >> http://www.accelacomm.com/jaw/sfnl/114/51427378/ > >> >> >> >> _______________________________________________ > >> >> >> >> Rails-devel mailing list > >> >> >> >> Rai...@li... > >> >> >> >> https://lists.sourceforge.net/lists/listinfo/rails-devel > >> >> >> > >> >> >> --------------------------------------------------------------- > >> >> >> ------ > >> >> >> --- ------ Storage Efficiency Calculator This modeling tool is > >> >> >> based on patent-pending intellectual property that has been > >> >> >> used successfully in hundreds of IBM storage optimization > >> >> >> engage- ments, worldwide. Store less, Store more with what you > >> >> >> own, Move data to the right place. Try It Now! > >> >> >> http://www.accelacomm.com/jaw/sfnl/114/51427378/ > >> >> >> _______________________________________________ > >> >> >> Rails-devel mailing list > >> >> >> Rai...@li... > >> >> >> https://lists.sourceforge.net/lists/listinfo/rails-devel > >> >> > > >> >> > ---------------------------------------------------------------- > >> >> > ------ > >> >> > --- ----- Magic Quadrant for Content-Aware Data Loss Prevention > >> >> > Research study explores the data loss prevention market. > >> >> > Includes in-depth analysis on the changes within the DLP market, > >> >> > and the criteria used to evaluate the strengths and weaknesses > >> >> > of these DLP solutions. > >> >> > http://www.accelacomm.com/jaw/sfnl/114/51385063/ > >> >> > _______________________________________________ > >> >> > Rails-devel mailing list > >> >> > Rai...@li... > >> >> > https://lists.sourceforge.net/lists/listinfo/rails-devel > >> >> > >> >> ------------------------------------------------------------------ > >> >> ------ > >> >> --- --- Magic Quadrant for Content-Aware Data Loss Prevention > >> >> Research study explores the data loss prevention market. Includes > >> >> in-depth analysis on the changes within the DLP market, and the > >> >> criteria used to evaluate the strengths and weaknesses of these > >> >> DLP solutions. > >> >> http://www.accelacomm.com/jaw/sfnl/114/51385063/ > >> >> _______________________________________________ > >> >> Rails-devel mailing list > >> >> Rai...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/rails-devel > >> > > >> > ------------------------------------------------------------------- > >> > ------ > >> > ----- 5 Ways to Improve & Secure Unified Communications Unified > >> > Communications promises greater efficiencies for business. UC can > >> > improve internal communications as well as offer faster, more > >> > efficient ways to interact with customers and streamline customer > >> > service. Learn more! > >> > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > >> > _______________________________________________ > >> > Rails-devel mailing list > >> > Rai...@li... > >> > https://lists.sourceforge.net/lists/listinfo/rails-devel > >> > >> --------------------------------------------------------------------- > >> ------ > >> --- 5 Ways to Improve & Secure Unified Communications Unified > >> Communications promises greater efficiencies for business. UC can > >> improve internal communications as well as offer faster, more > >> efficient ways to interact with customers and streamline customer > >> service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > >> _______________________________________________ > >> Rails-devel mailing list > >> Rai...@li... > >> https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > ---------------------------------------------------------------------- > > -------- > > 5 Ways to Improve & Secure Unified Communications Unified > > Communications promises greater efficiencies for business. UC can > > improve internal communications as well as offer faster, more > > efficient ways to interact with customers and streamline customer service. > Learn more! > > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > > _______________________________________________ > > Rails-devel mailing list > > Rai...@li... > > https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > ------------------------------------------------------------------------------ > 5 Ways to Improve & Secure Unified Communications Unified > Communications promises greater efficiencies for business. UC can improve > internal communications as well as offer faster, more efficient ways to > interact with customers and streamline customer service. Learn more! > http://www.accelacomm.com/jaw/sfnl/114/51426253/ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |