Commit graph

345 commits

Author SHA1 Message Date
Griatch
67c4896a53 More refactoring of the unittest system 2014-03-15 08:03:44 +01: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
1a65d12b2c Fixed a bug in strip_ansi that caused issues all over. 2014-03-09 20:23:14 +01:00
Griatch
ef8755581c optimized ansi parsing a bit as well as did some general cleanup. 2014-03-09 20:22:48 +01:00
Griatch
460392f495 Some implementations of EvTable. Probably needs to add a crop-function to evtable. 2014-03-08 11:42:35 +01:00
Griatch
97991a2238 Implemented RSS feed reader along with updated rss2chan command. 2014-03-08 11:42:35 +01:00
Griatch
f126d30b36 More cleanup of irc bot code, including having it cleanly disconnect from irc channel when destroyed. 2014-03-08 11:41:24 +01:00
Griatch
7bde8afe66 Added maxwidth argument to evtable, for restricting upper width of table, but allowing it to resize if narrower. 2014-03-08 11:41:24 +01:00
Griatch
0d071ec75f Updating the irc2chan command 2014-03-08 11:41:24 +01:00
Griatch
6c45d76b56 Made irc bot connect, but scripthandler lookup is causing traceback when searching for a player) 2014-03-08 11:41:24 +01:00
Griatch
8b52591c2f Run Migrations. Added player field to script model in order to allow Players to be scripted in the same way Objects can. 2014-03-08 11:41:23 +01:00
Griatch
75ef743297 Made a first version of command IRC2Chan, server starts but no more testing yet. 2014-03-08 11:41:23 +01:00
Griatch
2b1cb1c6ce Run migrations. Migrated channels to use m2m field rather than the ChannelPlayerConnection model. 2014-03-08 11:41:23 +01:00
Griatch
e2130cd3e8 Fixes the searching by category. Resolves #488. 2014-02-18 16:42:54 +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
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
471e1bbf9b Added --version option to evennia.py program call. 2014-02-15 18:11:27 +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
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