It was my pop-up blocker causing the problem. Once I told the blocker to allow pop-ups on the site, the game started working correctly.
Nice!! Oops, sorry just got too excited. Heh.
Will you have to upload your games to the IFDB server etc. Or will this be a package that can be downloaded and run on your own server?
You can run it on your own server.
Is there any rough ETA on when us lowly avg developers might be able to give this a whirl?
I’m with you! Let’s get it out there as a beta. If there are bugs, there are bugs and that’s fine. That’s why it’s a beta. But relatively frequent updates that people can use are a better way to keep a community engaged, I think.
The updated compiler and adv3web libraries are available in the FrobTADS repository, so you could try them out now if you have access to a Linux system.
(A few minor changes are required to build under OS X; I went through that process today and need to clean it up into a patch.)
The PHP scripts that allow you to redirect a static URL to a game session running on a random port are still unreleased, along with the storage server bits. These are required for hosting a game on your own public server, but you can still do testing without them.
Sorry about that. I lost a hard disk recently in which I stored all my virtual machines (OS X included) and didn’t re-create the whole setup yet. Feel free to send patches anyway. At some point I’ll be up to speed again.
Not to worry; Mike’s name was on the file (osnetunix.h) so I figured it was his fault.
I’ve emailed the patch to you both.
I created a WebUI version of Jim Aikin’s and Eric Eve’s “Mrs. Pepper’s Nasty Secret”. It can be played here:
The server is in Greece, and I’d like to know how it feels like latency-wise when playing from anywhere that isn’t Europe.
(Btw, since I’m just testing the stuff right now, the above URL is not going to be there forever, so if you link to it, the link will probably go dead at some point.)
If you have compiled FrobTADS on your own and have built your TADS games with WebUI support (this post explains how to do that), then you can upload your *.t3 file somewhere and play it online by using a link of this form:
Getting about 3 seconds of lag for each command, here in Seattle.
That’s much worse than I expected
Here’s the ping for reference:
C:\Documents and Settings\george\My Documents>ping foss.aegean.gr Pinging eloris.math.aegean.gr [220.127.116.11] with 32 bytes of data: Reply from 18.104.22.168: bytes=32 time=368ms TTL=41 Reply from 22.214.171.124: bytes=32 time=358ms TTL=41 Reply from 126.96.36.199: bytes=32 time=392ms TTL=41 Reply from 188.8.131.52: bytes=32 time=312ms TTL=41 Ping statistics for 184.108.40.206: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 312ms, Maximum = 392ms, Average = 357ms
I can see how that can add up to 3s per command, since multiple transfers need to happen. With each one taking over 300ms, that quickly adds up.
Fortunately, IFDB will use a cloud infrastructure to dispatch players to different game servers. Taking ping times (or maybe geolocation information) into account will probably be a good idea.
Two to three seconds in Northern California.
Saving and restoring a game file seems to work.
Found a bug:
In the hint menu (which is now a separate pop-up window with a fairly ugly blue banner), the curly quotes are not showing up properly. Instead, we get “’” (see below) for an apostrophe. This is presumably because the menu text is no longer being routed through the output text filter.
Here in Manila, it’s around 4 to 6 seconds before I get a response.
Here’s my own ping test:
[code]Pinging eloris.math.aegean.gr [220.127.116.11] with 32 bytes of data:
Reply from 18.104.22.168: bytes=32 time=411ms TTL=41
Reply from 22.214.171.124: bytes=32 time=404ms TTL=41
Reply from 126.96.36.199: bytes=32 time=445ms TTL=41
Reply from 188.8.131.52: bytes=32 time=472ms TTL=41
Ping statistics for 184.108.40.206:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 404ms, Maximum = 472ms, Average = 433ms[/code]BTW, will there be anything like this for, uh, TADS 2 users too?
No. You already can play T2 games on the web with Jetty, but I don’t know if that’ll get folded into IFDB. Worth suggesting.