Hi Loic, In the below scenario, I did not get an EOF. I occasionally get an EOF, not sure when and why, the Debug player just says it's an EOF error, which makes me assume that incorrect bytes are being read somewhere, Not sure where though. Will email you the logs when it occurs again!
New question, when a packetpokershowdown packet is received, am I correct in saying that the cards of all players still in the game are shown face up and the then the remaining board cards are dealt out? My question is where does the client get the value of the other players cards? From packet Showdown? Thanks, Michael -----Original Message----- From: Loic Dachary [mailto:[EMAIL PROTECTED] Sent: Monday, July 23, 2007 11:48 AM To: Michael Oschmann Cc: [email protected] Subject: Re: [Pokersource-users] Packetpokerchat "Michael Oschmann" <[EMAIL PROTECTED]> writes: > Hi Loic, > > > Please find attached the logs of 2 players. My problem occurs when I > have more than 2 players playing a poker game. > > I always get a value of 0 for serial and don't think that this is > correct? If you could have a look, it would be greatly appreciated. You get a serial 0 because it's a message from the dealer, not a message from one of the players. The dealer has no real existence and is being assigned the fake serial 0. Sorry for not mentioning this earlier, I was focused on the idea that the message came from another player. Mon Jul 23 2007 10:58:30 GMT+0200: Packet received by PokerClient: (com.thecomplexx.pokersource.packets::PacketPokerChat)#0 bytes = (flash.utils::ByteArray)#1 bytesAvailable = 0 endian = "bigEndian" length = 0 objectEncoding = 3 position = 0 formatSize = 0 gameId = 103 message = "Dealer: flop, 2 players Dealer: Board: Ad 5d 9h " messageSize = 48 packetSize = 0 packetType = 86 serial = 0 > I get an EOF error apparently in packetpokerchat. I'm not sure if this > is actually where my problem (incorrect unpack method) lies? > This is what shows at the end of the log you sent. Mon Jul 23 2007 10:59:39 GMT+0200: Packet received by PokerClient: (com.thecomplexx.pokersource.packets::PacketPokerChat)#0 bytes = (flash.utils::ByteArray)#1 bytesAvailable = 0 endian = "bigEndian" length = 0 objectEncoding = 3 position = 0 formatSize = 0 gameId = 103 message = "Dealer: pre-flop, 2 players " messageSize = 28 packetSize = 0 packetType = 86 serial = 0 Mon Jul 23 2007 10:59:39 GMT+0200: Unpacked Packet Type: 86 Mon Jul 23 2007 10:59:39 GMT+0200: Unpacked Packet Size: 41 Apparently everything is going smoothly when you got disconnected. Is this a random problem ? Did you check if ping packets were sent on a regular basis to the server ? What does the server say at the time of the disconnection ? 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
