On Mon, Jul 28, 2008 at 6:51 PM, Loic Dachary <[EMAIL PROTECTED]> wrote: > > I've noticed that the sound, for example, is played when the player > widget is created, regardless. If the table is resumed with 5 players, > it will beep like crazy and that's annoying. I guess there are other > areas where the player functions are dependent on the context. Other > than this, I don't see why it would not work. > > I'm not sure if it would be best to: > > 1) create the widgets > 2) when BatchMode arrives, keep a flag > 3) packets arriving while the flag is set are ignored by the widget > 4) when StreamMode arrives, trigger a redisplay and reset the flag to > resume packet handling as they show > > or: > > 1) not create the widgets > 2) create the widghets when StreamMode is received > > What do you think ? >
The second one sound simpler, jpoker.plugins.player.create could check server.table[game_id].players[serial] and init child widgets from there ? Sound fesable, don't you think ? -- bou ^ _______________________________________________ Pokersource-users mailing list [email protected] https://mail.gna.org/listinfo/pokersource-users
