Commit graph

  • f46a9a1280 Cropped @batchcommand output better. Resolves issue 217. Griatch 2012-03-14 21:03:28 +01:00
  • 5beee55149 Added ability of @set command to actually store real Python types, not just strings. Griatch 2012-03-13 23:56:19 +01:00
  • abb5384dd1 Removed strange echo of all players (including yourself) in the tutorial's hanging bridge room. Griatch 2012-03-13 22:15:03 +01:00
  • aae67225a4 Added auto_help as a class property on Commands. This allows to turn on/off auto-help generation on a per-command basis (default is on). Griatch 2012-03-13 22:07:51 +01:00
  • 6a78fdafcb Removed a debug-print statement. Griatch 2012-03-13 01:39:30 +01:00
  • ca280af659 Fixed cache issues with @type and @name commands that didn't properly update the cache when using them. Griatch 2012-03-13 01:37:28 +01:00
  • 309c03ce43 Added at_server_start() and at_server_stop() hooks to allow users to safely initialize their custom systems whenever the server restarts. Griatch 2012-03-07 20:32:04 +01:00
  • 7818ca077a Fixed some spurious bugs. Griatch 2012-02-29 21:58:08 +01:00
  • 7e146eae11 Added some fixes to tutorial world. Griatch 2012-02-29 19:29:56 +01:00
  • a12f7b9c32 Added a desc to the tutorial entrance. Griatch 2012-02-29 18:21:39 +01:00
  • 690bfadd9d Added arg_regex, an optional Command class-method for customizing how commands are identified by using a regex to enforce a specific look/grammar to the command argument. Discussed and suggested in issue 213. Griatch 2012-02-27 20:56:01 +01:00
  • 42254fa3c4 Fixed an issue with creating new chars following the latest optimizations. Griatch 2012-02-26 19:04:57 +01:00
  • 018a98b92c Optimized typeclass conversion in typeclass manager. Griatch 2012-02-26 16:04:19 +01:00
  • 91f2a5930c Minor additions to typeclass loading. Griatch 2012-02-26 15:10:22 +01:00
  • c513486b5a Made a fix in runner concerning profiling of the Portal. Griatch 2012-02-26 13:45:07 +01:00
  • 9660dd6656 Added caching to some more object properties. Griatch 2012-02-26 12:43:16 +01:00
  • bdf86b203d Reverting caching-changes to cmdset_storage, causes spurious errors. Griatch 2012-02-26 12:07:25 +01:00
  • 71c7d5f8e0 aching cmdset_paths. Griatch 2012-02-26 01:26:38 +01:00
  • 24c4791e9e Fixed a bug with the updating of the caching. Griatch 2012-02-26 01:10:20 +01:00
  • fb0d77c794 Added caching for aliases. Griatch 2012-02-25 23:56:31 +01:00
  • 1fa5791e19 Added aggressive caching for common typeclassed variables. Griatch 2012-02-25 23:37:50 +01:00
  • b99db98191 Fixed a silly typo. Griatch 2012-02-25 21:15:58 +01:00
  • a0a205c945 Did some additions to the MSDP implementation. Added a first test for implementing MSDP commands, but it is not working yet. Griatch 2012-02-25 21:14:48 +01:00
  • 9935bff36e Changed internal bit identifiers in AMP protocol, for compactness. Griatch 2012-02-25 19:26:54 +01:00
  • 631020d8a2 Some small fixes to the help command. Griatch 2012-02-25 18:24:30 +01:00
  • 9733a43a16 Fixed the issues with assigning to nested attribute-lists/dicts "in-situ", e.g. obj.db.mylist[1][2] = val. This now works as it should. I'm still not sure this behaviour is worth the fact that returning mylist from the attribute will actually return a nested structure of PackedLists/Dicts, and these will continue to save to the database whenever they are updated, also if not used in conjuction with db. Since this behaviour is what is already in the database, I'm committing this fix for the nested assignment error until I decide what to do about the other issue = val. This now works as it should. I'm still not sure this behaviour is worth the fact that returning mylist from the attribute will actually return a nested structure of PackedLists/Dicts, and these will continue to save to the database whenever they are updated, also if not used in conjuction with db. Since this behaviour is what is already in the database, I'm committing this fix for the nested assignment error until I decide what to do about the other issue.. Griatch 2012-02-24 23:22:38 +01:00
  • 9e2380decd Added ' as an alias for the "say" command, common in many muds. Griatch 2012-02-22 21:39:27 +01:00
  • 562a32107e Added more yields to cmdhandler, removed unnecessary callback to return. Griatch 2012-02-22 16:00:41 +01:00
  • ab2ba19782 Fixed critical typo in instructions for dummyrunner. Griatch 2012-02-22 15:15:32 +01:00
  • c47ff33aae Some cleanup in the lockhandler. Griatch 2012-02-22 14:46:07 +01:00
  • fd857f5c86 Expanded the dummy runner, making it more realistically mimicking real Players by spreading out its access usage. Griatch 2012-02-22 12:44:51 +01:00
  • 440d403327 Added some more error catching to the attr migrations. Griatch 2012-02-22 11:40:52 +01:00
  • a923a9a061 Merging fixes from clone jeremywosborne-evennia-patch. Closes merge request issue 211. Thanks! Griatch 2012-02-21 08:27:30 +01:00
  • 001a39c3b9 Minor fixes in tutorial_world build. Griatch 2012-02-21 08:11:16 +01:00
  • e164b63d2b Some webclient suggestions and practice committing to evennia. Jeremy Osborne 2012-02-20 20:34:28 -08:00
  • 6d73b05d91 Fixed a webclient issue that caused urls to loose their following whitespace. Griatch 2012-02-20 23:25:22 +01:00
  • c56ede0fa2 Minor documentation fix in javascript webclient code. Griatch 2012-02-20 22:52:59 +01:00
  • 3e73529b96 Added some more instructions to the Limbo room desc, telling people they should log out and create a new, non-admin account at the login screen in order to play the tutorial_world properly. Griatch 2012-02-20 22:25:58 +01:00
  • 13b3d61b42 Removed word-break:break-all; from webclient css as per issue 210. Interestingly enough, this only showed an effect in Chrome on my machine; in Firefox, the lines were cropped per word also with this setting. Griatch 2012-02-20 22:05:05 +01:00
  • ed00e42762 Made check for PlayerObject more rigorous in create.create_msg, in response to issue 209. Griatch 2012-02-20 21:56:11 +01:00
  • 641d829154 Added inlineCallback operator for cmdhandler, allowing the system to yield more often. Griatch 2012-02-20 21:40:28 +01:00
  • c4f2c493d9 Updated ReST docs, fixed some things in Swedish translation. Griatch 2012-02-19 10:49:59 +01:00
  • 11e61255da Went through the Tutorial_world batch file with a spell checker and cleaned up the build code a bit. Griatch 2012-02-18 21:55:09 +01:00
  • 6fdfbe657b Changed the flag save_next to save_for_next, it makes more sense. Griatch 2012-02-17 19:02:57 +01:00
  • 6e53e6a1fd Added state persistence to commands. For commands that want to, their state will be saved for the next command to access through the self.caller.ndb.last_cmd variable. The state only persists one command before it is cleared or replaced. Griatch 2012-02-17 18:53:47 +01:00
  • a6f3e1f47f create_script(): Added new keywords for customizing a created script at creation time, overloading what is defined in the script's at_script_creation() hook. Griatch 2012-02-15 22:12:50 +01:00
  • 061c6c46f3 Removed i18n from runner.py as well. These infrastructure programs have little need for it. Griatch 2012-02-15 18:56:27 +01:00
  • 7675673010 Cleaned up the evennia.py program, removing some i18n strings in order to handle missing settings files. Griatch 2012-02-15 18:53:15 +01:00
  • e170505878 Adding full convertion to the migrations, should hopefully cover all cases now. Griatch 2012-02-15 18:28:44 +01:00
  • 3b88767865 Made fixes to the migrations. Griatch 2012-02-15 14:27:26 +01:00
  • d594357335 Another typo. Griatch 2012-02-14 23:48:00 +01:00
  • 370b7ca86c Fixed typo data-migration for new attribute storate type. Griatch 2012-02-14 23:46:19 +01:00
  • a32aebaa0e OBS- need to run migrations! Refactored attributes to use a slightly different internal storage format for faster access. Also set up caching of all attribute data, so subsequent reads of an attribute will not hit the database anymore, and writes will re-cache. Griatch 2012-02-14 23:40:16 +01:00
  • 8b5f3628ab Added info about creating the tutorial world to the Limbo desc. Also refactored some of the lock functions a bit for efficiency. Griatch 2012-02-06 21:48:50 +01:00
  • 42d502bfc6 OBS - Database schema has changed! If you use south, you need to run manage.py migrate! This adds db indexing on a set of important database fields, all in the interest of optimization. Griatch 2012-02-06 13:18:25 +01:00
  • b87f787c38 Added some info the idmapper header, detailing the evennia changes better. Griatch 2012-02-06 12:38:17 +01:00
  • d36a79b2cc Went over the Command class' basic methods, cleaning up and optimizing while still trying to keep things clean, such as using cleverer loops and try...except instead of if statements. Also cleaned up the way attributes are retrieved. Results in roughly a halving of the time that the code spends in the command.py module. Griatch 2012-02-06 00:59:41 +01:00
  • 7b2a4e4467 Cleaned up typeclasses, removing a lot of extranenous and ineffective code from the setattr/getattr methods that are called most often. Griatch 2012-02-05 21:04:10 +01:00
  • f306c5a6a2 Added a separate program for launching client connections. Meant mainly for server devs at this point. It is primarily useful for stress-testing so as to get profiling data using e.g. cProfiler - running many clients with a short timestep -will- slow the server to a crawl! If using sqlite3 with 50+ clients you will also see the memory consumption gradually - our sqlite3 setup runs in RAM by default and these things create a lot of new stuff every timestep - make sure to shut it down before you run out of memory! Not sure if this says much about the server's actual behaviour with many players at this point, the usage pattern is hardly "realistic". Also, it's usually better to shut down the server before the dummyrunner. Griatch 2012-02-05 17:58:00 +01:00
  • 44b5ae07ba Fixed an issue that didn't allow the runner to launch profiled Portal in interactive mode. Griatch 2012-02-05 17:39:43 +01:00
  • fdceb93dcb Added an option to game/runner.py for launching the components under the cProfile python profiler. Griatch 2012-02-03 00:15:25 +01:00
  • cdab5a240b Added RSS feed support to Evennia. This uses the @rss2chan command to tie a feed to an in-game channel. Updates to the feed will henceforth be echoed to the channel. The reader requires the python-feedreader package to be installed. Griatch 2012-01-28 20:12:59 +01:00
  • b2d7f37e9c Cleaned up the formatting of the license file. Griatch 2012-01-28 13:08:27 +01:00
  • ae251d3892 Fixed an error in the help for @ban. Griatch 2012-01-27 23:56:17 +01:00
  • 1d40f688e5 Added the @ban and @unban commands to the default command sets, allowing an admin to filter access from users without outright deleting their accounts. The ban list is stored in the database, but the checking is not hard-coded in the server/portal, but done in the normal login command(s), meaning it can be customized easily. Also contrib/menu_login has been updated to check for banned connections. Griatch 2012-01-27 23:53:03 +01:00
  • e2b67b0ac4 Updated reST docs. Griatch 2011-12-20 18:54:27 +01:00
  • dfec9eeb7d Started on MSDP support, although not working nor activated at this time. Griatch 2011-11-20 19:24:16 +01:00
  • 4cd80284c9 Implemented xterm256 colours. If not supported by client, converts to normal ANSI, as per kaViir's snippet. Integrates into Evennia's normal ansi parser and collaborates with TTYPE protocol to determine if the client supports it. Griatch 2011-11-20 14:56:07 +01:00
  • fb78758356 Implemented working MCCP (data compression) and MSSP (mud-listing crawler support). Moved all user-level customization modules from gamesrc/world to gamesrc/conf to reduce clutter. Griatch 2011-11-20 11:52:01 +01:00
  • a4f8019c4a Added MCCP (compression of data stream between server-client). Not fully functioning yet, tintin++ tends to complain of compression errors after a while (the server degrades back to uncompressed mode gracefully though). MCCP is thus deactivated in the server at the moment. Griatch 2011-11-20 00:50:11 +01:00
  • 2104fd391b Adding TTYPE support (allows server to query client for information such as name and capabilities, assuming the client supports ttype). Griatch 2011-11-19 19:34:00 +01:00
  • 3337c0f787 Updated ReST documentation Griatch 2011-11-14 20:17:04 +01:00
  • 1f3de48182 Removing some of the instruction of contrib.chargen which might, correctly written, cause problems if one misses a step. Griatch 2011-11-14 19:16:41 +01:00
  • 68f0a236cb Fixed an issue with using WHO when users where OOC. Also made the @ic command able to look for objects globally. Griatch 2011-11-14 19:13:30 +01:00
  • 3431891b6b Updated install/readme instructions. Griatch 2011-11-14 13:23:57 +01:00
  • 71dddf008a Updated contrib README. Griatch 2011-11-14 11:51:32 +01:00
  • 713f8b4a7f Updated README and VERSION to beta. Griatch 2011-11-13 23:42:29 +01:00
  • 9212a2b329 Added tag beta-release for changeset d62c8193c419 Griatch 2011-11-13 23:41:29 +01:00
  • 6ede4e5def Updated ReST documentation Griatch 2011-11-13 23:27:02 +01:00
  • af9fef14a4 Fixed so that sqlite3 is properly detected for the server to launch custom db PRAGMAs. Griatch 2011-11-13 23:15:04 +01:00
  • 88c1b0601f Added a minor fix in the instructions to chargen. Griatch 2011-11-13 18:58:10 +01:00
  • 4c0d4a0294 Deactivating the creation of object attributes from admin for now, until one can figure out how to handle this. Griatch 2011-11-13 18:49:04 +01:00
  • a60cd9bf1f Fixed User/Player creation in Admin, much more intuitive now. Remains issues with creating attributes since these need to be pickled to/from the database in order to be properly handled. Griatch 2011-11-13 18:46:14 +01:00
  • ce0e3c4857 merge. Griatch 2011-11-11 01:20:51 +01:00
  • f950cd8b94 Red button commands lacked proper locks, causing non-privileged chars to not have access. Fixed. Griatch 2011-11-09 09:53:57 +01:00
  • a3e4e44a61 Fixed a bug in the creation mechanism. Griatch 2011-11-09 09:11:56 +01:00
  • 4b29114a83 Updated reST documentation. Griatch 2011-11-09 00:14:41 +01:00
  • 329a13bf8a Added more error checking to the oob function launch code. Griatch 2011-11-09 00:12:55 +01:00
  • d928d25ac7 merge. Griatch 2011-11-08 22:54:31 +01:00
  • bced571805 Added api functions for implementing protocols sending out-of-band data between server and portal (e.g. like GMCP) Griatch 2011-11-08 22:54:02 +01:00
  • ffb73cdb31 Fixing the documentation for the latest contrib models. Griatch 2011-11-07 16:49:02 +01:00
  • eaa4ef8a20 Fixed an overly-zealous python module check for a module that was optional. Griatch 2011-11-07 14:22:21 +01:00
  • 3e8b43d222 More fixes and cleanup in wake of ic/ooc changes. Griatch 2011-11-06 23:55:24 +01:00
  • 86f76d0d08 Contrib: Added chargen module, showing a simple example of creating a character from inside the game. Griatch 2011-11-06 22:28:24 +01:00
  • 703accdd60 Added an error_check_python_modules function to evennia.py. This basically imports a host of critical modules and quits with tracebacks if there are problems. This catches pure python-syntax errors (i.e. cases where the source-file itself is malformed), something which is hard to properly handle in the running server (where there's also an issue as to how to best report it). Best they fail out already at an early stage. Griatch 2011-11-06 21:32:00 +01:00
  • e379816866 Fixed some bugs, added an example connection screen for the menu-login system. Griatch 2011-11-06 19:16:34 +01:00
  • c4d353ee01 Contrib: Added the contrib/menu_login module. Griatch 2011-11-06 18:54:08 +01:00
  • 55f6f5b713 Contrib: Added a new, alternative login system, using menus. Also edited the ways unlogged commands are started by the engine, by using a standardized system command name (it does not need to be "look" anymore). Griatch 2011-11-06 18:53:10 +01:00
  • 2b2d27ed39 Changed the way unloggedin commands work. Rather than the cmdhander having a special state for unlogged-in commands, the session itself simply stores the cmdset from settings.CMDSET_UNLOGGEDIN. Clean and efficient and also gives a lot more freedom for creating custom login mechanisms (notably it opens the door to using menu systems). Griatch 2011-11-06 17:38:29 +01:00
  • c297e01fc3 Merge. Griatch 2011-11-05 23:09:59 +01:00