From 905cb85eb765ec73fc2b4ba51e50051583adfc22 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Fri, 12 Sep 2025 20:25:30 -0400 Subject: [Client] Fixed issue with large datapackages --- client/Archipelago/client.gd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'client/Archipelago/client.gd') diff --git a/client/Archipelago/client.gd b/client/Archipelago/client.gd index 2e080fd..843647d 100644 --- a/client/Archipelago/client.gd +++ b/client/Archipelago/client.gd @@ -47,6 +47,8 @@ signal location_scout_received(item_id, location_id, player, flags) func _init(): set_process_mode(Node.PROCESS_MODE_ALWAYS) + _ws.inbound_buffer_size = 8388608 + global._print("Instantiated APClient") # Read AP datapackages from file, if there are any @@ -225,7 +227,7 @@ func _process(_delta): error_message = "Unknown error." _initiated_disconnect = true - _ws.disconnect_from_host() + _ws.close() emit_signal("could_not_connect", error_message) global._print("Connection to AP refused") @@ -309,7 +311,7 @@ func connectToServer(server, un, pw): % err ) ) - global._print("Could not connect to AP: " + err) + global._print("Could not connect to AP: %d" % err) return _should_process = true -- cgit 1.4.1