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
Griatch
7d0ff9c71c
Fixed a database referene bug that would remove ForeignKey referenced objects when reverse referenced through something like db_home (this defaults to CASCADE mode, is now SET_NULL). Also fixed some other minor things.
2014-04-20 15:03:53 +02:00
Griatch
59513e5c00
Fixed player.search() to also move here/me/self wrappers to typeclass.
2014-04-13 10:04:35 +02:00
Griatch
99b73c173c
Moved here/me,self replacement out of dbobj.search and into the typeclass.
2014-04-13 09:07:45 +02:00
Griatch
8046679980
Fixed a missed update to the search functionality that now should use db_tagtype rather than the old and hackish category-prefix solution. Resolves #497 .
2014-04-06 10:21:06 +02:00
Griatch
7571e3606d
Some cleanups of the unittests.
2014-03-15 07:37:02 +01:00
Griatch
96f26098d1
Fixed comm-related unittest failures
2014-03-09 20:23:14 +01:00
Griatch
2108506a8a
Added new IRC protocol implementation. Not tested yet.
2014-03-08 11:41:23 +01:00
Griatch
9770786486
Made addcom aliases case-insensitive. Resolves #428 . Also fixed a bug with channel aliases that made them not work correctly with the new Attribute changes.
2014-02-16 23:29:19 +01:00
Griatch
41087789ce
Made unittesting suite work again.
2014-02-16 22:31:59 +01:00
Griatch
b1e08c7da6
Continuing to clean up and fix bugs around Attribute/Tag
2014-02-16 22:09:35 +01:00
Griatch
bad24513e0
Fixed and corrected various bugs resulting from the change to Attributes/Tags).
2014-02-16 21:27:42 +01:00
Griatch
617d0a3252
Added new handler calls to all typeclassed objects
2014-02-16 15:22:43 +01:00
Griatch
638483fa66
Changed the relative priorities of cmdsets to the following: -100(Empty), -20(Session), -10(Player), 0(Character), 101(Exit), 120(Channel)
2014-02-16 01:38:27 +01:00
Griatch
393a3e5e73
Added check to location setter that makes sure to stop a location-loop forming. This closes #454 .
2014-02-15 21:05:23 +01:00
delizin
c8dcae06ed
Revert to master fork changes
2014-02-09 20:27:16 -05:00
delizin
38090e686f
Fixed bug with how PlayerDB import was handled
2014-02-09 12:27:02 -05:00
delizin
e7de2de63b
Delete char from player list upon obj deletion
2014-02-09 00:00:13 -05:00
delizin
e070617751
Fixed multiword drop bug #442
2014-01-31 22:05:15 -05:00
delizin
6e50d7e357
Fixed multiword drop bug #442
2014-01-31 22:00:31 -05:00
delizin
8de289f5ad
Update objects.py
2014-01-31 13:33:35 -05:00
delizin
967d283507
Update objects.py
...
Removed the following line from at_pre_puppet, because it is repeated in at_post_puppet and results in the message "%s has entered the game" appearing twice.
self.location.msg_contents("%s has entered the game." % self.name, exclude=[self])
2014-01-31 13:32:33 -05: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
942a5aaf9a
Fixes copy command issue as per Issue 452.
2014-01-18 10:16:26 +01: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
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
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
2e2c2fd484
Fixed a bug in run_async. Resolves Issue 407.
2013-11-12 17:37:04 +01:00
Griatch
149b06a6a4
Fixed an issue with exit commands not using arg_regex ending correctly (it turns out you need to include this in the ExitCommand creation call or the metaclass will not pick it up and precompile the regex). Resolves Issue 397.
2013-11-12 00:05:06 +01:00
Griatch
bc8e27fea6
Changed object.search() to include nick-matching by default.
2013-10-21 22:56:03 +02:00
Griatch
3430aa9eae
Fixed bug in delcom.
2013-10-21 22:51:16 +02:00
Griatch
06a0bea8d6
Added fix to object.contents cache as well as reworked the extent of cache hooks on location modification.
2013-10-21 21:17:32 +02:00
Griatch
07af616b67
Adding caching to tags and attribute lookups. Leads to a noticeable speed improvement.
2013-10-20 21:02:37 +02:00
Griatch
4af1b165fd
Fixed an issue where the contents of an object were not updated correctly.
2013-10-20 14:27:19 +02:00
Griatch
a00179b742
Fixed an error in aliasing
2013-10-18 22:31:22 +02:00
Griatch
acdea41a67
Merge from Kelketek's clone. Added fixes to migrations of Tags. Issues with ContentTypes meaning that this revision is not possible to start.
2013-10-17 23:44:52 +02:00
Griatch
f11f330e95
Moved db_player and db_sessid under metaclass wrappers.
2013-09-23 23:10:23 +02:00
Griatch
fd9acd6bf9
Fixed website. Fixing references to db_references, not sure how to add the m2m field access to the admin. Fixed wrapper for db_home.
2013-09-23 22:08:14 +02:00
Griatch
642ae2faf9
Fixed cache and metaclass irregularities as well as the location and contents caches.
2013-09-22 21:48:08 +02:00
Griatch
bbba695380
Changed unittest suite to use dummy sessions.
2013-09-22 16:29:02 +02:00
Griatch
4659ddbfc3
Changed object.msg() to relay directly to connected session rather than via the player.msg() method.
2013-09-22 11:39:24 +02:00
Griatch
2ba16e155e
Fixed a bug in amp that made reloading not work.
2013-09-21 22:00:46 +02:00
Griatch
e36c7d5cc1
Cleaned up worst instability. Test suite does validate yet.
2013-09-21 17:33:48 +02:00
Griatch
4a5de04956
Changed msg() to work with **kwargs rather than data dicts. Still not fully updated the portal side (also remember that keywords let through to the portal must not contain dbobjs, since the portal has no connection to the database).
2013-09-14 09:10:31 +02:00
Griatch
1e96b13920
Changed cmdhandler to include Session-level cmdset.
2013-09-08 00:14:06 +02:00
Griatch
07b1e40299
Changing and testing things with oobhandler, not working yet.
2013-09-07 15:01:41 +02:00