RocketMUD-0.3.zip
snippets · 18.2 KB · 2010-03-30
RocketMUD 0.3: a Ruby port of SocketMUD.
Download « Back to the snippets list
RocketMUD-0.3/README
RocketMud version 0.3 This is a ruby version of Brian Graversen's SocketMUD(tm). It should run on any platform that Ruby runs on. It's been minimally re-architected to be more object-oriented. RocketMUD has pretty much the same feature set of SocketMUD with the exception of MCCP support. I didn't see any point in bothering with it. * Supports 'say', 'quit', 'help', 'who', 'linkdead', 'shutdown', 'commands' and 'save' commands. * Supports ansi - see help ansi for details * Event scheduling system * Any help file changes are automatically detected and loaded. * Code is reloaded by the tick event so there is no need for a copyover command. This is rather simple and crude and if you mess up the code and it can't be loaded you just might have to kill and restart the server. * Player files are stored in YAML format instead of the Dikulike format. There is just a single player file, .yml, not a .pfile and .profile. The server is run with the command: $ ruby rocket.rb & The default port is 9009. You can change the constant MUDPORT in the code to use a different one. An administrative user is supplied with the name, 'One' and the password is 'potrzebie'. To build the html documentation run the following rake task: $ rake rdoc
Archive contents (15 files)
| File | Size |
|---|---|
| RocketMUD-0.3/constants.rb | 1.3 KB |
| RocketMUD-0.3/event.rb | 7.6 KB |
| RocketMUD-0.3/help/ANSI | 429 B |
| RocketMUD-0.3/help/CREDITS | 145 B |
| RocketMUD-0.3/help/GREETING | 876 B |
| RocketMUD-0.3/help/MOTD | 160 B |
| RocketMUD-0.3/help.rb | 2.1 KB |
| RocketMUD-0.3/log/README | 13 B |
| RocketMUD-0.3/mobile.rb | 4.4 KB |
| RocketMUD-0.3/players/One.yml | 68 B |
| RocketMUD-0.3/Rakefile | 861 B |
| RocketMUD-0.3/README | 1.2 KB |
| RocketMUD-0.3/rocket.rb | 7.4 KB |
| RocketMUD-0.3/sockdesc.rb | 13.0 KB |
| RocketMUD-0.3/utils.rb | 4.1 KB |