Greg Taylor
|
9e5c297faa
|
Don't return the ansi-fied version of the Object's name on its __str__() method as this is used in the admin interface and makes nasty looking garbage appear.
|
2007-05-18 14:07:57 +00:00 |
|
Greg Taylor
|
9221f889e3
|
Attribute names are no longer case-sensitive, as per MUX/MUSH. Also added LAST and LASTSITE to the protected attribute list.
|
2007-05-18 13:39:57 +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
|
2fc06adcfa
|
Adding the first bit of permissions checking as an example. See cmd_who and the Object class's user_has_perm method for examples. We'll need to start fleshing this stuff out before adding many more new commands. For existing games, remove your auth_permissions table and re-sync your DB.
|
2007-05-09 15:53:53 +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
|
32fa9e419a
|
Committing the first draft of the comm channel and channel message classes.
|
2007-05-08 15:06:48 +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
|
7012960a70
|
Remove get_ansiname() by condensing functionality into get_name(). Removed session debug statements I had in for testing.
|
2007-04-26 20:32:56 +00:00 |
|
Greg Taylor
|
0fc89247aa
|
No longer need to distribute a database file. Each user will run their syncdb script and start with a clean slate. Updated installation instructions in README.
|
2007-04-25 19:39:15 +00:00 |
|
Greg Taylor
|
3292405fcb
|
Adding initial data via Django's syncdb facility. We will no longer distribute a SQLite DB in the near future in favor of this cross-platform alternative. Also in this commit is a crash fix for @dig with SQLite.
|
2007-04-25 14:47:33 +00:00 |
|
Greg Taylor
|
9e587bd4e3
|
Important update: Fixed two crash bugs in attribute getting/setting. Less importantly, the money value shown in 'inventory' now pluralizes properly.
|
2007-04-23 15:22:40 +00:00 |
|
Greg Taylor
|
5421ab7f6e
|
Re-organization.
|
2007-04-03 13:42:51 +00:00 |
|