Commit graph

647 commits

Author SHA1 Message Date
Griatch
671c541a1c Added more verbose error logging to cmdset loading. 2014-10-22 23:47:59 +02:00
Griatch
8a9e1a9b4b Fixed arg_regex inheritance across child commands. Resolves #601. 2014-10-17 18:28:53 +02:00
Griatch
5b38f27554 Made property assignment go to Typeclass if that property were already defined on typeclass; otherwise relegate to dbobj as before. This fixes issues with property assignments on the Typeclass level. There are no obvious regressions in testing this but it's something to keep an eye out for in case there are any unexpected side effects. 2014-09-30 14:12:58 +02:00
Duarte Cordeiro
9a5256ec12 Changed @about command to reflect new requirements 2014-09-25 15:51:41 +02:00
Duarte Cordeiro
48f145031b Corrected command.msg function to work with the changes introducted with MULTISESSION_MODE=3, e.g. the replacement of session id (int) for a session handler object. 2014-09-25 15:50:41 +02:00
Griatch
f2f6c32d3f Removed cleanups of on-command properties after command conclusion to allow for post-command referencing (e.g. by the lineeditor contrib). Resolves #562. 2014-09-24 15:39:33 +02:00
Griatch
7aa3a5b8ae Changed the examine command to add #dbref information to exits, characters and contents. Resolves #567. 2014-09-20 10:46:03 +02:00
Griatch
062a545a97 Changed at_cmdset_get() hook to at_cmdset_get(**kwargs). This allows for the possibility to control dynamic generation of cmdsets, for example to force Exit cmdsets to be rebuilt. The aliasing command now uses this. Resolves #563. 2014-09-20 10:26:59 +02:00
Griatch
1b44d9b2ed Fixed a bug in the lockhandler error handling. Resolves #564. 2014-09-19 21:15:50 +02:00
Griatch
ca662d0f7a Fixed merge conflict. 2014-09-16 22:39:48 +02:00
Duarte Cordeiro
a8264638a6 Fixed problems with last merge on @find 2014-09-16 18:09:28 +01:00
Duarte Cordeiro
c6580ae953 =Added /exact switch to @find 2014-09-16 10:07:24 +01:00
Griatch
f35b5e2038 Fixed so CmdIRC2chan correctly handles deletion by botname and not just by dbref. Resolves #572. 2014-09-15 23:37:35 +02:00
Griatch
6f25ac913b Made further changes to the find command as per #573 and #574, making alias-query aware of low-high dbref limits and changed room/exit/char filters to use inherits_from instead of dumbly assuming e.g. a room being an object with no location. Also restructured the code a little. 2014-09-15 21:05:35 +02:00
Duarte Cordeiro
5e020bb43d Fixes issues #573 and #574 2014-09-15 16:55:58 +01:00
Duarte Cordeiro
6799106333 Fixes issue #579 2014-09-15 14:50:19 +01:00
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