Commit graph

  • 06411f298f Started to add fixes for multi-match selection. Griatch 2015-09-09 00:14:44 +02:00
  • 23406d7840 First version actually able to exchange sdescs Griatch 2015-09-08 22:37:50 +02:00
  • 16247e490e Emote system under testing, not working right just yet. Griatch 2015-09-07 23:16:04 +02:00
  • b1f5adb620 Added rp system Griatch 2015-09-07 22:21:02 +02:00
  • 5ce222ea66 Update CODING_STYLE.md Griatch 2015-09-25 11:04:30 +02:00
  • 1d17302d16 Refactoring to go with the fixed AMP structure and methods. Griatch 2015-09-21 16:50:05 +02:00
  • d553c46ba5 Implemented a more robust DoS mechanism for commands. A large number of concurrent players can now send data to the server without general slowdown, the prize to pay for not overwhelming the server is that when load is high you will occationally get an error and asked to enter your command again. Griatch 2015-09-21 16:49:44 +02:00
  • a5ef023769 Refactored AMP protocol and made it more efficient for use with compression and batch-sending. Griatch 2015-09-21 16:47:24 +02:00
  • 4109c86545 Modified connection DoS limiter. Griatch 2015-09-20 20:01:52 +02:00
  • f41b028d94 Compressed AMP commands and now handles multi-batch sending as part of a single AMP command Argument object. Griatch 2015-09-20 20:01:27 +02:00
  • 018250e4e5 More refined time tracing. It seems the AMP connection is really the bottleneck. Griatch 2015-09-17 22:39:48 +02:00
  • d02b781be1 Time tracing setup for tracing the flow of data through AMP. Griatch 2015-09-17 21:56:14 +02:00
  • a4e081f11c Added the ability to input a menu dictionary in EvMenu rather than only rely on input modules. Griatch 2015-09-17 14:12:29 +02:00
  • cb0417fe7f Fixed the connect and command DoS checkers to work more stably and not exclude too much. Resolves #779. Griatch 2015-09-17 00:46:45 +02:00
  • 0b35279bc2 Removed artificial delay in AMP mechanism, added alternate streaming. Resolves #805. Griatch 2015-09-17 00:45:55 +02:00
  • 8234d9c0d0 Changed operation of evennia start (non-interactive). It will now default to have the Server log to stdout (Portal defaults to a logfile as before). Use the -l or --log flag to have the Server log to the logfile specified by server.SERVER_LOG_FILE. Griatch 2015-09-08 00:27:24 +02:00
  • 4c6ff5b12d Added handling of Ctrl-C in interactive mode. Resolves #803. Griatch 2015-09-07 23:57:50 +02:00
  • f1834dc194 Reworked interactive mode, on the way to fixing #803. Griatch 2015-09-07 23:39:53 +02:00
  • a9480f9f64 Make evennia -i block until process is closed. Fixes #803. Greg Taylor 2015-09-07 14:35:24 -07:00
  • 538228af04 Minor PEP8 cleanup in setup.py. Greg Taylor 2015-09-07 10:32:05 -07:00
  • 886830b773 Assorted PEP8 cleanups in evennia_launcher.py Greg Taylor 2015-09-07 10:23:57 -07:00
  • 4b29b4e3fe Updated the game template with some more verbose docstring. Griatch 2015-09-06 12:22:16 +02:00
  • b59340784c Made some cleanup of docstrings to clarify hook load order. Griatch 2015-09-05 21:49:54 +02:00
  • a7e42b2a5b Changed cmdparser to properly convert to unicode before length measuring, which was causing unexpected behavior with non-ASCII charsets. Griatch 2015-09-04 21:11:01 +02:00
  • 3fcee453b9 Update template_dirs search paths for override Kelketek 2015-09-03 15:52:35 -05:00
  • 9f16cee0d2 Made the default return_appearance use the get_display_name hook properly. Griatch 2015-09-02 19:16:16 +02:00
  • ce26ee0a25 Turns out normal filter manager methods should also accept *args. Resolves #793. Griatch 2015-09-01 20:01:49 +02:00
  • a1eadef686 Removed an unexpected alias overload in the CrumblingWall tutorial world puzzle. This caused the shift command to be hidden. Resolves #786. Griatch 2015-08-24 22:09:55 +02:00
  • 1316d8115a Fixed returns_typeclass decorator to properly handle filtered query results. Resolves #791. Griatch 2015-08-24 19:39:25 +02:00
  • c28b06d639 Fixed the examples to all have matching nodenames, as per #792. Griatch 2015-08-24 19:30:08 +02:00
  • fc78bde002 Typos/clarity in the help text for evmenu.py to make it more plug & play friendly. Kate 2015-08-23 18:23:49 -06:00
  • cea51a7b56 Typofix in filepath instruction Kate 2015-08-23 16:27:49 -06:00
  • 1a0b6851d9 Revert "Typofix in filepath instruction" Kate 2015-08-23 16:27:02 -06:00
  • d0391873a5 Typofix in filepath instruction Kate 2015-08-23 16:25:51 -06:00
  • 8f985e9fef Some further adjustment to check. Cannot reproduce the particular issue reported in #789, which seems to mean the player.at_player_creation is not called in some situation. Griatch 2015-08-22 10:32:44 +02:00
  • 8647bf2367 Fix for NoneType exceptions when initial_setup.py is run where multisession_mode is not set to 0. Kate 2015-08-21 22:21:57 -06:00
  • 5b6376fd87 Disable sudo in Travis to use faster container architecture. Jonathan Piacenti 2015-08-21 18:06:16 -05:00
  • e787cd4701 Update CODING_STYLE.md Griatch 2015-08-21 17:19:27 +02:00
  • c393f70638 Fixed regression error in script force_repeat. Resolves #785. Griatch 2015-08-20 22:14:04 +02:00
  • 61d591409a Added a simple get_input convenience function to utils.evmenu, for asking simple questions of the user. Griatch 2015-08-20 21:45:42 +02:00
  • 7d3ed681ac Added {u to the ansi parser for underlining text. Jake Shasteen 2015-08-15 00:33:57 -04:00
  • 2cdb13143d Made the charcreate lock (only allow one char/player) for MULTISESSION_MODE<2 a part of the respective command rather than globally in the module. Griatch 2015-08-13 09:06:27 +02:00
  • b1b1912e8c Removed a lingering refefence to old get_all_attributes method. Resolves #780. Griatch 2015-08-06 07:56:18 +02:00
  • 8234e4bd91 Clean up JavaScript example in WebSocket client Adrian Pacała 2015-07-25 08:09:18 +02:00
  • 2c62e93fb4 - Fixed more in at_failed_login(). Forgot a pass, whoops. Andrew Bastien 2015-07-24 21:44:51 -04:00
  • c1f35a4e10 - Tiny fix to the failed login call. Andrew Bastien 2015-07-24 20:24:26 -04:00
  • e0e382e0c6 - Added .at_failed_login(session) to default Player typeclass. - unloggedin.CmdUnconnectedConnect now calls the at_failed_login hook on player if a correct user is entered by an invalid password provided. Andrew Bastien 2015-07-24 20:17:08 -04:00
  • 640439dcf5 Removed the examine: locktype from the @create locktype setting. Resolves #770. Griatch 2015-07-22 14:38:12 +02:00
  • 82a80174f0 Removed a faulty default alias in the Command base class; since commands are more strictly compared by key *and* alias, this could cause some confusing overload scenarios. Griatch 2015-07-18 08:30:05 +02:00
  • 8e554ef8f6 Updated the typeclasses/ directory modules to use Google style docstrings, as per #709. Griatch 2015-07-12 13:52:21 +02:00
  • b9043a9e95 Made sure evmore does pass its kwargs on to the main msg method at all times. Griatch 2015-07-09 21:15:35 +02:00
  • 900ada5e92 Removed some debug messages from evmore. Griatch 2015-07-09 14:45:16 +02:00
  • 3ae00972a9 Added evmore - a more-like pager mechanism for displaying long texts. Griatch 2015-07-09 13:40:41 +02:00
  • d47bd96ddd integrated the line editor functionality with the @set command (using the /edit switch), removing the example CmdEdit command from the eveditor module. Griatch 2015-07-08 20:07:09 +02:00
  • d2a69910a9 Some further fixes with the refactored line editor. Griatch 2015-07-08 17:50:37 +02:00
  • 870c750538 Refactored and cleaned up the EvEditor module. Griatch 2015-07-08 17:44:00 +02:00
  • cc2b094bc6 Moved lineditor into utils/eveditor.py. The line editor is accessed by simply importing the class (same as EvTable, EvMenu etc), so the utils.get_line_editor function was removed. Griatch 2015-07-08 15:26:12 +02:00
  • adae4f2ec4 Made the evmenu work as expected Griatch 2015-07-08 14:32:36 +02:00
  • 8c5dddd062 Added ansi.strip_ansi as a convenience shortcut to remove ansi markup from a string. Griatch 2015-07-08 14:29:34 +02:00
  • 8d37627dfe Fixed a bug in ansi string caching that didn't take mxp into account. Griatch 2015-07-08 14:18:20 +02:00
  • eb598921ac Some debug testing and handling of colored keys. Griatch 2015-07-08 14:14:13 +02:00
  • fe810ec5f7 Made bettermenu into evmenu and moved to utils. Still some issues with MXP. Griatch 2015-07-08 12:35:38 +02:00
  • 698e226763 Added new bettermenu system Griatch 2015-07-08 09:22:39 +02:00
  • 72049eeddd Made the evennia_launcher gracefully report a missing log directory instead of raising a traceback (a missing log dir happens when cloning game dirs since log files are in .gitignore) Griatch 2015-07-08 10:41:47 +02:00
  • 095a1c0c13 Updated contrib menusystem and talking_npc to make use of the dynamic command update properties. Also fixed a lingering error in talking npc that resolves #768. Griatch 2015-07-07 16:43:10 +02:00
  • ea0de32607 Updated the Command class with set_key/set_alias methods to allow for dynamic updating of command key/aliases properties while making sure all optimization recaches are hit. Griatch 2015-07-07 16:42:20 +02:00
  • a8332fe431 Reworked the fix of #769 to be cleaner and using a full import mechanism rather than the pre-module lookup that messed up the unittests. Griatch 2015-07-07 15:29:28 +02:00
  • 0003868533 Added more logics for pre-lookups of cmdset paths at any nested package depth. Resolves #769. Griatch 2015-07-07 13:31:17 +02:00
  • 45e0785c8e Made a change to the cmdset comparison algorithm to make sure all commands are compared both by alias and key by use of a set-intersection operation. Before one side of the comparison used key and the other used key+aliases, which led to inconsistent results in some situations, especially when combining system commands with aliases. Griatch 2015-06-28 17:58:42 +02:00
  • 3cc816c58c Remove contrib-import that causes also unused contribs to clash with typeclass-names in custom game folder. This turns off api2doc parsing of contribs, but it's a worthwhile cost to pay. Even so, we will still clash when e.g. using the TutorialWorld while trying to setup some common typeclass names, like "Weapon". We may need to change the contrib typeclass names in the long run to make them less likely to clash; or otherwise separate them from the standard library; this is a future issue though. This change resolves #766. Griatch 2015-06-25 23:30:51 +02:00
  • 8572cc21c2 Fixed a utf-8 error lingering from docstring conversions. Resolves #767. Griatch 2015-06-25 23:04:26 +02:00
  • 19bfaae8a6 Finished converting server/ and server/portal to google-style docstrings as per #709. Griatch 2015-06-23 15:20:32 +02:00
  • ccae355175 Converted server/profiling/ to Google-style docstrings, as per #709. Griatch 2015-06-23 13:39:45 +02:00
  • 6d0122906f Made top-level server/ directory google-style docstring compliant as per #709. Griatch 2015-06-23 13:30:59 +02:00
  • 00b5309295 Updated more of server/ to google docstrings as per #709. Griatch 2015-06-23 10:42:51 +02:00
  • 57b2396af7 Fixed a unicode error in the evennia launcher. Griatch 2015-06-23 08:06:53 +02:00
  • d5f24c2d13 Finished adding Google-style docstrings to oobhandler, as per #709. Griatch 2015-06-23 08:05:32 +02:00
  • b2ddd34efd Updated parts of server/ dir to google docstrings as per #709. Griatch 2015-06-22 21:02:03 +02:00
  • abff559a61 Begun conversion of server/ directory to google style docstrings as per #709. Griatch 2015-06-22 08:45:35 +02:00
  • 86a1cf5a13 Added a comment to the default .gitignore on group use. Griatch 2015-06-22 08:02:24 +02:00
  • da9c97b699 Updated all of players/ directory to Google style docstrings as per #709. Griatch 2015-06-21 13:51:32 +02:00
  • 8ac424c216 Made multi-command-match display on multiple lines Griatch 2015-06-20 23:48:09 +02:00
  • 71389fd6fe Slight wording tweak. Jonathan Piacenti 2015-06-20 16:34:38 -05:00
  • 27500b9762 Better handling of command ambiguity. Jonathan Piacenti 2015-06-20 16:31:59 -05:00
  • 462b73b626 Rename display_name and improve docstrings. Jonathan Piacenti 2015-06-20 16:31:36 -05:00
  • 1822b01086 Add display_name and disambiguation_tag for dynamic naming. Jonathan Piacenti 2015-06-20 14:37:05 -05:00
  • a5887d23e2 Make command ambiguity handler pluggable. Jonathan Piacenti 2015-06-20 13:17:06 -05:00
  • f116543e14 Added pytz to the requirement list, to handle timezones better Griatch 2015-06-20 15:17:07 +02:00
  • 561b051734 Made the cmdset flags no_exits, no_objs and no_channels pass-through the cmdset merge unless overruled by higher-prio sets' flags. Resolves #760. Griatch 2015-06-20 13:15:43 +02:00
  • 7f63ca6a76 Made error reporting from cmdsets a little more verbose. Griatch 2015-06-20 13:11:50 +02:00
  • 9dcb97060d Added the ability to spawn objects with Tags. Griatch 2015-06-20 00:31:13 +02:00
  • 91b84213dd Made the string set convertion message a little clearer. Also set up the template to add the protototype dir from the onset. Griatch 2015-06-13 16:02:59 +02:00
  • 4d69e80787 Made lock command warn for using the wrong input form. Strip extraneous quotes from lock strings to avoid strange issue with escaped quotes from the command system. Resolves #758. Griatch 2015-06-13 00:08:12 +02:00
  • f00f917e41 Fixed an issue with the lineeditor's quit yes/no question and made a custom yes/no solution instead of relying on the menusystem-based one in contrib. Resolves #757. Griatch 2015-06-12 23:17:32 +02:00
  • fb8db4ead0 Fixed a recursive error with the ndbhandler.all. Griatch 2015-06-12 22:48:28 +02:00
  • 7f8d421039 Fixed a bug and cleaned up the nick command. Resolves #756. Griatch 2015-06-09 14:34:27 +02:00
  • 9c677362e7 Fixed a typo for the command. Resolves #755. Griatch 2015-06-03 23:10:41 +02:00
  • 70762fb2be Updated menu_login contrib to changes in default channel settings. Also made them aware of multisession modes. Resolves #754. Griatch 2015-06-03 23:08:10 +02:00
  • a9569f274f Added setTcpNoDelay to AMP connection. On Linux this leads to x10 faster roundtime on sends, as per #746. Griatch 2015-06-01 23:30:37 +02:00
  • 11750be556 Fixed a bug in the attr lockfunc to make it properly handle comparison for Nonetypes and bools as well as other values. Also fixed a malformed call for a default value. Resolves #753. Griatch 2015-06-01 21:56:29 +02:00