-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Sep 4, 2008 at 8:12 PM, Loic Dachary  wrote:
> Right. Bradley authored this code. I suspect a border case where the
> player is not set was overlooked.
>
> Bradley, do you have a clue ?
>

I've gathered additional informations throught pdb,

BOTAfefBoat BOTAfefBoat (19 bytes) => type = POKER_PLAYER_CHIPS(64)
serial = 33265883 game_id = 29 bet = 0 money = 200000
BOTAfefBoat PokerClientProtocol:handleConnection: type =
POKER_PLAYER_CHIPS(64) serial = 33265883 game_id = 29 bet = 0 money\
 = 200000
BOTAfefBoat PokerExplain:explain: type = POKER_PLAYER_CHIPS(64) serial
= 33265883 game_id = 29 bet = 0 money = 200000
> /usr/lib/python2.4/site-packages/pokernetwork/pokerexplain.py(492)explain()
- -> player = game.getPlayer(packet.serial)
(Pdb) s
- --Call--
> /usr/lib/python2.4/site-packages/pokerengine/pokergame.py(794)getPlayer()
- -> def getPlayer(self, serial):
(Pdb) n
> /usr/lib/python2.4/site-packages/pokerengine/pokergame.py(795)getPlayer()
- -> return self.serial2player.get(serial, None)
(Pdb) p self.serial2player
{}
(Pdb) n
- --Return--
> /usr/lib/python2.4/site-packages/pokerengine/pokergame.py(795)getPlayer()->None
- -> return self.serial2player.get(serial, None)
(Pdb) n
> /usr/lib/python2.4/site-packages/pokernetwork/pokerexplain.py(493)explain()
- -> if player.buy_in_payed:
(Pdb) p player
None
(Pdb) n
AttributeError: "'NoneType' object has no attribute 'buy_in_payed'"
> /usr/lib/python2.4/site-packages/pokernetwork/pokerexplain.py(493)explain()
- -> if player.buy_in_payed:
(Pdb)

Could it be related to bots (wire protocol) not using earthquake
specific external authentification filter  ?
- --
bou ^
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://getfiregpg.org

iD8DBQFIwPWJZmEdV9SHoe4RAvkmAJ9WL8qj6ho19fNU+zs5+Al6eq0tQQCePGgC
YWgvGJxOwBjCAspRKKQrOyQ=
=BQCq
-----END PGP SIGNATURE-----

_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users

Reply via email to