helper("file_out", "path_out")
helper("file_in", "path_in")
helper("file_worldstate", "path_worldstate")
helper("file_out", "path_out")
helper("file_in", "path_in")
helper("file_worldstate", "path_worldstate")
if not os.access(io_db["path_out"], os.F_OK):
raise SystemExit("Server output file has disappeared.")
file = open(io_db["path_out"], "r")
test = file.readline().rstrip("\n")
file.close()
if not os.access(io_db["path_out"], os.F_OK):
raise SystemExit("Server output file has disappeared.")
file = open(io_db["path_out"], "r")
test = file.readline().rstrip("\n")
file.close()
msg = "Server test string in server output file does not match. This" \
" indicates that the current server process has been " \
"superseded by another one."
raise SystemExit(msg)
msg = "Server test string in server output file does not match. This" \
" indicates that the current server process has been " \
"superseded by another one."
raise SystemExit(msg)
raise SystemExit(msg)
obey_lines_in_file(io_db["path_worldconf"], "world config ")
obey("MAKE_WORLD " + str(int(time.time())), io_db, "in file")
raise SystemExit(msg)
obey_lines_in_file(io_db["path_worldconf"], "world config ")
obey("MAKE_WORLD " + str(int(time.time())), io_db, "in file")
# print("DUMMY: Run io_loop().")
except SystemExit as exit:
print("ABORTING: " + exit.args[0])
# print("DUMMY: Run io_loop().")
except SystemExit as exit:
print("ABORTING: " + exit.args[0])