Looking forward implementing tournament details refresh in jpoker, it
seems that proper refresh only occur when packet.game_id you received
match packet.game_id you sent.
i.e:
- if you send:
PACKET_POKER_TOURNEY_REQUEST_PLAYERS_LIST with game_id = 42
- jpoker will call your handler if it receives:
PACKET_TOURNEY_PLAYERS_LIST with game_id = 42
However looking at the server side code in pokerservice.py:
def tourneyPlayersList(self, tourney_serial):
...
return PacketPokerTourneyPlayersList(serial = tourney_serial,
players = players)
It seems that PACKET_TOURNEY_PLAYERS_LIST.game_id is always 0 and that
only PACKET_TOURNEY_PLAYERS_LIST.serial is set
The following tentative patch should correct this issue:
http://pastebin.com/d2d5a0f62
I also spotted the following refresh bug on http://pokersource.eu/:
- Go to http://pokersource.eu
- Login
- Click on Tables
- The tableList doesn't refresh
Work in progress regarding tournaments details and registration is
available here: http://jpoker.aminche.com/hg/jpoker-tourneys/
For now, only the test cases pass, and integration in the tiddlywiki
doesn't refresh correctly, I believe this may be related to the server
side limitation, and the client bug described above.
Today discussions log with #pokersource developers will be available
here tomorrow:
http://pokersource.info/irc/
--
bou ^
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users