if (cmd == client_do_termtype):
sockinfo = get_socket_info(sock)
if (("DO TERMTYPE" in sockinfo) or ("DONT TERMTYPE" in sockinfo)):
log_string("WARNING: duplicate request outside of normal negotiation (IAC DO TERMTYPE)")
else:
add_socket_info(sock.uid, "DO TERMTYPE")
if (cmd == client_dont_termtype):
sockinfo = get_socket_info(sock)
if (("DO TERMTYPE" in sockinfo) or ("DONT TERMTYPE" in sockinfo)):
log_string("WARNING: duplicate request outside of normal negotiation (IAC DO TERMTYPE)")
else:
add_socket_info(sock.uid, "DONT TERMTYPE")
I've gotten the following modules to /socketmud/nakedmud/snippets, in no particular order:
Persistent, Quest, Dialog, Currency, Act, Webserver, Affects, Object Bonus, MSSP Support, Consumables, and Stats, all by Geoff Hollis and from his site (http://homepages.uc.edu/~hollisgf/nakedm...) The autorun script has been in NM for a few versions, so I thought it would be redundant to include. The bulletin and shell modules are already in there.
A simple backup script by Tyler Laing aka Drakkonite from the Yahoo groups site. He has also on there "extras.zip" which is supposed to show how to add extra worn spots, however I get errors about the file not being able to be read and couldn't download it.
MD5Crypt by Patrick M. Nielsen aka thirsteh from the Yahoo groups site which is a package to change the normal crypt() with md5 passwords.
Automatic Python OLC by Stendec from the Yahoo groups site, which allows editing instance information etc.
Skills code and Currency/bank system code from Hera of Athens also on the Yahoo groups site. There was a version on the snippets section already for the bank/currency code but it was of a different version.
I also added Stendec's modified version of NakedMud v 3.8.1 with TELOPTs support to /socketmud/nakedmud.
Hopefully that's okay to do. The licensing seems to suggest that it is fine as long as you give credit; so be sure you do if you use them!
I'll disentangle some of my own code and put it up there when I have the inclination. I want to put my own TELOPTs thing there because, frankly, I feel it will offer more than Stendec's does, but I still need to implement a few things before I feel "safe" releasing it, specifically I need to tighten it up to follow RFC 1143 which is currently a problem for me; MushClient gets its self locked in a loop since neither the server nor it is currently adherent.
Maya/Rudha