Commit graph

544 commits

Author SHA1 Message Date
Griatch
bad24513e0 Fixed and corrected various bugs resulting from the change to Attributes/Tags). 2014-02-16 21:27:42 +01:00
Griatch
630d31cac4 First working version of new Attribute/Tag categories 2014-02-16 18:24:56 +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
6ea4125ef1 Removed func_parts looping from cmdhandler - it didn't work as expected, as shown in #438. Instead reworked utils.delay() to implement the same functionality explicitly. 2014-02-15 23:33:19 +01:00
Griatch
471e1bbf9b Added --version option to evennia.py program call. 2014-02-15 18:11:27 +01:00
Griatch
e3d1866b0f Fixed unicode-decode error if sending a non-ascii character from a non-UTF-8 terminal. 2014-02-15 15:51:22 +01:00
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
2db2141b90 Fixed a case of _EmptyCmdSet being named just EmptyCmdSet in call. 2014-01-18 22:12:23 +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
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
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
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
efa6d85574 Added cmdset caching to cmdhandler. 2013-10-20 13:42:56 +02:00
Griatch
4c650a44a6 Fixed up some channel-related errors and made unittests run again. 2013-10-18 21:01:53 +02:00
Griatch
55423f6a2f Fixed a ZeroDivionError by adjusting what is returned by aliashandler.all() when no aliases are given ([] instead of ['']). Also made sure src.utils.stringsuggestions() don't crash in such a situation. 2013-10-18 16:15:51 +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