Add Tekton Dash Asia via Cloudflare Tunnel as separate option

This commit is contained in:
god
2026-07-13 16:18:38 +08:00
parent 35fbe4ac66
commit 77599a68cc
4 changed files with 21 additions and 4 deletions
+7 -1
View File
@@ -447,9 +447,15 @@ func _on_server_option_selected(index: int) -> void:
elif index == 3:
# Tekton Dash EU
if server_ip_input: server_ip_input.visible = false
NakamaManager.set_server("allan-ancient-boundary-consortium.trycloudflare.com")
NakamaManager.set_server("tektondash.vps.webdock.cloud")
LobbyManager.is_lan_mode = false
connection_status.text = "Mode: Online (Tekton Dash EU)"
elif index == 4:
# Tekton Dash Asia
if server_ip_input: server_ip_input.visible = false
NakamaManager.set_server("allan-ancient-boundary-consortium.trycloudflare.com")
LobbyManager.is_lan_mode = false
connection_status.text = "Mode: Online (Tekton Dash Asia)"
func _on_server_ip_submitted(new_text: String) -> void:
if server_option and server_option.selected == 1:
+3 -1
View File
@@ -927,7 +927,7 @@ text = "TEKTON DASH"
unique_name_in_owner = true
layout_mode = 0
selected = 3
item_count = 4
item_count = 5
popup/item_0/text = "Nakama - Localhost (Testing)"
popup/item_0/id = 0
popup/item_1/text = "Nakama - Remote Server (Host IP)"
@@ -936,6 +936,8 @@ popup/item_2/text = "LAN Direct (No Server)"
popup/item_2/id = 2
popup/item_3/text = "Tekton Dash EU"
popup/item_3/id = 3
popup/item_4/text = "Tekton Dash Asia"
popup/item_4/id = 4
[node name="ServerIPInput" type="LineEdit" parent="MainMenuPanel/HiddenLogic" unique_id=1616424715]
unique_name_in_owner = true
+3 -1
View File
@@ -352,7 +352,7 @@ unique_name_in_owner = true
custom_minimum_size = Vector2(0, 44)
layout_mode = 2
selected = 3
item_count = 4
item_count = 5
popup/item_0/text = "Nakama - Localhost (Testing)"
popup/item_0/id = 0
popup/item_1/text = "Nakama - Remote Server (Host IP)"
@@ -361,6 +361,8 @@ popup/item_2/text = "LAN Direct (No Server)"
popup/item_2/id = 2
popup/item_3/text = "Nakama - Tekton Dash EU"
popup/item_3/id = 3
popup/item_4/text = "Nakama - Tekton Dash Asia"
popup/item_4/id = 4
[node name="ServerIPInput" type="LineEdit" parent="ServerSelectionSection" unique_id=1444265129]
unique_name_in_owner = true
+8 -1
View File
@@ -50,8 +50,10 @@ func _ready() -> void:
# Initialize connection mode view
if NakamaManager.nakama_host == "localhost":
server_option.selected = 0
elif NakamaManager.nakama_host == "allan-ancient-boundary-consortium.trycloudflare.com":
elif NakamaManager.nakama_host == "tektondash.vps.webdock.cloud":
server_option.selected = 3
elif NakamaManager.nakama_host == "allan-ancient-boundary-consortium.trycloudflare.com":
server_option.selected = 4
else:
server_option.selected = 1
server_ip_input.text = NakamaManager.nakama_host if NakamaManager.nakama_host != "localhost" else "127.0.0.1"
@@ -240,6 +242,11 @@ func _on_server_option_selected(index: int) -> void:
# Tekton Dash EU
server_ip_input.visible = false
if lan_section: lan_section.visible = false
NakamaManager.set_server("tektondash.vps.webdock.cloud")
elif index == 4:
# Tekton Dash Asia
server_ip_input.visible = false
if lan_section: lan_section.visible = false
NakamaManager.set_server("allan-ancient-boundary-consortium.trycloudflare.com")
func _on_server_ip_submitted(new_text: String) -> void: