Commit graph

325 commits

Author SHA1 Message Date
Griatch
d6e6c12939 Fixed so refurbished Scripts work normally. Added script.fire() method to fire the script on-demand, as suggested in #420. Also added as method remaining_repeats() to be able to get how many more times the script will fire. 2014-02-14 01:31:09 +01:00
Griatch
64fc8f0b2a Fixed repeat functionality with new Script implementation. 2014-02-13 22:36:52 +01:00
Griatch
bc8ce9f394 Fixed command auto-help strings to make it look better in the cmdhelp wiki page 2014-02-12 15:05:17 +01:00
Griatch
4d85a38260 Made a more consistent cleaning of the _playable_character list to remove stagnant references 2014-02-09 23:32:32 +01:00
Griatch
6feb233670 Fixed display issue in CmdOOCLook if Character was deleted. 2014-02-09 23:25:34 +01:00
delizin
45ebc2c1ad Fixed grammer in a Player.py string 2014-02-02 00:27:51 -05:00
delizin
d136e6a1e2 Fixed bans not being recognized 2014-02-01 19:59:34 -05:00
Griatch
33bbf6274e Fixed player-level commands that were not updated to handle the cmdhandler's dealing with Player/Character separation. 2014-02-01 19:39:07 +01:00
delizin
33f1b41e79 Fixed multiword drop bug #442 2014-01-31 22:01:48 -05:00
delizin
6e50d7e357 Fixed multiword drop bug #442 2014-01-31 22:00:31 -05:00
delizin
38d5cdefa2 Fixed grammar in drop command 2014-01-31 19:09:25 -05:00
delizin
770e4438db Update player.py
Removed the following lines from the @OOC command to prevent the player is leaving the game message from appearing twice:

save location as if we were disconnecting from the game entirely.
        if old_char.location:
            old_char.location.msg_contents("%s has left the game." % old_char.key, exclude=[old_char])
2014-01-31 13:29:33 -05:00
Griatch
5c41adf7d0 Added {-type coding for backgrounds. First removal of mentions of the %c syntax from @color command (%c style syntax is still working though) 2014-01-26 18:46:28 +01:00
Kelketek Rritaa
d69f4dc674 Changed backgrounnd ANSI flag from - to [ 2014-01-26 08:07:58 -06:00
Kelketek Rritaa
09ee3c3f2c Added ANSIString class. Allows a user to work with ANSI-encoded strings more easily. 2014-01-26 07:14:47 -06:00
Griatch
c321ccb332 Made examine command more verbose about the cmdset stack and just which cmdsets go into the currently merged set. This meant a change to merged sets where they store their component sets as a variable "merged_from". 2014-01-20 22:46:30 +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
Kelketek
7b5128d0a9 Fixed issue with @delplayer not working correctly. 2013-12-23 12:59:06 -06: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
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
a56b16db7b Fixed a bug in @find not taking new Tag-based aliases into account. 2013-12-02 10:09:40 +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
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
7f0d0dd0f8 Fixed more errors with quelling as well as some other things with updating permissions in general. Resolves Issue 430. 2013-11-11 22:44:22 +01:00
Griatch
ebdc6cdbd4 Fixed an issue with quell not correctly updating its caches in some situations. 2013-11-11 21:51:41 +01: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
4c650a44a6 Fixed up some channel-related errors and made unittests run again. 2013-10-18 21:01:53 +02:00
Griatch
a1646ec596 Fixed an issue with a CmdClock not being a part of the __all__ module handle (this causes ev.py to fail to import it) 2013-10-18 15:09:03 +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
Kelketek
48bcb9d0ba Useful default typeclass for channels added. Handles poses and provides interfaces for external messages and internal alike. 2013-09-29 13:11:10 -05:00
Kelketek
851e6d00cc Turned comms into typeclassed objects. 2013-09-28 22:23:30 -05:00
Griatch
96c6ad4aff Fixed an issue with channel-sending crashing when ooc. Resolves Issue 429. 2013-09-27 21:31:47 +02:00
Griatch
39b69dcdc2 Fixed a migration issue with PostGreSQL. 2013-09-26 09:01:27 +02:00
Griatch
b99833e8fc Fixed initial_setup to properly create new objects without a pre-set home. 2013-09-24 00:41:33 +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
272a6ddc2d First version where test suite validates. Caching is still not fully active (especially attribute lookup), OOBhandler is untested. 2013-09-22 22:57:03 +02:00
Griatch
8b1afa7043 Fixed errors in attributehandler that affected nicks. Test suite not validating yet. 2013-09-22 22:34:22 +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
0a394929b7 Fixed an issue in idmapper metaclass wrapper, it caused text fields to be occationally be written with objects. 2013-09-22 19:56:51 +02:00
Griatch
bbba695380 Changed unittest suite to use dummy sessions. 2013-09-22 16:29:02 +02:00