Commit graph

871 commits

Author SHA1 Message Date
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
Griatch
bced571805 Added api functions for implementing protocols sending out-of-band data between server and portal (e.g. like GMCP) 2011-11-08 22:54:02 +01:00
Griatch
ffb73cdb31 Fixing the documentation for the latest contrib models. 2011-11-07 16:49:02 +01:00
Griatch
eaa4ef8a20 Fixed an overly-zealous python module check for a module that was optional. 2011-11-07 14:22:21 +01:00
Griatch
3e8b43d222 More fixes and cleanup in wake of ic/ooc changes. 2011-11-06 23:55:24 +01:00
Griatch
86f76d0d08 Contrib: Added chargen module, showing a simple example of creating a character from inside the game. 2011-11-06 22:28:24 +01:00
Griatch
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. 2011-11-06 21:32:00 +01:00
Griatch
e379816866 Fixed some bugs, added an example connection screen for the menu-login system. 2011-11-06 19:16:34 +01:00
Griatch
c4d353ee01 Contrib: Added the contrib/menu_login module. 2011-11-06 18:54:08 +01:00
Griatch
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). 2011-11-06 18:53:10 +01:00
Griatch
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). 2011-11-06 17:38:29 +01:00
Griatch
c297e01fc3 Merge. 2011-11-05 23:09:59 +01:00
Griatch
54c31468ad Removing the last remnants of the async saving debacle. Async saving causes a host of extra problems within Django - order gets messed up and deleting simply doesn't work - but the scariest issue is that it seems to do nasty things with database references - deleting changes dbrefs for objects dynamically ... O_o; Plus, the overhead of creating threads for every save makes the whole thing very slow. It's NOT worth the effort. 2011-11-05 23:08:25 +01:00
Griatch
0ed692c19c Fixed a bug that prevented objects inside the room designated as "default home" from escaping when deleting that room. Objects will now be dumped to a null location (and warnings be given) instead of being deleted with the room.
Also noticed that large parts of the server is not covered by i18n.
2011-11-05 21:19:57 +01:00
Griatch
ce00d7c920 LOCALE: Added Swedish translation. 2011-11-03 22:55:12 +01:00
Griatch
6481cee1ea Setting some defaults. 2011-11-03 18:24:39 +01:00
Griatch
b6303808ec Added a simple quell command to contrib/ for showing how to use a command to launch other commands (in this case with a lower permission than you normally do (including bypassing superuser status). 2011-11-03 18:23:45 +01:00
Griatch
791b380693 Tried with defer.execute for the async-save intead. Still issues with multiple objects. 2011-11-03 14:50:24 +01:00
Griatch
78e12b3aba Merge from trunk. 2011-11-03 14:09:34 +01:00