resolving conflicts

This commit is contained in:
Vishyyy 2026-07-16 13:15:31 +05:30 committed by GitHub
parent 792014425c
commit 7f5da6b396
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 28 deletions

View file

@ -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():

View file

@ -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=="
}
}
}

View file

@ -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=="
}
}
}

View file

@ -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: