[FIXED] Refresh button

It happens quite often that I’m online around the same time as the friend I’m playing with. We tend to play a few turns quickly after eachother, and we often receive the PYDT email long before the application notices its our turn. It would be nice to be able to hit F5 or a refresh button to force an immediate poll of the server.

Instead of doing that, I’m going to be looking into adding push notifications to the client so it can get notified when a turn is available. Not sure how long that’s going to take, though.

1 Like

That’s even better ofcourse :smile:

I’ve got the ability to send notifications down to the client set up, but I’d like to test it a bit before I send it out to everyone. There’s a beta build available here, just unzip it somewhere and run that instead of your installed PYDT client:

https://s3.amazonaws.com/pydt-temp/pydt-1.1.21-beta.zip

I’ll probably push this to everyone at the end of the week if it seems to be working OK.

awesome, I’m running it now and I’ll ask my friend to do the same so we can try it out.

So far so good, new turns show up instantly and we’ve been playing several turns without any problems! Thanks a bunch for this!

Thanks! It’s working well for me too, but I’ve discovered that by default the AWS IoT MQTT ping is 30 seconds, so it’d be pretty expensive if deployed as is. :slight_smile: I’ve changed the ping to 10 minutes to make it less chatty - I think it still should be fine as long as you’re on a decent internet connection. Here’s a new build with the updated settings:

https://s3.amazonaws.com/pydt-temp/pydt-1.1.21-beta2.zip

OK, 1.1.21 has been deployed, thanks for your help!