Commit graph

4407 commits

Author SHA1 Message Date
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
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
974c20efc7 Sort command list via @list commands. 2007-05-16 18:22:49 +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
e1f4c2e0da @cdestroy now implemented as per MUX. 2007-05-15 14:30:52 +00:00
Greg Taylor
725b1b2ac0 Adding a check to prevent duplicate channel names. 2007-05-15 14:18:56 +00:00
Greg Taylor
463197470e Feexed. 2007-05-11 15:43:55 +00:00
Greg Taylor
44701530dc Indenting fixes, still need to finish on commands_comsys, will pick it up later unless someone beats me to it. 2007-05-11 15:43:06 +00:00