On Mon, 2009-06-22 at 20:46 +0200, Johan Euphrosine wrote: > On Mon, 2009-06-22 at 11:45 +0200, Johan Euphrosine wrote: > > Hi, > > > > Yesterday, we discussed implementation of tablepicker on jpoker side > > with dachary and bkuhn, I thought it was worth posting here, FYI it will > > provide jpoker integration with bkuhn latest work server side in > > table-picker branch. > > > > (07:29:54 PM) dachary: tablepicker semantic is : sit me at a table where I > > can play > > (07:30:15 PM) dachary: it takes the following parameters : > > (07:30:26 PM) dachary: currency_serial, variant, betting_structure > > (07:31:18 PM) dachary: it's essentially a JOIN + SEAT + BUY_IN + SIT that > > is guaranteed to succeed, or return an error ( bkuhn ? ) if no table is > > available > > (07:32:06 PM) bkuhn: dachary: does not return error, because that's not > > what PokerTableJoin() does when the join fails. See documentation in > > table-picker branch in pokerpacket.py semantics section on the new > > TablePicker packet. > > (07:37:07 PM) dachary: it's essentially a JOIN + SEAT + BUY_IN + SIT that > > is guaranteed to succeed, or return a empty PacketPokerTable() if no table > > is available > > (07:38:51 PM) dachary: One idea would be to create a completly separate > > widget called TablePicker > > (07:40:35 PM) dachary: proppy: this widget would be a button with all > > parameters set to null. > > (07:42:49 PM) proppy: if all the parameter are null, it seat the player on > > whatever table available ? > > (07:44:29 PM) dachary: proppy: yes > > (07:45:28 PM) dachary: next to the button, a "options" button could show a > > div with variant, betting_structure and currency_serial > > (07:45:43 PM) dachary: and hide them when clicked again > > (07:46:32 PM) dachary: And the values typed in could be saved in the > > preferences ( cookie ). > > > > Feel free to comment this specification :) > > Hi, > > I implemented these specifications today: > > Feel free to pull and deploy changes from: > http://bitbucket.org/proppy/jpoker/ > > Once table-picker poker-network branch is merged to trunk.
Currently jpoker display an 'Unnamed table' when no table is found which is a bug. Since the server reply with an empty PackerPokerTable, I believe jpoker should ignore PackerPokerTable with id == 0, but still call notifyUpdate for the tablepicker to show the error message. -- Johan Euphrosine <[email protected]>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
