diff --git a/dist/ba_root/mods/custom_hooks.py b/dist/ba_root/mods/custom_hooks.py index 168887b..ac7ffea 100644 --- a/dist/ba_root/mods/custom_hooks.py +++ b/dist/ba_root/mods/custom_hooks.py @@ -368,7 +368,7 @@ def on_player_request(func) -> bool: count = 0 if not (player.get_account_id( ) in serverdata.clients and - serverdata.clients[player.get_account_id()]["verified"]): + serverdata.clients[player.get_v1_account_id()]["verified"]): return False for current_player in args[0].sessionplayers: if current_player.get_account_id() == player.get_account_id(): diff --git a/dist/ba_root/mods/stats/stats.json b/dist/ba_root/mods/stats/stats.json index 550fc67..0544059 100644 --- a/dist/ba_root/mods/stats/stats.json +++ b/dist/ba_root/mods/stats/stats.json @@ -13,19 +13,6 @@ "avg_score": 0.0, "aid": "pb-IF4VAk4a", "last_seen": "2022-04-26 17:01:13.715014" - }, - "pb-IF5cVXEyAA==": { - "rank": 2, - "name": "Vishyyy", - "scores": 639, - "total_damage": 0.0, - "kills": 0, - "deaths": 3, - "games": 8, - "kd": 0.0, - "avg_score": 79.875, - "last_seen": "2026-07-16 02:33:01.093212", - "aid": "pb-IF5cVXEyAA==" } } } \ No newline at end of file diff --git a/dist/ba_root/mods/stats/stats.json.backup b/dist/ba_root/mods/stats/stats.json.backup index 550fc67..0544059 100644 --- a/dist/ba_root/mods/stats/stats.json.backup +++ b/dist/ba_root/mods/stats/stats.json.backup @@ -13,19 +13,6 @@ "avg_score": 0.0, "aid": "pb-IF4VAk4a", "last_seen": "2022-04-26 17:01:13.715014" - }, - "pb-IF5cVXEyAA==": { - "rank": 2, - "name": "Vishyyy", - "scores": 639, - "total_damage": 0.0, - "kills": 0, - "deaths": 3, - "games": 8, - "kd": 0.0, - "avg_score": 79.875, - "last_seen": "2026-07-16 02:33:01.093212", - "aid": "pb-IF5cVXEyAA==" } } } \ No newline at end of file diff --git a/dist/ba_root/mods/tools/servercheck.py b/dist/ba_root/mods/tools/servercheck.py index 33bba8f..bd0c6f6 100644 --- a/dist/ba_root/mods/tools/servercheck.py +++ b/dist/ba_root/mods/tools/servercheck.py @@ -28,7 +28,9 @@ blacklist = pdata.get_blacklist() # Get settings settings = setting.get_settings_data() -ipjoin = {} +# Track IP join statistics for rate limiting/spam protection +ipjoin: Dict[str, IPJoin] = {} + @dataclass class PlayerData: