Hi, This last three days I've been working on improving poker-network 2.0 and jpoker:
* I added a sitin checkbox to the buyin/rebuy dialog http://z2.pokersource.info/skin/table.html#jpoker_05_selfPlayer http://jspoker.pokersource.info/skin/skin/table.html#jpoker_05_selfPlayer http://upstream.jspoker.pokersource.info/rev/4cbb8da8d239 when checked, it trigger a click on #sitin after sending the buyin/rebuy packet, so you don't have to hit 'click to sit' after buying in anymore. I also added a jpoker.preferences for it (default: true) so it get saved into cookie. Please note that you will have to add the following markup and css, if not using jpoker defaults. jpoker.plugins.playerSelf.templates.rebuy += '<div class=\'jpoker_auto_sitin\'><input name=\'jpoker_auto_sitin\' type=\'checkbox\'></input><label for=\'jpoker_auto_sitin\'>{auto_sitin_label}</label></div>' .jpoker_auto_sitin { position:absolute; bottom:10px; right:5px; } * I added new pots animation, during showdown when receiving PacketPokerChipsPot2Player they move to the seat of the winning player http://z2.pokersource.info/skin/table.html#jpoker_08_all http://jspoker.pokersource.info/skin/skin/table.html#jpoker_08_all http://upstream.jspoker.pokersource.info/rev/22cf006e80cd I fixed the z2 css so that mouse pointer change over 'click to sit': http://z2.pokersource.info/skin/table.html#jpoker_05_selfPlayer .jpoker_table .jpoker_name { cursor: pointer; } because it doesn't include jpoker_table.css. - I added a sitout_fold button with the following semantic: - Always send PacketPokerSitOut and PacketPokerFold when clicked - If selfPlayer is in position, and the button has been clicked before: (sit_out_fold_send flag set) PacketPokerFold is sent. http://upstream.jspoker.pokersource.info/rev/f4a6a2b9309e And removed obsolete sit_out_send flag. * I also reproduced the following issue: - Multiple long poll are scheduled client side This was due to jquery firing a timeout error, when no response was issued after 30 seconds, jpoker error handler calls jpoker.reset which fire an additional LongPoll. A workaround was to raise apache MaxClient limit so that it doesn't block new connections. After discussing it with dachary, we agreed that jpoker error handler should call this.reset instead of this.error, I opened the following bug report: http://jspoker.pokersource.info/ideas.html#[[jpoker%20should%20call%20error%20instead%20of%20reset%20on%20timeout%20ajax%20error]] We also agreed that a proper fix would be to make PacketPokerLongPoll returns an empty result, after a given timeout (default: 20 seconds). I commited a tentative implementation to pokersource trunk: http://svn.gna.org/viewcvs/pokersource?rev=6307&view=rev http://svn.gna.org/viewcvs/pokersource?rev=6308&view=rev * I successfully played an hand with one poker-network server and two jpoker client. * I reproduced the following issues when adding and additional poker-network server as a proxy: https://gna.org/bugs/?14513 https://gna.org/bugs/?14590 And I attached a tentative patch to fix the first one: https://gna.org/bugs/?14513#comment8 -- Johan Euphrosine <pro...@aminche.com> Development and services around Free Software http://aminche.com/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pokersource-users mailing list Pokersource-users@gna.org https://mail.gna.org/listinfo/pokersource-users