Fixed startup.bat to work again since the creation of the 'src' folder. Forgot to update the path. Also updated Windows 'Getting Started' guide on evennia.com to be more verbose.

Also did a few really minor formatting fixes and commenting elsewhere.
This commit is contained in:
Greg Taylor 2008-12-14 00:02:11 +00:00
parent 7b53efac69
commit e3c58aeb6d
3 changed files with 8 additions and 3 deletions

View file

@ -5,7 +5,8 @@ import defines_global
# This is a list of flags that the server actually uses. Anything not in this
# list is a custom flag.
SERVER_FLAGS = ["CONNECTED", "DARK", "FLOATING", "GAGGED", "HAVEN", "OPAQUE", "SAFE", "SLAVE", "SUSPECT", "TRANSPARENT"]
SERVER_FLAGS = ["CONNECTED", "DARK", "FLOATING", "GAGGED", "HAVEN", "OPAQUE",
"SAFE", "SLAVE", "SUSPECT", "TRANSPARENT"]
# These flags are not saved.
NOSAVE_FLAGS = ["CONNECTED"]

View file

@ -13,7 +13,11 @@ ADDING AN EVENT:
# Dictionary of events with a list in the form of:
# [<function>, <interval>, <lastrantime>, <taskobject>, <description>]
schedule = {
'evt_check_sessions': [events.evt_check_sessions, 60, time.time(), None, "Session consistency checks."]
'evt_check_sessions': [events.evt_check_sessions, # Function
60, # Interval (seconds)
time.time(), # Last time executed (now)
None, # Task object
"Session consistency checks."] # Description
}
def start_events():

View file

@ -4,4 +4,4 @@ set PYTHONPATH=.
echo Starting Evennia...
rem We're only going to run in interactive mode until we've had more time to make sure things work as expected on Windows.
twistd -oy --logfile=- --python=server.py
twistd -oy --logfile=- --python=src/server.py