Complete remaining client gap features

This commit is contained in:
shenlei
2026-09-04 13:25:05 +09:00
parent 13ccb8d02d
commit 9a4a044da5
47 changed files with 6667 additions and 140 deletions
+3 -1
View File
@@ -42,7 +42,9 @@ func _run() -> void:
_ck(si.count() == 1 and si.server(0)["auth_host"] == "192.168.21.203", "serverinfo: built-in default")
var addr: Dictionary = si.address(0, 3)
_ck(addr["game_port"] == 13022, "serverinfo: 内置 CH3 -> 13022 (step 10)")
var tmp := "user://p10_servers.txt"
# user:// may be read-only in the managed headless runner; the parser only
# needs a temporary text file, so keep this fixture outside the project.
var tmp := "/tmp/mtgodot-p10-servers.txt"
var f := FileAccess.open(tmp, FileAccess.WRITE)
f.store_line("# test")
f.store_line("欧服\teu.example.com\t13000\teu.example.com\t13011\t1,2\t10")