Re: [Twisted-Python] [inheritance] Hello
Thanks. I was able to telnet in to port 8888, user Damien, password admin and start mucking around the mud.
The web server works from lynx but not from IE, it doesn't seem to be accepting the session variable.
I tried the 'twistd -f game.spl -t 4040' but it was rejected at the command line.
Right now I'm trying to figure out how it connects the telnet session to the mud. It looks to be through
telnetServer = plumbing.Spigot(reality._default, selector)
Are there any more resources, other than the code and api doc to look for some simpler examples?
Chris Armstrong firstname.lastname@example.org wrote ..
You're going to want to run 'gnusto build_map game.rpl out.py' 'mkrealityserver game.rpl game.spl' 'twistd -f game.spl'
This will start a number of services, one of them being a telnet server on port 8888. telnet in and log in with your username and password. twistd will also start an experimental web server interface on port 8080, and a gloop server on 8889 (for faucets like gtkfaucet, jfaucet, and tkfaucet).
If you would like to have an 'administration' interface through telnet, call twistd with this instead: 'twistd -f game.spl -t 4040'. That will start a telnet server on port 4040 as well, which you can telnet to (username 'admin' password 'admin') and execute arbitrary Python statements. This is a great way to learn about TPy. You'll want to import __main__ at first, and use dir() a lot. :)
On Tue, Jun 19, 2001 at 01:35:49PM -0400, email@example.com wrote:
My name is Kevin Smith, I'm new to the list. I've been playing around
with TwistedMatrix and it looks pretty powerful.
I was wondering if there is a way to telnet into inheritance?
So far I've only figured out how to run it directly.
Thanks in advance for your help.
-- Chris Armstrong firstname.lastname@example.org http://twistedmatrix.com/~carmstro email@example.com
Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python