diff --git a/src/flags.py b/src/flags.py index b186c34c8b..27f95d2802 100644 --- a/src/flags.py +++ b/src/flags.py @@ -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"] diff --git a/src/scheduler.py b/src/scheduler.py index 41bf152ca4..a65da383f7 100644 --- a/src/scheduler.py +++ b/src/scheduler.py @@ -13,7 +13,11 @@ ADDING AN EVENT: # Dictionary of events with a list in the form of: # [, , , , ] 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(): diff --git a/startup.bat b/startup.bat index 7bacd740aa..8a40e69707 100644 --- a/startup.bat +++ b/startup.bat @@ -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 \ No newline at end of file +twistd -oy --logfile=- --python=src/server.py \ No newline at end of file