Advertisement
Guest User

Untitled

a guest
May 15th, 2017
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 69.22 KB | None | 0 0
  1. -*- mode: compilation; default-directory: "/usr/src/pokersource/poker-network/tests/" -*-
  2. Compilation started at Sun Mar 21 07:53:02
  3.  
  4. ( cd .. ; ./config.status tests/test-pokeravatar.py ) ; ( cd ../tests ; make VERBOSE_T=6 COVERAGE_FILES='../pokernetwork/pokeravatar.py' TESTS='coverage-reset test-pokeravatar.py coverage-report' check )
  5. config.status: creating tests/test-pokeravatar.py
  6. make check-TESTS
  7. make[1]: Entering directory `/usr/src/pokersource/poker-network/tests'
  8. RUNNING: ./coverage-reset
  9. PASS: coverage-reset
  10. RUNNING: ./test-pokeravatar.py
  11. PokerAuth:
  12. __main__.PokerAvatarTestCase.test76_forceObserverDisconnectPacketQueue ... PokerDatabase: connecting as root user 'root'
  13. PokerDatabase: MySQL server version is 5.1.41-3
  14. PokerDatabase: creating database pokernetworktest
  15. PokerDatabase: populating database from ./../../database/schema.sql
  16. PokerDatabase: /usr/bin/mysql --host='localhost' --user='root' --password='' 'pokernetworktest' < ./../../database/schema.sql
  17. PokerDatabase: CREATE USER 'pokernetworktest'@'%' IDENTIFIED BY 'pokernetwork'
  18. PokerDatabase: Traceback (most recent call last):
  19. File "../pokernetwork/pokerdatabase.py", line 95, in __init__
  20. OperationalError: (1396, "Operation CREATE USER failed for 'pokernetworktest'@'%'")
  21.  
  22. PokerDatabase: poker user 'pokernetworktest' already exists
  23. PokerDatabase: granted privilege to pokernetworktest' for database 'pokernetworktest'
  24. PokerDatabase: PokerDatabase: Database connection to localhost/pokernetworktest open
  25. PokerDatabase: PokerDatabase: database version 2.0.0
  26. PokerService: trying to load .././testtourney_select_info.py
  27. tick: 0.0
  28. tick: 0.1
  29. PokerAuth: get_auth_instance: trying to load: ''
  30. PokerAuth: get_auth_instance: falling back on pokerauth.get_auth_instance, script not found: ''
  31. PokerService: createTable: INSERT pokertables ( resthost_serial, seats, player_timeout, muck_timeout, currency_serial, name, variant, betting_structure, skin, tourney_serial ) VALUES ( 0, '10', '60', 5, '1', 'Table1', 'holdem', '100-200-no-limit', 'default', 0 )
  32. tick: 0.2
  33. [Server][PokerGame 1] get_rake_instance: ../pokerrake.py does not exist
  34. [Server][PokerGame 1] get_rake_instance: .././pokerrake.py does not exist
  35. [Server][PokerGame 1] get_rake_instance: /etc/poker-engine/pokerrake.py does not exist
  36. [Server][PokerGame 1] get_rake_instance: NONE/etc/poker-network/pokerrake.py does not exist
  37. [Server][PokerGame 1] get_rake_instance: no pokerrake.py found in directories ['..', '../.', '/etc/poker-engine', 'NONE/etc/poker-network']
  38. PokerService: table created : Table1
  39. PokerService: createTable: INSERT pokertables ( resthost_serial, seats, player_timeout, muck_timeout, currency_serial, name, variant, betting_structure, skin, tourney_serial ) VALUES ( 0, '10', '60', 5, '0', 'Table2', 'holdem', '2-4-limit', 'default', 0 )
  40. tick: 0.3
  41. PokerService: table created : Table2
  42. PokerService: createTable: INSERT pokertables ( resthost_serial, seats, player_timeout, muck_timeout, currency_serial, name, variant, betting_structure, skin, tourney_serial ) VALUES ( 0, '10', '600', '600', '1', 'Table3', 'holdem', 'test18pokerclient', 'default', 0 )
  43. tick: 0.4
  44. PokerService: table created : Table3
  45. PokerService: createTable: INSERT pokertables ( resthost_serial, seats, player_timeout, muck_timeout, currency_serial, name, variant, betting_structure, skin, tourney_serial ) VALUES ( 0, '10', '60', 5, '0', 'Table4', 'holdem', 'ante-1-2-limit', 'default', 0 )
  46. tick: 0.5
  47. PokerService: table created : Table4
  48. tick: 0.6
  49. PokerService: cleanupTourneys: SELECT * FROM tourneys WHERE ( state NOT IN ( 'registering', 'complete' ) OR ( state = 'registering' AND ( sit_n_go = 'y' OR start_time < (1269154386 + 60) ) ) ) AND resthost_serial = 0
  50. tick: 0.7
  51. PokerService: cleanupTourneys: SELECT * FROM tourneys WHERE state = 'registering' AND start_time > (1269154386 + 60) AND resthost_serial = 0
  52. PokerService: updateTourneysSchedule
  53. tick: 0.8
  54. PokerService: checkTourneysSchedule
  55. tick: 0.9
  56. PokerService: spawnTourney: {'register_time': 0L, 'betting_structure': 'level-15-30-no-limit', 'currency_serial': 1L, 'description_long': 'Sit and Go 2 players', 'satellite_of': 0L, 'breaks_interval': 3600L, 'serial': 1L, 'respawn_interval': 0L, 'resthost_serial': 0L, 'buy_in': 300000L, 'prize_currency': 0L, 'via_satellite': 0, 'description_short': 'Sit and Go 2 players, Holdem', 'player_timeout': 60L, 'players_quota': 2L, 'breaks_first': 7200L, 'add_on': 0L, 'start_time': 0L, 'rake': 0L, 'variant': 'holdem', 'satellite_player_count': 0L, 'players_min': 2L, 'prize_currency_from_date_format': None, 'active': 'y', 'add_on_delay': 60L, 'name': 'sitngo2', 'respawn': 'y', 'prize_min': 0L, 'currency_serial_from_date_format': None, 'breaks_duration': 300L, 'seats_per_game': 2L, 'bailor_serial': 0L, 'sit_n_go': 'y', 'rebuy_delay': 0L}
  57. tick: 1.0
  58. tick: 1.1
  59. tick: 1.2
  60. PokerService: spawnTourney: {'register_time': 1269150786L, 'betting_structure': 'level-001', 'currency_serial': 1L, 'description_long': 'Holdem No Limit Freeroll', 'satellite_of': 0L, 'breaks_interval': 60L, 'serial': 2L, 'respawn_interval': 0L, 'resthost_serial': 0L, 'buy_in': 0L, 'prize_currency': 0L, 'via_satellite': 0, 'description_short': 'Holdem No Limit Freeroll', 'player_timeout': 60L, 'players_quota': 1000L, 'breaks_first': 7200L, 'add_on': 1L, 'start_time': 1269154506L, 'rake': 0L, 'variant': 'holdem', 'satellite_player_count': 0L, 'players_min': 3L, 'prize_currency_from_date_format': None, 'active': 'y', 'add_on_delay': 60L, 'name': 'regular1', 'respawn': 'n', 'prize_min': 0L, 'currency_serial_from_date_format': None, 'breaks_duration': 300L, 'seats_per_game': 10L, 'bailor_serial': 0L, 'sit_n_go': 'n', 'rebuy_delay': 30L}
  61. tick: 1.3
  62. tick: 1.4
  63. tick: 1.5
  64. tick: 1.6
  65. tick: 1.7
  66. tick: 1.8
  67. tick: 1.9
  68. tick: 2.0
  69. tick: 2.1
  70. PokerClient: delays {'lag': 60.0, 'end_round_last': 0.0, 'showdown': 0.0, 'blind_ante_position': 0.0, 'position': 0.0, 'begin_round': 0.0, 'end_round': 0.0}
  71. PokerClient: delays {'lag': 60.0, 'end_round_last': 0.0, 'showdown': 0.0, 'blind_ante_position': 0.0, 'position': 0.0, 'begin_round': 0.0, 'end_round': 0.0}
  72. PokerClient: delays {'lag': 60.0, 'end_round_last': 0.0, 'showdown': 0.0, 'blind_ante_position': 0.0, 'position': 0.0, 'begin_round': 0.0, 'end_round': 0.0}
  73. tick: 2.2
  74. tick: 2.3
  75. tick: 2.4
  76. tick: 2.5
  77. tick: 2.6
  78. tick: 2.7
  79. tick: 2.8
  80. protocol established
  81. tick: 2.9
  82. tick: 3.0
  83. tick: 3.1
  84. tick: 3.2
  85. tick: 3.3
  86. sendPacket(0) type = POKER_SET_ROLE(125) serial = 0 roles = PLAY
  87. tick: 3.4
  88. protocol established
  89. tick: 3.5
  90. tick: 3.6
  91. tick: 3.7
  92. tick: 3.8
  93. publishPacket(0): outbound: type = BOOTSTRAP(14)
  94. tick: 3.9
  95. tick: 4.0
  96. (13 bytes) => type = POKER_SET_ROLE(125) serial = 0 roles = PLAY
  97. tick: 4.1
  98. tick: 4.2
  99. tick: 4.3
  100. tick: 4.4
  101. tick: 4.5
  102. PokerAvatar: handlePacketLogic(0): type = POKER_SET_ROLE(125) serial = 0 roles = PLAY
  103. PokerAvatar: sendPacket(0): type = POKER_ROLES(124) serial = 0 roles = PLAY
  104. tick: 4.6
  105. protocol established
  106. tick: 4.7
  107. tick: 4.8
  108. protocol established
  109. tick: 4.9
  110. tick: 5.0
  111. tick: 5.1
  112. tick: 5.2
  113. tick: 5.3
  114. sendPacket(0) type = POKER_SET_ROLE(125) serial = 0 roles = PLAY
  115. tick: 5.4
  116. tick: 5.5
  117. tick: 5.6
  118. tick: 5.7
  119. publishPacket(0): outbound: type = BOOTSTRAP(14)
  120. (13 bytes) => type = POKER_ROLES(124) serial = 0 roles = PLAY
  121. tick: 5.8
  122. tick: 5.9
  123. tick: 6.0
  124. tick: 6.1
  125. tick: 6.2
  126. PokerClientProtocol:handleConnection: type = POKER_ROLES(124) serial = 0 roles = PLAY
  127. PokerExplain:explain: type = POKER_ROLES(124) serial = 0 roles = PLAY
  128. tick: 6.3
  129. tick: 6.4
  130. (13 bytes) => type = POKER_SET_ROLE(125) serial = 0 roles = PLAY
  131. tick: 6.5
  132. tick: 6.6
  133. tick: 6.7
  134. tick: 6.8
  135. publishPacket(0): outbound: type = POKER_ROLES(124) serial = 0 roles = PLAY
  136. tick: 6.9
  137. sendPacket(0) type = LOGIN(10) name = user0, password = password1
  138. tick: 7.0
  139. tick: 7.1
  140. tick: 7.2
  141. PokerAvatar: handlePacketLogic(0): type = POKER_SET_ROLE(125) serial = 0 roles = PLAY
  142. PokerAvatar: sendPacket(0): type = POKER_ROLES(124) serial = 0 roles = PLAY
  143. tick: 7.3
  144. protocol established
  145. tick: 7.4
  146. tick: 7.5
  147. protocol established
  148. tick: 7.6
  149. tick: 7.7
  150. tick: 7.8
  151. sendPacket(0) type = POKER_SET_ROLE(125) serial = 0 roles = PLAY
  152. tick: 7.9
  153. tick: 8.0
  154. tick: 8.1
  155. tick: 8.2
  156. publishPacket(0): outbound: type = BOOTSTRAP(14)
  157. (13 bytes) => type = POKER_ROLES(124) serial = 0 roles = PLAY
  158. tick: 8.3
  159. tick: 8.4
  160. (21 bytes) => type = LOGIN(10) name = user0, password = password1
  161. tick: 8.5
  162. tick: 8.6
  163. tick: 8.7
  164. tick: 8.8
  165. PokerClientProtocol:handleConnection: type = POKER_ROLES(124) serial = 0 roles = PLAY
  166. PokerExplain:explain: type = POKER_ROLES(124) serial = 0 roles = PLAY
  167. tick: 8.9
  168. tick: 9.0
  169. tick: 9.1
  170. tick: 9.2
  171. PokerAvatar: handlePacketLogic(0): type = LOGIN(10) name = user0, password = password1
  172. PokerAuth: user user0 does not exist, create it
  173. PokerAuth: creating user user0
  174. tick: 9.3
  175. PokerAuth: create user with serial 4
  176. PokerAvatar: sendPacket(0): type = AUTH_OK(8)
  177. PokerAvatar: sendPacket(4): type = SERIAL(6) serial = 4
  178. PokerAvatarCollection:service:add 4 PokerAvatar serial = 4, name = user0
  179. PokerAvatar: user user0/4 logged in
  180. PokerService: sessionStart(4, 127.0.0.1):
  181. tick: 9.4
  182. tick: 9.5
  183. (13 bytes) => type = POKER_SET_ROLE(125) serial = 0 roles = PLAY
  184. tick: 9.6
  185. tick: 9.7
  186. tick: 9.8
  187. tick: 9.9
  188. publishPacket(0): outbound: type = POKER_ROLES(124) serial = 0 roles = PLAY
  189. tick: 10.0
  190. sendPacket(0) type = LOGIN(10) name = user1, password = password1
  191. tick: 10.1
  192. tick: 10.2
  193. tick: 10.3
  194. tick: 10.4
  195. PokerAvatar: handlePacketLogic(0): type = POKER_SET_ROLE(125) serial = 0 roles = PLAY
  196. PokerAvatar: sendPacket(0): type = POKER_ROLES(124) serial = 0 roles = PLAY
  197. tick: 10.5
  198. (3 bytes) => type = AUTH_OK(8)
  199. tick: 10.6
  200. tick: 10.7
  201. (7 bytes) => type = SERIAL(6) serial = 4
  202. tick: 10.8
  203. tick: 10.9
  204. tick: 11.0
  205. tick: 11.1
  206. PokerClientProtocol:handleConnection: type = AUTH_OK(8)
  207. PokerExplain:explain: type = AUTH_OK(8)
  208. tick: 11.2
  209. tick: 11.3
  210. (21 bytes) => type = LOGIN(10) name = user1, password = password1
  211. tick: 11.4
  212. tick: 11.5
  213. (13 bytes) => type = POKER_ROLES(124) serial = 0 roles = PLAY
  214. tick: 11.6
  215. tick: 11.7
  216. tick: 11.8
  217. tick: 11.9
  218. publishPacket(0): outbound: type = AUTH_OK(8)
  219. tick: 12.0
  220. PokerClientProtocol:handleConnection: type = SERIAL(6) serial = 4
  221. tick: 12.1
  222. sendPacket(4) type = POKER_GET_USER_INFO(93) serial = 4
  223. tick: 12.2
  224. sendPacket(4) type = POKER_GET_PLAYER_INFO(123)
  225. PokerExplain:explain: type = SERIAL(6) serial = 4
  226. tick: 12.3
  227. tick: 12.4
  228. tick: 12.5
  229. tick: 12.6
  230. PokerAvatar: handlePacketLogic(0): type = LOGIN(10) name = user1, password = password1
  231. PokerAuth: user user1 does not exist, create it
  232. PokerAuth: creating user user1
  233. tick: 12.7
  234. PokerAuth: create user with serial 5
  235. PokerAvatar: sendPacket(0): type = AUTH_OK(8)
  236. PokerAvatar: sendPacket(5): type = SERIAL(6) serial = 5
  237. PokerAvatarCollection:service:add 5 PokerAvatar serial = 5, name = user1
  238. PokerAvatar: user user1/5 logged in
  239. PokerService: sessionStart(5, 127.0.0.1):
  240. tick: 12.8
  241. tick: 12.9
  242. tick: 13.0
  243. PokerClientProtocol:handleConnection: type = POKER_ROLES(124) serial = 0 roles = PLAY
  244. PokerExplain:explain: type = POKER_ROLES(124) serial = 0 roles = PLAY
  245. tick: 13.1
  246. tick: 13.2
  247. tick: 13.3
  248. tick: 13.4
  249. publishPacket(4): outbound: type = SERIAL(6) serial = 4
  250. tick: 13.5
  251. tick: 13.6
  252. tick: 13.7
  253. publishPacket(0): outbound: type = POKER_ROLES(124) serial = 0 roles = PLAY
  254. tick: 13.8
  255. sendPacket(0) type = LOGIN(10) name = user2, password = password1
  256. tick: 13.9
  257. (3 bytes) => type = AUTH_OK(8)
  258. tick: 14.0
  259. tick: 14.1
  260. (7 bytes) => type = SERIAL(6) serial = 5
  261. tick: 14.2
  262. (7 bytes) => type = POKER_GET_USER_INFO(93) serial = 4
  263. tick: 14.3
  264. tick: 14.4
  265. (3 bytes) => type = POKER_GET_PLAYER_INFO(123)
  266. tick: 14.5
  267. tick: 14.6
  268. tick: 14.7
  269. PokerClientProtocol:handleConnection: type = AUTH_OK(8)
  270. PokerExplain:explain: type = AUTH_OK(8)
  271. tick: 14.8
  272. tick: 14.9
  273. tick: 15.0
  274. tick: 15.1
  275. PokerAvatar: handlePacketLogic(4): type = POKER_GET_USER_INFO(93) serial = 4
  276. PokerService: 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 = 4 GROUP BY user2money.currency_serial
  277. PokerService: getUserInfo: type = POKER_USER_INFO(92) serial = 4 name = user0, password = , email = , rating = 1000, affiliate = 0,
  278. PokerAvatar: sendPacket(4): type = POKER_USER_INFO(92) serial = 4 name = user0, password = , email = , rating = 1000, affiliate = 0,
  279. tick: 15.2
  280. (21 bytes) => type = LOGIN(10) name = user2, password = password1
  281. tick: 15.3
  282. tick: 15.4
  283. tick: 15.5
  284. tick: 15.6
  285. publishPacket(0): outbound: type = AUTH_OK(8)
  286. tick: 15.7
  287. PokerClientProtocol:handleConnection: type = SERIAL(6) serial = 5
  288. tick: 15.8
  289. sendPacket(5) type = POKER_GET_USER_INFO(93) serial = 5
  290. tick: 15.9
  291. sendPacket(5) type = POKER_GET_PLAYER_INFO(123)
  292. PokerExplain:explain: type = SERIAL(6) serial = 5
  293. tick: 16.0
  294. tick: 16.1
  295. tick: 16.2
  296. tick: 16.3
  297. PokerAvatar: handlePacketLogic(4): type = POKER_GET_PLAYER_INFO(123)
  298. PokerAvatar: sendPacket(4): type = POKER_PLAYER_INFO(87) serial = 4 game_id = 0 name = user0, url = random, outfit = random
  299. tick: 16.4
  300. tick: 16.5
  301. tick: 16.6
  302. PokerAvatar: handlePacketLogic(0): type = LOGIN(10) name = user2, password = password1
  303. PokerAuth: user user2 does not exist, create it
  304. PokerAuth: creating user user2
  305. tick: 16.7
  306. PokerAuth: create user with serial 6
  307. PokerAvatar: sendPacket(0): type = AUTH_OK(8)
  308. PokerAvatar: sendPacket(6): type = SERIAL(6) serial = 6
  309. PokerAvatarCollection:service:add 6 PokerAvatar serial = 6, name = user2
  310. PokerAvatar: user user2/6 logged in
  311. PokerService: sessionStart(6, 127.0.0.1):
  312. tick: 16.8
  313. tick: 16.9
  314. (28 bytes) => type = POKER_USER_INFO(92) serial = 4 name = user0, password = , email = , rating = 1000, affiliate = 0,
  315. tick: 17.0
  316. tick: 17.1
  317. tick: 17.2
  318. tick: 17.3
  319. publishPacket(5): outbound: type = SERIAL(6) serial = 5
  320. tick: 17.4
  321. tick: 17.5
  322. tick: 17.6
  323. tick: 17.7
  324. PokerClientProtocol:handleConnection: type = POKER_USER_INFO(92) serial = 4 name = user0, password = , email = , rating = 1000, affiliate = 0,
  325. handleUserInfo: type = POKER_USER_INFO(92) serial = 4 name = user0, password = , email = , rating = 1000, affiliate = 0,
  326. [4]PokerExplain:explain: type = POKER_USER_INFO(92) serial = 4 name = user0, password = , email = , rating = 1000, affiliate = 0,
  327. tick: 17.8
  328. tick: 17.9
  329. (7 bytes) => type = POKER_GET_USER_INFO(93) serial = 5
  330. tick: 18.0
  331. tick: 18.1
  332. (3 bytes) => type = POKER_GET_PLAYER_INFO(123)
  333. tick: 18.2
  334. (34 bytes) => type = POKER_PLAYER_INFO(87) serial = 4 game_id = 0 name = user0, url = random, outfit = random
  335. tick: 18.3
  336. (3 bytes) => type = AUTH_OK(8)
  337. tick: 18.4
  338. tick: 18.5
  339. (7 bytes) => type = SERIAL(6) serial = 6
  340. tick: 18.6
  341. tick: 18.7
  342. tick: 18.8
  343. publishPacket(4): outbound: type = POKER_USER_INFO(92) serial = 4 name = user0, password = , email = , rating = 1000, affiliate = 0,
  344. tick: 18.9
  345. tick: 19.0
  346. PokerClientProtocol:handleConnection: type = POKER_PLAYER_INFO(87) serial = 4 game_id = 0 name = user0, url = random, outfit = random
  347. [4]PokerExplain:explain: type = POKER_PLAYER_INFO(87) serial = 4 game_id = 0 name = user0, url = random, outfit = random
  348. tick: 19.1
  349. tick: 19.2
  350. tick: 19.3
  351. tick: 19.4
  352. PokerAvatar: handlePacketLogic(5): type = POKER_GET_USER_INFO(93) serial = 5
  353. PokerService: 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 = 5 GROUP BY user2money.currency_serial
  354. PokerService: getUserInfo: type = POKER_USER_INFO(92) serial = 5 name = user1, password = , email = , rating = 1000, affiliate = 0,
  355. PokerAvatar: sendPacket(5): type = POKER_USER_INFO(92) serial = 5 name = user1, password = , email = , rating = 1000, affiliate = 0,
  356. tick: 19.5
  357. tick: 19.6
  358. PokerClientProtocol:handleConnection: type = AUTH_OK(8)
  359. PokerExplain:explain: type = AUTH_OK(8)
  360. tick: 19.7
  361. tick: 19.8
  362. tick: 19.9
  363. tick: 20.0
  364. publishPacket(4): outbound: type = POKER_PLAYER_INFO(87) serial = 4 game_id = 0 name = user0, url = random, outfit = random
  365. PokerAvatar: handlePacketLogic(4): type = POKER_TABLE_JOIN(71) serial = 4 game_id = 2
  366. PokerAvatar: sendPacket(4): type = POKER_TABLE(73)
  367. id = 2, name = Table2, variant = holdem, betting_structure = 2-4-limit, seats = 10, average_pot = 0, hands_per_hour = 0, percent_flop = 0, players = 0, observers = 1, waiting = 0, player_timeout = 60, muck_timeout = 5, currency_serial = 0, skin = default, tourney_serial = 0, reason = TableJoin
  368. PokerAvatar: sendPacket(4): POKER_BUY_IN_LIMITS type = 145 length = 23 game_id = 2 min = 1000 max = 100000000 best = 6000 rebuy_min = 300
  369. PokerAvatar: sendPacket(4): type = POKER_BATCH_MODE(105) serial = 0 game_id = 2
  370. PokerAvatar: sendPacket(4): type = POKER_SEATS(50) game_id = 2, seats = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
  371. PokerAvatar: sendPacket(4): type = POKER_STREAM_MODE(104) serial = 0 game_id = 2
  372. PokerAvatar: handlePacketLogic(4): type = POKER_SEAT(79) serial = 4 game_id = 2 seat = 1
  373. PokerAvatar: packet for table 2
  374. PokerService: seatPlayer: INSERT INTO user2table ( user_serial, table_serial, money) VALUES ( 4, 2, 0 )
  375. PokerService: INSERT INTO monitor (event, param1, param2, param3) VALUES (9, 4, 2, 0)
  376. PokerAvatarCollection:Table2:add 4 PokerAvatar serial = 4, name = user0
  377. [Server][PokerGame 2] player 4 get seat 1
  378. PokerTable: about player 4
  379. PokerTable: broadcast[4] type = POKER_PLAYER_ARRIVE(88) serial = 4 game_id = 2 name = user0, url = random, 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 = 1
  380. PokerTable: broadcast[4] type = POKER_SEATS(50) game_id = 2, seats = [0, 4, 0, 0, 0, 0, 0, 0, 0, 0]
  381. PokerTable: broadcast[4] type = POKER_PLAYER_CHIPS(64) serial = 4 game_id = 2 bet = 0 money = 0
  382. tick: 20.1
  383. PokerService: 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 = 4 GROUP BY user2money.currency_serial
  384. PokerService: getUserInfo: type = POKER_USER_INFO(92) serial = 4 name = user0, password = , email = , rating = 1000, affiliate = 0,
  385. PokerAvatar: sendPacket(4): type = POKER_USER_INFO(92) serial = 4 name = user0, password = , email = , rating = 1000, affiliate = 0,
  386. PokerAvatar: sendPacket(4): type = POKER_SEAT(79) serial = 4 game_id = 2 seat = 1
  387. PokerTable: No autodeal
  388. PokerAvatar: handlePacketLogic(4): type = POKER_BUY_IN(84) serial = 4 game_id = 2 amount = 10000
  389. PokerAvatar: packet for table 2
  390. PokerTable: broadcast[4] type = POKER_PLAYER_CHIPS(64) serial = 4 game_id = 2 bet = 0 money = 10000
  391. tick: 20.2
  392. PokerTable: No autodeal
  393. tick: 20.3
  394. tick: 20.4
  395. tick: 20.5
  396. PokerAvatar: handlePacketLogic(5): type = POKER_GET_PLAYER_INFO(123)
  397. PokerAvatar: sendPacket(5): type = POKER_PLAYER_INFO(87) serial = 5 game_id = 0 name = user1, url = random, outfit = random
  398. tick: 20.6
  399. tick: 20.7
  400. publishPacket(0): outbound: type = AUTH_OK(8)
  401. tick: 20.8
  402. PokerClientProtocol:handleConnection: type = SERIAL(6) serial = 6
  403. tick: 20.9
  404. sendPacket(6) type = POKER_GET_USER_INFO(93) serial = 6
  405. tick: 21.0
  406. sendPacket(6) type = POKER_GET_PLAYER_INFO(123)
  407. PokerExplain:explain: type = SERIAL(6) serial = 6
  408. tick: 21.1
  409. tick: 21.2
  410. (28 bytes) => type = POKER_USER_INFO(92) serial = 5 name = user1, password = , email = , rating = 1000, affiliate = 0,
  411. tick: 21.3
  412. tick: 21.4
  413. tick: 21.5
  414. tick: 21.6
  415. tick: 21.7
  416. publishPacket(6): outbound: type = SERIAL(6) serial = 6
  417. tick: 21.8
  418. tick: 21.9
  419. PokerClientProtocol:handleConnection: type = POKER_USER_INFO(92) serial = 5 name = user1, password = , email = , rating = 1000, affiliate = 0,
  420. handleUserInfo: type = POKER_USER_INFO(92) serial = 5 name = user1, password = , email = , rating = 1000, affiliate = 0,
  421. [5]PokerExplain:explain: type = POKER_USER_INFO(92) serial = 5 name = user1, password = , email = , rating = 1000, affiliate = 0,
  422. tick: 22.0
  423. tick: 22.1
  424. (34 bytes) => type = POKER_PLAYER_INFO(87) serial = 5 game_id = 0 name = user1, url = random, outfit = random
  425. tick: 22.2
  426. (7 bytes) => type = POKER_GET_USER_INFO(93) serial = 6
  427. tick: 22.3
  428. tick: 22.4
  429. (3 bytes) => type = POKER_GET_PLAYER_INFO(123)
  430. tick: 22.5
  431. tick: 22.6
  432. tick: 22.7
  433. publishPacket(5): outbound: type = POKER_USER_INFO(92) serial = 5 name = user1, password = , email = , rating = 1000, affiliate = 0,
  434. tick: 22.8
  435. tick: 22.9
  436. PokerClientProtocol:handleConnection: type = POKER_PLAYER_INFO(87) serial = 5 game_id = 0 name = user1, url = random, outfit = random
  437. [5]PokerExplain:explain: type = POKER_PLAYER_INFO(87) serial = 5 game_id = 0 name = user1, url = random, outfit = random
  438. tick: 23.0
  439. tick: 23.1
  440. tick: 23.2
  441. tick: 23.3
  442. PokerAvatar: handlePacketLogic(6): type = POKER_GET_USER_INFO(93) serial = 6
  443. PokerService: 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 = 6 GROUP BY user2money.currency_serial
  444. PokerService: getUserInfo: type = POKER_USER_INFO(92) serial = 6 name = user2, password = , email = , rating = 1000, affiliate = 0,
  445. PokerAvatar: sendPacket(6): type = POKER_USER_INFO(92) serial = 6 name = user2, password = , email = , rating = 1000, affiliate = 0,
  446. tick: 23.4
  447. tick: 23.5
  448. tick: 23.6
  449. publishPacket(5): outbound: type = POKER_PLAYER_INFO(87) serial = 5 game_id = 0 name = user1, url = random, outfit = random
  450. PokerAvatar: handlePacketLogic(5): type = POKER_TABLE_JOIN(71) serial = 5 game_id = 2
  451. PokerAvatar: sendPacket(5): type = POKER_TABLE(73)
  452. id = 2, name = Table2, variant = holdem, betting_structure = 2-4-limit, seats = 10, average_pot = 0, hands_per_hour = 0, percent_flop = 0, players = 1, observers = 1, waiting = 0, player_timeout = 60, muck_timeout = 5, currency_serial = 0, skin = default, tourney_serial = 0, reason = TableJoin
  453. PokerAvatar: sendPacket(5): POKER_BUY_IN_LIMITS type = 145 length = 23 game_id = 2 min = 1000 max = 100000000 best = 6000 rebuy_min = 300
  454. PokerAvatar: sendPacket(5): type = POKER_BATCH_MODE(105) serial = 0 game_id = 2
  455. PokerAvatar: sendPacket(5): type = POKER_PLAYER_ARRIVE(88) serial = 4 game_id = 2 name = user0, url = random, 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 = True, seat = 1
  456. PokerAvatar: sendPacket(5): type = POKER_PLAYER_CHIPS(64) serial = 4 game_id = 2 bet = 0 money = 10000
  457. PokerAvatar: sendPacket(5): type = POKER_SEATS(50) game_id = 2, seats = [0, 4, 0, 0, 0, 0, 0, 0, 0, 0]
  458. PokerAvatar: sendPacket(5): type = POKER_STREAM_MODE(104) serial = 0 game_id = 2
  459. PokerAvatar: handlePacketLogic(5): type = POKER_SEAT(79) serial = 5 game_id = 2 seat = 2
  460. PokerAvatar: packet for table 2
  461. PokerService: seatPlayer: INSERT INTO user2table ( user_serial, table_serial, money) VALUES ( 5, 2, 0 )
  462. PokerService: INSERT INTO monitor (event, param1, param2, param3) VALUES (9, 5, 2, 0)
  463. PokerAvatarCollection:Table2:add 5 PokerAvatar serial = 5, name = user1
  464. [Server][PokerGame 2] player 5 get seat 2
  465. PokerTable: about player 5
  466. PokerTable: broadcast[4, 5] type = POKER_PLAYER_ARRIVE(88) serial = 5 game_id = 2 name = user1, url = random, 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 = 2
  467. PokerTable: broadcast[4, 5] type = POKER_SEATS(50) game_id = 2, seats = [0, 4, 5, 0, 0, 0, 0, 0, 0, 0]
  468. PokerTable: broadcast[4, 5] type = POKER_PLAYER_CHIPS(64) serial = 5 game_id = 2 bet = 0 money = 0
  469. tick: 23.7
  470. PokerService: 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 = 5 GROUP BY user2money.currency_serial
  471. PokerService: getUserInfo: type = POKER_USER_INFO(92) serial = 5 name = user1, password = , email = , rating = 1000, affiliate = 0,
  472. PokerAvatar: sendPacket(5): type = POKER_USER_INFO(92) serial = 5 name = user1, password = , email = , rating = 1000, affiliate = 0,
  473. PokerAvatar: sendPacket(5): type = POKER_SEAT(79) serial = 5 game_id = 2 seat = 2
  474. PokerTable: No autodeal
  475. PokerAvatar: handlePacketLogic(5): type = POKER_BUY_IN(84) serial = 5 game_id = 2 amount = 10000
  476. PokerAvatar: packet for table 2
  477. PokerTable: broadcast[4, 5] type = POKER_PLAYER_CHIPS(64) serial = 5 game_id = 2 bet = 0 money = 10000
  478. tick: 23.8
  479. PokerTable: No autodeal
  480. tick: 23.9
  481. tick: 24.0
  482. tick: 24.1
  483. PokerAvatar: handlePacketLogic(6): type = POKER_GET_PLAYER_INFO(123)
  484. PokerAvatar: sendPacket(6): type = POKER_PLAYER_INFO(87) serial = 6 game_id = 0 name = user2, url = random, outfit = random
  485. tick: 24.2
  486. (28 bytes) => type = POKER_USER_INFO(92) serial = 6 name = user2, password = , email = , rating = 1000, affiliate = 0,
  487. tick: 24.3
  488. tick: 24.4
  489. tick: 24.5
  490. tick: 24.6
  491. tick: 24.7
  492. PokerClientProtocol:handleConnection: type = POKER_USER_INFO(92) serial = 6 name = user2, password = , email = , rating = 1000, affiliate = 0,
  493. handleUserInfo: type = POKER_USER_INFO(92) serial = 6 name = user2, password = , email = , rating = 1000, affiliate = 0,
  494. [6]PokerExplain:explain: type = POKER_USER_INFO(92) serial = 6 name = user2, password = , email = , rating = 1000, affiliate = 0,
  495. tick: 24.8
  496. tick: 24.9
  497. (34 bytes) => type = POKER_PLAYER_INFO(87) serial = 6 game_id = 0 name = user2, url = random, outfit = random
  498. tick: 25.0
  499. tick: 25.1
  500. tick: 25.2
  501. publishPacket(6): outbound: type = POKER_USER_INFO(92) serial = 6 name = user2, password = , email = , rating = 1000, affiliate = 0,
  502. tick: 25.3
  503. tick: 25.4
  504. PokerClientProtocol:handleConnection: type = POKER_PLAYER_INFO(87) serial = 6 game_id = 0 name = user2, url = random, outfit = random
  505. [6]PokerExplain:explain: type = POKER_PLAYER_INFO(87) serial = 6 game_id = 0 name = user2, url = random, outfit = random
  506. tick: 25.5
  507. tick: 25.6
  508. tick: 25.7
  509. tick: 25.8
  510. publishPacket(6): outbound: type = POKER_PLAYER_INFO(87) serial = 6 game_id = 0 name = user2, url = random, outfit = random
  511. PokerAvatar: handlePacketLogic(6): type = POKER_TABLE_JOIN(71) serial = 6 game_id = 2
  512. PokerAvatar: sendPacket(6): type = POKER_TABLE(73)
  513. id = 2, name = Table2, variant = holdem, betting_structure = 2-4-limit, seats = 10, average_pot = 0, hands_per_hour = 0, percent_flop = 0, players = 2, observers = 1, waiting = 0, player_timeout = 60, muck_timeout = 5, currency_serial = 0, skin = default, tourney_serial = 0, reason = TableJoin
  514. PokerAvatar: sendPacket(6): POKER_BUY_IN_LIMITS type = 145 length = 23 game_id = 2 min = 1000 max = 100000000 best = 6000 rebuy_min = 300
  515. PokerAvatar: sendPacket(6): type = POKER_BATCH_MODE(105) serial = 0 game_id = 2
  516. PokerAvatar: sendPacket(6): type = POKER_PLAYER_ARRIVE(88) serial = 4 game_id = 2 name = user0, url = random, 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 = True, seat = 1
  517. PokerAvatar: sendPacket(6): type = POKER_PLAYER_CHIPS(64) serial = 4 game_id = 2 bet = 0 money = 10000
  518. PokerAvatar: sendPacket(6): type = POKER_PLAYER_ARRIVE(88) serial = 5 game_id = 2 name = user1, url = random, 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 = True, seat = 2
  519. PokerAvatar: sendPacket(6): type = POKER_PLAYER_CHIPS(64) serial = 5 game_id = 2 bet = 0 money = 10000
  520. PokerAvatar: sendPacket(6): type = POKER_SEATS(50) game_id = 2, seats = [0, 4, 5, 0, 0, 0, 0, 0, 0, 0]
  521. PokerAvatar: sendPacket(6): type = POKER_STREAM_MODE(104) serial = 0 game_id = 2
  522. PokerAvatar: handlePacketLogic(6): type = POKER_SEAT(79) serial = 6 game_id = 2 seat = 3
  523. PokerAvatar: packet for table 2
  524. PokerService: seatPlayer: INSERT INTO user2table ( user_serial, table_serial, money) VALUES ( 6, 2, 0 )
  525. PokerService: INSERT INTO monitor (event, param1, param2, param3) VALUES (9, 6, 2, 0)
  526. PokerAvatarCollection:Table2:add 6 PokerAvatar serial = 6, name = user2
  527. [Server][PokerGame 2] player 6 get seat 3
  528. PokerTable: about player 6
  529. PokerTable: broadcast[4, 5, 6] type = POKER_PLAYER_ARRIVE(88) serial = 6 game_id = 2 name = user2, url = random, 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 = 3
  530. PokerTable: broadcast[4, 5, 6] type = POKER_SEATS(50) game_id = 2, seats = [0, 4, 5, 6, 0, 0, 0, 0, 0, 0]
  531. PokerTable: broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 6 game_id = 2 bet = 0 money = 0
  532. tick: 25.9
  533. PokerService: 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 = 6 GROUP BY user2money.currency_serial
  534. PokerService: getUserInfo: type = POKER_USER_INFO(92) serial = 6 name = user2, password = , email = , rating = 1000, affiliate = 0,
  535. PokerAvatar: sendPacket(6): type = POKER_USER_INFO(92) serial = 6 name = user2, password = , email = , rating = 1000, affiliate = 0,
  536. PokerAvatar: sendPacket(6): type = POKER_SEAT(79) serial = 6 game_id = 2 seat = 3
  537. PokerTable: No autodeal
  538. OUTPUT: handlePacketLogic(4): type = POKER_SIT(75) serial = 4 game_id = 2
  539. OUTPUT: packet for table 2
  540. OUTPUT: broadcast[4, 5, 6] type = POKER_SIT(75) serial = 4 game_id = 2
  541. tick: 26.0
  542. OUTPUT: No autodeal
  543. OUTPUT: handlePacketLogic(5): type = POKER_SIT(75) serial = 5 game_id = 2
  544. OUTPUT: packet for table 2
  545. OUTPUT: broadcast[4, 5, 6] type = POKER_SIT(75) serial = 5 game_id = 2
  546. tick: 26.1
  547. OUTPUT: No autodeal
  548. OUTPUT: handlePacketLogic(4): type = POKER_AUTO_BLIND_ANTE(97) serial = 4 game_id = 2
  549. OUTPUT: packet for table 2
  550. OUTPUT: sendPacket(4): type = POKER_AUTO_BLIND_ANTE(97) serial = 4 game_id = 2
  551. OUTPUT: No autodeal
  552. OUTPUT: handlePacketLogic(5): type = POKER_AUTO_BLIND_ANTE(97) serial = 5 game_id = 2
  553. OUTPUT: packet for table 2
  554. OUTPUT: sendPacket(5): type = POKER_AUTO_BLIND_ANTE(97) serial = 5 game_id = 2
  555. OUTPUT: No autodeal
  556. OUTPUT: handlePacketLogic(4): type = POKER_READY_TO_PLAY(126) serial = 4 game_id = 2
  557. OUTPUT: packet for table 2
  558. OUTPUT: sendPacket(4): type = ACK(4)
  559. OUTPUT: No autodeal
  560. OUTPUT: handlePacketLogic(5): type = POKER_READY_TO_PLAY(126) serial = 5 game_id = 2
  561. OUTPUT: packet for table 2
  562. OUTPUT: sendPacket(5): type = ACK(4)
  563. OUTPUT: No autodeal
  564. OUTPUT: Dealing hand Table2/1
  565. tick: 26.2
  566. OUTPUT: [Server][PokerGame 2] Dealing Hold'em hand number 1
  567. OUTPUT: [Server][PokerGame 2] player list: [4, 5]
  568. OUTPUT: [Server][PokerGame 2] changing state null => blindAnte
  569. OUTPUT: [Server][PokerGame 2] 6 big blind count is now 1 because of big
  570. OUTPUT: [Server][PokerGame 2] updateBlinds: in game (blind:missed:wait) 04:big:None:False 05:small:None:False
  571. OUTPUT: [Server][PokerGame 2] updateBlinds: all (blind:missed:wait) 04:big:None:False 05:small:None:False 06:None:big:False
  572. OUTPUT: [Server][PokerGame 2] player 5 pays blind 100/0
  573. OUTPUT: [Server][PokerGame 2] player 4 pays blind 200/0
  574. OUTPUT: [Server][PokerGame 2] player list: [4, 5]
  575. OUTPUT: [Server][PokerGame 2] changing state blindAnte => pre-flop
  576. OUTPUT: [Server][PokerGame 2] player 4 cards: 6d 4s
  577. OUTPUT: [Server][PokerGame 2] player 5 cards: Ts 9h
  578. OUTPUT: [Server][PokerGame 2] new round pre-flop
  579. OUTPUT: [Server][PokerGame 2] round cap reset to 3
  580. OUTPUT: [Server][PokerGame 2] dealer 0, in position 1, last to talk 0
  581. OUTPUT: [Server][PokerGame 2] initialisation turn 1 ... finished
  582. tick: 26.3
  583. OUTPUT: updatePlayerMoney: UPDATE user2table SET money = money + -200, bet = bet - -200 WHERE user_serial = 4 AND table_serial = 2
  584. OUTPUT: updatePlayerMoney: UPDATE user2table SET money = money + -100, bet = bet - -100 WHERE user_serial = 5 AND table_serial = 2
  585. tick: 26.4
  586. tick: 26.5
  587. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.10 seconds
  588. tick: 26.6
  589. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.20 seconds
  590. tick: 26.7
  591. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.30 seconds
  592. tick: 26.8
  593. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.40 seconds
  594. tick: 26.9
  595. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.50 seconds
  596. OUTPUT: broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 4 game_id = 2 bet = 0 money = 10000
  597. OUTPUT: broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 5 game_id = 2 bet = 0 money = 10000
  598. OUTPUT: broadcast[4, 5, 6] type = POKER_IN_GAME(67) serial = 0 game_id = 2 players = [4, 5]
  599. OUTPUT: broadcast[4, 5, 6] type = POKER_DEALER(70) game_id = 2, dealer = 1, previous_dealer = -1
  600. OUTPUT: broadcast[4, 5, 6] type = POKER_START(66) serial = 0 game_id = 2 hands_count = 0, time = 0, hand_serial = 1, level = 0
  601. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 1, serial = 0
  602. OUTPUT: broadcast[4, 5, 6] type = POKER_BLIND(95) serial = 5 game_id = 2 amount = 100 dead = 0
  603. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 0, serial = 0
  604. OUTPUT: broadcast[4, 5, 6] type = POKER_BLIND(95) serial = 4 game_id = 2 amount = 200 dead = 0
  605. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = -1, serial = 0
  606. OUTPUT: broadcast[4, 5, 6] type = POKER_PLAYER_CARDS(61) serial = 4 game_id = 2 cards = [209, 233]
  607. OUTPUT: broadcast[4, 5, 6] type = POKER_PLAYER_CARDS(61) serial = 5 game_id = 2 cards = [239, 199]
  608. OUTPUT: broadcast[4, 5, 6] type = POKER_STATE(58) serial = 0 game_id = 2 string = pre-flop
  609. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 1, serial = 0
  610. tick: 27.0
  611. OUTPUT: Not autodealing 2 because game is running
  612. OUTPUT: handlePacketLogic(5): type = POKER_FOLD(57) serial = 5 game_id = 2
  613. OUTPUT: packet for table 2
  614. OUTPUT: [Server][PokerGame 2] player 5 folds
  615. OUTPUT: [Server][PokerGame 2] only one player left in the game
  616. OUTPUT: [Server][PokerGame 2] round finished
  617. OUTPUT: [Server][PokerGame 2] last player in game 4
  618. OUTPUT: [Server][PokerGame 2] changing state pre-flop => muck
  619. OUTPUT: [Server][PokerGame 2] [{'foldwin': True,
  620. 'player_list': [4, 5],
  621. 'pot': 300,
  622. 'serial2delta': {4: 90, 5: -100},
  623. 'serial2rake': {4: 10},
  624. 'serial2share': {4: 290},
  625. 'side_pots': {'building': 0,
  626. 'contributions': {0: {0: {4: 200, 5: 100}},
  627. 'total': {4: 200, 5: 100}},
  628. 'last_round': 0,
  629. 'pots': [[300, 300]]},
  630. 'type': 'game_state'},
  631. {'pot': 300, 'serial2share': {4: 300}, 'serials': [4], 'type': 'resolve'}]
  632. OUTPUT: [Server][PokerGame 2] player(s) [4] win
  633. OUTPUT: [Server][PokerGame 2] muckState: to_show = () muckable_candidates = (4,)
  634. OUTPUT: [Server][PokerGame 2] setMuckableSerials: muckable = []
  635. OUTPUT: [Server][PokerGame 2] changing state muck => end
  636. OUTPUT: [Server][PokerGame 2] ---end turn--
  637. tick: 27.1
  638. OUTPUT: saveHand: update hands set description = [('game', 0, 1, 0, 0.0, 'holdem', '2-4-limit', [4, 5], 1, {4: 10000, 5: 10000}), ('position', 1), ('blind', 5, 100, 0), ('position', 0), ('blind', 4, 200, 0), ('position', -1), ('round', 'pre-flop', PokerCards([]), {4: PokerCards([209, 233]), 5: PokerCards([239, 199])}), ('position', 1), ('fold', 5), ('position', 0), ('position', -1), ('rake', 10, {4: 5, 5: 5}), ('showdown', None, {4: PokerCards([209, 233])}), ('end', [4], [{'player_list': [4, 5], 'pot': 300, 'serial2delta': {4: 90, 5: -100}, 'serial2rake': {4: 10}, 'foldwin': True, 'side_pots': {'building': 0, 'pots': [[300, 300]], 'last_round': 0, 'contributions': {0: {0: {4: 200, 5: 100}}, 'total': {4: 200, 5: 100}}}, 'type': 'game_state', 'serial2share': {4: 290}}, {'serials': [4], 'pot': 300, 'type': 'resolve', 'serial2share': {4: 300}}])] where serial = 1
  639. OUTPUT: saveHand: insert into user2hand values (4, 1), (5, 1)
  640. OUTPUT: INSERT INTO monitor (event, param1, param2, param3) VALUES (1, 1, 0, 0)
  641. OUTPUT: updatePlayerMoney: UPDATE user2table SET money = money + 290, bet = bet - 290 WHERE user_serial = 4 AND table_serial = 2
  642. OUTPUT: updatePlayerRake: UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 4 AND currency_serial = 0
  643. OUTPUT: *ERROR* modified 0 rows (expected 1): UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 4 AND currency_serial = 0
  644. OUTPUT: updatePlayerRake: UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 5 AND currency_serial = 0
  645. OUTPUT: *ERROR* modified 0 rows (expected 1): UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 5 AND currency_serial = 0
  646. OUTPUT: resetBet: update user2table set bet = 0 where table_serial = 2
  647. tick: 27.2
  648. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.80 seconds
  649. tick: 27.3
  650. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.90 seconds
  651. tick: 27.4
  652. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 1.00 seconds
  653. tick: 27.5
  654. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 1.10 seconds
  655. OUTPUT: broadcast[4, 5, 6] type = POKER_FOLD(57) serial = 5 game_id = 2
  656. OUTPUT: ERROR WARNING: user 6 has more than 15 packets queued; will force-disconnect when 21 are queued
  657. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 0, serial = 0
  658. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = -1, serial = 0
  659. OUTPUT: broadcast[4, 5, 6] type = POKER_RAKE(136) value = 10 game_id = 2
  660. OUTPUT: broadcast[4, 5, 6] type = POKER_STATE(58) serial = 0 game_id = 2 string = end
  661. OUTPUT: broadcast[4, 5, 6] type = POKER_WIN(59) serial = 0 game_id = 2 serials = [4]
  662. tick: 27.6
  663. OUTPUT: AutodealCheck scheduled in 0.000000 seconds
  664. tick: 27.7
  665. search_output: ERROR WARNING: user 6 has more than 15 packets queued; will force-disconnect when 21 are queued
  666. not in Dealing hand Table2/1
  667. not in [Server][PokerGame 2] Dealing Hold'em hand number 1
  668. not in [Server][PokerGame 2] player list: [4, 5]
  669. not in [Server][PokerGame 2] changing state null => blindAnte
  670. not in [Server][PokerGame 2] 6 big blind count is now 1 because of big
  671. not in [Server][PokerGame 2] updateBlinds: in game (blind:missed:wait) 04:big:None:False 05:small:None:False
  672. not in [Server][PokerGame 2] updateBlinds: all (blind:missed:wait) 04:big:None:False 05:small:None:False 06:None:big:False
  673. not in [Server][PokerGame 2] player 5 pays blind 100/0
  674. not in [Server][PokerGame 2] player 4 pays blind 200/0
  675. not in [Server][PokerGame 2] player list: [4, 5]
  676. not in [Server][PokerGame 2] changing state blindAnte => pre-flop
  677. not in [Server][PokerGame 2] player 4 cards: 6d 4s
  678. not in [Server][PokerGame 2] player 5 cards: Ts 9h
  679. not in [Server][PokerGame 2] new round pre-flop
  680. not in [Server][PokerGame 2] round cap reset to 3
  681. not in [Server][PokerGame 2] dealer 0, in position 1, last to talk 0
  682. not in [Server][PokerGame 2] initialisation turn 1 ... finished
  683. not in updatePlayerMoney: UPDATE user2table SET money = money + -200, bet = bet - -200 WHERE user_serial = 4 AND table_serial = 2
  684. not in updatePlayerMoney: UPDATE user2table SET money = money + -100, bet = bet - -100 WHERE user_serial = 5 AND table_serial = 2
  685. not in delayedActions: game estimated duration is now 20.0 and is running since 0.10 seconds
  686. not in delayedActions: game estimated duration is now 20.0 and is running since 0.20 seconds
  687. not in delayedActions: game estimated duration is now 20.0 and is running since 0.30 seconds
  688. not in delayedActions: game estimated duration is now 20.0 and is running since 0.40 seconds
  689. not in delayedActions: game estimated duration is now 20.0 and is running since 0.50 seconds
  690. not in broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 4 game_id = 2 bet = 0 money = 10000
  691. not in broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 5 game_id = 2 bet = 0 money = 10000
  692. not in broadcast[4, 5, 6] type = POKER_IN_GAME(67) serial = 0 game_id = 2 players = [4, 5]
  693. not in broadcast[4, 5, 6] type = POKER_DEALER(70) game_id = 2, dealer = 1, previous_dealer = -1
  694. not in broadcast[4, 5, 6] type = POKER_START(66) serial = 0 game_id = 2 hands_count = 0, time = 0, hand_serial = 1, level = 0
  695. not in broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 1, serial = 0
  696. not in broadcast[4, 5, 6] type = POKER_BLIND(95) serial = 5 game_id = 2 amount = 100 dead = 0
  697. not in broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 0, serial = 0
  698. not in broadcast[4, 5, 6] type = POKER_BLIND(95) serial = 4 game_id = 2 amount = 200 dead = 0
  699. not in broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = -1, serial = 0
  700. not in broadcast[4, 5, 6] type = POKER_PLAYER_CARDS(61) serial = 4 game_id = 2 cards = [209, 233]
  701. not in broadcast[4, 5, 6] type = POKER_PLAYER_CARDS(61) serial = 5 game_id = 2 cards = [239, 199]
  702. not in broadcast[4, 5, 6] type = POKER_STATE(58) serial = 0 game_id = 2 string = pre-flop
  703. not in broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 1, serial = 0
  704. not in Not autodealing 2 because game is running
  705. not in handlePacketLogic(5): type = POKER_FOLD(57) serial = 5 game_id = 2
  706. not in packet for table 2
  707. not in [Server][PokerGame 2] player 5 folds
  708. not in [Server][PokerGame 2] only one player left in the game
  709. not in [Server][PokerGame 2] round finished
  710. not in [Server][PokerGame 2] last player in game 4
  711. not in [Server][PokerGame 2] changing state pre-flop => muck
  712. not in [Server][PokerGame 2] [{'foldwin': True,
  713. 'player_list': [4, 5],
  714. 'pot': 300,
  715. 'serial2delta': {4: 90, 5: -100},
  716. 'serial2rake': {4: 10},
  717. 'serial2share': {4: 290},
  718. 'side_pots': {'building': 0,
  719. 'contributions': {0: {0: {4: 200, 5: 100}},
  720. 'total': {4: 200, 5: 100}},
  721. 'last_round': 0,
  722. 'pots': [[300, 300]]},
  723. 'type': 'game_state'},
  724. {'pot': 300, 'serial2share': {4: 300}, 'serials': [4], 'type': 'resolve'}]
  725. not in [Server][PokerGame 2] player(s) [4] win
  726. not in [Server][PokerGame 2] muckState: to_show = () muckable_candidates = (4,)
  727. not in [Server][PokerGame 2] setMuckableSerials: muckable = []
  728. not in [Server][PokerGame 2] changing state muck => end
  729. not in [Server][PokerGame 2] ---end turn--
  730. not in saveHand: update hands set description = [('game', 0, 1, 0, 0.0, 'holdem', '2-4-limit', [4, 5], 1, {4: 10000, 5: 10000}), ('position', 1), ('blind', 5, 100, 0), ('position', 0), ('blind', 4, 200, 0), ('position', -1), ('round', 'pre-flop', PokerCards([]), {4: PokerCards([209, 233]), 5: PokerCards([239, 199])}), ('position', 1), ('fold', 5), ('position', 0), ('position', -1), ('rake', 10, {4: 5, 5: 5}), ('showdown', None, {4: PokerCards([209, 233])}), ('end', [4], [{'player_list': [4, 5], 'pot': 300, 'serial2delta': {4: 90, 5: -100}, 'serial2rake': {4: 10}, 'foldwin': True, 'side_pots': {'building': 0, 'pots': [[300, 300]], 'last_round': 0, 'contributions': {0: {0: {4: 200, 5: 100}}, 'total': {4: 200, 5: 100}}}, 'type': 'game_state', 'serial2share': {4: 290}}, {'serials': [4], 'pot': 300, 'type': 'resolve', 'serial2share': {4: 300}}])] where serial = 1
  731. not in saveHand: insert into user2hand values (4, 1), (5, 1)
  732. not in INSERT INTO monitor (event, param1, param2, param3) VALUES (1, 1, 0, 0)
  733. not in updatePlayerMoney: UPDATE user2table SET money = money + 290, bet = bet - 290 WHERE user_serial = 4 AND table_serial = 2
  734. not in updatePlayerRake: UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 4 AND currency_serial = 0
  735. not in *ERROR* modified 0 rows (expected 1): UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 4 AND currency_serial = 0
  736. not in updatePlayerRake: UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 5 AND currency_serial = 0
  737. not in *ERROR* modified 0 rows (expected 1): UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 5 AND currency_serial = 0
  738. not in resetBet: update user2table set bet = 0 where table_serial = 2
  739. not in delayedActions: game estimated duration is now 20.0 and is running since 0.80 seconds
  740. not in delayedActions: game estimated duration is now 20.0 and is running since 0.90 seconds
  741. not in delayedActions: game estimated duration is now 20.0 and is running since 1.00 seconds
  742. not in delayedActions: game estimated duration is now 20.0 and is running since 1.10 seconds
  743. not in broadcast[4, 5, 6] type = POKER_FOLD(57) serial = 5 game_id = 2
  744. tick: 27.8
  745. OUTPUT: Dealing hand Table2/2
  746. tick: 27.9
  747. OUTPUT: [Server][PokerGame 2] Dealing Hold'em hand number 2
  748. OUTPUT: [Server][PokerGame 2] player list: [4, 5]
  749. OUTPUT: [Server][PokerGame 2] changing state end => blindAnte
  750. OUTPUT: [Server][PokerGame 2] updateBlinds: in game (blind:missed:wait) 04:small:None:False 05:big:None:False
  751. OUTPUT: [Server][PokerGame 2] updateBlinds: all (blind:missed:wait) 04:small:None:False 05:big:None:False 06:None:big:False
  752. OUTPUT: [Server][PokerGame 2] player 4 pays blind 100/0
  753. OUTPUT: [Server][PokerGame 2] player 5 pays blind 200/0
  754. OUTPUT: [Server][PokerGame 2] player list: [4, 5]
  755. OUTPUT: [Server][PokerGame 2] changing state blindAnte => pre-flop
  756. OUTPUT: [Server][PokerGame 2] player 4 cards: 6d 4s
  757. OUTPUT: [Server][PokerGame 2] player 5 cards: Ts 9h
  758. OUTPUT: [Server][PokerGame 2] new round pre-flop
  759. OUTPUT: [Server][PokerGame 2] round cap reset to 3
  760. OUTPUT: [Server][PokerGame 2] dealer 1, in position 0, last to talk 1
  761. OUTPUT: [Server][PokerGame 2] initialisation turn 2 ... finished
  762. tick: 28.0
  763. OUTPUT: updatePlayerMoney: UPDATE user2table SET money = money + -100, bet = bet - -100 WHERE user_serial = 4 AND table_serial = 2
  764. OUTPUT: updatePlayerMoney: UPDATE user2table SET money = money + -200, bet = bet - -200 WHERE user_serial = 5 AND table_serial = 2
  765. tick: 28.1
  766. tick: 28.2
  767. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.10 seconds
  768. tick: 28.3
  769. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.20 seconds
  770. tick: 28.4
  771. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.30 seconds
  772. tick: 28.5
  773. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.40 seconds
  774. tick: 28.6
  775. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 0.50 seconds
  776. OUTPUT: broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 4 game_id = 2 bet = 0 money = 10090
  777. tick: 28.7
  778. OUTPUT: broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 5 game_id = 2 bet = 0 money = 9900
  779. tick: 28.8
  780. OUTPUT: broadcast[4, 5, 6] type = POKER_IN_GAME(67) serial = 0 game_id = 2 players = [4, 5]
  781. tick: 28.9
  782. OUTPUT: broadcast[4, 5, 6] type = POKER_DEALER(70) game_id = 2, dealer = 2, previous_dealer = 1
  783. tick: 29.0
  784. OUTPUT: broadcast[4, 5, 6] type = POKER_START(66) serial = 0 game_id = 2 hands_count = 1, time = 1, hand_serial = 2, level = 0
  785. tick: 29.1
  786. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 0, serial = 0
  787. tick: 29.2
  788. OUTPUT: broadcast[4, 5, 6] type = POKER_BLIND(95) serial = 4 game_id = 2 amount = 100 dead = 0
  789. tick: 29.3
  790. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 1, serial = 0
  791. tick: 29.4
  792. OUTPUT: broadcast[4, 5, 6] type = POKER_BLIND(95) serial = 5 game_id = 2 amount = 200 dead = 0
  793. OUTPUT: ERROR WARNING: user 4 has more than 15 packets queued; will force-disconnect when 21 are queued
  794. OUTPUT: ERROR WARNING: user 5 has more than 15 packets queued; will force-disconnect when 21 are queued
  795. tick: 29.5
  796. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = -1, serial = 0
  797. tick: 29.6
  798. OUTPUT: broadcast[4, 5, 6] type = POKER_PLAYER_CARDS(61) serial = 4 game_id = 2 cards = [209, 233]
  799. tick: 29.7
  800. OUTPUT: broadcast[4, 5, 6] type = POKER_PLAYER_CARDS(61) serial = 5 game_id = 2 cards = [239, 199]
  801. tick: 29.8
  802. OUTPUT: broadcast[4, 5, 6] type = POKER_STATE(58) serial = 0 game_id = 2 string = pre-flop
  803. tick: 29.9
  804. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 0, serial = 0
  805. tick: 30.0
  806. tick: 30.1
  807. OUTPUT: Not autodealing 2 because game is running
  808. search_output: ERROR WARNING: user 4 has more than 15 packets queued; will force-disconnect when 21 are queued
  809. not in Dealing hand Table2/2
  810. not in [Server][PokerGame 2] Dealing Hold'em hand number 2
  811. not in [Server][PokerGame 2] player list: [4, 5]
  812. not in [Server][PokerGame 2] changing state end => blindAnte
  813. not in [Server][PokerGame 2] updateBlinds: in game (blind:missed:wait) 04:small:None:False 05:big:None:False
  814. not in [Server][PokerGame 2] updateBlinds: all (blind:missed:wait) 04:small:None:False 05:big:None:False 06:None:big:False
  815. not in [Server][PokerGame 2] player 4 pays blind 100/0
  816. not in [Server][PokerGame 2] player 5 pays blind 200/0
  817. not in [Server][PokerGame 2] player list: [4, 5]
  818. not in [Server][PokerGame 2] changing state blindAnte => pre-flop
  819. not in [Server][PokerGame 2] player 4 cards: 6d 4s
  820. not in [Server][PokerGame 2] player 5 cards: Ts 9h
  821. not in [Server][PokerGame 2] new round pre-flop
  822. not in [Server][PokerGame 2] round cap reset to 3
  823. not in [Server][PokerGame 2] dealer 1, in position 0, last to talk 1
  824. not in [Server][PokerGame 2] initialisation turn 2 ... finished
  825. not in updatePlayerMoney: UPDATE user2table SET money = money + -100, bet = bet - -100 WHERE user_serial = 4 AND table_serial = 2
  826. not in updatePlayerMoney: UPDATE user2table SET money = money + -200, bet = bet - -200 WHERE user_serial = 5 AND table_serial = 2
  827. not in delayedActions: game estimated duration is now 20.0 and is running since 0.10 seconds
  828. not in delayedActions: game estimated duration is now 20.0 and is running since 0.20 seconds
  829. not in delayedActions: game estimated duration is now 20.0 and is running since 0.30 seconds
  830. not in delayedActions: game estimated duration is now 20.0 and is running since 0.40 seconds
  831. not in delayedActions: game estimated duration is now 20.0 and is running since 0.50 seconds
  832. not in broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 4 game_id = 2 bet = 0 money = 10090
  833. not in broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 5 game_id = 2 bet = 0 money = 9900
  834. not in broadcast[4, 5, 6] type = POKER_IN_GAME(67) serial = 0 game_id = 2 players = [4, 5]
  835. not in broadcast[4, 5, 6] type = POKER_DEALER(70) game_id = 2, dealer = 2, previous_dealer = 1
  836. not in broadcast[4, 5, 6] type = POKER_START(66) serial = 0 game_id = 2 hands_count = 1, time = 1, hand_serial = 2, level = 0
  837. not in broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 0, serial = 0
  838. not in broadcast[4, 5, 6] type = POKER_BLIND(95) serial = 4 game_id = 2 amount = 100 dead = 0
  839. not in broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 1, serial = 0
  840. not in broadcast[4, 5, 6] type = POKER_BLIND(95) serial = 5 game_id = 2 amount = 200 dead = 0
  841. search_output: ERROR WARNING: user 5 has more than 15 packets queued; will force-disconnect when 21 are queued
  842. not in Dealing hand Table2/2
  843. not in [Server][PokerGame 2] Dealing Hold'em hand number 2
  844. not in [Server][PokerGame 2] player list: [4, 5]
  845. not in [Server][PokerGame 2] changing state end => blindAnte
  846. not in [Server][PokerGame 2] updateBlinds: in game (blind:missed:wait) 04:small:None:False 05:big:None:False
  847. not in [Server][PokerGame 2] updateBlinds: all (blind:missed:wait) 04:small:None:False 05:big:None:False 06:None:big:False
  848. not in [Server][PokerGame 2] player 4 pays blind 100/0
  849. not in [Server][PokerGame 2] player 5 pays blind 200/0
  850. not in [Server][PokerGame 2] player list: [4, 5]
  851. not in [Server][PokerGame 2] changing state blindAnte => pre-flop
  852. not in [Server][PokerGame 2] player 4 cards: 6d 4s
  853. not in [Server][PokerGame 2] player 5 cards: Ts 9h
  854. not in [Server][PokerGame 2] new round pre-flop
  855. not in [Server][PokerGame 2] round cap reset to 3
  856. not in [Server][PokerGame 2] dealer 1, in position 0, last to talk 1
  857. not in [Server][PokerGame 2] initialisation turn 2 ... finished
  858. not in updatePlayerMoney: UPDATE user2table SET money = money + -100, bet = bet - -100 WHERE user_serial = 4 AND table_serial = 2
  859. not in updatePlayerMoney: UPDATE user2table SET money = money + -200, bet = bet - -200 WHERE user_serial = 5 AND table_serial = 2
  860. not in delayedActions: game estimated duration is now 20.0 and is running since 0.10 seconds
  861. not in delayedActions: game estimated duration is now 20.0 and is running since 0.20 seconds
  862. not in delayedActions: game estimated duration is now 20.0 and is running since 0.30 seconds
  863. not in delayedActions: game estimated duration is now 20.0 and is running since 0.40 seconds
  864. not in delayedActions: game estimated duration is now 20.0 and is running since 0.50 seconds
  865. not in broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 4 game_id = 2 bet = 0 money = 10090
  866. not in broadcast[4, 5, 6] type = POKER_PLAYER_CHIPS(64) serial = 5 game_id = 2 bet = 0 money = 9900
  867. not in broadcast[4, 5, 6] type = POKER_IN_GAME(67) serial = 0 game_id = 2 players = [4, 5]
  868. not in broadcast[4, 5, 6] type = POKER_DEALER(70) game_id = 2, dealer = 2, previous_dealer = 1
  869. not in broadcast[4, 5, 6] type = POKER_START(66) serial = 0 game_id = 2 hands_count = 1, time = 1, hand_serial = 2, level = 0
  870. not in broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 0, serial = 0
  871. not in broadcast[4, 5, 6] type = POKER_BLIND(95) serial = 4 game_id = 2 amount = 100 dead = 0
  872. not in broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 1, serial = 0
  873. not in broadcast[4, 5, 6] type = POKER_BLIND(95) serial = 5 game_id = 2 amount = 200 dead = 0
  874. not in ERROR WARNING: user 4 has more than 15 packets queued; will force-disconnect when 21 are queued
  875. OUTPUT: handlePacketLogic(4): type = POKER_FOLD(57) serial = 4 game_id = 2
  876. OUTPUT: packet for table 2
  877. OUTPUT: [Server][PokerGame 2] player 4 folds
  878. OUTPUT: [Server][PokerGame 2] only one player left in the game
  879. OUTPUT: [Server][PokerGame 2] round finished
  880. OUTPUT: [Server][PokerGame 2] last player in game 5
  881. OUTPUT: [Server][PokerGame 2] changing state pre-flop => muck
  882. OUTPUT: [Server][PokerGame 2] [{'foldwin': True,
  883. 'player_list': [4, 5],
  884. 'pot': 300,
  885. 'serial2delta': {4: -100, 5: 90},
  886. 'serial2rake': {5: 10},
  887. 'serial2share': {5: 290},
  888. 'side_pots': {'building': 0,
  889. 'contributions': {0: {0: {4: 100, 5: 200}},
  890. 'total': {4: 100, 5: 200}},
  891. 'last_round': 0,
  892. 'pots': [[300, 300]]},
  893. 'type': 'game_state'},
  894. {'pot': 300, 'serial2share': {5: 300}, 'serials': [5], 'type': 'resolve'}]
  895. OUTPUT: [Server][PokerGame 2] player(s) [5] win
  896. OUTPUT: [Server][PokerGame 2] muckState: to_show = () muckable_candidates = (5,)
  897. OUTPUT: [Server][PokerGame 2] setMuckableSerials: muckable = []
  898. OUTPUT: [Server][PokerGame 2] changing state muck => end
  899. OUTPUT: [Server][PokerGame 2] ---end turn--
  900. tick: 30.2
  901. OUTPUT: saveHand: update hands set description = [('game', 0, 2, 1, 1.6999983787536621, 'holdem', '2-4-limit', [4, 5], 2, {4: 10090, 5: 9900}), ('position', 0), ('blind', 4, 100, 0), ('position', 1), ('blind', 5, 200, 0), ('position', -1), ('round', 'pre-flop', PokerCards([]), {4: PokerCards([209, 233]), 5: PokerCards([239, 199])}), ('position', 0), ('fold', 4), ('position', 1), ('position', -1), ('rake', 10, {4: 5, 5: 5}), ('showdown', None, {5: PokerCards([239, 199])}), ('end', [5], [{'player_list': [4, 5], 'pot': 300, 'serial2delta': {4: -100, 5: 90}, 'serial2rake': {5: 10}, 'foldwin': True, 'side_pots': {'building': 0, 'pots': [[300, 300]], 'last_round': 0, 'contributions': {0: {0: {4: 100, 5: 200}}, 'total': {4: 100, 5: 200}}}, 'type': 'game_state', 'serial2share': {5: 290}}, {'serials': [5], 'pot': 300, 'type': 'resolve', 'serial2share': {5: 300}}])] where serial = 2
  902. OUTPUT: saveHand: insert into user2hand values (4, 2), (5, 2)
  903. OUTPUT: INSERT INTO monitor (event, param1, param2, param3) VALUES (1, 2, 0, 0)
  904. OUTPUT: updatePlayerMoney: UPDATE user2table SET money = money + 290, bet = bet - 290 WHERE user_serial = 5 AND table_serial = 2
  905. OUTPUT: updatePlayerRake: UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 4 AND currency_serial = 0
  906. OUTPUT: *ERROR* modified 0 rows (expected 1): UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 4 AND currency_serial = 0
  907. OUTPUT: updatePlayerRake: UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 5 AND currency_serial = 0
  908. OUTPUT: *ERROR* modified 0 rows (expected 1): UPDATE user2money SET rake = rake + 5, points = points + 5 WHERE user_serial = 5 AND currency_serial = 0
  909. OUTPUT: resetBet: update user2table set bet = 0 where table_serial = 2
  910. tick: 30.3
  911. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 2.20 seconds
  912. tick: 30.4
  913. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 2.30 seconds
  914. tick: 30.5
  915. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 2.40 seconds
  916. tick: 30.6
  917. OUTPUT: delayedActions: game estimated duration is now 20.0 and is running since 2.50 seconds
  918. OUTPUT: broadcast[4, 5, 6] type = POKER_FOLD(57) serial = 4 game_id = 2
  919. tick: 30.7
  920. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = 1, serial = 0
  921. tick: 30.8
  922. OUTPUT: broadcast[4, 5, 6] type = POKER_POSITION(54) game_id = 2, position = -1, serial = 0
  923. tick: 30.9
  924. OUTPUT: broadcast[4, 5, 6] type = POKER_RAKE(136) value = 10 game_id = 2
  925. tick: 31.0
  926. OUTPUT: broadcast[4, 5, 6] type = POKER_STATE(58) serial = 0 game_id = 2 string = end
  927. tick: 31.1
  928. OUTPUT: broadcast[4, 5, 6] type = POKER_WIN(59) serial = 0 game_id = 2 serials = [5]
  929. tick: 31.2
  930. tick: 31.3
  931. OUTPUT: AutodealCheck scheduled in 0.000000 seconds
  932. tick: 31.4
  933. tick: 31.5
  934. tick: 31.6
  935. OUTPUT: connection lost for user2/6
  936. OUTPUT: [Server][PokerGame 2] removing player 6 from game
  937. OUTPUT: sendPacket(6): type = POKER_PLAYER_LEAVE(81) serial = 6 game_id = 2 seat = 3
  938. tick: 31.7
  939. OUTPUT: broadcast[4, 5] type = POKER_PLAYER_LEAVE(81) serial = 6 game_id = 2 seat = 3
  940. tick: 31.8
  941. OUTPUT: remove 6 PokerAvatar serial = 6, name = user2
  942. OUTPUT: leavePlayer UPDATE user2money,user2table,pokertables SET user2money.amount = user2money.amount + user2table.money + user2table.bet WHERE user2money.user_serial = user2table.user_serial AND user2money.currency_serial = pokertables.currency_serial AND pokertables.serial = 2 AND user2table.table_serial = 2 AND user2table.user_serial = 6
  943. OUTPUT: leavePlayer DELETE from user2table WHERE user_serial = 6 AND table_serial = 2
  944. OUTPUT: INSERT INTO monitor (event, param1, param2, param3) VALUES (8, 6, 2, 0)
  945. OUTPUT: remove 6 PokerAvatar serial = 6, name = user2
  946. OUTPUT: sessionEnd(6):
  947. tick: 31.9
  948. search_output: connection lost for user2/6
  949. search_output: [Server][PokerGame 2] removing player 6 from game
  950. not in connection lost for user2/6
  951. tick: 32.0
  952. OUTPUT: cancelTimer checkTourney
  953. tick: 32.1
  954. OUTPUT: cancelTimer updateTourney
  955. tick: 32.2
  956. OUTPUT: cancelTimer messages
  957. tick: 32.3
  958. tick: 32.4
  959. tick: 32.5
  960. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  961. OUTPUT: connection lost for anonymous/0
  962. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  963. OUTPUT: connection lost for anonymous/0
  964. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  965. OUTPUT: connection lost for anonymous/0
  966. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  967. OUTPUT: connection lost for anonymous/0
  968. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  969. OUTPUT: connection lost for anonymous/0
  970. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  971. OUTPUT: connection lost for anonymous/0
  972. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  973. OUTPUT: connection lost for anonymous/0
  974. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  975. OUTPUT: connection lost for anonymous/0
  976. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  977. OUTPUT: connection lost for anonymous/0
  978. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  979. OUTPUT: connection lost for anonymous/0
  980. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  981. OUTPUT: connection lost for anonymous/0
  982. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  983. OUTPUT: connection lost for anonymous/0
  984. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  985. OUTPUT: connection lost for anonymous/0
  986. OUTPUT: autoDealCheck
  987. OUTPUT: Autodeal for 2 scheduled in 0.000000 seconds
  988. tick: 32.6
  989. tick: 32.7
  990. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  991. OUTPUT: connection lost for anonymous/0
  992. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  993. OUTPUT: connection lost for anonymous/0
  994. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  995. OUTPUT: connection lost for anonymous/0
  996. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  997. OUTPUT: connection lost for anonymous/0
  998. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  999. OUTPUT: connection lost for anonymous/0
  1000. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  1001. OUTPUT: connection lost for anonymous/0
  1002. OUTPUT: Shutdown immediately
  1003. OUTPUT: connectionLost: noticed, aborting all tables.
  1004. tick: 32.8
  1005. OUTPUT: connectionLost: reason = [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.
  1006. ]
  1007. OUTPUT: UGAMEClient.connectionLost [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.
  1008. ]
  1009. tick: 32.9
  1010. OUTPUT: connection lost for user1/5
  1011. OUTPUT: [Server][PokerGame 2] removing player 5 from game
  1012. OUTPUT: sendPacket(5): type = POKER_PLAYER_LEAVE(81) serial = 5 game_id = 2 seat = 2
  1013. OUTPUT: broadcast[4] type = POKER_PLAYER_LEAVE(81) serial = 5 game_id = 2 seat = 2
  1014. tick: 33.0
  1015. OUTPUT: remove 5 PokerAvatar serial = 5, name = user1
  1016. OUTPUT: leavePlayer UPDATE user2money,user2table,pokertables SET user2money.amount = user2money.amount + user2table.money + user2table.bet WHERE user2money.user_serial = user2table.user_serial AND user2money.currency_serial = pokertables.currency_serial AND pokertables.serial = 2 AND user2table.table_serial = 2 AND user2table.user_serial = 5
  1017. OUTPUT: leavePlayer DELETE from user2table WHERE user_serial = 5 AND table_serial = 2
  1018. OUTPUT: INSERT INTO monitor (event, param1, param2, param3) VALUES (8, 5, 2, 0)
  1019. OUTPUT: remove 5 PokerAvatar serial = 5, name = user1
  1020. OUTPUT: sessionEnd(5):
  1021. tick: 33.1
  1022. OUTPUT: connectionLost: reason = [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.
  1023. ]
  1024. tick: 33.2
  1025. OUTPUT: connection lost for user0/4
  1026. OUTPUT: [Server][PokerGame 2] removing player 4 from game
  1027. OUTPUT: sendPacket(4): type = POKER_PLAYER_LEAVE(81) serial = 4 game_id = 2 seat = 1
  1028. OUTPUT: broadcast[] type = POKER_PLAYER_LEAVE(81) serial = 4 game_id = 2 seat = 1
  1029. tick: 33.3
  1030. OUTPUT: remove 4 PokerAvatar serial = 4, name = user0
  1031. OUTPUT: leavePlayer UPDATE user2money,user2table,pokertables SET user2money.amount = user2money.amount + user2table.money + user2table.bet WHERE user2money.user_serial = user2table.user_serial AND user2money.currency_serial = pokertables.currency_serial AND pokertables.serial = 2 AND user2table.table_serial = 2 AND user2table.user_serial = 4
  1032. OUTPUT: leavePlayer DELETE from user2table WHERE user_serial = 4 AND table_serial = 2
  1033. OUTPUT: INSERT INTO monitor (event, param1, param2, param3) VALUES (8, 4, 2, 0)
  1034. OUTPUT: remove 4 PokerAvatar serial = 4, name = user0
  1035. OUTPUT: sessionEnd(4):
  1036. tick: 33.4
  1037. OUTPUT: connectionLost: reason = [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.
  1038. ]
  1039. OUTPUT: connectionLost: noticed, aborting all tables.
  1040. tick: 33.5
  1041. OUTPUT: connectionLost: reason = [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.
  1042. ]
  1043. OUTPUT: UGAMEClient.connectionLost [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.
  1044. ]
  1045. OUTPUT: connectionLost: noticed, aborting all tables.
  1046. tick: 33.6
  1047. OUTPUT: connectionLost: reason = [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.
  1048. ]
  1049. OUTPUT: UGAMEClient.connectionLost [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.
  1050. ]
  1051. tick: 33.7
  1052. OUTPUT: *ERROR* avatar PokerAvatar serial = 0, name = anonymous is not in the list of known avatars
  1053. OUTPUT: connection lost for anonymous/0
  1054. OUTPUT: connectionLost: reason = [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion: Connection lost.
  1055. ]
  1056. tick: 33.8
  1057. tick: 33.9
  1058. tick: 34.0
  1059. tick: 34.1
  1060. tick: 34.2
  1061. [OK]tick: 34.3
  1062. tick: 34.4
  1063.  
  1064.  
  1065. -------------------------------------------------------------------------------
  1066. Ran 1 tests in 2.176s
  1067.  
  1068. PASSED (successes=1)
  1069. PASS: test-pokeravatar.py
  1070. RUNNING: ./coverage-report
  1071.  
  1072. Before commiting a modification to the code, check all lines
  1073. modified or added are covered by the tests.
  1074. cd /tmp ; svn co svn+ssh://loic@svn.gna.org/svn/pokersource/trunk/poker-network
  1075. cd poker-network ; autoreconf -fi ; ./configure ; make check
  1076. diff -ru tests/annotated /usr/src/pokersource/poker-network/tests/annotated | grep '^\+!'
  1077.  
  1078. Name Stmts Exec Cover Missing
  1079. -----------------------------------------------------------
  1080. ../pokernetwork/pokeravatar 797 355 44% 74, 81-86, 102, 134-146, 179-197, 215-218, 223, 234, 237, 316-317, 321-333, 339-340, 363, 366-377, 380, 383-384, 388-397, 401-411, 414-418, 425-437, 440-445, 448-466, 469-496, 509-513, 516-521, 524-525, 528-529, 532, 535-537, 540-541, 545, 553-557, 564-565, 571, 575-580, 583-592, 595-604, 607-611, 614-620, 623-629, 632-633, 636-637, 645-648, 651-656, 659-669, 672-673, 676-677, 680-686, 689-694, 697-698, 701-702, 705-706, 709-713, 716-717, 725-726, 739, 742-750, 753-765, 774-781, 784-787, 790-793, 799-803, 809, 812-815, 818-822, 825-828, 831-834, 837-840, 843-846, 849-852, 855, 862-889, 893-916, 943-945, 958-963, 966, 973-974, 980-983, 987-988, 995-996, 999-1078, 1082-1084, 1087-1088, 1092, 1097, 1111, 1116-1119, 1123-1145, 1150-1175, 1182-1194, 1228-1230, 1237, 1240, 1255-1256, 1274, 1282-1283, 1302, 1315-1322, 1328, 1334, 1349
  1081. FAIL: tests do not cover 100% of the ../pokernetwork/pokeravatar code
  1082. FAIL: coverage-report
  1083. ===================
  1084. 1 of 3 tests failed
  1085. ===================
  1086. make[1]: *** [check-TESTS] Error 1
  1087. make[1]: Leaving directory `/usr/src/pokersource/poker-network/tests'
  1088. make: *** [check-am] Error 2
  1089.  
  1090. Compilation exited abnormally with code 2 at Sun Mar 21 07:53:10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement