Commit graph

1319 commits

Author SHA1 Message Date
Griatch
1cabcae771 Fixed a mis-call in create_object. 2014-01-19 00:19:31 +01:00
Griatch
f48fd8fa2c Changed how dep-messages were placed for the new access hooks. 2014-01-19 00:09:10 +01:00
Griatch
87f3093dac Deprecation warning: Added combined hook at_access(result, accessing_obj, access_type, **kwargs) to Objects and Players. This hook replaces at_access_failure and at_access_success, which are now both DEPRECATED and will be removed later. 2014-01-18 23:56:07 +01:00
Griatch
aef7ccec8d Added an explicit conversion when adding the default home value in create_object; also made the error more explicit. 2014-01-18 23:02:15 +01:00
Griatch
64fd3580a3 Added the possibility to use #dbrefs as arguments to ev.create_object (e.g. for home and location). If a non-existing #dbref is given, a DoesNotExist error will be raised. 2014-01-18 22:53:30 +01:00
Griatch
2db2141b90 Fixed a case of _EmptyCmdSet being named just EmptyCmdSet in call. 2014-01-18 22:12:23 +01:00
Griatch
942a5aaf9a Fixes copy command issue as per Issue 452. 2014-01-18 10:16:26 +01:00
Griatch
9dcfddbf59 Reverted non-finished ANSIClass changes for now (best to handle those away from main branch). Resolves Issue 451. 2014-01-09 01:31:42 +01:00
Griatch
904dc77c80 Made some functionality fixes to @emit. 2014-01-08 08:47:28 +01:00
Griatch
6a1d645c75 Fixed @perm to correctly handle *name and also to be more informative. This fixes Issue 450. 2014-01-04 17:36:04 +01:00
Griatch
ea7e43c746 Updated gametime module to work on-the-fly, based on patches and discussion with user Khandrish. Also made cleanups to @scripts command and some small bug fixes. 2014-01-04 17:14:51 +01:00
Griatch
48bfc7e54a Made Empty cmdsets have priority -100, also changed their key from "Empty" to _EMPTY_CMDSET to make it clearer this is a special name. See also discussion in Issue 447. 2014-01-04 13:24:07 +01:00
Griatch
acbfa57240 Merge. Resolves Issue 448. Resolves Issue 444. Resolves Issue 443. Resolves Issue 445. 2014-01-04 11:26:32 +01:00
Kelketek
5ae4995f0f Some naming tweaks. 2014-01-02 09:12:40 -06:00
Khandrish
d7ba49e01e non-breaking; finer grained control over game time 2014-01-02 00:12:33 -08:00
Khandrish
0a5597bb0b gametime script now allows for modification of interval via settings file 2014-01-01 18:06:01 -08:00
Kelketek
f8f592af75 Added transformation-type string methods to ANSIString. 2014-01-01 14:25:26 -06:00
Kelketek
b9d333180a Several more methods added to ANSIString. Existing ones from init moved out to bind properly. 2013-12-31 22:18:13 -06:00
Kelketek
63761f66ec ANSIString in progress. Checking in what I have so far. 2013-12-31 08:37:42 -06:00
Kelketek
81c57da56b Made search_object slightly less picky about db fields, per #445 2013-12-23 14:12:09 -06:00
Kelketek
56601d0bbc Fixed issue #448, which prevented searching for objects with a specific attribute name. 2013-12-23 13:55:33 -06:00
Kelketek
46a7e891d1 Fixed issue where object aliases were not being included in searches. 2013-12-23 13:38:40 -06:00
Kelketek
7b5128d0a9 Fixed issue with @delplayer not working correctly. 2013-12-23 12:59:06 -06:00
Griatch
7c90c3234c Removed a IPv6 restriction in portal, based on input from user 'jayvee' in chat. 2013-12-11 13:56:16 +01:00
Griatch
f1e156a299 Some minor tweaks to remove some debug logging. 2013-12-09 09:18:55 +01:00
Griatch
81ce6a1827 Fixed silly bug in previous commit. 2013-12-09 09:13:51 +01:00
Griatch
8b462b4934 Moved import in portal.py to after the manual path insert (Windows only), which possibly increase Windows compatability. 2013-12-08 23:54:03 +01:00
Griatch
3aeec1298a Added category support to @tag command; also fixed some bugs. 2013-12-02 16:39:21 +01:00
Griatch
88d103b55f Added @tag command for easily manipulating tags. Fixed some bugs at the same time. 2013-12-02 15:40:02 +01:00
Griatch
6d06ab5338 Added tag search methods to utils.search. Fixed bug in ev.py. 2013-12-02 14:07:38 +01:00
Griatch
6e5de7847a Run migrations! Changed "Comm" typeclass to be called "Channel" to match the ChannelDB it is a typeclass for. The migration updates all old channel defaults to the new path. 2013-12-02 13:45:48 +01:00
Griatch
72bdc3b37f Created wrappers for creating Tags. 2013-12-02 13:00:14 +01:00
Griatch
f4c9c18a66 Removed a left-over debug output. 2013-12-02 12:31:20 +01:00
Griatch
0f7c8bb4b1 Cleaned up and added more features to the dependency checker. 2013-12-02 11:56:56 +01:00
Griatch
d76ebfcffa Upped the requirement checks as per the release notes. 2013-12-02 11:22:03 +01:00
Griatch
a56b16db7b Fixed a bug in @find not taking new Tag-based aliases into account. 2013-12-02 10:09:40 +01:00
Griatch
1ba54202e8 Fixed a @reload bug caused by last-minute OOB addition. 2013-11-30 08:15:23 +01:00
Griatch
c356267497 Merge from development clone. 2013-11-28 16:46:16 +01:00
Griatch
242a0f17f8 Cleaned up oobhandler input. 2013-11-28 16:26:04 +01:00
Griatch
9839e0ba1f Fixed bugs in scripts starting and with multiple aliases getting a malformed tag category. 2013-11-28 14:11:18 +01:00
Griatch
24aa626a61 Made unittests pass. 2013-11-27 20:37:03 +01:00
Griatch
e9e2c78eef Refactored amp.py to more cleanly splitting long AMP messages also during server sync (this could cause errors with a large number of connected players). Also fixed an issue with the lockstring get:all() being set by @create despite it not needing to (overloading changes in the typeclass). 2013-11-27 16:57:41 +01:00
Griatch
512f4e5063 Fixed an issue with @create re-adding a get:all() lock. 2013-11-27 12:05:06 +01:00
Griatch
1ae17bcbe4 PEP8 cleanup of the entire codebase. Unchanged are many cases of too-long lines, partly because of the rewrite they would require but also because splitting many lines up would make the code harder to read. Also the third-party libraries (idmapper, prettytable etc) were not cleaned. 2013-11-14 19:31:17 +01:00
Griatch
30b7d2a405 Made changes to examine command (to also display SessionCmdSet) and also made some more fixes. 2013-11-12 21:39:15 +01:00
Griatch
0ea57f33a9 Made it so system cmdsets (_exitcmdset and _channelcmdset for example) don't replace the name of other cmdsets in a merger. These "invisible" cmdsets caused confusion for the key_mergetype dictionary (which should e.g. ignore the DefaultCharacter set instead of replace it, but since the system cmdsets were merged in, the DefaultCharacter set is no longer named that when it's time to merge in the new set). The fix ignores name replacing if the merging set has a key starting with _. 2013-11-12 20:51:26 +01:00
Griatch
769e2a8744 Fix of a typo in previous commit. 2013-11-12 20:23:44 +01:00
Griatch
d2448c3eb6 Fixed so nick cmdline/channelname replacement worked with the new execute_cmd paradigm. Also, Resolves Issue 427. 2013-11-12 20:11:36 +01:00
Griatch
8f914196f4 Removed caching of Attribute values, since this caused problems when storing and deleting database objects. There is an overhead from unpickling every call; hopefully not too bad (and if it is, one needs to use strvalue storage instead). 2013-11-12 19:32:24 +01:00
Griatch
2e2c2fd484 Fixed a bug in run_async. Resolves Issue 407. 2013-11-12 17:37:04 +01:00