Complete remaining client gap features
This commit is contained in:
+3
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user