Commit graph

2866 commits

Author SHA1 Message Date
Greg Taylor
f7d58f16ae Possible MySQL fix. 2007-05-27 20:45:40 +00:00
Greg Taylor
972604f156 Add -f to the mv for evennia.log. This is a stupid little commit for me to test forwarding commit messages to the Google group. 2007-05-27 16:59:41 +00:00
Greg Taylor
62ed2560e4 Fix for @desc target validation. 2007-05-27 16:47:18 +00:00
Greg Taylor
5d066a7839 @description? wtf was I thinking? It's supposed to be @describe. Fixing. Existing games will need to update their alias lists. 2007-05-27 16:43:16 +00:00
Michael King
b821bf77f0 Initial skeleton (pass) for cmd_alias 2007-05-25 20:13:43 +00:00
Greg Taylor
7f42ff445f We definitely need the fix from the branch to the attribute deletion method, but we'll keep the existing @wipe implementation. Sorry for the confusion. 2007-05-25 18:24:24 +00:00
Michael King
d2115991f8 * Merged in wipe-command branch into trunk (mking) 2007-05-25 17:31:29 +00:00
Greg Taylor
e94601dd7b Fix to paging with aliases. 2007-05-25 15:06:22 +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
f57ef16912 Function optimization. 2007-05-25 14:27:40 +00:00
Greg Taylor
e91b584219 More attribute-related fixes from our db restructuring. 2007-05-25 14:18:07 +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
cd79aa6a8f Fixing character creaction bug. 2007-05-25 13:32:08 +00:00
Greg Taylor
5d75db95ed I guess we should probably limit channel history messages returned. TODO: Move this to a server config directive. 2007-05-25 13:15:59 +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
49b6a0ba57 Minor fix to accomodate some database re-organization. 2007-05-25 00:21:08 +00:00
Greg Taylor
51301d3e3b Start moving log files again. 2007-05-24 23:46:14 +00:00
Greg Taylor
e1dbdba951 We don't really need a members field on the channel object. 2007-05-24 20:20:00 +00:00
Greg Taylor
485204e979 Create a Public channel by default, make a channel's name and ansi_name the same thing on initial creation. 2007-05-24 19:53:36 +00:00
Greg Taylor
bfafdbf9c9 Adding @stats. We're just going to assume the equivalent of /all on MUX since it's a lot more informative. 2007-05-24 18:33:02 +00:00
Greg Taylor
bb0ff9f6ff Implement @wipe as per MUX. NOTE: THIS REVISION REQUIRES YOU TO RE-SYNC YOUR objects_attribute TABLE. The best way to do this is to drop your attribute table and your comsys tables, then re-sync via syncdb. This was needed due to some conflicts in namespace that I didn't want to get around with disorganized work-arounds. 2007-05-24 17:44:17 +00:00
Greg Taylor
9457e19787 logs/evennia.log is now writing once more. Also fixed a stupid indentation error. 2007-05-24 14:49:05 +00:00
Greg Taylor
b6c869b076 Abstraction of generic player object searches, as should've been case from the beginning. Bad me for letting this get out of hand! In any case, this eliminated a lot of code and makes pretty much all of the commands that interact with objects a lot neater, readable, and consistent. 2007-05-24 14:22:11 +00:00
Greg Taylor
b47d0d2b07 Use Twisted's logging facilities. 2007-05-24 03:36:58 +00:00
Greg Taylor
f9f24f6616 Don't return attribute matches if said attribute is in the hidden attribute list. 2007-05-24 03:22:11 +00:00
Greg Taylor
39b640e948 Add the ability to examine obj/attr with wildcards. 2007-05-24 02:58:59 +00:00
Greg Taylor
88dcdc95eb Some documentation fixups that I noticed off-hand. 2007-05-23 19:52:55 +00:00
Greg Taylor
a523f845d1 One-liner nitpick. 2007-05-23 19:40:21 +00:00
Greg Taylor
3ecb46f958 Added @ps to show events and the next time they're going to fire. 2007-05-23 19:19:20 +00:00
Greg Taylor
53b111f4ae Shiny new event system that uses Twisted's task stuff. This one is a good bit more flexible and semantically correct. More to come on this soon. 2007-05-23 19:00:37 +00:00
Greg Taylor
7d78cbcf4b Adding wildcard_to_regexp() to functions_general and cleaning up some imports. 2007-05-23 17:51:31 +00:00
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
928a5a29d6 Fix a problem with @cemit permissions. 2007-05-22 23:53:05 +00:00
Greg Taylor
52c986dff7 Whoops. 2007-05-22 15:49:29 +00:00
Greg Taylor
f69313f950 Clear up handling of 'me' and 'here'. 2007-05-22 15:41:28 +00:00
Greg Taylor
1a996bbf7e Added a HIDDEN_ATTRIBS list to defines_global.py containing a list of attributes that shouldn't show up on examined objects. 2007-05-22 15:22:25 +00:00
Greg Taylor
59518c440c We're now in shape that I'd consider Alpha-quality rather than pre-alpha. Admins can now actually start building grids without fear of people doing bad stuff, and for the most part the codebase should hold up. 2007-05-22 15:14: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
9746382614 Fixing a flag on twistd. As an addendum to the last commit, there is a big speed improvement, it wasn't just imagined. Check it out on the public test server at evennia.com port 4000. 2007-05-21 20:53: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
82f46a2b69 Minor doc clarification. 2007-05-18 15:39:27 +00:00
Greg Taylor
5ee9f0d577 It's time to take care of the legal mumbo jumbo. We're going with a Modified Clarified Artistic License. Basically, you've got free reign of the software as long as you make any of the changes to the source you make publicly available. 2007-05-18 15:36:28 +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
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
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
756ac8dfe1 More case-sensitivity stuff. Also remove player's dbref from first connection welcome message. 2007-05-18 13:44:21 +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
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