Commit graph

197 commits

Author SHA1 Message Date
Griatch
bc34a76173 Changed default login from email+password to the more familiar username+password.
The old system has been moved to contrib/mux-login.py.
This change was done due to the need for an email seems counterintuitive to
many new developers, giving the impression that it is actually required by
django (it is not, rather it was supposedly similar to MUX).
2012-08-13 20:25:46 +02:00
Griatch
563361a676 Added small warning for using the django test server (which of course knows nothing
about running the web client).
2012-08-02 15:21:23 +02:00
Griatch
9921d9b28c Some minor fixes and cleanups in runner.py. 2012-07-07 01:52:53 +02:00
Griatch
c301ec4922 Putting the game/logs directory under version control since it seems some users don't auto-create this at server-start.
If you see problems with an already existing game/logs directory upon pulling this commit, remove the old one first (saving away old logs if necessary).
2012-07-06 10:09:53 +02:00
Griatch
4c849ec351 Cleaned and updated the i18n strings for various server-core system. Removed i18n for all strings that are only visible on stdout or in logs. Still missing i18n on certain specific things such as model field help and attribute warnings. Updated Swedish translation to match. 2012-06-14 02:43:35 +02:00
Griatch
6fa5e42909 Fixed a typo in the example command template. 2012-05-19 11:01:48 +02:00
Griatch
96e95ca525 Raised Python requirement to 2.6+. Some spurious work on the mdsp support. 2012-05-05 23:52:13 +02:00
Griatch
c49fbd7d99 Removed 'with' statement; it's available in Python2.5, but one needs to use the future import to do that, so easiest to remove it. Resolves issue 230. 2012-05-04 10:03:41 +02:00
Griatch
94477b8340 Updated the reload and shutdown mecanism to avoid a loop when shutting down from inside the game. Made sure to have server sync correctly with portal at @reload (some session info were lost before). Some other cleanups. 2012-05-01 14:19:54 +02:00
Griatch
4977153de2 Fixed a formatting error in the twisted setup string for Windows. 2012-04-02 00:27:14 +02:00
Griatch
1ce5c6b84a Changed SECRET_KEY to be randomly generated by manage.py when settings.py is first created, rather than to rely on people manually changing the default from settings_default when first starting the server. 2012-03-31 11:32:26 +02:00
Griatch
45c5be8468 More whitespace cleanup. 2012-03-30 23:57:04 +02:00
Griatch
e042366f31 Removed the conf/ modules, putting them into conf/examples instead, in line with other API changes. The gamesrc/ folder is now completely empty and all new modules have to be added explicitly. 2012-03-25 19:52:51 +02:00
Griatch
b2f45a7cf4 Fixed an inconsistent API name. (db_serverconfs -> db_serverconfigs) 2012-03-25 18:21:22 +02:00
Griatch
e7869ed830 Removed the old base* start files from game/gamesrc. This is in line with the new API usage. Unfortunately this will likely lead to some collisions for people. 2012-03-25 17:23:10 +02:00
Griatch
b2d91d9bb5 Switched settings_default to use src/ base modules instead of modules in game/gamesrc/ as default (these will be removed) 2012-03-25 17:13:39 +02:00
Griatch
4398d42360 Added new templates to gamesrc/*/examples. The old base* modules still in place. Some cleanup of the API. 2012-03-25 16:35:22 +02:00
Griatch
88c0087fbd Updated game/ for the ev API. There will likely be some changes happening in the game/folder, in the way new objects are inherited. This should use the API rather than inherit from the basecommand/baseobject modules (these will probably into the example folders as vanilla templates instead). 2012-03-25 13:09:17 +02:00
Griatch
0d01462077 Adding a new API system to Evennia. This centralizes all access of the evennia driver through a single module "ev". Importing ev one should be able to access (and also importantly, easily explore) Evennia's API much easier. This API goes a long way to "flatten" the structure so that one doesn't need to remember how to find some method in a deeply nested subdirectory.
As part of this work, I have also written full listings of all available properties on Typeclassed objects (including those inherited in various ways). Should hopefully make things easier to find.
One can of course still import things directly from src/ as before. But this is a first step towards removing the "base" objects in game/gamesrc and instead making those accessible through the core API.
2012-03-24 23:02:45 +01:00
Griatch
7a2cdd3842 Moved all command definitions of Typeclassed entities up one level, to Object, Player and Script respectively. The actual code is still on the models (ObjectDB, PlayerDB and ScriptDB), but one should not be able to use the methods without having to dig into the code as far. Also added extensive, up-to-date headers to the inheriting base objects in game/gamesrc. 2012-03-24 18:25:32 +01:00
Griatch
8350c7dca7 Added #INSERT capabilities to @batchcmd processor too. This allows to group and run multiple batch-cmd batchfiles from one central batchfile. You can not mix batchcmd and batchcode files however - that would go beyond the use cases for the respective batch processors (and give unnecessarily complex code for little gain). 2012-03-21 10:24:49 +01:00
Griatch
8b99b8a130 Added #INSERT parameter for batch-code processor. This should resolve the issue of wanting to combine several batch files. Also improved traceback feedback from the batch-code processor. 2012-03-21 01:53:33 +01:00
Griatch
1ca8df9e70 Fixed issues with batch-code processor not working correctly. Also added some better parsing. Resolves issue 221. 2012-03-20 22:29:37 +01:00
Griatch
309c03ce43 Added at_server_start() and at_server_stop() hooks to allow users to safely initialize their custom systems whenever the server restarts. 2012-03-07 20:32:04 +01:00
Griatch
c513486b5a Made a fix in runner concerning profiling of the Portal. 2012-02-26 13:45:07 +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
3b88767865 Made fixes to the migrations. 2012-02-15 14:27:26 +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
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
88c1b0601f Added a minor fix in the instructions to chargen. 2011-11-13 18:58:10 +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
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
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
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
aee147102b Gave better error messages when a player typeclass has bugs and thus won't load. Also made a better solution for hiding new characters from the start room when first being created (also makes sure that character.location never starts as being None, recovering back to home in that case). 2011-10-09 16:32:55 +02:00
Griatch
cbcb13feb1 Covered more error messages when the setting file won't load in the managerCovered more error messages when the setting file won't load in the manager.. 2011-10-04 00:17:39 +02:00
Griatch
679524bd4a Removed persistence from test script bodyfunctions. 2011-10-01 13:23:23 +02:00
Griatch
c8d2e3d6a2 Fixed some issues with the @script command. 2011-10-01 13:13:48 +02:00
Griatch
0af6dff175 Updated rst files to wiki. 2011-09-15 22:45:05 +02:00
Griatch
1995f61d46 Put up a warning about not using BaseObject.at_init() at this time (it's not called, as per issue 188). Also removed the deprecated at_cache() hook (it doesn't work anymore now that the caching system is much more efficient and only caches once). 2011-09-15 10:46:41 +02:00
Griatch
ffeb1494cb Added empty log dir (mercurial don't allow that normally), as well as fixed an issue with i18n when starting without a settings.py file. 2011-09-13 10:18:20 +02:00
Griatch
71bdc47fbb Fixed typo. Changed reload argument for evennia.py to be 'reload' rather than 'restart'. 2011-09-03 15:10:28 +00:00