Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Auth issues resolved
Browse files Browse the repository at this point in the history
  • Loading branch information
Fogapod committed Sep 25, 2021
1 parent 33e06e9 commit 778d0a2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cargo-features = ["strip"]

[package]
name = "rshub"
version = "0.1.4"
version = "0.1.5"
authors = ["Fogapod <[email protected]>"]
edition = "2018"
description = "Unofficial game launcher for UnityStation"
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ UnityStation is a modern remake of Space Station 13 in Unity.
| written in rust | yes | no |
| ian icon | no | [broken](https://github.com/unitystation/stationhub/issues/111) |

[1] Even though launching game without auth has major inconveniences, described in [issues](#issues), I am not planning to support firebase (unitystation is switching to their own provider).
[1] I am not planning to support firebase auth, unitystation is switching to their own provider.

### Platform support
- Linux: developed and tested on.
Expand All @@ -44,11 +44,9 @@ Run from source (latest version):
- Press F1 on any screen to show hotkeys.

### Issues
There are multiple issues using RSHub currently:
Possible problems and fixes:
- Linux, i3 specific: game starts in fullscreen in bad resolution. Solution: uncheck fullscreen mode in game settings.
- You will get auth error when connecting to server. This is because of a workaround for this bug: https://github.com/unitystation/unitystation/issues/7375
- When connecting to server, you will have to uncheck `Host Server` checkbox because of this bug: https://github.com/unitystation/unitystation/issues/7376
- When connecting to server, you will have to enter your password each time. Autologin is broken: https://github.com/unitystation/unitystation/issues/7377
- rshub 0.1.5 only supports servers of version UnityStationDevelop-21092504 and later because of auth changes. If you need to connect to older builds, you must use rshub 0.1.4.

### Geolocation
Currently geolocation feature (world map) is opt-in at compile time because of security cencerns.
Expand Down
2 changes: 1 addition & 1 deletion src/datatypes/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ impl Server {
players,
fps,
version,
address: address.clone(),
address,
// updated: true,
offline: false,
}
Expand Down
7 changes: 1 addition & 6 deletions src/states/versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,12 +490,7 @@ impl VersionsState {
.arg("--server")
.arg(address.ip.to_string())
.arg("--port")
.arg(address.port.to_string())
// these are required for custom port and server because of bug
.arg("--refreshtoken")
.arg("gibberish")
.arg("--uid")
.arg("gibberish");
.arg(address.port.to_string());
}
command
.stdin(Stdio::null())
Expand Down

0 comments on commit 778d0a2

Please sign in to comment.