the telnet app sits in the middle, augmented by the surrounding web
page. I also have the applet <-> web page communication bit working
so that the web page can be notified for HIPS messages and vice versa.
In this first cut, the current sector, as parsed from the command
line, is sent from TWX Proxy -> Java Telnet app -> HTML status panel.
Since the Java bit is only the center telnet app, the rest is built
using plain HTML, CSS, and JavaScript, making it very easy to
customize even for each player.
You'll notice at the top there are the buttons that execute scripts.
I'm thinking I'll add incoming HIPS support to TWX Proxy, then with
the namespace "twxproxy", allow direct script execution commands like:
twxproxy.runScript={
"name":"1_Port.ts",
"dest":444,
"runs":20
}
Of course, that will mean the scripts will have to be able to accept
named arguments directly, so we'll see how that'll work. The fallback
is to just script the key strokes, but I'd like to avoid that as the
direct approach is cleaner and more flexible.
Don
Don
Choose game A, and the username and password is "bob".
At this point, the applet is connecting to the front-end proxy, but
that proxy isn't embedding twxproxy yet, so all connections share the
same twxproxy instance.
Don