diff --git a/scenes/lobby.gd b/scenes/lobby.gd index d6ba491..ce7a9f7 100644 --- a/scenes/lobby.gd +++ b/scenes/lobby.gd @@ -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: diff --git a/scenes/lobby.tscn b/scenes/lobby.tscn index 6d7c256..282fb47 100644 --- a/scenes/lobby.tscn +++ b/scenes/lobby.tscn @@ -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 diff --git a/scenes/ui/login_screen.tscn b/scenes/ui/login_screen.tscn index c35043b..3c038d3 100644 --- a/scenes/ui/login_screen.tscn +++ b/scenes/ui/login_screen.tscn @@ -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 diff --git a/scripts/ui/login_screen.gd b/scripts/ui/login_screen.gd index 01450f8..b2f1a5f 100644 --- a/scripts/ui/login_screen.gd +++ b/scripts/ui/login_screen.gd @@ -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: