MJ: attack coordinator update / various fixes . captcha and back button and jitterloop 2 secs

This commit is contained in:
2026-05-03 12:40:20 +03:00
parent 47381a9304
commit eb31072c87
16 changed files with 1492 additions and 31 deletions

View File

@@ -7,8 +7,9 @@ let captchaActive = false;
function reportCaptcha(detected) {
const player_id = uw.Game?.player_id;
const world_id = uw.Game?.world_id || '';
if (!player_id) return;
apiFetch(`${BASE_URL}/api/captcha/alert?player_id=${player_id}`, {
apiFetch(`${BASE_URL}/api/captcha/alert?player_id=${player_id}&world_id=${world_id}`, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ detected })