Michael King
0c2648edaa
Removed DEFAULT_HOME from settings.py into a server configuration directive via the confg app.
...
Changed clear_objects to reflect default home changes.
2007-08-07 16:52:47 +00:00
Michael King
8b8099a9db
Added DEFAULT_HOME value of 2 to settings.py.dist
...
Added import of DEFAULT_HOME from settings into defines_global
Removed clear_players()
Removed clear_things()
Created a more general clear_objects():
* obj.clear_objects()
* Everything with obj as its location will be moved
to its home.
* If the home is the obj, then said objects will be
moved to DEFAULT_HOME, if it exists.
* If the said objects do not have a home, they will
also be moved to DEFAULT_HOME.
2007-08-07 16:28:22 +00:00
Michael King
c5208656f8
Fixed missing quote on line 158.
2007-08-06 18:14:37 +00:00
Greg Taylor
613edc774f
Yay, the news system is looking good now. We'll re-visit it later to add searching/sorting by news categories and stuff.
2007-07-31 18:25:24 +00:00
Greg Taylor
aad1d3d0c4
More commentage.
2007-07-31 13:23:44 +00:00
Greg Taylor
daecf0b4a3
Elaborating on some settings with more comments.
2007-07-31 13:10:19 +00:00
Greg Taylor
debb34aae9
You may now specify a list of ports in settings.py to listen on instead of just a straight integer value. You'll need to copy GAMEPORTS from settings.py.dist if you have an existing game.
2007-07-15 01:16:02 +00:00
Greg Taylor
94779a86a5
Added new SCRIPT_ROOT variable to settings.py, you'll need to copy this over from settings.py.dist if you're running a test game. We also now have rudimentary support for default, enter, and use locks per the basicobject.py file. Take a look at the example locks in there. A returned boolean value determines whether the player passes. Make sure you emit an error message within the lock if you're going to return false. We will have simple in-game attribute or dbref locks via an @lock command similar to MUX/MUSH that override scripted behaviors.
2007-07-12 13:45:23 +00:00
Greg Taylor
dfc358ada8
WINDOWS USERS: (This applies to UNIX/Linux as well, but is probably more interesting to Windows users). You may now open up your settings.py file and add SERVE_MEDIA=True to serve media directly from Django. This is useful when you're running Django's built-in development server and want to be able to get to your CSS/Images, or if you have an apache server and don't want to configure a media location. Note that this is NOT something you want in a production environment, as it's slow, and may pose security risks. However, this will get you up and running very quickly for web work. The new setting, SERVE_MEDIA, is defaulted to False and is in the latest settings.py.dist file.
2007-06-12 01:12:26 +00:00
Greg Taylor
a4b6973c7a
Forgot to include some context stuff. You'll need to re-create your settings.py from the settings.py.dist file.
2007-06-10 16:01:35 +00:00
Greg Taylor
f68e686fd9
Missing parenthesis, whoops.
2007-06-06 12:26:50 +00:00
Greg Taylor
1e13d94b20
Beginnings of the integrated front-end website.
2007-06-05 20:06:21 +00:00
Greg Taylor
bb6905c1ca
Small fix for certain versions of Python and some simplification of the settings.py file.
2007-06-05 18:07:47 +00:00
Greg Taylor
2e6d4f5a00
Moving the port configuration to the settings.py file and out of the database.
2007-05-27 22:09:06 +00:00
Greg Taylor
7d869dff18
Moving the game port selection to settings.py for simplicity and security.
2007-05-27 22:06:12 +00:00
Greg Taylor
92165ade01
Mention mysql_old in settings.py.dist. We'll document this in the install docs.
2007-05-27 21:59:16 +00:00
Greg Taylor
9457e19787
logs/evennia.log is now writing once more. Also fixed a stupid indentation error.
2007-05-24 14:49:05 +00:00
Greg Taylor
c54f9f15e4
Renaming the default database file to evennia.db3 instead of evennia.sql, which is often used to signify text-based SQL dumps. Remember to re-name your database file and adjust your settings.py accordingly if you want to follow suite. Existing installs should theoretically be unaffected.
2007-04-26 19:32:26 +00:00
Greg Taylor
5421ab7f6e
Re-organization.
2007-04-03 13:42:51 +00:00