Not sure if I understand the problem, however pgn4web by default stops polling the live games file once all games are finished. Makes sense for a real life tournament, with one round per day and several games in parallel. For a computer demo you might want to change the behaviour to continue polling the live games file endlessly. This is easily done, but requires a more recent version of pgn4web than the one you are using. With the latest pgn4web, changingRebel wrote:Paolo, maybe you can help me with the last glitch before I make the applet public. If you go to 1 of the 4 live channels then you will notice that often (usually with draws) the script refuses to go to the next game.
Code: Select all
SetLiveBroadcast(0.01, false, false, false, false);
Code: Select all
SetLiveBroadcast(0.01, false, false, false, true);
Also, there's another way to solve the problem: instead of setting the 5th parameter to true, you could add a dummy live game at the end of the pgn file, ensuring that the clients will keep polling for new data; this has the advantage that, once the event is over you stop adding the dummy live game and the clients will stop bothering your server. As a dummy live game, it's enough to add at the bottom of the pgn file this line:
Code: Select all
[Result "*"] *