LestradeMoran's picture
nothing happens when i upload a report /deepsite/api/me/projects/new/unknown/update:1 Failed to load resource: the server responded with a status of 500 ()Understand this error
4abf197 verified
Raw
History Blame Contribute Delete
13.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aimbot Forensics - Advanced Gameplay Analysis</title>
<!-- Tailwind CSS -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- Lucide Icons -->
<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.js"></script>
<!-- Chart.js -->
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<!-- Custom Styles -->
<link rel="stylesheet" href="style.css">
</head>
<body class="bg-gradient-to-br from-slate-900 via-purple-900 to-slate-900 min-h-screen text-white">
<!-- Navigation -->
<nav class="bg-black/30 backdrop-blur-md border-b border-white/10">
<div class="container mx-auto px-6 py-4">
<div class="flex items-center justify-between">
<div class="flex items-center space-x-3">
<div class="w-10 h-10 bg-gradient-to-r from-purple-500 to-pink-500 rounded-lg flex items-center justify-center">
<i data-lucide="target" class="w-6 h-6"></i>
</div>
<h1 class="text-2xl font-bold bg-gradient-to-r from-purple-400 to-pink-400 bg-clip-text text-transparent">
Aimbot Forensics
</h1>
</div>
<div class="flex items-center space-x-6">
<button class="text-gray-300 hover:text-white transition" onclick="showHelp()">
<i data-lucide="help-circle" class="w-5 h-5"></i>
</button>
<button class="text-gray-300 hover:text-white transition" onclick="showSettings()">
<i data-lucide="settings" class="w-5 h-5"></i>
</button>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<main class="container mx-auto px-6 py-8">
<!-- Upload Section -->
<section id="upload-section" class="max-w-4xl mx-auto mb-12">
<div class="text-center mb-8">
<h2 class="text-4xl font-bold mb-4">Gameplay Analysis Platform</h2>
<p class="text-gray-300 text-lg">Upload telemetry data to detect and analyze suspicious gameplay patterns</p>
</div>
<div id="upload-zone" class="relative group">
<div class="absolute inset-0 bg-gradient-to-r from-purple-500 to-pink-500 rounded-2xl blur-xl opacity-25 group-hover:opacity-40 transition"></div>
<div class="relative bg-black/40 backdrop-blur-md border-2 border-dashed border-purple-500/50 rounded-2xl p-12 text-center hover:border-purple-400 transition-all">
<div class="mb-6">
<div class="w-20 h-20 bg-gradient-to-r from-purple-500 to-pink-500 rounded-full mx-auto flex items-center justify-center mb-4">
<i data-lucide="upload-cloud" class="w-10 h-10"></i>
</div>
<h3 class="text-2xl font-semibold mb-2">Drop Your Report Here</h3>
<p class="text-gray-400 mb-4">Supports JSON telemetry files</p>
</div>
<form id="upload-form" class="space-y-4">
<input type="file" id="report-file" accept=".json,.txt" class="hidden">
<label for="report-file" class="inline-flex items-center px-6 py-3 bg-gradient-to-r from-purple-500 to-pink-500 rounded-lg font-semibold cursor-pointer hover:shadow-lg transform hover:scale-105 transition">
<i data-lucide="file-text" class="w-5 h-5 mr-2"></i>
Choose File
</label>
<div id="file-info" class="hidden space-y-2">
<div class="bg-white/10 rounded-lg p-3 flex items-center justify-between">
<div class="flex items-center space-x-3">
<i data-lucide="file" class="w-5 h-5 text-purple-400"></i>
<span id="file-name" class="font-medium"></span>
</div>
<span id="file-size" class="text-gray-400 text-sm"></span>
</div>
<button type="submit" id="analyze-btn" class="w-full py-3 bg-gradient-to-r from-green-500 to-emerald-500 rounded-lg font-semibold hover:shadow-lg transform hover:scale-105 transition">
<i data-lucide="search" class="w-5 h-5 inline mr-2"></i>
Analyze Report
</button>
</div>
</form>
</div>
</div>
</section>
<!-- Analysis Dashboard -->
<section id="dashboard" class="hidden">
<!-- Stats Overview -->
<div class="grid grid-cols-1 md:grid-cols-4 gap-6 mb-8">
<div class="bg-black/40 backdrop-blur-md rounded-xl p-6 border border-purple-500/20">
<div class="flex items-center justify-between mb-2">
<span class="text-gray-400">Total Sequences</span>
<i data-lucide="zap" class="w-5 h-5 text-purple-400"></i>
</div>
<div id="total-sequences" class="text-3xl font-bold">0</div>
</div>
<div class="bg-black/40 backdrop-blur-md rounded-xl p-6 border border-pink-500/20">
<div class="flex items-center justify-between mb-2">
<span class="text-gray-400">Avg Accuracy</span>
<i data-lucide="target" class="w-5 h-5 text-pink-400"></i>
</div>
<div id="avg-accuracy" class="text-3xl font-bold">0%</div>
</div>
<div class="bg-black/40 backdrop-blur-md rounded-xl p-6 border border-red-500/20">
<div class="flex items-center justify-between mb-2">
<span class="text-gray-400">Suspicion Score</span>
<i data-lucide="alert-triangle" class="w-5 h-5 text-red-400"></i>
</div>
<div id="suspicion-score" class="text-3xl font-bold">0</div>
</div>
<div class="bg-black/40 backdrop-blur-md rounded-xl p-6 border border-green-500/20">
<div class="flex items-center justify-between mb-2">
<span class="text-gray-400">Total Shots</span>
<i data-lucide="crosshair" class="w-5 h-5 text-green-400"></i>
</div>
<div id="total-shots" class="text-3xl font-bold">0</div>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
<!-- Player Info Panel -->
<div class="space-y-6">
<custom-player-stats></custom-player-stats>
<!-- Quick Actions -->
<div class="bg-black/40 backdrop-blur-md rounded-xl p-6 border border-white/10">
<h3 class="text-lg font-semibold mb-4">Quick Actions</h3>
<div class="space-y-3">
<button onclick="exportReport()" class="w-full py-2 px-4 bg-purple-500/20 hover:bg-purple-500/30 rounded-lg transition text-left flex items-center justify-between">
<span>Export Report</span>
<i data-lucide="download" class="w-4 h-4"></i>
</button>
<button onclick="resetAnalysis()" class="w-full py-2 px-4 bg-red-500/20 hover:bg-red-500/30 rounded-lg transition text-left flex items-center justify-between">
<span>Reset Analysis</span>
<i data-lucide="refresh-cw" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Main Content Area -->
<div class="lg:col-span-2 space-y-6">
<!-- Combat Sequences -->
<div class="bg-black/40 backdrop-blur-md rounded-xl p-6 border border-white/10">
<div class="flex items-center justify-between mb-6">
<h3 class="text-xl font-semibold">Combat Sequences</h3>
<div class="flex items-center space-x-2">
<button onclick="sortSequences('accuracy')" class="px-3 py-1 bg-white/10 hover:bg-white/20 rounded-lg text-sm transition">
Sort by Accuracy
</button>
<button onclick="sortSequences('suspicion')" class="px-3 py-1 bg-white/10 hover:bg-white/20 rounded-lg text-sm transition">
Sort by Suspicion
</button>
</div>
</div>
<div id="sequences-container" class="space-y-4 max-h-96 overflow-y-auto">
<!-- Sequences will be populated here -->
</div>
</div>
<!-- Playback Visualization -->
<div class="bg-black/40 backdrop-blur-md rounded-xl p-6 border border-white/10">
<div class="flex items-center justify-between mb-6">
<h3 class="text-xl font-semibold">Playback Visualization</h3>
<div class="flex items-center space-x-2">
<button onclick="toggleFullscreen()" class="p-2 bg-white/10 hover:bg-white/20 rounded-lg transition">
<i data-lucide="maximize" class="w-4 h-4"></i>
</button>
</div>
</div>
<div class="relative bg-black rounded-lg overflow-hidden mb-4" style="aspect-ratio: 16/9;">
<canvas id="playback-canvas" class="w-full h-full"></canvas>
<div id="playback-overlay" class="absolute inset-0 flex items-center justify-center bg-black/50 hidden">
<div class="text-center">
<i data-lucide="play" class="w-16 h-16 mx-auto mb-4"></i>
<p class="text-lg">Select a sequence to view playback</p>
</div>
</div>
</div>
<custom-playback-controls></custom-playback-controls>
</div>
<!-- Analysis Charts -->
<div class="bg-black/40 backdrop-blur-md rounded-xl p-6 border border-white/10">
<h3 class="text-xl font-semibold mb-6">Pattern Analysis</h3>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div>
<h4 class="text-sm font-medium text-gray-400 mb-3">Accuracy Distribution</h4>
<canvas id="accuracy-chart"></canvas>
</div>
<div>
<h4 class="text-sm font-medium text-gray-400 mb-3">Suspicion Timeline</h4>
<canvas id="suspicion-chart"></canvas>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Help Modal -->
<div id="help-modal" class="fixed inset-0 bg-black/50 backdrop-blur-sm flex items-center justify-center z-50 hidden">
<div class="bg-gray-900 rounded-xl p-6 max-w-md w-full mx-6 border border-purple-500/20">
<div class="flex items-center justify-between mb-4">
<h3 class="text-xl font-semibold">How to Use</h3>
<button onclick="closeHelp()" class="text-gray-400 hover:text-white">
<i data-lucide="x" class="w-5 h-5"></i>
</button>
</div>
<div class="space-y-3 text-gray-300">
<p>1. Upload a JSON telemetry file from your game</p>
<p>2. Review the analysis dashboard for patterns</p>
<p>3. Click on sequences to view detailed playback</p>
<p>4. Export reports for documentation</p>
</div>
</div>
</div>
<!-- Components -->
<script src="components/combat-sequence.js"></script>
<script src="components/player-stats.js"></script>
<script src="components/playback-controls.js"></script>
<!-- Main Application Script -->
<script src="script.js"></script>
<!-- Initialize Icons -->
<script>
lucide.createIcons();
</script>
</body>
</html>