diff --git a/default.config.ini b/default.config.ini index aa5188d..6a25562 100644 --- a/default.config.ini +++ b/default.config.ini @@ -74,6 +74,7 @@ disable_password=false ; if you recieve lots of /account/api/oauth/token requests, set this to true ; this will disable the client credentials grant type ; however this will also disable a user to get the hotfixes before login +; enabling will disable the store tab ; so xmpp and other hotfix related things will be delayed by ~1 minute disable_client_credentials=false ; this is used to generate a random shop diff --git a/readme.md b/readme.md index 6505efc..7c86304 100644 --- a/readme.md +++ b/readme.md @@ -4,6 +4,8 @@ > Performance first, feature-rich universal Fortnite private server backend written in Go. +Snow will no longer be updated. I have reached a point where I would need a game server to make it worth adding new features, e.g. Leaderboards, Challenges etc. In the future I may continue but for the time being no updates will occur. If you would like to contribute I will still review each request! + ## Overview - **Single File** It will embed all of the external files inside of one executable! This allows the backend to be ran anywhere with no setup _(after initial config)_! diff --git a/storage/hotfix.go b/storage/hotfix.go index bca7899..5d0a061 100644 --- a/storage/hotfix.go +++ b/storage/hotfix.go @@ -16,6 +16,10 @@ func GetDefaultEngine() []byte { realPort := fmt.Sprintf("%d", portNumber) str := ` +[OnlineSubsystemMcp.OnlinePaymentServiceMcp Fortnite] +Domain="launcher-website-prod.ak.epicgames.com" +BasePath="/logout?redirectUrl=https%3A%2F%2Fwww.unrealengine.com%2Fid%2Flogout%3FclientId%3Dxyza7891KKDWlczTxsyy7H3ExYgsNT4Y%26responseType%3Dcode%26redirectUrl%3Dhttps%253A%252F%252Ftesting-site.neonitedev.live%252Fid%252Flogin%253FredirectUrl%253Dhttps%253A%252F%252Ftesting-site.neonitedev.live%252Fpurchase%252Facquire&path=" + [XMPP] bEnableWebsockets=true @@ -30,18 +34,27 @@ FortMatchmakingV2.EnableContentBeacon=0 [/Script/Qos.QosRegionManager] NumTestsPerRegion=5 -PingTimeout=3.0` +PingTimeout=3.0 + +[LwsWebSocket] +bDisableCertValidation=true +bDisableDomainWhitelist=true + +[WinHttpWebSocket] +bDisableDomainWhitelist=true` if aid.Config.Fortnite.Season <= 2 { str += ` [OnlineSubsystemMcp.Xmpp] +bUsePlainTextAuth=true bUseSSL=false Protocol=tcp ServerAddr="`+ aid.Config.API.Host + `" ServerPort=`+ realPort + ` [OnlineSubsystemMcp.Xmpp Prod] +bUsePlainTextAuth=true bUseSSL=false Protocol=tcp ServerAddr="`+ aid.Config.API.Host + `" @@ -49,14 +62,16 @@ ServerPort=`+ realPort } else { str += ` [OnlineSubsystemMcp.Xmpp] +bUsePlainTextAuth=true bUseSSL=false Protocol=ws -ServerAddr="ws://`+ aid.Config.API.Host + aid.Config.API.Port +`/?" +ServerAddr="ws://`+ aid.Config.API.Host + aid.Config.API.Port +`/?SNOW_SOCKET_CONNECTION" [OnlineSubsystemMcp.Xmpp Prod] +bUsePlainTextAuth=true bUseSSL=false Protocol=ws -ServerAddr="ws://`+ aid.Config.API.Host + aid.Config.API.Port +`/?"` +ServerAddr="ws://`+ aid.Config.API.Host + aid.Config.API.Port +`/?SNOW_SOCKET_CONNECTION"` } return []byte(str) @@ -83,6 +98,7 @@ GameDev="http://localhost:5173/purchase" Stage="http://127.0.0.1:5173/purchase" Prod="http://127.0.0.1:5173/purchase" UEPlatform="FNGame" + `)} func GetDefaultRuntime() []byte {return []byte(`