2007/11/06 13:24 +0200 [-] PokerAvatar::handlePacketLogic(122): type = POKER_TABLE_JOIN(71) serial = 122 game_id = 103
2007/11/06 13:24 +0200 [-] PokerAvatar::sendPacket(122): type = POKER_TABLE(73)
2007/11/06 13:24 +0200 [-]      id = 103, name = Four, variant = holdem, betting_structure = 100-200-no-limit, seats = 10, average_pot = 0, hands_per_hour = 0, percent_flop = 0, players = 0, observers = 0, waiting = 0, player_timeout = 60, muck_timeout = 5, currency_serial = 1, skin = default
2007/11/06 13:24 +0200 [-] PokerAvatar::sendPacket(122): type = POKER_BATCH_MODE(105) serial = 0 game_id = 103
2007/11/06 13:24 +0200 [-] PokerAvatar::sendPacket(122): type = POKER_SEATS(50) game_id = 103, seats = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2007/11/06 13:24 +0200 [-] PokerAvatar::sendPacket(122): type = POKER_STREAM_MODE(104) serial = 0 game_id = 103
2007/11/06 13:24 +0200 [-] PokerAvatar::handlePacketLogic(122): type = POKER_GET_PLAYER_INFO(123)
2007/11/06 13:24 +0200 [-] PokerAvatar::sendPacket(122): type = POKER_PLAYER_INFO(87) serial = 122 game_id = 0 name = novatest, url = None, outfit = random
2007/11/06 13:24 +0200 [-] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.4/site-packages/twisted/scripts/_twistd_unix.py", line 214, in postApplication
            app.runReactorWithLogging(self.config, self.oldstdout, self.oldstderr)
          File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 113, in runReactorWithLogging
            reactor.run()
          File "/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 220, in run
            self.mainLoop()
          File "/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 228, in mainLoop
            self.runUntilCurrent()
        --- <exception caught here> ---
          File "/usr/lib/python2.4/site-packages/twisted/internet/base.py", line 561, in runUntilCurrent
            call.func(*call.args, **call.kw)
          File "/usr/lib/python2.4/site-packages/pokernetwork/protocol.py", line 203, in _processQueues
            self._handler(packet)
          File "/usr/lib/python2.4/site-packages/pokernetwork/server.py", line 49, in _handleConnection
            self.sendPackets(self.avatar.handlePacket(packet))
          File "/usr/lib/python2.4/site-packages/pokernetwork/server.py", line 84, in sendPackets
            self.sendPacket(packet)
          File "/usr/lib/python2.4/site-packages/pokernetwork/server.py", line 96, in sendPacket
            self.transport.write(packet.pack())
          File "/usr/lib/python2.4/site-packages/pokernetwork/pokerpackets.py", line 1670, in pack
            return PacketPokerId.pack(self) + self.packstring(self.name) + self.packstring(self.outfit) + self.packstring(self.url)
          File "/usr/lib/python2.4/site-packages/pokernetwork/pokerpackets.py", line 235, in pack
            return PacketSerial.pack(self) + pack(PacketPokerId.format, self.game_id)
          File "/usr/lib/python2.4/site-packages/pokernetwork/packets.py", line 573, in pack
            return Packet.pack(self) + pack(PacketSerial.format, self.serial)
          File "/usr/lib/python2.4/site-packages/pokernetwork/packets.py", line 64, in pack
            return pack(Packet.format, self.type, self.calcsize())
          File "/usr/lib/python2.4/site-packages/pokernetwork/pokerpackets.py", line 1680, in calcsize
            return PacketPokerId.calcsize(self) + self.calcsizestring(self.name) + self.calcsizestring(self.outfit) + self.calcsizestring(self.url)
          File "/usr/lib/python2.4/site-packages/pokernetwork/packets.py", line 183, in calcsizestring
            return calcsize("!H") + len(string)
        exceptions.TypeError: len() of unsized object

2007/11/06 13:24 +0200 [-] PokerAvatar::handlePacketLogic(122): type = POKER_SEAT(79) serial = 122 game_id = 103 seat = 0
2007/11/06 13:24 +0200 [-] packet for table 103
2007/11/06 13:24 +0200 [-] seatPlayer: INSERT user2table ( user_serial, table_serial, money) VALUES  ( 122, 103, 0 )
2007/11/06 13:24 +0200 [-] [Server][PokerGame 103] player 122 get seat 0
2007/11/06 13:24 +0200 [-] about player 122
2007/11/06 13:24 +0200 [-] broadcast[122L] type = POKER_PLAYER_ARRIVE(88) serial = 122 game_id = 103 name = novatest, url = None, outfit = random blind = late, remove_next_turn = False, sit_out = True, sit_out_next_turn = False, auto = False, auto_blind_ante = False, wait_for = False, buy_in_payed = False, seat = 0
2007/11/06 13:24 +0200 [-] [PokerGame 103] player 122 get seat 0
2007/11/06 13:24 +0200 [-] broadcast[122L] type = POKER_SEATS(50) game_id = 103, seats = [122L, 0, 0, 0, 0, 0, 0, 0, 0, 0]
2007/11/06 13:24 +0200 [-] broadcast[122L] type = POKER_PLAYER_CHIPS(64) serial = 122 game_id = 103 bet = 0 money = 0
2007/11/06 13:24 +0200 [-]  SELECT user2money.currency_serial,user2money.amount,user2money.points,CAST(SUM(user2table.bet) + SUM(user2table.money) AS UNSIGNED) AS in_game         FROM user2money LEFT JOIN (pokertables,user2table)         ON (user2table.user_serial = user2money.user_serial  AND             user2table.table_serial = pokertables.serial AND              user2money.currency_serial = pokertables.currency_serial)          WHERE user2money.user_serial = 122 GROUP BY user2money.currency_serial
2007/11/06 13:24 +0200 [-] getUserInfo: type = POKER_USER_INFO(92) serial = 122 name = novatest, password = , email = nova@nova.com, rating = 0, affiliate = 0, 1=1246166/0/0
2007/11/06 13:24 +0200 [-] PokerAvatar::sendPacket(122): type = POKER_USER_INFO(92) serial = 122 name = novatest, password = , email = nova@nova.com, rating = 0, affiliate = 0, 1=1246166/0/0
2007/11/06 13:24 +0200 [-] PokerAvatar::sendPacket(122): type = POKER_SEAT(79) serial = 122 game_id = 103 seat = 0
2007/11/06 13:24 +0200 [-] Not autodealing 103 because less than 2 players willing to play
2007/11/06 13:24 +0200 [-] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.4/site-packages/twisted/scripts/_twistd_unix.py", line 214, in postApplication
            app.runReactorWithLogging(self.config, self.oldstdout, self.oldstderr)
          File "/usr/lib/python2.4/site-packages/twisted/application/app.py", line 113, in runReactorWithLogging
            reactor.run()
          File "/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 220, in run
            self.mainLoop()
          File "/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 228, in mainLoop
            self.runUntilCurrent()
        --- <exception caught here> ---
          File "/usr/lib/python2.4/site-packages/twisted/internet/base.py", line 561, in runUntilCurrent
            call.func(*call.args, **call.kw)
          File "/usr/lib/python2.4/site-packages/pokernetwork/protocol.py", line 203, in _processQueues
            self._handler(packet)
          File "/usr/lib/python2.4/site-packages/pokernetwork/server.py", line 49, in _handleConnection
            self.sendPackets(self.avatar.handlePacket(packet))
          File "/usr/lib/python2.4/site-packages/pokernetwork/server.py", line 84, in sendPackets
            self.sendPacket(packet)
          File "/usr/lib/python2.4/site-packages/pokernetwork/server.py", line 96, in sendPacket
            self.transport.write(packet.pack())
          File "/usr/lib/python2.4/site-packages/pokernetwork/pokerpackets.py", line 1751, in pack
            return PacketPokerPlayerInfo.pack(self) + self.packstring(blind) + pack(PacketPokerPlayerArrive.format, remove_next_turn, sit_out, sit_out_next_turn, auto, auto_blind_ante, wait_for, buy_in_payed, seat)
          File "/usr/lib/python2.4/site-packages/pokernetwork/pokerpackets.py", line 1670, in pack
            return PacketPokerId.pack(self) + self.packstring(self.name) + self.packstring(self.outfit) + self.packstring(self.url)
          File "/usr/lib/python2.4/site-packages/pokernetwork/pokerpackets.py", line 235, in pack
            return PacketSerial.pack(self) + pack(PacketPokerId.format, self.game_id)
          File "/usr/lib/python2.4/site-packages/pokernetwork/packets.py", line 573, in pack
            return Packet.pack(self) + pack(PacketSerial.format, self.serial)
          File "/usr/lib/python2.4/site-packages/pokernetwork/packets.py", line 64, in pack
            return pack(Packet.format, self.type, self.calcsize())
          File "/usr/lib/python2.4/site-packages/pokernetwork/pokerpackets.py", line 1777, in calcsize
            return PacketPokerPlayerInfo.calcsize(self) + self.calcsizestring(str(self.blind)) + PacketPokerPlayerArrive.format_size
          File "/usr/lib/python2.4/site-packages/pokernetwork/pokerpackets.py", line 1680, in calcsize
            return PacketPokerId.calcsize(self) + self.calcsizestring(self.name) + self.calcsizestring(self.outfit) + self.calcsizestring(self.url)
          File "/usr/lib/python2.4/site-packages/pokernetwork/packets.py", line 183, in calcsizestring
            return calcsize("!H") + len(string)
        exceptions.TypeError: len() of unsized object

2007/11/06 13:24 +0200 [-] PokerAvatar::handlePacketLogic(122): type = POKER_BUY_IN(84) serial = 122 game_id = 103 amount = 400000
2007/11/06 13:24 +0200 [-] packet for table 103
2007/11/06 13:24 +0200 [-] SELECT amount FROM user2money        WHERE user_serial = 122 AND              currency_serial = 1
2007/11/06 13:24 +0200 [-] buyInPlayer: UPDATE user2money,user2table SET  user2table.money = user2table.money + 400000,  user2money.amount = user2money.amount - 400000  WHERE user2money.user_serial = 122 AND        user2money.currency_serial = 1 AND        user2table.user_serial = 122 AND        user2table.table_serial = 103
2007/11/06 13:24 +0200 [-] broadcast[122L] type = POKER_PLAYER_CHIPS(64) serial = 122 game_id = 103 bet = 0 money = 400000
2007/11/06 13:24 +0200 [-] Not autodealing 103 because less than 2 players willing to play
2007/11/06 13:24 +0200 [-] PokerAvatar::handlePacketLogic(122): type = POKER_NOAUTO_BLIND_ANTE(98) serial = 122 game_id = 103
2007/11/06 13:24 +0200 [-] packet for table 103
2007/11/06 13:24 +0200 [-] PokerAvatar::sendPacket(122): type = POKER_NOAUTO_BLIND_ANTE(98) serial = 122 game_id = 103
2007/11/06 13:24 +0200 [-] Not autodealing 103 because less than 2 players willing to play
2007/11/06 13:24 +0200 [-] PokerAvatar::handlePacketLogic(122): type = POKER_SIT(75) serial = 122 game_id = 103
2007/11/06 13:24 +0200 [-] packet for table 103
2007/11/06 13:24 +0200 [-] broadcast[122L] type = POKER_SIT(75) serial = 122 game_id = 103
2007/11/06 13:24 +0200 [-] Not autodealing 103 because less than 2 players willing to play
2007/11/06 13:25 +0200 [PokerServerProtocol,5,192.168.1.17] protocol established
2007/11/06 13:25 +0200 [PokerServerProtocol,5,192.168.1.17] setExplain 0
2007/11/06 13:25 +0200 [-] PokerAvatar::handlePacketLogic(0): type = 142 length = 0 value = 65535
2007/11/06 13:25 +0200 [-] setExplain 0
2007/11/06 13:25 +0200 [-] setExplain 1
2007/11/06 13:25 +0200 [-] PokerAvatar::sendPacket(0): type = ACK(4)