Kelketek
bf8a5dedc8
Removed bogus warning about SECRET_KEY and replaced it with a more accurate one.
2013-05-16 22:41:48 -05:00
Griatch
416d6e14bc
Fixing a bug in @ic if trying to puppet while already puppeting. Added sessid keyword to at_post_login hook in order to correctly relay login text only to the correct session. Removed the src.utils.debug module as well as the CmdDebug command which has not been supported for a good while.
2013-04-18 09:13:31 +02:00
Griatch
8720df5b49
Merge.
2013-04-15 00:12:00 +02:00
Griatch
80a6745a1e
Made Attribute value queries also work with database objects by overloading the Attribute manager methods in question. Added procpool support for the new serializer functions and cleaned up some things.
2013-04-14 16:36:44 +02:00
Griatch
75341ade6f
A first test using PickledObjectField and a rewritten dbserialize module to store Attributes. No migrations set up yet.
2013-04-13 15:15:02 +02:00
Griatch
a6544f2848
changed cmdset_default -> cmdset_character and changed the class names to match. Added migrations to properly update default-set cmdset_stores to the new positions (objects created from custom types are not migrated, these should see errors and need to re-point their imports to the new defaults)
2013-04-12 13:01:20 +02:00
Griatch
1aff5f1fd1
Renamed cmdset_ooc -> cmdset_player and settings.CMDSET_OOC -> settings.CMDSET_PLAYER. Also split most of the player-specific commands to a new module player.
2013-04-11 01:02:05 +02:00
Griatch
be2d0086a3
Updated the game/gamesrc/ examples with the new hook names.
2013-04-09 22:22:17 +02:00
Kelketek
9d0b8b5fe7
Added compatibility with Django 1.5. New minimum version is 1.4.
2013-03-23 14:20:41 -05:00
Griatch
11d1114f61
Some minor cleanups.
2013-02-01 21:51:38 +01:00
Stephen Hansen
9d0baa2d5c
Remove sleep hack on startup, move so portal always starts before server.
2013-01-31 15:40:20 -08:00
Stephen Hansen
5cfff771f2
Initial support for pypy + evennia
2013-01-31 14:34:52 -08:00
Griatch
58c010ef46
Some further work on the OOBhandler mechanism.
2013-01-04 10:35:29 +01:00
Griatch
2d206c5e68
Removed "\" from secret key generation, to avoid accidental escapes in key. Based on patch by user cam.turn in Issue 337.
2012-12-12 02:27:50 +01:00
Griatch
92f6b06626
Added new start/stop hooks to server. These are read differently depending on if the server is reloaded or reset/shutdown. OBS: If you have already implemented your own version of AT_STARTSTOP_MODULE, you need to add stubs for new hooks. You can find the required hooks in gamesrc/conf/examples/at_startstop.py.
...
gamesrc/conf/examples
2012-10-28 22:02:22 +01:00
Griatch
52af816977
Added hooks at_access_success and at_access_failure to allow for custom messaging for certain lock errors. Resolves Issue 311.
2012-10-28 14:07:18 +01:00
Griatch
4dff822764
Fixed bug in @batchcommand (Resolves Issue 287). Also updated @dig to again handle deleting ranges of dbrefs (with or without # in front).
2012-10-14 16:24:21 +02:00
Griatch
83fa9397d5
Added a plugin system for server and portal. This allows for plugging in your own services without having to edit any modules in src/server/. Also made some various cleanups and fixes.
2012-09-18 22:52:33 +02:00
Griatch
056fee5c70
Changing all text files to explicitly have .txt endings. This helps online code browsers to properly identify the files.
2012-09-02 13:05:47 +02:00
Griatch
4edde61be4
Minor cleanups and a fix to manage.py that lead to a traceback if running without arguments.
2012-08-22 13:28:38 +02:00
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