Skip to content

Commit

Permalink
update latest
Browse files Browse the repository at this point in the history
  • Loading branch information
BoQsc committed Aug 18, 2024
1 parent 9e90528 commit 06f6dbd
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"chat_messages": [
{
"machine_timezone_offset": "-3:00",
"timestamp": "2024-08-17T15:04:26",
"pltfm_id": "Steam_76561198072601792",
"player_name": "boqsc",
"entity_id": "171",
"chat_type": "Global",
"message": "gewwta"
},
{
"machine_timezone_offset": "-3:00",
"timestamp": "2024-08-17T15:10:01",
"pltfm_id": "Steam_76561198072601792",
"player_name": "boqsc",
"entity_id": "171",
"chat_type": "Global",
"message": "aa"
},
{
"machine_timezone_offset": "-3:00",
"timestamp": "2024-08-17T15:10:26",
"pltfm_id": "Steam_76561198072601792",
"player_name": "boqsc",
"entity_id": "171",
"chat_type": "Global",
"message": "dsf"
},
{
"machine_timezone_offset": "-3:00",
"timestamp": "2024-08-17T15:11:26",
"pltfm_id": "Steam_76561198072601792",
"player_name": "boqsc",
"entity_id": "171",
"chat_type": "Global",
"message": "test"
},
{
"machine_timezone_offset": "-3:00",
"timestamp": "2024-08-17T15:14:26",
"pltfm_id": "Steam_76561198072601792",
"player_name": "boqsc",
"entity_id": "171",
"chat_type": "Global",
"message": "zzz"
}
],
"last_processed_position": 155446,
"last_processed_file": "C:\\Users\\Windows10\\Documents\\GitHub\\7DTD-Public-Vanilla-Server\\webserver\\Webserver-testing\\7DaysToDie_Data\\output_log__2024-08-17__14-56-54.txt",
"last_timestamp": "2024-08-17T15:14:26",
"analysis": {
"total_messages": 5,
"unique_players": 1,
"most_active_player": "boqsc",
"chat_types": [
"Global"
],
"most_common_words": [
[
"gewwta",
1
],
[
"aa",
1
],
[
"dsf",
1
],
[
"test",
1
],
[
"zzz",
1
]
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def analyze_chat(chat_messages):
}

def main():
data_file = 'chat_analysis.json'
data_file = 'Webserver_chat_message_processor.json'

while True:
latest_log_file = get_path_latest_game_server_log_file.get_path_latest_game_server_log_file()
Expand Down

0 comments on commit 06f6dbd

Please sign in to comment.