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
Griatch
b28d67534b
Temporarily disabling procpool for @batchprocess to fix a traceback when building.
2012-09-26 08:34:54 +02:00
Griatch
a30029472b
Fixes @set to be more accepting of various Python structures. It will now instead convert to string on a ValueError (commonly because a string was not enclosed in quotes) while giving a error string to the user informing of this. This should fix Issue 256.
2012-09-22 22:16:30 +02:00
Griatch
e874343387
Adjusted search() functionality to handle also a list of location(s) to search. Changed "get" command to not search inventory (which could lead to multimatch errors).
2012-09-21 08:36:59 +02:00
Griatch
8ad58a3e19
Merge. Resolves Issue 254. Resolves Issue 255.
2012-09-21 08:17:27 +02:00
Adam_ASE
e748d6d5ae
Addressing original issue 254 - Fixed DROP command multi-match error for similarly or identically
...
named items when one or more of the items are at the location but not in
character's inventory.
2012-09-20 23:50:34 -04:00
Griatch
de3d1f4a22
Minor adjustment to the __contains__ cache of cmdsets.
2012-09-21 00:15:04 +02:00
Griatch
4bd3be334d
Added a warning to @delete command if trying to delete CHARACTER_DEFAULT_HOME (Limbo by default).
2012-09-20 01:42:51 +02:00
Griatch
4c83d3e7a1
Various speed optimizations in various places, following further profiling.
2012-09-20 00:47:28 +02:00
Griatch
83fa9397d5
Added a plugin system for server and portal. This allows for plugging in your own services without having to edit any modules in src/server/. Also made some various cleanups and fixes.
2012-09-18 22:52:33 +02:00
Griatch
ffcf4b3c2f
Added cache-resyncing to ProcPool. This makes sure to update all affected object caches
...
whenever the subprocess returns (this is potentially not good enough for long-running scripts,
will have to ponder that one). Made ProcPool work with MySQL (where it works much better). Tested and fixed many
small bugs.
2012-09-03 01:11:14 +02:00
Griatch
575d7a86fa
Made run_async also handle function calls through the ProcPool.
2012-09-02 16:54:07 +02:00
Griatch
f5a889e40c
Added new process-pool runner based on AMPoule (integrated into Evennia).
...
This allows e.g. utils.utils.run_async to offload long-running functions
to a completely different subprocess entirely, offering real parallelism.
Implementation is still experimental, notably not all objects can be
transferred safely across the wire; also there is no concept of
updating caches yet - so adding an object from the subprocess side
will not be known in the main thread yet (since caches cannot yet tell
the underlying database has changed).
2012-09-02 10:10:22 +02:00
Griatch
dcc7f29a91
OBS: run migrations! This changes the Msg model to work with ManyToManyFields rather than with custom string representations for storing multiple receivers or channels. It also expands the Msg object with a "title" field and various filter options. This should make it easier to implement mail-like operations using the comms system.
2012-08-30 00:05:00 +02:00
Griatch
5117bd2a0a
Minor fixes and reducing some sql calls in various managers.
2012-08-22 16:15:52 +02:00