Commit graph

620 commits

Author SHA1 Message Date
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
Griatch
3be02c8f03 Added settings.CMDSET_PATHS to allow to give cmdsets without the full path. 2014-05-10 19:51:46 +02:00
Griatch
63c099c22f Various fixes and debugging of weak-ref changes 2014-05-10 19:38:23 +02:00
Griatch
0030530021 Added weak reverse references from all handlers. 2014-05-10 17:12:49 +02:00
Griatch
4e3789cede Added lazy-loading of on-model handlers. 2014-05-10 13:31:50 +02:00
Griatch
0cae40f41a Made DEFALT_HOME a fallback for a missing START_LOCATION in unloggedin-create. 2014-04-26 05:47:23 +02:00
Griatch
033552cd04 Made unittests validate again. 2014-04-21 16:40:14 +02:00
Griatch
8ad2c18524 Cleaned up some batchprocessor error handling. 2014-04-21 10:37:51 +02:00
Griatch
3848a789a7 Changed lockhandler.add/replace to use LockExceptions instead of log_obj, which should also work more flexibly for handling lock errors for players. Resolves #410. 2014-04-21 00:24:33 +02:00
Griatch
e45160a12b Changed some defaults of EvTable. Made EvTable handle clist command. Resolves #426. 2014-04-20 23:45:19 +02:00
Griatch
0dc62a5fc9 Refactored batch processors, addressing points in #489. 2014-04-20 23:06:10 +02:00
Griatch
91b23f58a4 Removed CHARACTER_DEFAULT_HOME, replaced with DEFAULT_HOME and added START_LOCATION for determining where default commands dump new characters. 2014-04-20 15:56:38 +02:00