Migrate Tekton Dash Asia to Tailscale Funnel
This commit is contained in:
+1
-1
@@ -453,7 +453,7 @@ func _on_server_option_selected(index: int) -> void:
|
||||
elif index == 4:
|
||||
# Tekton Dash Asia
|
||||
if server_ip_input: server_ip_input.visible = false
|
||||
NakamaManager.set_server("switches-reported-chambers-field.trycloudflare.com")
|
||||
NakamaManager.set_server("thunderobot.tapir-atria.ts.net")
|
||||
LobbyManager.is_lan_mode = false
|
||||
connection_status.text = "Mode: Online (Tekton Dash Asia)"
|
||||
|
||||
|
||||
@@ -2,9 +2,10 @@ extends Node
|
||||
|
||||
# Standard Nakama Configuration
|
||||
var nakama_server_key = "defaultkey"
|
||||
var nakama_host = "switches-reported-chambers-field.trycloudflare.com"
|
||||
var nakama_host = "thunderobot.tapir-atria.ts.net"
|
||||
var nakama_port = 7350
|
||||
var nakama_scheme = "http"
|
||||
var nakama_scheme = "https"
|
||||
var nakama_port_funnel = 443
|
||||
|
||||
# Core Nakama Variables
|
||||
var client: NakamaClient
|
||||
@@ -29,7 +30,10 @@ func _ready():
|
||||
set_process(true)
|
||||
|
||||
func _init_client():
|
||||
client = Nakama.create_client(nakama_server_key, nakama_host, nakama_port, nakama_scheme)
|
||||
if nakama_host == "thunderobot.tapir-atria.ts.net":
|
||||
client = Nakama.create_client(nakama_server_key, nakama_host, 443, "https")
|
||||
else:
|
||||
client = Nakama.create_client(nakama_server_key, nakama_host, nakama_port, nakama_scheme)
|
||||
|
||||
func set_server(host: String, port: int = 7350):
|
||||
# Clean up the host string
|
||||
|
||||
@@ -52,7 +52,7 @@ func _ready() -> void:
|
||||
server_option.selected = 0
|
||||
elif NakamaManager.nakama_host == "tektondash.vps.webdock.cloud":
|
||||
server_option.selected = 3
|
||||
elif NakamaManager.nakama_host == "switches-reported-chambers-field.trycloudflare.com":
|
||||
elif NakamaManager.nakama_host == "thunderobot.tapir-atria.ts.net":
|
||||
server_option.selected = 4
|
||||
else:
|
||||
server_option.selected = 1
|
||||
@@ -247,7 +247,7 @@ func _on_server_option_selected(index: int) -> void:
|
||||
# Tekton Dash Asia
|
||||
server_ip_input.visible = false
|
||||
if lan_section: lan_section.visible = false
|
||||
NakamaManager.set_server("switches-reported-chambers-field.trycloudflare.com")
|
||||
NakamaManager.set_server("thunderobot.tapir-atria.ts.net")
|
||||
|
||||
func _on_server_ip_submitted(new_text: String) -> void:
|
||||
if server_option and server_option.selected == 1:
|
||||
|
||||
Reference in New Issue
Block a user