Commit graph

2889 commits

Author SHA1 Message Date
Griatch
ed00e42762 Made check for PlayerObject more rigorous in create.create_msg, in response to issue 209. 2012-02-20 21:56:11 +01:00
Griatch
641d829154 Added inlineCallback operator for cmdhandler, allowing the system to yield more often. 2012-02-20 21:40:28 +01:00
Griatch
c4f2c493d9 Updated ReST docs, fixed some things in Swedish translation. 2012-02-19 10:49:59 +01:00
Griatch
11e61255da Went through the Tutorial_world batch file with a spell checker and cleaned up the build code a bit. 2012-02-18 21:55:09 +01:00
Griatch
6fdfbe657b Changed the flag save_next to save_for_next, it makes more sense. 2012-02-17 19:02:57 +01:00
Griatch
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. 2012-02-17 18:53:47 +01:00
Griatch
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. 2012-02-15 22:12:50 +01:00
Griatch
061c6c46f3 Removed i18n from runner.py as well. These infrastructure programs have little need for it. 2012-02-15 18:56:27 +01:00
Griatch
7675673010 Cleaned up the evennia.py program, removing some i18n strings in order to handle missing settings files. 2012-02-15 18:53:15 +01:00
Griatch
e170505878 Adding full convertion to the migrations, should hopefully cover all cases now. 2012-02-15 18:28:44 +01:00
Griatch
3b88767865 Made fixes to the migrations. 2012-02-15 14:27:26 +01:00
Griatch
d594357335 Another typo. 2012-02-14 23:48:00 +01:00
Griatch
370b7ca86c Fixed typo data-migration for new attribute storate type. 2012-02-14 23:46:19 +01:00
Griatch
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. 2012-02-14 23:40:16 +01:00
Griatch
8b5f3628ab Added info about creating the tutorial world to the Limbo desc. Also refactored some of the lock functions a bit for efficiency. 2012-02-06 21:48:50 +01:00
Griatch
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.
2012-02-06 13:18:25 +01:00
Griatch
b87f787c38 Added some info the idmapper header, detailing the evennia changes better. 2012-02-06 12:38:17 +01:00
Griatch
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. 2012-02-06 00:59:41 +01:00
Griatch
7b2a4e4467 Cleaned up typeclasses, removing a lot of extranenous and ineffective code from the setattr/getattr methods that are called most often. 2012-02-05 21:04:10 +01:00
Griatch
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. 2012-02-05 17:58:00 +01:00
Griatch
44b5ae07ba Fixed an issue that didn't allow the runner to launch profiled Portal in interactive mode. 2012-02-05 17:39:43 +01:00
Griatch
fdceb93dcb Added an option to game/runner.py for launching the components under the cProfile python profiler. 2012-02-03 00:15:25 +01:00
Griatch
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. 2012-01-28 20:12:59 +01:00
Griatch
b2d7f37e9c Cleaned up the formatting of the license file. 2012-01-28 13:08:27 +01:00
Griatch
ae251d3892 Fixed an error in the help for @ban. 2012-01-27 23:56:17 +01:00
Griatch
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. 2012-01-27 23:53:03 +01:00
Griatch
e2b67b0ac4 Updated reST docs. 2011-12-20 18:54:27 +01:00
Griatch
dfec9eeb7d Started on MSDP support, although not working nor activated at this time. 2011-11-20 19:24:16 +01:00
Griatch
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. 2011-11-20 14:56:07 +01:00
Griatch
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. 2011-11-20 11:52:01 +01:00
Griatch
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. 2011-11-20 00:50:11 +01:00
Griatch
2104fd391b Adding TTYPE support (allows server to query client for information such as name and capabilities, assuming the client supports ttype). 2011-11-19 19:34:00 +01:00
Griatch
3337c0f787 Updated ReST documentation 2011-11-14 20:17:04 +01:00
Griatch
1f3de48182 Removing some of the instruction of contrib.chargen which might, correctly written, cause problems if one misses a step. 2011-11-14 19:16:41 +01:00
Griatch
68f0a236cb Fixed an issue with using WHO when users where OOC. Also made the @ic command able to look for objects globally. 2011-11-14 19:13:30 +01:00
Griatch
3431891b6b Updated install/readme instructions. 2011-11-14 13:23:57 +01:00
Griatch
71dddf008a Updated contrib README. 2011-11-14 11:51:32 +01:00
Griatch
713f8b4a7f Updated README and VERSION to beta. 2011-11-13 23:42:29 +01:00
Griatch
9212a2b329 Added tag beta-release for changeset d62c8193c419 2011-11-13 23:41:29 +01:00
Griatch
6ede4e5def Updated ReST documentation 2011-11-13 23:27:02 +01:00
Griatch
af9fef14a4 Fixed so that sqlite3 is properly detected for the server to launch custom db PRAGMAs. 2011-11-13 23:15:04 +01:00
Griatch
88c1b0601f Added a minor fix in the instructions to chargen. 2011-11-13 18:58:10 +01:00
Griatch
4c0d4a0294 Deactivating the creation of object attributes from admin for now, until one can figure out how to handle this. 2011-11-13 18:49:04 +01:00
Griatch
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. 2011-11-13 18:46:14 +01:00
Griatch
ce0e3c4857 merge. 2011-11-11 01:20:51 +01:00
Griatch
f950cd8b94 Red button commands lacked proper locks, causing non-privileged chars to not have access. Fixed. 2011-11-09 09:53:57 +01:00
Griatch
a3e4e44a61 Fixed a bug in the creation mechanism. 2011-11-09 09:11:56 +01:00
Griatch
4b29114a83 Updated reST documentation. 2011-11-09 00:14:41 +01:00
Griatch
329a13bf8a Added more error checking to the oob function launch code. 2011-11-09 00:12:55 +01:00
Griatch
d928d25ac7 merge. 2011-11-08 22:54:31 +01:00