"Michael Oschmann" <[EMAIL PROTECTED]> writes:

>    Hi Loic,
>
>
>    I'm struggling with PacketPokerChipsPot2Player :
>    PacketPokerChipsBet2Pot : PacketPokerChipsPlayer2Bet

     This is confusing indeed. Although advertised as being a list of
chips, the packet only carries the total amount of chips over the
network.

     If the player is awarded 253 chips, the number of chips will be
253. It will not be a list of chips of fixed values. When receiving this
packet, the decoding is therefore really simple.

     When this packet is used in a client side context (i.e. used by a
client that knows enough about poker rules to figure out that such a
packet is useful), it contains a list chips instead of the total.  In
the example above, it would contain 2 x 100 chips and 1 x 50 chip and
3 x 1 chips. 

     Cheers,

-- 
+33 1 76 60 72 81  Loic Dachary mailto:[EMAIL PROTECTED]
http://dachary.org/loic/gpg.txt sip:[EMAIL PROTECTED]
Latitude: 48.86962325498033 Longitude: 2.3623046278953552

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

Reply via email to