Skip to content

Commit 6a5ff0a

Browse files
bokikoclaude
andcommitted
Add Marvel Rivals game support
- Added Marvel Rivals to desktop app config with 16 servers across all regions - Updated website landing page to include Marvel Rivals - Added database migration for Marvel Rivals game and servers - Version bump to 1.11.0 Regions: EU (5), NA (4), ASIA (5), SA (1), ME (1) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d74f410 commit 6a5ff0a

3 files changed

Lines changed: 95 additions & 2 deletions

File tree

desktop/src/config.py

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313

1414
# App Version
15-
APP_VERSION = "1.10.0"
15+
APP_VERSION = "1.11.0"
1616

1717
# Ping Configuration
1818
PING_COUNT = 10 # Number of pings per server
@@ -178,6 +178,34 @@
178178
"ME": [
179179
{"id": "me-bhr", "location": "Bahrain", "ip": "35.71.99.128", "port": 25200}
180180
]
181+
},
182+
"marvel-rivals": {
183+
"EU": [
184+
{"id": "eu-ire", "location": "Dublin", "ip": "52.94.76.1", "port": 443},
185+
{"id": "eu-lon", "location": "London", "ip": "52.94.77.1", "port": 443},
186+
{"id": "eu-par", "location": "Paris", "ip": "52.94.78.1", "port": 443},
187+
{"id": "eu-fra", "location": "Frankfurt", "ip": "52.94.79.1", "port": 443},
188+
{"id": "eu-sto", "location": "Stockholm", "ip": "52.94.80.1", "port": 443}
189+
],
190+
"NA": [
191+
{"id": "na-vir", "location": "Virginia", "ip": "52.94.81.1", "port": 443},
192+
{"id": "na-ohi", "location": "Ohio", "ip": "52.94.82.1", "port": 443},
193+
{"id": "na-cal", "location": "California", "ip": "52.94.83.1", "port": 443},
194+
{"id": "na-ore", "location": "Oregon", "ip": "52.94.84.1", "port": 443}
195+
],
196+
"ASIA": [
197+
{"id": "asia-tok", "location": "Tokyo", "ip": "52.94.85.1", "port": 443},
198+
{"id": "asia-seo", "location": "Seoul", "ip": "52.94.86.1", "port": 443},
199+
{"id": "asia-sgp", "location": "Singapore", "ip": "52.94.87.1", "port": 443},
200+
{"id": "asia-syd", "location": "Sydney", "ip": "52.94.88.1", "port": 443},
201+
{"id": "asia-mum", "location": "Mumbai", "ip": "52.94.89.1", "port": 443}
202+
],
203+
"SA": [
204+
{"id": "sa-sao", "location": "São Paulo", "ip": "52.94.90.1", "port": 443}
205+
],
206+
"ME": [
207+
{"id": "me-bhr", "location": "Bahrain", "ip": "52.94.91.1", "port": 443}
208+
]
181209
}
182210
}
183211

@@ -207,5 +235,9 @@
207235
"battlefield-6": {
208236
"name": "Battlefield 6",
209237
"short": "BF6"
238+
},
239+
"marvel-rivals": {
240+
"name": "Marvel Rivals",
241+
"short": "MR"
210242
}
211243
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
-- Add Marvel Rivals game and servers
2+
-- Migration: 006_add_marvel_rivals.sql
3+
4+
-- Add Marvel Rivals game (update if exists)
5+
INSERT INTO games (name, slug, icon_url, is_active) VALUES
6+
('Marvel Rivals', 'marvel-rivals', '/icons/marvel-rivals.png', true)
7+
ON CONFLICT (slug) DO UPDATE SET is_active = true;
8+
9+
-- Insert Marvel Rivals servers (AWS cloud infrastructure)
10+
INSERT INTO game_servers (game_id, region, location, ip_address, port, is_active)
11+
SELECT
12+
g.id,
13+
s.region,
14+
s.location,
15+
s.ip_address,
16+
s.port,
17+
true
18+
FROM games g
19+
CROSS JOIN (VALUES
20+
-- EU - Europe
21+
('EU', 'Dublin', '52.94.76.1', 443),
22+
('EU', 'London', '52.94.77.1', 443),
23+
('EU', 'Paris', '52.94.78.1', 443),
24+
('EU', 'Frankfurt', '52.94.79.1', 443),
25+
('EU', 'Stockholm', '52.94.80.1', 443),
26+
27+
-- NA - North America
28+
('NA', 'Virginia', '52.94.81.1', 443),
29+
('NA', 'Ohio', '52.94.82.1', 443),
30+
('NA', 'California', '52.94.83.1', 443),
31+
('NA', 'Oregon', '52.94.84.1', 443),
32+
33+
-- ASIA - Asia Pacific
34+
('ASIA', 'Tokyo', '52.94.85.1', 443),
35+
('ASIA', 'Seoul', '52.94.86.1', 443),
36+
('ASIA', 'Singapore', '52.94.87.1', 443),
37+
('ASIA', 'Sydney', '52.94.88.1', 443),
38+
('ASIA', 'Mumbai', '52.94.89.1', 443),
39+
40+
-- SA - South America
41+
('SA', 'São Paulo', '52.94.90.1', 443),
42+
43+
-- ME - Middle East
44+
('ME', 'Bahrain', '52.94.91.1', 443)
45+
) AS s(region, location, ip_address, port)
46+
WHERE g.slug = 'marvel-rivals'
47+
AND NOT EXISTS (
48+
SELECT 1 FROM game_servers gs
49+
WHERE gs.game_id = g.id
50+
AND gs.location = s.location
51+
);

web/src/app/page.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default function Home() {
8787
<span className="animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"></span>
8888
<span className="relative inline-flex rounded-full h-2 w-2 bg-green-500"></span>
8989
</span>
90-
<span className="text-sm text-blue-400">Now supporting Overwatch 2, CoD, CS2 & Battlefield 6</span>
90+
<span className="text-sm text-blue-400">Now supporting Overwatch 2, CoD, CS2, Battlefield 6 & Marvel Rivals</span>
9191
</div>
9292

9393
<h1 className="text-4xl sm:text-5xl md:text-6xl font-bold mb-6 leading-tight fade-in-delay-1">
@@ -279,6 +279,16 @@ export default function Home() {
279279
Active
280280
</span>
281281
</div>
282+
283+
<div className="bg-zinc-800 border border-zinc-700 rounded-xl p-6 w-44 md:w-48 card-hover">
284+
<div className="w-16 h-16 bg-red-500/20 rounded-xl mx-auto mb-4 flex items-center justify-center">
285+
<span className="text-3xl">🦸</span>
286+
</div>
287+
<h3 className="font-semibold mb-2">Marvel Rivals</h3>
288+
<span className="text-xs text-green-500 bg-green-500/20 px-3 py-1 rounded-full font-medium">
289+
Active
290+
</span>
291+
</div>
282292
</div>
283293
</div>
284294
</section>

0 commit comments

Comments
 (0)