[osg-users] poker_client_player_chips

Cedric Pinson mornifle at plopbyte.net
Thu Sep 4 09:46:48 PDT 2008


Hi,

Here a patch to add a packet in client side (pokerexplain.py). This 
packet translate the player bet and player amount into chips stack unit. 
Like bet2pot, or player2bet packet. So now each poker_player_chips sent 
to the client is accompagned with a poker_client_player_chips.
The patch add the functionality and an update of test related to update 
of chips of player.


Something not related with my patch:
I noticed that in test the chips stack unit works fine but when 
connected to the table like jspoker.pokersource.info:20380 gameid:121 
the chips value seems to not be known because every packet generated on 
the client side after a normalize + a pokerchips the result is something 
like [1,5000]
Would it be possible the chips value are not sent to the clients ?

Cedric

-- 
+33 (0) 6 63 20 03 56  Cedric Pinson mailto:mornifle at plopbyte.net http://www.plopbyte.net


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080904/34469b2b/attachment-0002.txt>


More information about the osg-users mailing list