The release of the Dragon Go Server software version 1.0.15 thoroughly broke dgsmonX because DGS no longer accepts unauthenticated game checks via
quick_status.php. While working on a fix for this I happened to notice that
quick_status.php accepts user ID and password as arguments. A corresponding URL looks like this:
This is great news because it makes the fix much easier to implement, not the least because
At first I had thought that for logging in dgsmonX would have to go through
login.php, which would have meant - cookies! I had already started to code around this issue (stuff like temporarily stashing away an existing login cookie and restoring it after the dgsmonX game state check), but without much hope to get it to work reliably. Fortunately I can now scrap all this.
And what is the lesson learned? Not sure... maybe this: Stop coding when it starts to look complicated, think, then go look whether there is a simpler API.