Skip to content

Commit

Permalink
Clarify Linux issues #426
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeltris committed Aug 6, 2024
1 parent cc5892b commit 3a8990f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Docs/Linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ If you'd like to run without the wine logging you can use this command instead `

## ClientSettings.json changes (required)

Currently you need edit the default provided `YgoMaster/Data/ClientData/ClientSettings.json`
Currently you need edit `YgoMaster/Data/ClientData/ClientSettings.json`

- Change `{ProxyPort}` to `{BasePort}` in both the `"ServerUrl"` and `"ServerPollUrl"`.
- If you're running PvP you may need to switch it back.
Change `{ProxyPort}` to `{BasePort}` in both the `"ServerUrl"` and `"ServerPollUrl"`

NOTE: The client doesn't want to connect on anything other than localhost which is the reason why `ProxyPort` exists. As the proxy isn't being used in this case you cannot use any IP other than localhost for `BaseIP`. The reason why the above change is required under Linux is because the HTTP proxy wasn't implemented properly and the HTTP listener is ignoring requests due to the `Host` address of the HTTP request not matching the HTTP listener's host name.

NOTE: PvP currently doesn't work on Linux unless you run the `YgoMaster.exe` server on a Windows machine. If you do that then you will need to undo the changes to `"ServerUrl"` / `"ServerPollUrl"`.

TODO: Fix either the HTTP proxy or the HTTP Listener to allow the connection through.

## Bugs

Expand Down

0 comments on commit 3a8990f

Please sign in to comment.