Commit graph

2866 commits

Author SHA1 Message Date
Griatch
fc4beed9ca Made player.idle_time and player.connection_time into properties. 2015-09-27 19:59:01 +02:00
Andrew Ryan Bastien
3d36cd343a - Adding support for connection_time and idle_time methods to DefaultPlayer. 2015-09-27 19:59:01 +02:00
Griatch
5d32d4f94e Added a command recursion limit to cmdhandler, raising a clean exception if a command calls other commands to a too nested level (10 levels down, if you use commands to that nesting level you are doing something wrong anyway). See #765. 2015-09-27 13:44:06 +02:00
Griatch
9478177e55 Updated the game template to match changes from previous commit. 2015-09-27 13:08:25 +02:00
Griatch
2743f98fb0 Removed SEARCH_AT_MULTIMATCH_INPUT and SEARCH_AT_MULTIMATCH_CMD settings and connected functions - these are no longer individually overloadable. SEARCH_AT_RESULT function now handles all error reporting. Also added SEARCH_MULTIMATCH_SEPARATOR to make it easy to replace the character used to separate multi-matches (1-box, 2-box is using '-' by default), in response to #795. Also moved the default SEARCH_AT_RESULT function from the cmdparser to evennia.utils.utils. 2015-09-27 13:05:29 +02:00
Griatch
5429ede5f7 Changed how the webclient looks up the webcocket_url. This auto-lookups the url while still respecting a custom given settings.WEBSOCKET_CLIENT_URL (for proxy setups?). This means settings.WEBSOCKET_CLIENT_URL is now defaulting to None. Resolves #806. 2015-09-27 09:57:23 +02:00
Griatch
27bde5129b Fixed a simple typo bug in urls.py that made the webclient fail after latest devel merger. 2015-09-27 09:55:31 +02:00
Griatch
3cc7f614c0 Removed some more spurious code comments. 2015-09-27 02:22:34 +02:00
Griatch
a338f01598 Removing debugs. 2015-09-26 23:26:53 +02:00
Griatch
8ff1cf91dc Fixed error in language format input. 2015-09-26 23:26:07 +02:00
Griatch
3eca82ae3b Further tweaks. 2015-09-26 22:56:46 +02:00
Griatch
dd6b0cfb34 Minor textual update. 2015-09-26 22:56:28 +02:00
Griatch
38e0998ef2 More information on masked state. 2015-09-26 22:52:21 +02:00
Griatch
993f4cbb9d Added handling of mask command with spurios letters at end. 2015-09-26 22:27:27 +02:00
Griatch
350ef90a82 Fixed unittests to match changes to regex patterns. 2015-09-26 22:24:45 +02:00
Griatch
7625306b44 Worked out some edge cases in masking sdescs, some other side cases remains. 2015-09-26 22:14:20 +02:00
Griatch
d62dd9afab Fixed an inconsistency in director stance. 2015-09-26 19:30:07 +02:00
Griatch
faaf26e0de Minor touchup. 2015-09-26 18:56:14 +02:00
Griatch
f6556b426e Added documentation to rpsystem 2015-09-26 18:56:14 +02:00
Griatch
0cb2daad83 Further work on tweaking the emote system. 2015-09-26 18:56:14 +02:00
Griatch
382846ae08 Added masking possibility to recog system. 2015-09-26 18:56:14 +02:00
Griatch
a8e75dde7f Made lockhandler.delete be called lockhandler.remove to match all other handlers. Kept the old one as a deprecated alias. 2015-09-26 18:56:14 +02:00
Griatch
35583daed2 Started adding parsing to pose. 2015-09-26 18:56:14 +02:00
Griatch
bd39f1548e Some unittest updates. 2015-09-26 18:56:14 +02:00
Griatch
e9148bc0f6 Added unittests for rplanguage and rpsystem contribs. 2015-09-26 18:56:14 +02:00
Griatch
21878436f8 Set up the languagehandler correctly. 2015-09-26 18:56:14 +02:00
Griatch
2442422f9e Integrated rpsystem with rplanguage to a greater degree. 2015-09-26 18:56:14 +02:00
Griatch
dc5d8f8130 Added the rplanguages module for obfuscating languages and whispers, taken from my own rp development code. 2015-09-26 18:56:14 +02:00
Griatch
23e63111cc Further work on stabilizing output across different situations. 2015-09-26 18:56:14 +02:00
Griatch
bac8f51401 More cleanup of the RPsystem contrib's typeclass hierarchy. 2015-09-26 18:56:14 +02:00
Griatch
45371289f4 Further refinement of the rpsystem contrib, making a more reasonable division of typeclass functionality 2015-09-26 18:56:13 +02:00
Griatch
4ab6414ffa API change - changed the AttributeHandler/TagHandler.get() second argument to be 'default' instead of 'category' ('category' is now the third argument). The reasoning is that this brings the attributes.get() call in line with the similar-looking dict.get(), where you can do dict.get(key, default) to give a default value. 2015-09-26 18:56:13 +02:00
Griatch
c34561dba2 Reworked the rpsystem with a working search replacement mechanism (allowing to search objects by sdesc) 2015-09-26 18:56:13 +02:00
Griatch
793a307867 Changed permanent call in url to satisfy deprecation warning for upcoming Django 1.9. 2015-09-26 18:56:13 +02:00
Griatch
8590238c08 A working version of the emote system with proper sdesc search functionality and emote/sdesc handlers. 2015-09-26 18:56:13 +02:00
Griatch
a630e6d020 Some first ideas around search optimizations. 2015-09-26 18:56:13 +02:00
Griatch
36acd9255c Fixed so the template language mechanic works too 2015-09-26 18:56:13 +02:00
Griatch
bb658d1d4a Functioning 1-tall, 2-tall selections in place. 2015-09-26 18:56:13 +02:00
Griatch
06411f298f Started to add fixes for multi-match selection. 2015-09-26 18:56:13 +02:00
Griatch
23406d7840 First version actually able to exchange sdescs 2015-09-26 18:56:13 +02:00
Griatch
16247e490e Emote system under testing, not working right just yet. 2015-09-26 18:56:13 +02:00
Griatch
b1f5adb620 Added rp system 2015-09-26 18:56:13 +02:00
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