Commit graph

805 commits

Author SHA1 Message Date
Griatch
f3addf9cf9 Shuffled migration id numbers around to account for changes in trunk. 2013-02-03 17:21:12 +01:00
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
c0d634fe8c Added "typeclass" as a shortcut variable name of __getattribute__. This allows for obj.typeclass to always cleanly return typeclass regardless of if obj is already a typeclass or is a database object. I.e. the same functionality of using obj.dbobj to always get the database object. 2013-02-03 00:23:58 +01:00
Griatch
7ba0683d9d Added migrations for the new sessid and multiple-character-related fields along with some bugfixes. 2013-02-02 23:25:46 +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
b50266623e Merge. 2013-02-01 22:04:18 +01:00
Griatch
8b5938ddd0 Non-working intermediary commit. 2013-02-01 22:03:55 +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
41859d9e46 Added the ability for the IRC bot to parse /me emotes from the IRC channel. 2013-01-30 15:14:30 +01:00
Griatch
261454ff0a First steps towards a full account system (multiple Character with one Player); added the Player-level methods. 2013-01-26 21:20:31 +01: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
lagos
e12ad67ee4 Correctly flushes entire SharedMemoryModel class hierarchy. 2013-01-11 01:14:28 -08:00
Griatch
ea545d7ff3 Added the ability to deactivate local caching, by use of the settings.GAME_CACHE_TYPE variable. A temporary solution for working with multiple processes. Will also be useful for debugging and profiling. 2013-01-09 19:43:46 +01:00
Griatch
15feb915e6 Fixing a missing report. 2013-01-08 09:45:59 +01:00
Griatch
45bf38679f Moving a check for the connect channel, probably resolving a weird django error appearing in postgreSQL. Related to Issue 341. 2013-01-08 09:44:13 +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
5ef92b6bf8 Some cleanups, properly marking the OOB stuff as WIP still. OOB is progressing but not yet functional or in its final form. 2013-01-07 15:47:41 +01:00
Griatch
0ac2a58428 Removed Deprecated "Fast Assignment" attribute operators. 2013-01-04 11:19:58 +01:00
Griatch
58c010ef46 Some further work on the OOBhandler mechanism. 2013-01-04 10:35:29 +01:00
Griatch
b0b0fa7983 First, untested version of the OOBhandler mechanism. 2013-01-03 09:18:49 +01:00
Griatch
90a64a3780 Fixed a bug in external_connections. 2012-12-13 22:46:18 +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
0ced5287f4 Some more minor fixes. 2012-12-12 01:18:49 +01:00
Griatch
a1a2c99d1e Fixed a traceback if logging out from the unloggedin screen. 2012-12-11 23:30:30 +01:00
Griatch
f2e971b392 Have Msg access methods return typeclasses where appropriate instead of dbobjs, to make it more straightforward to compare things. Resolves Issue 329. 2012-12-08 20:45:52 +01:00
Griatch
1643427fa3 Added at_set hook for Attributes. This is a first step towards OOB definition. 2012-12-08 20:26:44 +01:00
Griatch
d42949b324 Fixed up Tutorial world, which also led to weeding out a host of smaller things. Resolves Issue 216. Resolves Issue 335. Tutorial should now again be possible to complete. :) 2012-12-08 20:13:54 +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
8f4f123230 Fixed a lingering call to the old caching scheme by swap_typeclass method. Resolves Issue 332. 2012-11-13 21:34:42 +01:00
Griatch
28c625c12c Re-activated connect-channel again, called from hooks. Fixed some bugs and minor things to give more control over how messages sent to channels are handled. 2012-11-13 21:24:05 +01:00
Griatch
d55bee8905 Fixed a type - get_attribute_cache() should be get_attr_cache() 2012-11-09 23:17:10 +01:00
Griatch
8654d8cc48 Further migrated script caches to the central cache location, removing old cruft. 2012-11-08 19:29:57 +01:00
Griatch
98d0eb7869 Added __delitem__ support to PackedDict/List, allowing for things like in-place "del obj.db.dict[key]". 2012-11-08 19:16:21 +01:00
Griatch
e4382e3e8a Fixed a regression in has_attribute caused by changing the location of caches. Resolves Issue 328. 2012-11-07 20:22:46 +01:00
Griatch
82e57d4ada Fixed an API inconsistency in Attribute's PackedList/PackedDict. Resolves Issue 326. 2012-11-07 18:44:12 +01:00
Griatch
9f6e3de637 Various cleanups and fixes found during refurbishing the unittest framework (not pushed yet) 2012-11-05 00:55:25 +01:00
Griatch
6c20987d9a Added header as keyword to the utils.create.create_message function 2012-11-04 17:39:06 +01:00