proxy support, how to connect to mm

This commit is contained in:
Milxnor
2023-05-28 12:55:33 -04:00
parent e86a84dc10
commit 1f8261ab39
3 changed files with 20 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ Go to `settings.h` and change the variable `CobaltUsage` to `ECobaltUsage::Hybri
[Download LawinServerV1](https://github.com/Lawin0129/LawinServer) and run `install_packages.bat` and then `start.bat`.<br><br>
In Cobalt, change the mode to hybrid ([tutorial](https://github.com/Milxnor/Cobalt#enabling-hybrid)) and make sure `URL_HOST` is `127.0.0.1` (localhost) and `URL_PORT` is 3551 (default LawinServerV1 port) in `settings.h`.
## How to have fiddler and connect to XMPP
## How to have Fiddler and connect to XMPP and matchmaker
Thanks [Lawin](https://github.com/Lawin0129) for this method.<br>
Go to the `CloudStorage` folder in your LawinServerV1 and open `DefaultEngine.ini` and change it to
@@ -31,7 +31,7 @@ Protocol=ws
bUseSSL=false
```
Put this into your fiddler script.
Put this into your FiddlerScript.
```
import Fiddler;
@@ -43,6 +43,18 @@ class Handlers
{
oSession.oRequest.headers.UriScheme = "https";
}
if (oSession.hostname.StartsWith("fortnite-matchmaking"))
{
oSession.oRequest.headers.UriScheme = "https";
}
if (oSession.hostname.StartsWith("fortnite-mm"))
{
oSession.oRequest.headers.UriScheme = "https";
}
}
static function OnBeforeResponse(oSession: Session) {
oSession.utilReplaceInResponse("wss://", "ws://");
}
}
```
@@ -51,7 +63,7 @@ class Handlers
Go to your Win64 folder of latest, replace `FortniteClient-Win64-Shipping_BE.exe`, `FortniteClient-Win64-Shipping_EAC.exe`, and `FortniteClient-Win64-Shipping_EAC_EOS.exe` with `FortniteClient-Win64-Shipping.exe`.<br>
![image](https://github.com/Milxnor/Cobalt/assets/84999745/aca1fee6-6751-48c7-b81d-70618e5a46f5)<br>
Launch fiddler, and when you get the error, inject Cobalt and then you should load in lobby a few seconds later.
Launch Fiddler, and when you get the error, inject Cobalt and then you should load in lobby a few seconds later.
# Credits