2024-01-04 19:02:14 +00:00
|
|
|
package storage
|
|
|
|
|
2024-01-20 01:58:57 +00:00
|
|
|
import (
|
|
|
|
"github.com/ectrc/snow/aid"
|
|
|
|
)
|
2024-01-04 19:02:14 +00:00
|
|
|
|
|
|
|
func GetDefaultEngine() []byte {
|
2024-02-12 20:29:02 +00:00
|
|
|
/*[OnlineSubsystemMcp]
|
|
|
|
bUsePartySystemV2=true
|
|
|
|
|
|
|
|
[OnlineSubsystemMcp.OnlinePartySystemMcpAdapter]
|
|
|
|
bUsePartySystemV2=true*/
|
2024-01-04 19:02:14 +00:00
|
|
|
return []byte(`
|
2024-01-20 01:58:57 +00:00
|
|
|
[OnlineSubsystemMcp.Xmpp]
|
|
|
|
bUseSSL=false
|
|
|
|
Protocol=ws
|
2024-01-28 22:04:40 +00:00
|
|
|
ServerAddr="ws://`+ aid.Config.API.Host + aid.Config.API.Port +`/?"
|
2024-01-20 01:58:57 +00:00
|
|
|
|
|
|
|
[OnlineSubsystemMcp.Xmpp Prod]
|
|
|
|
bUseSSL=false
|
|
|
|
Protocol=ws
|
2024-01-28 22:04:40 +00:00
|
|
|
ServerAddr="ws://`+ aid.Config.API.Host + aid.Config.API.Port +`/?"
|
2024-01-20 01:58:57 +00:00
|
|
|
|
2024-01-04 19:02:14 +00:00
|
|
|
[XMPP]
|
|
|
|
bEnableWebsockets=true
|
|
|
|
|
2024-01-20 01:58:57 +00:00
|
|
|
[ConsoleVariables]
|
|
|
|
n.VerifyPeer=0
|
|
|
|
FortMatchmakingV2.ContentBeaconFailureCancelsMatchmaking=0
|
|
|
|
Fort.ShutdownWhenContentBeaconFails=0
|
|
|
|
FortMatchmakingV2.EnableContentBeacon=0
|
2024-01-04 19:02:14 +00:00
|
|
|
|
2024-01-20 01:58:57 +00:00
|
|
|
[/Script/Qos.QosRegionManager]
|
|
|
|
NumTestsPerRegion=5
|
|
|
|
PingTimeout=3.0`)
|
2024-01-31 16:20:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func GetDefaultGame() []byte {
|
|
|
|
return []byte(`
|
|
|
|
[/Script/FortniteGame.FortGlobals]
|
|
|
|
bAllowLogout=false
|
|
|
|
|
|
|
|
[/Script/FortniteGame.FortChatManager]
|
|
|
|
bShouldRequestGeneralChatRooms=false
|
|
|
|
bShouldJoinGlobalChat=false
|
|
|
|
bShouldJoinFounderChat=false
|
|
|
|
bIsAthenaGlobalChatEnabled=false
|
|
|
|
|
|
|
|
[/Script/FortniteGame.FortOnlineAccount]
|
|
|
|
bEnableEulaCheck=false
|
|
|
|
bShouldCheckIfPlatformAllowed=false`)
|
|
|
|
}
|
|
|
|
|
|
|
|
func GetDefaultRuntime() []byte {
|
2024-01-31 21:40:47 +00:00
|
|
|
return []byte(`
|
2024-01-31 16:20:26 +00:00
|
|
|
[/Script/FortniteGame.FortRuntimeOptions]
|
|
|
|
bEnableGlobalChat=true
|
|
|
|
bDisableGifting=false
|
|
|
|
bDisableGiftingPC=false
|
|
|
|
bDisableGiftingPS4=false
|
|
|
|
bDisableGiftingXB=false
|
|
|
|
!ExperimentalCohortPercent=ClearArray
|
2024-01-31 21:40:47 +00:00
|
|
|
+ExperimentalCohortPercent=(CohortPercent=100,ExperimentNum=20)`)
|
2024-01-04 19:02:14 +00:00
|
|
|
}
|