bugpokersource - Bugs: bug #16756, Multi-sessions bug when returning...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #16756: Multi-sessions bug when returning to the tournament

Submitted by:  Vandemeulebroucke <ramboz>
Submitted on:  Fri Sep 24 21:05:51 2010  
 
Category: poker-networkSeverity: 4 - Important
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Fri Oct 1 22:10:34 2010, comment #4:

Index: pokertable.py
===================================================================
--- pokertable.py (révision 6569)
+++ pokertable.py (copie de travail)
@@ -1228,7 +1228,10 @@
#
# Sit back immediately, as if we just seated
#
- game.comeBack(serial)
+ if game.comeBack(serial):
+ if self.isSit(avatar):
+ self.broadcast(PacketPokerSit(game_id = game.id,
+ serial = serial))

avatar.join(self, reason = reason)

Vandemeulebroucke <ramboz>
Fri Oct 1 16:46:28 2010, comment #3:

Hi,

Could you please let me know exactly where this patch is to be applied ? Did you run the test suite successfully ?

Thanks for your contribution

Loic Dachary <loic>
Project Administrator
Fri Oct 1 15:16:22 2010, comment #2:

small fix :

if self.isSeated(avatar):
#
# Sit back immediately, as if we just seated
#
if game.comeBack(serial):
if self.isSit(avatar):
self.broadcast(PacketPokerSit(game_id = game.id,
serial = serial))

this bug is now fixed

Xavier.

Vandemeulebroucke <ramboz>
Tue Sep 28 22:59:51 2010, comment #1:

I think I solved the problem

when a new session is created and we are sitting at a table, the method pokergame.comeBack is called by pokertable.joinPlayer.

this method apply player.auto = False

I just add notification to inform all players that we are now sitting

if self.isSeated(avatar):
#
# Sit back immediately, as if we just seated
#
game.comeBack(serial)
self.broadcast(PacketPokerSit(game_id = game.id,
serial = serial))

I would do more tests tomorrow

Xavier

Vandemeulebroucke <ramboz>
Fri Sep 24 21:05:51 2010, original submission:

Hey,

i found a bug in multi-sessions context :

- player1 & player2 plays
- player1 sitout and enter in auto fold state
- player1 open a new session ; the game is restored and the player is on state "in game and plays"

player2 not received the PokerPacketSit :/

Vandemeulebroucke <ramboz>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by loic (Posted a comment)
  • -unavailable- added by ramboz (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Error: not logged in

     

     

    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup