|
| | cfmaplog.buffer = buffer.rstrip(os.linesep) |
| |
| | cfmaplog.codefile = re.compile("[.][^.]+\Z").sub("", __file__) |
| |
| | cfmaplog.codepath = __file__ |
| |
| int | cfmaplog.completed = 0 |
| |
| string | cfmaplog.completed_date = "" |
| |
| | cfmaplog.cursor = dbConn.cursor() |
| |
| string | cfmaplog.datafile = codefile + ".db" |
| |
| | cfmaplog.dbConn = sqlite3.connect(f"{datafile}") |
| |
| bool | cfmaplog.debug = False |
| |
| string | cfmaplog.helptext |
| |
| string | cfmaplog.license |
| |
| string | cfmaplog.map_data = ''; |
| |
| string | cfmaplog.map_date = ''; |
| |
| int | cfmaplog.map_id = 0; |
| |
| int | cfmaplog.map_line = -1; |
| |
| string | cfmaplog.map_made = ''; |
| |
| string | cfmaplog.map_name = ''; |
| |
| string | cfmaplog.map_path = ''; |
| |
| | cfmaplog.maps = query[0] |
| |
| | cfmaplog.matches = regc_rqst_player_data.match(buffer) |
| |
| int | cfmaplog.NDI_ALL = 0x200 |
| |
| int | cfmaplog.NDI_ALL_DMS = 0x400 |
| |
| int | cfmaplog.NDI_BLACK = 0 |
| |
| int | cfmaplog.NDI_BLUE = 5 |
| |
| int | cfmaplog.NDI_BROWN = 10 |
| |
| int | cfmaplog.NDI_COLOR_MASK = 0xff |
| |
| int | cfmaplog.NDI_DK_ORANGE = 6 |
| |
| int | cfmaplog.NDI_GOLD = 11 |
| |
| int | cfmaplog.NDI_GREEN = 7 |
| |
| int | cfmaplog.NDI_GREY = 9 |
| |
| int | cfmaplog.NDI_LT_GREEN = 8 |
| |
| int | cfmaplog.NDI_MAX_COLOR = 12 |
| |
| int | cfmaplog.NDI_NAVY = 2 |
| |
| int | cfmaplog.NDI_ORANGE = 4 |
| |
| int | cfmaplog.NDI_RED = 3 |
| |
| int | cfmaplog.NDI_TAN = 12 |
| |
| int | cfmaplog.NDI_UNIQUE = 0x100 |
| |
| int | cfmaplog.NDI_WHITE = 1 |
| |
| int | cfmaplog.player_code = 0 |
| |
| int | cfmaplog.player_id = players |
| |
| | cfmaplog.player_nmbr = matches.group(1) |
| |
| | cfmaplog.player_seen = time.strftime("%Y/%m/%d %H:%M") |
| |
| string | cfmaplog.player_title = '' |
| |
| int | cfmaplog.players = 0 |
| |
| | cfmaplog.query = cursor.fetchone() |
| |
| int | cfmaplog.quiets = 0 |
| |
| | cfmaplog.regc_rqst_player = re.compile(regx_rqst_player) |
| |
| | cfmaplog.regc_rqst_player_data = re.compile(regx_rqst_player_data) |
| |
| | cfmaplog.regc_rqst_player_id = re.compile(regx_rqst_player_id) |
| |
| | cfmaplog.regc_rqst_player_name = re.compile(regx_rqst_player_name) |
| |
| | cfmaplog.regc_rqst_player_strt = re.compile(regx_rqst_player_strt) |
| |
| | cfmaplog.regc_scripttell = re.compile('^scripttell\s+', 0) |
| |
| | cfmaplog.regc_wtch_draw = re.compile(regx_wtch_draw, 0) |
| |
| | cfmaplog.regc_wtch_draw_date = re.compile(regx_wtch_draw_date, 0) |
| |
| | cfmaplog.regc_wtch_draw_made = re.compile(regx_wtch_draw_made, 0) |
| |
| | cfmaplog.regc_wtch_draw_name = re.compile(regx_wtch_draw_name, 0) |
| |
| | cfmaplog.regc_wtch_draw_path = re.compile(regx_wtch_draw_path, 0) |
| |
| | cfmaplog.regc_wtch_draw_rnds = re.compile(regx_wtch_draw_rnds, 0) |
| |
| | cfmaplog.regc_wtch_draw_strt = re.compile(regx_wtch_draw_strt, 0) |
| |
| | cfmaplog.regc_wtch_draw_xsiz = re.compile(regx_wtch_draw_xsiz, 0) |
| |
| string | cfmaplog.regx_rqst_player = "^request\splayer\s" |
| |
| string | cfmaplog.regx_rqst_player_data = regx_rqst_player_id + regx_rqst_player_name |
| |
| string | cfmaplog.regx_rqst_player_id = "(\d+)\s+" |
| |
| string | cfmaplog.regx_rqst_player_name = "Player:\s+(\w+)\s+(.+)" |
| |
| string | cfmaplog.regx_rqst_player_strt = regx_rqst_player + regx_rqst_player_id |
| |
| string | cfmaplog.regx_wtch_draw = "^watch drawextinfo (\d+\s){3}" |
| |
| string | cfmaplog.regx_wtch_draw_date = "Modified:\s+(.+)" |
| |
| string | cfmaplog.regx_wtch_draw_made = "Created:\s+(.*)" |
| |
| string | cfmaplog.regx_wtch_draw_name = regx_wtch_draw_strt + "[~/]" |
| |
| string | cfmaplog.regx_wtch_draw_path = "^([^\(\)]+|\(null\)\s)\(([^\)]+)\)\s*(.*)" |
| |
| string | cfmaplog.regx_wtch_draw_rnds = "random_seed\s\d+" |
| |
| string | cfmaplog.regx_wtch_draw_strt = regx_wtch_draw + "([^\(]+|\(null\)\s*)\(" |
| |
| string | cfmaplog.regx_wtch_draw_xsiz = regx_wtch_draw + "xsize\s[-]?\d+" |
| |
| int | cfmaplog.server_id = 0 |
| |
| int | cfmaplog.servers = 0 |
| |
| string | cfmaplog.sqlcmd |
| |
| bool | cfmaplog.success = False |
| |
| int | cfmaplog.v_head = 1 |
| |
| int | cfmaplog.v_tail = 0 |
| |
| | cfmaplog.vcConn = sqlite3.connect(":memory:") |
| |
| | cfmaplog.vcursor = vcConn.cursor() |
| |
| string | cfmaplog.visit_date = '' |
| |
| int | cfmaplog.visit_total = 0 |
| |
| int | cfmaplog.visits = 0 |
| |