On Tue, Jul 29, 2008 at 11:57 AM, Johan Euphrosine <[EMAIL PROTECTED]> wrote:
> Hi
> Looking forward fixing sitout/sitin for tourney in jpoker:
>
> It seems that the pokerserver does not ACK a PacketPokerSitOut with a
> PacketPokerSitOut on a tournament table:
>
>    def sitOutPlayer(self, table, serial):
>        game = table.game
>        if table.isOpen():
>            if game.sitOutNextTurn(serial):
>                table.broadcast(PacketPokerSitOut(game_id = game.id,
>                                                  serial = serial))
>        else:
>            game.autoPlayer(serial)
>            table.broadcast(PacketPokerAutoFold(game_id = game.id,
>                                                serial = serial))
>
> Currently jpoker.plugins.player is waiting for PacketPokerSitOut in
> order to toggle its UI:
>
> If it doesn't receive a PacketPokerSitOut, it doesn't not allow the
> user to send  a PacketPokerSit, next time he clicks the widget.
>
> Should I wait for PacketPokerAutoFold additionally ? or instead don't
> wait for any packet in order to toggle the UI ?

Hi,

I added sitOut validation on PacketPokerAutoFold receive:
http://jpoker.aminche.com/hg/jpoker/rev/c732ed12fec6

Feel free to pull changes with:
hg pull http://jpoker.aminche.com/hg/jpoker
-- 
bou ^

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to