AttorneyOnline / tsuserver3

An Attorney Online server.
GNU Affero General Public License v3.0
25 stars 51 forks source link

Switch to HTTP API for advertising on server list #191

Closed oldmud0 closed 2 years ago

oldmud0 commented 2 years ago

Instead of advertising over master.aceattorneyonline.com:27016, tsuserver will now send a heartbeat to the API at https://servers.aceattorneyonline.com. The legacy MS will be bridged this week to the HTTP server list, so this will not prevent pre-2.10 clients from discovering the server.

Because some network stacks prefer IPv6 connections over IPv4, a STUN server (ubiquitous in WebRTC) is used to get the IPv4 address, which is added to the heartbeat request.

It's also possible to pass a custom hostname or IP address, if for instance your VPS requests you to use a particular "DDoS protected address" or you want to use a hostname that can be placed on favorite lists and work across IP address changes.

Crystalwarrior commented 2 years ago

Bro isn't KFO-Server the current maintained server base lol

oldmud0 commented 2 years ago

don't worry it should be cherrypickable in