Commit graph

  • a45ddf84fe override the default msg_contents on ContribRPRoom to accept a mapping of format tokens to objects which will have get_display_name called Dan Feeney 2016-09-20 00:43:19 -05:00
  • 8cba8ab429 added the append saver method Dan Feeney 2016-09-20 08:56:46 -05:00
  • e2f5a4368f Fix logical error in extended_room desc-setting. Resolves #1068. Griatch 2016-09-20 08:50:41 +02:00
  • 9bab96e0e8 Set the method to better report a malformed lockfunc rather than to raise a traceback. Griatch 2016-09-19 07:13:23 +02:00
  • 22e6cb4f8f Add typeclass kwarg to player.search; make player.search search all playerdb-derived typeclasses by default. Resolves #1057. Griatch 2016-09-15 13:34:17 +02:00
  • ece023d5ee Correct a typo. Griatch 2016-09-14 23:44:22 +02:00
  • 4a97a05c10 Some minor fixes and cleanups. Griatch 2016-09-14 23:27:55 +02:00
  • 07944918f7 Implement a custom authenticate middleware to correctly handle already-authenticated players in auto-connect webclient mode. Resolves #1037. Griatch 2016-09-14 22:32:58 +02:00
  • 86f963fa71 Make sure a player associated with a connected Session is always tagged as is_connected. Resolves #1061. Griatch 2016-09-14 22:01:32 +02:00
  • 14e9dafda2 Update docstring for webclient server component. Griatch 2016-09-14 19:33:50 +02:00
  • 67411d006d Fix regression with idle_timout not correctly closing connection. Fix errors due to Portal and Server trying to send to non-existing sessions after connection closes. Griatch 2016-09-14 19:07:59 +02:00
  • 2737d37633 Removed the star-import in the prototypes.py template file; namespace is not working well with inputfunc module loading. Griatch 2016-09-14 18:30:20 +02:00
  • 07f889e2fa Fix minor typo in GMCP parser. Griatch 2016-09-14 18:09:26 +02:00
  • bcf421de91 Minor check for .pk in nicks Griatch 2016-09-14 07:19:02 +02:00
  • 76a903119c Clean up log file output and fix some bugs. Swallows spammy and useless AMP connection errors. Griatch 2016-09-13 23:10:51 +02:00
  • 86c970eb62 Add sessionhandler.portal_disconnect_all to remove another needless call between server and portal on logout. This means logout from either side will clean up on the respective side and then inform the other side once, rather than triggering a return call. Griatch 2016-09-13 21:48:43 +02:00
  • 8eb500f8e0 Add sessionhandler.portal_disconnect which cuts down interaction over AMP by one when a player disconnects. Griatch 2016-09-13 20:42:38 +02:00
  • 5a5884f6da Add PROTOTYPE_MODULES to settings_default, making use of world/prototypes.py already being defined. Griatch 2016-09-13 18:03:50 +02:00
  • e6e61aa5e6 Minor tweaks to fix a portal traceback during handshake. Griatch 2016-09-13 12:31:47 +02:00
  • 528401ec99 Change the channel cmdset prio to 101, same as Exits as per #1059. Griatch 2016-09-13 09:06:19 +02:00
  • 1a03433500 This fixes channel nicknames not working while in an OOC state. Tehom 2016-09-13 02:23:02 -04:00
  • 4de88f7e80 Update the contrib/README.md file. Griatch 2016-09-11 19:01:56 +02:00
  • 5d22bbe39f Remove some whitespace in a file. Griatch 2016-09-11 18:44:59 +02:00
  • 760865f26f Addresses issues identified above. CloudKeeper1 2016-09-11 20:46:35 +10:00
  • a489b6df55 Added appropriate switch to example 2. CloudKeeper1 2016-09-10 21:02:25 +10:00
  • 03529923e9 Typo: Verticle to Vertical CloudKeeper1 2016-09-10 20:09:50 +10:00
  • a544e37ca9 Update to code as per suggestions on PR and IRC. CloudKeeper1 2016-09-10 19:40:48 +10:00
  • d80eb80f1d Contrib Proposal: ASCII Map Builder CloudKeeper1 2016-08-23 22:10:16 +10:00
  • c30a55a677 Fix bug in nick/delete. Resolves #1056. Griatch 2016-09-11 10:53:30 +02:00
  • f76ea7e576 Correction to make sure the key isn't changed to prevent delcom failure Tehom 2016-09-10 22:42:04 -04:00
  • 112c5fcd07 Attempt to fix nicknames for channels not working Tehom 2016-09-10 22:15:10 -04:00
  • e6f857a536 Remove setting.SEARCH_MULTIMATCH_SEPARATOR, replacing it with SEARCH_MULTIMATCH_REGEX and SEARCH_MULTIMATCH_TEMPLATE. This allows simple yet powerful control over the error output without needing to overload the parser. Griatch 2016-09-11 10:39:47 +02:00
  • ad8d105795 Revert curly braces fix - Griatch did it better BlauFeuer 2016-09-09 09:23:44 -04:00
  • dd840ba05b rpsystem.py minor fixes to CmdEmote BlauFeuer 2016-09-08 14:20:56 -04:00
  • d5c8db4c82 Fix error in rpsystem's forget command as per #1051. Griatch 2016-09-09 08:24:21 +02:00
  • 72d4bb4de7 Fix so as to not send traverse messages to the traverser. Fixes unittests. Griatch 2016-09-09 07:52:48 +02:00
  • 34f1d84c4c Excape { } brackets in rpsystem contrib emotes. Resolves #1052. Griatch 2016-09-08 22:52:13 +02:00
  • e373e1733b Make the move transition hooks use get_display_name to make them compatible with the rpsystem contrib as per #1051. Griatch 2016-09-08 22:11:22 +02:00
  • 3d6f65fcdd Fix parsing error in dice contrib. Resolves #1047. Griatch 2016-09-08 21:00:05 +02:00
  • e0e8e9453a Fix edge case with the who command and players with puppets at None locations. Resolves #1050. Griatch 2016-09-08 20:49:25 +02:00
  • dc32300092 Fix caching leftover in attribute cache that lead to a traceback on the first re-login. Resolves #1041. Griatch 2016-09-08 20:46:11 +02:00
  • ce0bfe8a0d Made some corrections to the if tree. Resolves #1042. Griatch 2016-09-07 23:46:05 +02:00
  • 4330d37f20 fixed error occurring when caller does not have a player attribute Dan Feeney 2016-09-07 08:13:49 -05:00
  • 5349ecfd61 Added settings.GAME_SLOGAN to global context. Tehom 2016-09-06 05:51:58 -04:00
  • 77ab2cd341 Added missing access() method to Msg for its lockshandler. Tehom 2016-09-04 23:18:29 -04:00
  • cc9b75db44 Updated TmpMessage to match the API of Msg. Griatch 2016-09-05 11:28:00 +02:00
  • c66ae693c5 Run migrations! Adds support for saving Msg entities in an Attribute. Note that recovering Msgs from an Attribute saved *before* this fix can still cause tracebacks. They may not be recoverable since dbobjects are not possible to unpickle on their own. Griatch 2016-09-05 11:15:14 +02:00
  • b46df5643a Add minor fixes to tutorial world batch-build script and some better error reporting in the extended_room detail command. Griatch 2016-09-03 23:32:00 +02:00
  • 17ee28ab6c Move COMMAND_NESTING safety handler into try..except..finally clause to avoid it ticking up accidentally due to the loop exiting from a traceback. Griatch 2016-09-03 22:52:29 +02:00
  • 2ed92e8149 Converted Tags to use the new caching scheme. Griatch 2016-09-03 20:00:45 +02:00
  • c77252ebcb Unittests passing for attributehandler updates. Griatch 2016-09-03 19:25:59 +02:00
  • e0268d6cb3 Fix error in attributehandler Griatch 2016-09-03 19:11:46 +02:00
  • fd351a2809 Made attributes.has() actually return booleans as the API specifies. Griatch 2016-09-03 18:19:38 +02:00
  • 3c9b58f460 First version of working alternative attribute caching system. Griatch 2016-09-03 17:58:21 +02:00
  • 14aa12bd01 Started exploring a different caching scheme for Attributes as per issues #1034 and #1033. Griatch 2016-09-03 14:54:34 +02:00
  • f6286accea Make chardelete work also if switching ic/ooc state. Made the same fix to evmenu itself. Resolves #1035. Griatch 2016-09-03 15:47:14 +02:00
  • af8e54c027 Fix player/char reference in evmore, also fixed a calling bug in evmore.msg using the wrong kwarg. Griatch 2016-09-03 12:10:57 +02:00
  • 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?). Griatch 2016-09-02 23:14:14 +02:00
  • 57923bdbc7 Fix an install error in Windows due to the Twisted Windows executable changing name from twistd.py to twistd.exe. Griatch 2016-09-02 22:10:04 +02:00
  • c64f64973c Update the google style link. Griatch 2016-09-02 18:28:49 +02:00
  • 086beb1c26 Remove non-functional retval from utils.delay, making it a straight wrapper for twisted.reactor.callLater. Griatch 2016-09-02 17:17:50 +02:00
  • 5b60eef635 Properly remove pause state data when restartig a script. Griatch 2016-09-02 15:02:20 +02:00
  • 756d4be4bc Fix missing rotate argument for deque-attriutes, actually commit unittest updates. Griatch 2016-09-02 14:32:42 +02:00
  • 4f1515fc72 Fix unittests and changed all of rpsystem to use |-type color markers. Griatch 2016-09-02 00:26:18 +02:00
  • 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. Griatch 2016-09-02 00:13:59 +02:00
  • f883c9d087 Fix so process_sdesc is called with the correct obj. Griatch 2016-09-01 23:39:23 +02:00
  • 7e451951fa Fix an error when giving an invalid channel name to delcom. Resolves #1032. Griatch 2016-09-01 17:30:06 +02:00
  • 9d00f1ddfd Fix a wrongly called variable in ticherhandler. Griatch 2016-09-01 16:55:49 +02:00
  • 949aeee806 Update docstring: Better describes the limits of the callables possible to use with TickerHandler. Griatch 2016-09-01 15:14:53 +02:00
  • c8909b4b67 Fix bug in contrib.rpsystem's emote multimatch display. Griatch 2016-08-31 23:43:49 +02:00
  • 164a28308c Make contrib.rpsystem's recogs protected from empty strings in the same way as sdescs Griatch 2016-08-31 23:24:47 +02:00
  • 6730e990b2 Make sure rpsystem sdescs can not be set to the empty string, and if it is, use obj.key. Resolves #1030. Griatch 2016-08-31 23:19:13 +02:00
  • b9ea41e713 Added unicode to list of permitted types for db_value in AttributeAdmin. Tehom 2016-08-31 16:10:01 -04:00
  • 88b217c0b8 Add support for collections.OrderedDict and collections.deque to Attribute serializer mechanism. Also some cleanups in dbserializer. Griatch 2016-08-31 22:45:57 +02:00
  • 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. Griatch 2016-08-31 21:02:15 +02:00
  • 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. Griatch 2016-08-31 20:27:31 +02:00
  • e66020f369 Fix an error when there are many same-named characters/objects to puppet with ic. Griatch 2016-08-31 17:43:19 +02:00
  • 00881c3bbe Make _SaverList properly handle index/remove operations. Resolves #1027. Griatch 2016-08-31 14:45:56 +02:00
  • 873e6faa52 Fixed a non-updating timeslot when assigning to the general description of ExtendedRoom. Griatch 2016-08-29 21:25:14 +02:00
  • 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. Griatch 2016-08-28 23:15:46 +02:00
  • d3c2e5de9d Remove a traceback when logging in to a previously deleted character. Griatch 2016-08-28 22:33:49 +02:00
  • 23d87c297a Fix bug in rpsystem.CmdSay Griatch 2016-08-28 21:02:34 +02:00
  • f89b4857ae Add a custom CmdSay to rpsystem contrib, to handle sdescs. Griatch 2016-08-28 20:43:33 +02:00
  • 97412b4169 Fixed the bug that prevented restarting a script more than once after unpausing. Resolves #1023. andrei-pmbcn 2016-08-28 18:26:09 +03:00
  • 6fbdc88a27 Fix webclient ANSI background handling. Made bright ANSI backgrounds visible in color command. Resolves #1001. Griatch 2016-08-28 19:31:19 +02:00
  • 4e9c8aecec Fix webclient to handle changed xterm256 formula correctly. Griatch 2016-08-28 17:43:14 +02:00
  • 668029e82e Changed xterm256 formatting to work with Potato. Also added Potato as a TTYPE exception since the client doesn't report itself correctly. Griatch 2016-08-28 16:36:44 +02:00
  • 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. Griatch 2016-08-26 01:04:23 +02:00
  • 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. Griatch 2016-08-25 18:36:21 +02:00
  • 83f67ac2c4 Minor display fix in the admin. Griatch 2016-08-25 12:03:12 +02:00
  • 5835a84e20 Fixed unittests. Griatch 2016-08-24 23:49:24 +02:00
  • 7285cab2db Refactor batchcode processor to be more stable. Did multiple clean-ups. Implements #939. Fixes #909. Fixes #937. Griatch 2016-08-24 23:44:29 +02:00
  • 6c34cb40ed Update pypath_to_abspath to make batchfile file lookups much more reliable. This is done as part of the batchprocess refactor #939. Griatch 2016-08-24 20:37:11 +02:00
  • 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. Griatch 2016-08-21 23:59:56 +02:00
  • 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. Griatch 2016-08-21 23:03:42 +02:00
  • 49087b50d1 Allow multi-character keys for EvForm cells and tables. This was due to a too restrictive regex. Resolves #1014. Griatch 2016-08-20 11:41:53 +02:00
  • 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. Griatch 2016-08-20 11:00:33 +02:00
  • ca1b76ab02 Remove WEBSOCKET_ENABLED and adjoining vars from settings_default since it doesn't do anything; webclient uses WEBSOCKET_CLIENT_ENABLED etc. Griatch 2016-08-20 09:36:30 +02:00
  • 61a0e49f66 Make manually setting a valid class that is not a typeclass gracefully degrade with log error. Resolves #999. Griatch 2016-08-20 09:28:56 +02:00
  • bbc2f255fc Make Builders be able to look/search by key+alias in rpsystem. Griatch 2016-08-19 23:20:40 +02:00