Hi, I commited a proper version of countfilter and tests to poker-network trunk: http://svn.gna.org/viewcvs/pokersource?rev=4724&view=rev
And updated jpoker implementation by adding count= ajax argument: http://jpoker.aminche.com/hg/jpoker/rev/56138181367e jpoker_count cookie while handy to increase a counter shared by all clients when a new jpoker instance is started, was not helpfull to differentiate between multiple clients. I added a new count= argument to each request, which is equals to the value of incremented jpoker_count cookie when jpoker.connection started. And poker-network discard all packets with a count value < to the last received. On Mon, Oct 13, 2008 at 7:34 PM, Johan Euphrosine <[EMAIL PROTECTED]> wrote: > Hi, > > Looking forward implementing the server side part of this jpoker bug > fix: > > http://jspoker.pokersource.info/ideas.html#[[two%20tabs%20open%20on%20the%20same%20game%20%3A%20packets%20get%20distributed%20to%20both%20and%20its%20a%20mess]] > #two tabs open on the same game : packets get distributed to both and its a > mess > > I would like to propose the attached poker-network patch for review: > > It adds a new rest filter: countfilter which discard packet by > throwing and Exception if COUNT_URLHASH is < to last received > COUNT_URLHASH value. > > Please note that currently the relevant cookie in jpoker (currently > jpoker_poker_serial_URLHASH) would have to be renamed. > > Feel free to reply with comments. > -- > bou ^ > -- bou ^ _______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
