Commit graph

3275 commits

Author SHA1 Message Date
Griatch
3c9b58f460 First version of working alternative attribute caching system. 2016-09-03 20:03:43 +02:00
Griatch
14aa12bd01 Started exploring a different caching scheme for Attributes as per issues #1034 and #1033. 2016-09-03 20:03:43 +02:00
Griatch
f6286accea Make chardelete work also if switching ic/ooc state. Made the same fix to evmenu itself. Resolves #1035. 2016-09-03 15:47:14 +02:00
Griatch
af8e54c027 Fix player/char reference in evmore, also fixed a calling bug in evmore.msg using the wrong kwarg. 2016-09-03 12:10:57 +02:00
Griatch
9856ac735d Remove the use of the python executable when calling twistd.exe in the windows twistd batch file. Interestingly, running python on a Windows executable (as opposed to a python script file) works fine for some (Win7?) while causing errors of a non-recognized file type for others (Win10?). 2016-09-02 23:14:14 +02:00
Griatch
57923bdbc7 Fix an install error in Windows due to the Twisted Windows executable changing name from twistd.py to twistd.exe. 2016-09-02 22:10:04 +02:00
Griatch
c64f64973c Update the google style link. 2016-09-02 18:28:49 +02:00
Griatch
086beb1c26 Remove non-functional retval from utils.delay, making it a straight wrapper for twisted.reactor.callLater. 2016-09-02 17:17:50 +02:00
Griatch
5b60eef635 Properly remove pause state data when restartig a script. 2016-09-02 15:02:20 +02:00
Griatch
756d4be4bc Fix missing rotate argument for deque-attriutes, actually commit unittest updates. 2016-09-02 14:32:42 +02:00
Griatch
4f1515fc72 Fix unittests and changed all of rpsystem to use |-type color markers. 2016-09-02 00:26:18 +02:00
Griatch
690bc82862 Fix lingering bug with rpsystem process_sdesc. Also added a new method process_recog for processing recogs separately (defaults to just calling process_sdesc). Also made the rpsystem say command use the get_display_name for its self-name display. 2016-09-02 00:13:59 +02:00
Griatch
f883c9d087 Fix so process_sdesc is called with the correct obj. 2016-09-01 23:39:23 +02:00
Griatch
7e451951fa Fix an error when giving an invalid channel name to delcom. Resolves #1032. 2016-09-01 17:30:06 +02:00
Griatch
9d00f1ddfd Fix a wrongly called variable in ticherhandler. 2016-09-01 16:55:49 +02:00
Griatch
949aeee806 Update docstring: Better describes the limits of the callables possible to use with TickerHandler. 2016-09-01 15:14:53 +02:00
Griatch
c8909b4b67 Fix bug in contrib.rpsystem's emote multimatch display. 2016-08-31 23:43:49 +02:00
Griatch
164a28308c Make contrib.rpsystem's recogs protected from empty strings in the same way as sdescs 2016-08-31 23:24:47 +02:00
Griatch
6730e990b2 Make sure rpsystem sdescs can not be set to the empty string, and if it is, use obj.key. Resolves #1030. 2016-08-31 23:19:13 +02:00
Tehom
b9ea41e713 Added unicode to list of permitted types for db_value in AttributeAdmin. 2016-08-31 22:47:16 +02:00
Griatch
88b217c0b8 Add support for collections.OrderedDict and collections.deque to Attribute serializer mechanism. Also some cleanups in dbserializer. 2016-08-31 22:45:57 +02:00
Griatch
80befa96b6 Added an /update switch and a corresponding update command to the typeclass switch system, this allows to soft-update a typeclass and re-run only its at_object_creation, which seems to be the most common use-case. 2016-08-31 21:02:15 +02:00
Griatch
6e89c708d2 Add the /object switch to examine to allow one to search for Objects when OOC. Also updated player.search() to account for this functionality. 2016-08-31 20:27:40 +02:00
Griatch
e66020f369 Fix an error when there are many same-named characters/objects to puppet with ic. 2016-08-31 17:43:19 +02:00
Griatch
00881c3bbe Make _SaverList properly handle index/remove operations. Resolves #1027. 2016-08-31 14:45:56 +02:00
Griatch
873e6faa52 Fixed a non-updating timeslot when assigning to the general description of ExtendedRoom. 2016-08-29 21:25:14 +02:00
Griatch
46ac4d3928 Add chardelete command to ooc menu for MULTISESSION_MODEs > 1. Also strip the result string from get_input helper to get rid of the carriage return always sent due to the user committing the command string. 2016-08-28 23:15:46 +02:00
Griatch
d3c2e5de9d Remove a traceback when logging in to a previously deleted character. 2016-08-28 22:33:49 +02:00
Griatch
23d87c297a Fix bug in rpsystem.CmdSay 2016-08-28 21:02:34 +02:00
Griatch
f89b4857ae Add a custom CmdSay to rpsystem contrib, to handle sdescs. 2016-08-28 20:43:33 +02:00
andrei-pmbcn
97412b4169 Fixed the bug that prevented restarting a script more than once after unpausing. Resolves #1023. 2016-08-28 19:37:32 +02:00
Griatch
6fbdc88a27 Fix webclient ANSI background handling. Made bright ANSI backgrounds visible in color command. Resolves #1001. 2016-08-28 19:31:19 +02:00
Griatch
4e9c8aecec Fix webclient to handle changed xterm256 formula correctly. 2016-08-28 17:52:24 +02:00
Griatch
668029e82e Changed xterm256 formatting to work with Potato. Also added Potato as a TTYPE exception since the client doesn't report itself correctly. 2016-08-28 16:36:44 +02:00
Griatch
9ec875f29c Add justify(text,width,align,indent) function to utils. Supports full-,left-,right- and center justification of text to any width. It also has an option to add left-side indentation to the text block. 2016-08-26 01:04:23 +02:00
Griatch
ecb7d6fcc5 Change utils.wrap() to indent on all lines, not only the lines following the first. If someone remembers why this default was set, do report it. 2016-08-25 18:36:21 +02:00
Griatch
83f67ac2c4 Minor display fix in the admin. 2016-08-25 12:03:12 +02:00
Griatch
5835a84e20 Fixed unittests. 2016-08-24 23:49:24 +02:00
Griatch
7285cab2db Refactor batchcode processor to be more stable. Did multiple clean-ups. Implements #939. Fixes #909. Fixes #937. 2016-08-24 23:44:29 +02:00
Griatch
6c34cb40ed Update pypath_to_abspath to make batchfile file lookups much more reliable. This is done as part of the batchprocess refactor #939. 2016-08-24 20:37:11 +02:00
Griatch
faa3dca2d0 Make the 'exec' prototype key only usable for Immortals from the command line. Also fixes a bug in the check_permission method that made it not honor quelling. 2016-08-21 23:59:56 +02:00
Griatch
89568b5277 Add 'exec' argument to spawner prototype for running arbitrary code as part of object creation. Make all prototype keys also settable with a callable. 2016-08-21 23:03:42 +02:00
Griatch
49087b50d1 Allow multi-character keys for EvForm cells and tables. This was due to a too restrictive regex. Resolves #1014. 2016-08-20 11:41:53 +02:00
Griatch
1da9217a18 Return no match if using obj.search() with an empty list of candidates. This accounts for candidate lists that are created dynamically, for example limiting them to the inventory (which may be empy). Resolves #1016. 2016-08-20 11:00:33 +02:00
Griatch
ca1b76ab02 Remove WEBSOCKET_ENABLED and adjoining vars from settings_default since it doesn't do anything; webclient uses WEBSOCKET_CLIENT_ENABLED etc. 2016-08-20 09:36:30 +02:00
Griatch
61a0e49f66 Make manually setting a valid class that is not a typeclass gracefully degrade with log error. Resolves #999. 2016-08-20 09:28:56 +02:00
Griatch
bbc2f255fc Make Builders be able to look/search by key+alias in rpsystem. 2016-08-19 23:20:40 +02:00
Griatch
2d35c71cd1 Make @typeclass/reset also purge cmdsets. Resolves #1000. 2016-08-19 22:48:44 +02:00
Griatch
89fbc44d15 Make the ContribRPObject.search() fully accept all kwargs of normal obj.search. Resolves #1017. 2016-08-19 22:35:33 +02:00
Griatch
f5ba4f6204 Include a missing file for previous commit. 2016-08-19 22:34:15 +02:00