Greg Taylor
|
8335f8b80f
|
Fixing exit traversal. Was trying to be too careful for my own good in the command handler.
|
2007-05-23 01:49:19 +00:00 |
|
Greg Taylor
|
204ef6d4c5
|
Big commit. We now have a respectable command table with built in permission checking. I've commented this pretty well, so see cmdtable.py and cmdhandler.py for more details. There is also some assorted cleanup and an unrelated fix or two resulting from the new Twisted back-end. Note that for the permissions, you will eventually be able to override the codebase's permissions via the web interface for each command.
|
2007-05-22 15:11:56 +00:00 |
|
Greg Taylor
|
531fbbacaa
|
Fixing @open to be a bit more robust. Also handle exit name matching a lot more gracefully.
|
2007-05-18 15:20:24 +00:00 |
|
Greg Taylor
|
107bd6d71a
|
Implemented channel communication. You may now addcom/delcom and talk over channels. See @clist for master channel list, and comlist for your personal list. Still tons of work and cleanup to do, but it's in functional in its simplest form.
|
2007-05-16 20:01:54 +00:00 |
|
Greg Taylor
|
ac32ab05c1
|
Finally caved in and created a command table. It's just going to get too messy with @-commands doing straight module lookups, plus the dict is probably a little faster. Feel free to start moving non-privved @-commands to commands_general and vice-versa since we now have the ability to do so.
|
2007-05-11 15:23:27 +00:00 |
|
Greg Taylor
|
f1dd985294
|
Added idle timeout code to help combat the screwed up session situation. Some admins would've wanted this eventually, but it'll help until I figure out how to close dead sessions that look like they're still alive. Added a new server config directive, idle_timeout. If the value is non-zero, the idle timeout is the respective number of seconds between commands. Also, the IDLE command will save you from idle timeouts but won't modify your publicly visible idle time.
|
2007-05-09 15:28:12 +00:00 |
|
Greg Taylor
|
a1bc2375ef
|
Finish up single-character aliases for pose, say, and pose/nospace.
|
2007-04-30 19:49:30 +00:00 |
|
Greg Taylor
|
4fd5a20e2c
|
Added a @reload command to reload most of the modules. This currently only seems to work for the stuff outside of the apps directory, and doesn't include the server, session_mgr, or events modules, as they have variables in them that we can't have reset. So basically, changes to the functions_ and commands_ modules can be applied with @reload, but little else. Hopefully this will improve with time. Also fixed a bug with @name'ing players but not updating their account's username to reflect it.
|
2007-04-30 17:51:55 +00:00 |
|
Greg Taylor
|
81b1797144
|
Finished moving error trapping to cmdhandler.py. No need to do any exception handling on a per-command basis anymore.
|
2007-04-30 14:33:22 +00:00 |
|
Greg Taylor
|
98e9175582
|
Addition of a player_search() function in functions_db. This first searches for alias matches (exact, no case-sensitivity). If it finds none, it does a normal local_and_global_search() limited by object type PLAYER. Also did some more code cleanup and commenting.
|
2007-04-30 14:21:48 +00:00 |
|
Greg Taylor
|
5421ab7f6e
|
Re-organization.
|
2007-04-03 13:42:51 +00:00 |
|