Commit graph

631 commits

Author SHA1 Message Date
Duarte Cordeiro
8ba1509559 Fixed typo in @color ansi help text for newline.
Replaced {\ for {/
2014-09-12 11:35:13 +01:00
Griatch
a749f0c5ca Made unloggedin help reflect the avilability of the encoding command also at this stage. 2014-09-10 08:58:21 +02:00
lu yijun
dbbacb4bb3 This fixes issue #569 2014-09-07 02:22:12 +08:00
Griatch
079e98884f Minor change in when the give command triggers the move_to. 2014-09-01 11:36:36 +02:00
Griatch
b9f4c6de3a cmdgive didn't use move_to which meant that hooks were not called. Fixed. 2014-09-01 11:08:25 +02:00
Griatch
18a0606de6 Added quiet keyword to at_search_result handler. Resolves #559. 2014-08-31 09:13:08 +02:00
Griatch
6304e7a068 Fixed errors when disconnecting from channels. Resolves #560. 2014-08-31 08:56:28 +02:00
Griatch
58502b42df Fixed an erroneous help entry for the create command, referring to the wrong default typeclass path. 2014-08-31 08:42:02 +02:00
Griatch
545804dffe Added ability to abort the command chain by returning a true value from cmd.at_pre_cmd(). 2014-08-26 09:09:55 +02:00
Griatch
58f6c05964 Change testing keyword to _testing in cmdhandler 2014-08-24 10:55:02 +02:00
Griatch
a88afabd60 Added **kwargs to cmdhandler and execute_cmd() methods, to set arbitrary flags on commands at run-time. Unused by default Evennia but may be useful to codedly change operation parameters on commands at run-time. 2014-08-24 09:43:55 +02:00
Griatch
699a6ded43 Fixed annoying traceback bug (the 'e' bug) that masked errors in importing malformed command modules. 2014-08-19 10:20:26 +02:00
Griatch
dbc46a372c Made charcreate not force a desc on new characters if the description is already set (such as in the typeclass). 2014-08-10 00:01:46 +02:00
Griatch
f25d512c30 Fixed bug in @userpassword that still used old 'user' field to look up the password. 2014-08-09 18:17:03 +02:00
Griatch
ecc2b11747 Fixed bug in CmdExamine for multisession_mode=3. Resolves #544. 2014-08-07 22:12:44 +02:00
Griatch
306ce17022 Fixed some lingering uses of sessid as a non-handler. 2014-08-05 09:16:00 +02:00
Griatch
55cbe615e9 Tested all multisession modes against unittests. Seems to work. 2014-08-04 17:09:16 +02:00
Griatch
1ffbc4b9f3 Implemented a first working version of MULTISESSION_MODE=3 2014-08-04 15:58:51 +02:00
Griatch
1e41be797b Run migrations! First version of MULTISESSION_MODE=3. @ic/@ooc not working yet. 2014-08-04 15:32:48 +02:00
Griatch
3819c97b06 Some cleanup and changing to conform to PEP8 standard. 2014-07-10 20:29:16 +02:00
Griatch
364b156456 Merge branch 'dev' of https://github.com/n0q/evennia into n0q-dev 2014-07-10 20:12:48 +02:00
n0q
5b6ab697b0 Update unloggedin.py 2014-07-08 00:03:07 -04:00
n0q
485844a150 Added newline to end of file 2014-07-07 23:41:20 -04:00
n0q
f6b3535021 Fixed settings_default.py compliance
Guests are enabled and disabled with GUEST_ENABLED.
2014-07-07 23:34:07 -04:00
Griatch
52eef63a84 Added ban-check also before unloggedin player/character creation. Resolves #536. 2014-07-07 22:31:19 +02:00
Griatch
4ae65c98fb Made say command color-consistent with pose. Resolves #538. 2014-07-07 22:10:08 +02:00
n0q
a8f9c4034e Porting changes to latest master
Ported my changes to commands/default/player.py to latest evennia/evenna
2014-07-06 17:11:26 -04:00
n0q
b9661c5c96 Guest Functionality
Allows for guest logins by entering 'connect guest' at the login screen.
Cleans up after itself but does not yet clean up stale guests from a
system crash.
2014-07-06 16:46:02 -04:00
Griatch
88efc50054 Fixed outbut listing bug in @set. 2014-07-06 16:08:29 +02:00
Griatch
e6950aadf2 Changed how lazy-loading of handlers work, using a werkzeug recipe. Much more efficient now. 2014-07-06 13:10:03 +02:00
Griatch
169d0a78f8 Made WHO display Player info, not Character info to un-privileged users, and give more info to privileged users. Resolves #518. 2014-07-01 20:30:35 +02:00
Griatch
b9c8c1695c Finalized the spawner API and made the @spawn command also take prototypes directly, e.g. @spawn GOBLIN. 2014-07-01 19:39:12 +02:00
Griatch
221d56fecd Made the spawner more streamlined, and allowed the @spawn command to access prototypes in a file specified by the optional PROTOTYPE_MODULES setting. 2014-07-01 04:04:54 +02:00
Griatch
6eafe65076 Implemented src.utils.spawner along with a test command @spawn. This allows for spawning individualized objects based on a prototype dictionary rather than having to make a new Typeclass for small changes. Allows for setting basid properties as well as Attributes and NAttributes. Supports prototype multiple inheritance (see header of src/utils/spawner.py) 2014-07-01 02:14:48 +02:00
Griatch
d05c92792c Some cleanup and making unittests succeed again 2014-07-01 01:10:44 +02:00
Griatch
115587aa1b Fixed a bug with creating Player from admin. It is hard to add permissions (these are Tags with a special subsetting). This makes the admin not very useful for creating players at the moment. 2014-06-30 00:53:30 +02:00
Griatch
39def4efa9 Made cmdsethandler report syntax-errors in a more informative way. 2014-06-29 21:58:30 +02:00
n0q
b092d29989 Fixed page command to properly repage
Page command was attempting to first page players, then repage players,
then repage chracaters, then fail. Should reliably repage players, now.
Does not permit paging characters.
2014-06-28 18:27:58 +02:00
Griatch
53b204bb76 Fixed code to pass unittests. Change script's is_valid method to correctly catch if it is checked on an object which is already deleted, as per #509. 2014-06-15 13:19:38 +02:00
Griatch
3a6a8d5c48 Made objects clear more handlers on deletion, also scramble some methods and all database access wrappers to avoid an object memory instance being accessed after it has been deleted. See #509. 2014-06-15 12:27:48 +02:00
Griatch
c776a2da18 Changed batchprocessor regex matching to not rely on python2.7 feature. 2014-06-12 23:25:49 +02:00
Griatch
f2c75bd0f6 Added periodic idmapper cache size check along with conditional flush mechanism. Ran a lot of tests and stress tests to get statistics on usage. 2014-05-18 18:28:10 +02:00
Griatch
f49f33d40d Made more work around memory profiling, added a small Script and display program for logging memory usage 2014-05-18 10:54:04 +02:00
Griatch
58af67bdf2 Fixed flush protection for instances, memory is successfully made available on an idmapper flush now. 2014-05-17 14:38:43 +02:00
Griatch
4b8ed234fd Added /flushmem switch to the server command to incur the idmapper flushing. 2014-05-15 23:08:21 +02:00
Griatch
cfd2f111f1 Updating to make unittests work 2014-05-11 19:41:37 +02:00
Griatch
f3af089aac Some cleanup of the server command. 2014-05-11 19:03:45 +02:00
Griatch
9bfb829274 Implemented WeakSharedMemoryModel for Attributes. 2014-05-11 15:23:11 +02:00
Griatch
e11b242365 Continued with weakref and lazyloading fixes. 2014-05-11 01:05:59 +02:00
Griatch
dc2cce5f4f Fixed the Command CmdExample class. 2014-05-10 19:57:59 +02:00