Commit graph

493 commits

Author SHA1 Message Date
Griatch
b26c3ab872 Fixed bugs and allowed for logging in using one character. Added a simple command for creating a new character. 2013-02-03 17:00:46 +01:00
Griatch
f1767251c6 Can now log in to a character selection screen. Lots more testing required before one-char-per-session works. 2013-02-03 00:25:06 +01:00
Griatch
00584365ae Added sessids to command objects and changed how the "login"-hooks are called. Those will probably have to be changed to better names, at least for characters. 2013-02-02 22:41:56 +01:00
Griatch
231af4a351 Continued work on multi-char-per-account. Added a new default login point. Still need to add sessid to commands. 2013-02-02 15:55:42 +01:00
Griatch
11d1114f61 Some minor cleanups. 2013-02-01 21:51:38 +01:00
Griatch
88f327ba40 Merge. 2013-02-01 21:51:13 +01:00
Stephen Hansen
230e12d8b6 Fix to @py to a) print value of expressions, and b) print duration when requested for evals 2013-02-01 12:29:40 -08:00
Griatch
f734e9511c Handle the case of doing aliases=<string> instead of aliases=[<string>] in create_object - this caused the malformed data to be stored in cache and causing tracebacks in cmdhandler until @reloaded. 2013-02-01 21:03:03 +01:00
Griatch
8eefc5d9f9 Fixed a bug in @del dbref lookup. 2013-02-01 20:00:17 +01:00
Griatch
d1125c65dc Fixed a formatting error viewing single-string aliases of objects with the examine command. 2013-02-01 19:27:45 +01:00
Stephen Hansen
5cfff771f2 Initial support for pypy + evennia 2013-01-31 14:34:52 -08:00
Griatch
91281e6bb8 Fixed an error in @delete that caused ranges of dbrefs not work non-locally. Based on patch supplied in Issue 344 (thanks!). 2013-01-20 17:23:31 +01:00
Griatch
e8d93dedbe Added a /time switch to the @py command, after idea by JoshBenner over IRC. This optionally outputs the execution time for a given input. 2013-01-11 16:46:04 +01:00
Griatch
f8514bb0f1 Added a little more info about the player needing the right permissions to @puppet, not the character. Resolves Issue 340. 2013-01-07 18:35:36 +01:00
Griatch
58c010ef46 Some further work on the OOBhandler mechanism. 2013-01-04 10:35:29 +01:00
Griatch
6e46158946 Fixed an arg_regex in the examine command - it was disabling switches 2012-12-12 23:21:22 +01:00
Griatch
d14b014611 Fixed the auto-subscription to channels by non-superusers. Resolves Issue 336. Removed a spurious print statement in the unloggedin create command. 2012-12-12 22:57:03 +01:00
Griatch
c615693a2a Added a give command to the default command set. As part of this also fixed some bugs in how object typeclasses were compared. 2012-12-08 17:11:22 +01:00
Griatch
949da47917 Removed some old and now confusing, unsused variables and added some documenting strings. 2012-12-08 15:39:09 +01:00
Griatch
030c245b5b Fixed a bug in examine when listing more than one cmdset. 2012-12-08 14:17:11 +01:00
Griatch
c0302f7cff Added global_dbref argument to caller.search, for allowing e.g. the examine command to view globally by dbref yet local-only if supplying a name. Resolves Issue 327. 2012-12-08 14:09:42 +01:00
Griatch
d55bee8905 Fixed a type - get_attribute_cache() should be get_attr_cache() 2012-11-09 23:17:10 +01:00
Griatch
8966f03713 Merge. Reworked the added Command.__ne__ operator a bit for a tiny speed optimization (it's after all one of the most called methods in Evennia). 2012-11-03 19:21:19 +01:00
lagos
b1f4d9ceaa Adds a __ne__ operator to Command. This is necessary for CmdSet.remove() to behave as expected. 2012-11-02 15:08:59 -07:00
Griatch
d2d9953f94 Cache changes: Moved all caches (except idmapper) to central caching module. This makes it easier to overview cache memory usage (and clean it) as well as plug-in external cache mechanisms. 2012-11-01 11:20:07 +01:00
Griatch
20d6de5104 Made a better check for cleaning module names, should resolve Issue 319. 2012-10-28 14:38:17 +01:00
Griatch
ee7a175bf4 Fixed a bug in telnet protocol that stripped wrong characters at the end. Resolves Issue 318. 2012-10-28 10:37:14 +01:00
lagos
024aff8563 Changes the way that command sets are duplicated in a merge to be sure class
attributes are propagated.
2012-10-26 20:24:21 -07:00
Griatch
ec46465656 Implemented ansi-colour backgrounds in webclient. Added a new @color command for displaying colour spaces. Also changed a number of other features outlined in Issue 309. 2012-10-24 21:41:07 +02:00
Griatch
6a1f66d759 Fixed a bug in examine when examining Players. 2012-10-23 23:08:43 +02:00
Griatch
9abc25c53e Made @py cmd-echo verbatim. Resolves Issue 310. 2012-10-23 22:34:56 +02:00
Griatch
ce036e07f3 Added the ability of obj.move_to to accept a None location with a keyword to_none. Also changed the @tel command to accept a /tonone switch for putting things' location to None. Resolves Issue 307. 2012-10-23 22:31:51 +02:00
Griatch
fc4d7c92f9 Cleaned up the drop-command's error messages somewhat. 2012-10-23 20:39:59 +02:00
Griatch
3f01ab8006 Some minor fixes to the default @py output and also some more info to the extended_room contrib. 2012-10-20 21:04:00 +02:00
Griatch
54a92ffd8c Added checks to avoid the "ErrorCmdset" from being saved permanently in the database in some particular circumstances. 2012-10-20 09:47:02 +02:00
Griatch
0cf3b42e14 Removed a hard-coded "nicks" alias from CmdNicks for easier overloading. Use nick/list to get the same functionality (or overload func to add it again). Resolves Issue 291. 2012-10-14 16:42:04 +02:00
Griatch
b5dd21864d Changed help category to be displayed with title() instead of with capitalize(). Resolves Issue 289. 2012-10-14 16:34:59 +02:00
Griatch
4dff822764 Fixed bug in @batchcommand (Resolves Issue 287). Also updated @dig to again handle deleting ranges of dbrefs (with or without # in front). 2012-10-14 16:24:21 +02:00
Griatch
86a44ab84d Made sure the cmd-classes for 'home' and '@home' were differently named, which messed up their appearance in ev. Resolves Issue 285. 2012-10-14 16:03:02 +02:00
Griatch
d80daccb70 lockhandler.get() returned on the wrong format. Now returns the lockstring as the API specifies. Resolves Issue 282. 2012-10-14 12:39:59 +02:00
Griatch
532cbc5fb6 Changed initial look command (at login) to be called from at_post_login hook instead of from the default connect command, supposedly making it easier for those only wanting to change this one line rather than having to re-target connect. The player.at_post_login now also calls look in case no character is defined, for the cases when logging in without having a character selected. Resolves Issue 277. 2012-10-14 12:28:01 +02:00
Griatch
97973dd5f9 Fixed erroneous global_search keyword in a few places in the code due to the API having changed. Resolves issue 276. 2012-10-14 12:06:42 +02:00
Griatch
a8dcfff248 Fixing the strange edge-case of trying to define a command with the same alias being defined multiple times or aliases being the same as the command key. This is now excluded at the Command metaclass level. 2012-09-29 10:52:31 +02:00
Griatch
f95198fbdb Merge commit. Resolvs Issue 273. 2012-09-29 10:05:59 +02:00
lagos
359ffdd28f Modifies cmdparser to not apply case-sensitive match filtering if it eliminate all results. 2012-09-29 00:34:52 -07:00
Adam_ASE
28912a4c99 CmdUnconnectedCreate() in unloggedin.py was setting default character descriptions after character hooks and so overwriting attempts to set desc elsewhere. Added check to see if new_player.db.desc is already set. 2012-09-28 23:41:07 -04:00
Griatch
14cc2e0f97 Removed global search for setting @aliases. Resolves Issue 264. 2012-09-27 22:23:05 +02:00
Griatch
59ccd3eb38 Fixed a bug in exact search pattern matching. 2012-09-27 21:29:01 +02:00
Griatch
60e3f5f172 Fix to @set reducing errors during building using strings without using quotes. 2012-09-27 21:02:43 +02:00
Griatch
0b102bb07b Fixed @batchcommand access, automatically disabling procpool under SQLite3. 2012-09-27 20:51:06 +02:00