diff --git a/assets/Scripts/Models/nel_server_info.gd b/assets/Scripts/Models/nel_server_info.gd index b48e9f9..e317ef1 100644 --- a/assets/Scripts/Models/nel_server_info.gd +++ b/assets/Scripts/Models/nel_server_info.gd @@ -3,14 +3,17 @@ class nel_server_info: var _shardIp; var _ringStartAdress; var _ringAddress; - var _unknowAdress; - var _patchAddress; + var _patchVersion + var _backupPatchUrls; + var _patchUrls; func _init(connexionResultString): var params = connexionResultString.split('#'); - _cookie = params[1]; - _shardIp = params[2]; - _ringStartAdress = params[3]; - _ringAddress = params[4]; - _unknowAdress = params[5]; - _patchAddress = params[6]; \ No newline at end of file + var temp = params[4].split('\n') + self._cookie = params[1]; + self._shardIp = params[2]; + self._ringStartAdress = params[3]; + self._ringAddress = temp[0]; + self._patchVersion = temp[1]; + self._backupPatchUrls = params[5]; + self._patchUrls = params[6]; \ No newline at end of file diff --git a/gui_scene/GUI/login/login_menu.gd b/gui_scene/GUI/login/login_menu.gd index 618312e..dd1c3cf 100644 --- a/gui_scene/GUI/login/login_menu.gd +++ b/gui_scene/GUI/login/login_menu.gd @@ -36,8 +36,6 @@ func _on_HTTPRequest_request_completed(result, response_code, headers, body): if(s[0] != "0"): var server_info_script = load("res://assets/Scripts/Models/nel_server_info.gd"); var server_info = server_info_script.nel_server_info.new(body.get_string_from_utf8()); - print(server_info._cookie) - print(server_info._shardIp) emit_signal( "login_button_pressed" ) # No error so login was successful.