This is an old revision of the document!
At first you have to activate the http daemon in the bot. You can do this via the command “http”. You have to tell the http-daemon on which port it listens. If you have an unprivileged account you have to use a port > 1024. I think port 8080 is a good choice:
http 8080
You will receive a message if the startup of the http-daemon was successful and some informations for using it:
Example -> http://127.0.0.1:8080/3f4cf1150adc6b71426094369353f8b6?
You can now start a browser (Firefox for example) and enter the following url:
http://127.0.0.1:8080/3f4cf1150adc6b71426094369353f8b6?uptime
The bot will answer with:
uptime:
OK: The Bot is running since 28.11.2013 12:13:19 - this is an uptime of 00:01:43.1093750
It works!
Now you can try different commands and if you know the ip of your host, you can initiate commands from another system.
Important:
You have to escape some characters to make them work:
Dollar “$” → %24
Ampersand ”&” → %26
Plus ”+” → %2B
Comma ”,” → %2C
Slash ”/” → %2F
Colon ”:” → %3A
Semi-colon ”;” → %3B
Equals ”=” → %3D
Question mark ”?” → %3F
At-Symbol ”@” → %40
Backslash “\” → %5C
Hint:
If you like to use a Newline in your text, please use the following sequence: %2Fn%2Fr
Now you can connect to the telnet-daemon via Start/Execute:
telnet localhost 8001
The use of a special “Mud-Client” is recommended, i prefer:
http://www.dforces.net/client/
Or alternative download-source:
http://www.yshare.de/index.php?h=e2282c2e7eb830fccce212403e41f31d
I recommend this settings for the DF-Client (search for them in the configuration-menu):
Hostname: localhost bzw. richtiger Hostname
Port: 8001
Connection type: MUD
Terminal/Implicit CR in every LF: On
Window/Lines of scrollback: 5000
Window/Translation: UTF-8
Connection/Seconds between keepalives: 30
Save your setup in a session for easier access!