Greg Taylor
|
115a420cee
|
The default front webpage now has some good examples on how to add in custom functionality. You'll obviously want to customize this for your game, but it'll be a good start.
|
2007-06-12 02:35:37 +00:00 |
|
Greg Taylor
|
6015aca8db
|
Fix for issue 29, duplicate session removal no longer results in the loss of the CONNECTED flag.
|
2007-06-11 15:42:47 +00:00 |
|
Greg Taylor
|
418ab7e30f
|
Update last_login on disconnect too.
|
2007-06-06 14:06:25 +00:00 |
|
Greg Taylor
|
e2cc754441
|
Lots of goodies in this one. More work on the default web front page, a few extra utility functions for functions_db as well. Some cleanup in the session code to use some of the new abstraction I added a while back. Player's last login time is now also set on the User object. Issue 28: Forward slashes causing crashes, found by Kuros, fixed by me.
|
2007-06-06 13:38:13 +00:00 |
|
Greg Taylor
|
0e9732d49c
|
Big re-organization of command functions. Introduced the commands directory to hold command modules. This will make it easier to sub-divide stuff as we pile on more commands, and for dropping in new optional command modules.
|
2007-05-29 03:32:48 +00:00 |
|
Greg Taylor
|
e7f8b901ce
|
Connection recovery is now in. You can only have one session active per account. This is just the safest and cleanest way to do things. Also made some misc. other changes that will probably go unnoticed.
|
2007-05-25 15:02:16 +00:00 |
|
Greg Taylor
|
5384bed052
|
More graceful handling of session creation/destruction.
|
2007-05-25 13:55:38 +00:00 |
|
Greg Taylor
|
152271132d
|
Make get_session_list() default to not returning sessions that aren't logged in.
|
2007-05-25 13:45:20 +00:00 |
|
Greg Taylor
|
c7f32f904d
|
Lots of re-arranging of the comsys and near completion of comsys player commands. I'm going to halt further progres on this long enough for me to take a second look at my code and re-factor some things, then go on to work on some of the lesser-used commands. New in this revision: on, off, last, who for channels (pub who, etc.). Make sure you nuke all of your comsys-related tables and re-sync.
|
2007-05-25 03:24:23 +00:00 |
|
Greg Taylor
|
b47d0d2b07
|
Use Twisted's logging facilities.
|
2007-05-24 03:36:58 +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
|
97cf1213e6
|
Converted to Twisted from asyncore. Not positive if this is just my local machine, but it seems like this backend is a bit faster.
|
2007-05-21 20:52:05 +00:00 |
|
Greg Taylor
|
f6311dd41e
|
Gah, one of these days I'll remember to completely fix both sides of things. No longer showing object's dbref on disconnect either.
|
2007-05-18 14:25:31 +00:00 |
|
Greg Taylor
|
2a46879ad2
|
Set a the player's LAST and LASTSITE attributes on connect as per MUX.
|
2007-05-18 13:36:39 +00:00 |
|
Greg Taylor
|
c067154cd4
|
Quick fix for channel list retrival.
|
2007-05-16 20:04:03 +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
|
17bbc4c3b3
|
Crash fix for what might be timing out sessions at the login prompt.
|
2007-05-16 18:25:44 +00:00 |
|
Greg Taylor
|
5e0cb06221
|
Use cPickle instead of pickle for a small performance boost.
|
2007-05-15 17:30:45 +00:00 |
|
Greg Taylor
|
c7452e5a88
|
Finished up addcom/delcom. Added comlist. Fixed @list commands (still needs to sort by command name eventually).
|
2007-05-15 17:28:23 +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
|
50b17b3626
|
Changing the user login command to use the player's email address instead of username. Also Require quotes around the username with the character creation command regardless of whether it's two words or one.
|
2007-04-03 15:17:46 +00:00 |
|
Greg Taylor
|
5421ab7f6e
|
Re-organization.
|
2007-04-03 13:42:51 +00:00 |
|