Game Server: Difference between revisions

From Flashpoint Datahub
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


=== Technical stuff ===
=== Technical stuff ===
The server starts two HTTP listeners bound to 127.0.0.1
The server starts two HTTP listeners bound to 127.0.0.
- **22500** (proxyPort): where games connect


- **22501** (serverHTTPPort): internal HTTP Proxy
* '''22500 -''' the proxy listener for applications
 
* '''22501 -''' internal HTTP Proxy


==== Request flow ====
==== Request flow ====

Revision as of 13:19, 28 December 2025

Flashpoint Game Server is a specialized proxy and web game server written in Go. The server acts as a local proxy that intercepts HTTP/HTTPS requests and serves content from archived game data stored in ZIP files.

All technologies uses the Game Server as a proxy. This means all the web-requests will be forwarded to this server.

Technical stuff

The server starts two HTTP listeners bound to 127.0.0.

  • 22500 - the proxy listener for applications
  • 22501 - internal HTTP Proxy

Request flow

Game requests `http://example.com/path/file.swf` . Proxy rewrites it to `http://127.0.0.1:22501/content/example.com/path/file.swf`. Internally traffic on 22501 is forwarded to the ZipFS server which responds with content from the gamezip-file on disk.

If the ZipFS is unable to handle the response the traffic is forwarded to legacy on port 22600