Commit graph

2724 commits

Author SHA1 Message Date
Griatch
5ce222ea66 Update CODING_STYLE.md 2015-09-25 11:04:30 +02:00
Griatch
1d17302d16 Refactoring to go with the fixed AMP structure and methods. 2015-09-21 16:50:05 +02:00
Griatch
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. 2015-09-21 16:49:44 +02:00
Griatch
a5ef023769 Refactored AMP protocol and made it more efficient for use with compression and batch-sending. 2015-09-21 16:47:24 +02:00
Griatch
4109c86545 Modified connection DoS limiter. 2015-09-20 20:01:52 +02:00
Griatch
f41b028d94 Compressed AMP commands and now handles multi-batch sending as part of a single AMP command Argument object. 2015-09-20 20:01:27 +02:00
Griatch
018250e4e5 More refined time tracing. It seems the AMP connection is really the bottleneck. 2015-09-17 22:39:48 +02:00
Griatch
d02b781be1 Time tracing setup for tracing the flow of data through AMP. 2015-09-17 21:56:14 +02:00
Griatch
a4e081f11c Added the ability to input a menu dictionary in EvMenu rather than only rely on input modules. 2015-09-17 14:12:29 +02:00
Griatch
cb0417fe7f Fixed the connect and command DoS checkers to work more stably and not exclude too much. Resolves #779. 2015-09-17 00:46:45 +02:00
Griatch
0b35279bc2 Removed artificial delay in AMP mechanism, added alternate streaming. Resolves #805. 2015-09-17 00:45:55 +02:00
Griatch
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. 2015-09-08 00:27:24 +02:00
Griatch
4c6ff5b12d Added handling of Ctrl-C in interactive mode. Resolves #803. 2015-09-07 23:57:50 +02:00
Griatch
f1834dc194 Reworked interactive mode, on the way to fixing #803. 2015-09-07 23:45:24 +02:00
Greg Taylor
a9480f9f64 Make evennia -i block until process is closed. Fixes #803. 2015-09-07 23:44:10 +02:00
Greg Taylor
538228af04 Minor PEP8 cleanup in setup.py. 2015-09-07 19:57:58 +02:00
Greg Taylor
886830b773 Assorted PEP8 cleanups in evennia_launcher.py 2015-09-07 19:57:57 +02:00
Griatch
4b29b4e3fe Updated the game template with some more verbose docstring. 2015-09-06 12:22:16 +02:00
Griatch
b59340784c Made some cleanup of docstrings to clarify hook load order. 2015-09-05 21:49:54 +02:00
Griatch
a7e42b2a5b Changed cmdparser to properly convert to unicode before length measuring, which was causing unexpected behavior with non-ASCII charsets. 2015-09-04 21:11:01 +02:00
Kelketek
3fcee453b9 Update template_dirs search paths for override 2015-09-03 15:55:12 -05:00
Griatch
9f16cee0d2 Made the default return_appearance use the get_display_name hook properly. 2015-09-02 19:16:16 +02:00
Griatch
ce26ee0a25 Turns out normal filter manager methods should also accept *args. Resolves #793. 2015-09-01 20:01:49 +02:00
Griatch
a1eadef686 Removed an unexpected alias overload in the CrumblingWall tutorial world puzzle. This caused the shift command to be hidden. Resolves #786. 2015-08-24 22:09:55 +02:00
Griatch
1316d8115a Fixed returns_typeclass decorator to properly handle filtered query results. Resolves #791. 2015-08-24 19:39:25 +02:00
Griatch
c28b06d639 Fixed the examples to all have matching nodenames, as per #792. 2015-08-24 19:30:08 +02:00
Kate
fc78bde002 Typos/clarity in the help text for evmenu.py to make it more plug & play friendly. 2015-08-23 18:23:49 -06:00
Kate
cea51a7b56 Typofix in filepath instruction 2015-08-23 16:27:49 -06:00
Kate
1a0b6851d9 Revert "Typofix in filepath instruction"
This reverts commit d0391873a5.
2015-08-23 16:27:02 -06:00
Kate
d0391873a5 Typofix in filepath instruction 2015-08-23 16:25:51 -06:00
Griatch
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. 2015-08-22 10:34:06 +02:00
Kate
8647bf2367 Fix for NoneType exceptions when initial_setup.py is run where multisession_mode is not set to 0. 2015-08-22 10:34:06 +02:00
Jonathan Piacenti
5b6376fd87 Disable sudo in Travis to use faster container architecture. 2015-08-21 18:06:16 -05:00
Griatch
e787cd4701 Update CODING_STYLE.md 2015-08-21 17:19:27 +02:00
Griatch
c393f70638 Fixed regression error in script force_repeat. Resolves #785. 2015-08-20 22:14:04 +02:00
Griatch
61d591409a Added a simple get_input convenience function to utils.evmenu, for asking simple questions of the user. 2015-08-20 21:45:42 +02:00
Jake Shasteen
7d3ed681ac Added {u to the ansi parser for underlining text. 2015-08-15 00:33:57 -04:00
Griatch
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. 2015-08-13 09:06:27 +02:00
Griatch
b1b1912e8c Removed a lingering refefence to old get_all_attributes method. Resolves #780. 2015-08-06 07:56:18 +02:00
Adrian Pacała
8234e4bd91 Clean up JavaScript example in WebSocket client 2015-07-25 18:37:16 +02:00
Andrew Bastien
2c62e93fb4 - Fixed more in at_failed_login(). Forgot a pass, whoops. 2015-07-25 18:35:34 +02:00
Andrew Bastien
c1f35a4e10 - Tiny fix to the failed login call. 2015-07-25 18:35:34 +02:00
Andrew Bastien
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.
2015-07-25 18:35:34 +02:00
Griatch
640439dcf5 Removed the examine: locktype from the @create locktype setting. Resolves #770. 2015-07-22 14:38:12 +02:00
Griatch
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. 2015-07-18 08:30:05 +02:00
Griatch
8e554ef8f6 Updated the typeclasses/ directory modules to use Google style docstrings, as per #709. 2015-07-12 13:52:21 +02:00
Griatch
b9043a9e95 Made sure evmore does pass its kwargs on to the main msg method at all times. 2015-07-09 21:15:35 +02:00
Griatch
900ada5e92 Removed some debug messages from evmore. 2015-07-09 14:45:16 +02:00
Griatch
3ae00972a9 Added evmore - a more-like pager mechanism for displaying long texts. 2015-07-09 14:37:09 +02:00
Griatch
d47bd96ddd integrated the line editor functionality with the @set command (using the /edit switch), removing the example CmdEdit command from the eveditor module. 2015-07-09 14:37:09 +02:00