Testing things
This commit is contained in:
parent
5825b38b85
commit
9deca27ca7
43
config/DefaultGame.ini
Normal file
43
config/DefaultGame.ini
Normal file
|
@ -0,0 +1,43 @@
|
|||
[/Script/FortniteGame.FortGlobals]
|
||||
bAllowLogout=false
|
||||
|
||||
[/Script/FortniteGame.FortChatManager]
|
||||
bShouldRequestGeneralChatRooms=false
|
||||
bShouldJoinGlobalChat=false
|
||||
bShouldJoinFounderChat=false
|
||||
bIsAthenaGlobalChatEnabled=false
|
||||
|
||||
[/Script/FortniteGame.FortOnlineAccount]
|
||||
bEnableEulaCheck=false
|
||||
bShouldCheckIfPlatformAllowed=false
|
||||
|
||||
[EpicPurchaseFlow]
|
||||
bUsePaymentWeb=false
|
||||
CI="http://127.0.0.1:3000/purchase"
|
||||
GameDev="http://127.0.0.1:3000/purchase"
|
||||
Stage="http://127.0.0.1:3000/purchase"
|
||||
Prod="http://127.0.0.1:3000/purchase"
|
||||
UEPlatform="FNGame"
|
||||
|
||||
[/Script/FortniteGame.FortTextHotfixConfig]
|
||||
+TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="68ADE44C49B20BFF78677799BE68B0EE", NativeString="FORTNITEMARES", LocalizedStrings=(("en","BOOST PERKS")))
|
||||
+TextReplacements=(Category=Game, bIsMinimalPatch=True, Namespace="", Key="BE6B17BD456F3F13EEB2998AF91DC717", NativeString="THANKS FOR PLAYING!", LocalizedStrings=(("en","THANKS FOR SUPPORTING SNOW!")))
|
||||
|
||||
[/Script/FortniteGame.FortGameInstance]
|
||||
!FrontEndPlaylistData=ClearArray
|
||||
+FrontEndPlaylistData=(PlaylistName=Playlist_DefaultSolo, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=True, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=0, bDisplayAsLimitedTime=False, DisplayPriority=0))
|
||||
+FrontEndPlaylistData=(PlaylistName=Playlist_DefaultDuo, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=True, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=0, bDisplayAsLimitedTime=False, DisplayPriority=1))
|
||||
+FrontEndPlaylistData=(PlaylistName=Playlist_DefaultSquad, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=True, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=0, bDisplayAsLimitedTime=False, DisplayPriority=2))
|
||||
+FrontEndPlaylistData=(PlaylistName=Playlist_ShowdownAlt_Solo, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=False, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=1, bDisplayAsLimitedTime=False, DisplayPriority=0))
|
||||
+FrontEndPlaylistData=(PlaylistName=Playlist_ShowdownAlt_Duos, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=False, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=1, bDisplayAsLimitedTime=False, DisplayPriority=1))
|
||||
|
||||
[AssetHotfix]
|
||||
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Sniper_BoltAction_Scope_Athena_R_Ore_T03;Spread;0
|
||||
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Sniper_BoltAction_Scope_Athena_R_Ore_T03;StandingStillSpreadMultiplier;0.0
|
||||
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Sniper_BoltAction_Scope_Athena_R_Ore_T03;AthenaCrouchingSpreadMultiplier;0.0
|
||||
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Sniper_BoltAction_Scope_Athena_R_Ore_T03;AthenaJumpingFallingSpreadMultiplier;0.0
|
||||
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Sniper_BoltAction_Scope_Athena_R_Ore_T03;AthenaSprintingSpreadMultiplier;0.0
|
||||
+DataTable=/Game/Athena/Items/Weapons/AthenaRangedWeapons;RowUpdate;Sniper_BoltAction_Scope_Athena_R_Ore_T03;BulletsPerCartridge;5
|
||||
; +CurveTable=/Game/Athena/Balance/DataTables/AthenaGameData;RowUpdate;Default.ShockwaveGrenade.LaunchVelocity;0;10000
|
||||
; +CurveTable=/Game/Athena/Balance/DataTables/AthenaGameData;RowUpdate;Default.GrapplingHoot.Speed;0;10000
|
||||
; +CurveTable=/Game/Athena/Balance/DataTables/AthenaGameData;RowUpdate;Default.PistolFlintlock.KnockMagSelf;0;8000
|
18
config/DefaultRuntimeOptions.ini
Normal file
18
config/DefaultRuntimeOptions.ini
Normal file
|
@ -0,0 +1,18 @@
|
|||
[/Script/FortniteGame.FortRuntimeOptions]
|
||||
!DisabledFrontendNavigationTabs=ClearArray
|
||||
;+DisabledFrontendNavigationTabs=(TabName="AthenaChallenges",TabState=EFortRuntimeOptionTabState::Hidden)
|
||||
;+DisabledFrontendNavigationTabs=(TabName="Showdown",TabState=EFortRuntimeOptionTabState::Hidden)
|
||||
;+DisabledFrontendNavigationTabs=(TabName="AthenaStore",TabState=EFortRuntimeOptionTabState::Hidden)
|
||||
|
||||
[/Script/FortniteGame.FortRuntimeOptions]
|
||||
bForceBRMode=True
|
||||
bSkipSubgameSelect=True
|
||||
bEnableInGameMatchmaking=True
|
||||
|
||||
bEnableGlobalChat=true
|
||||
bDisableGifting=false
|
||||
bDisableGiftingPC=false
|
||||
bDisableGiftingPS4=false
|
||||
bDisableGiftingXB=false
|
||||
!ExperimentalCohortPercent=ClearArray
|
||||
+ExperimentalCohortPercent=(CohortPercent=100,ExperimentNum=20)
|
3
main.go
3
main.go
|
@ -95,6 +95,9 @@ func main() {
|
|||
r.Put("/profile/play_region", handlers.AnyNoContent)
|
||||
r.Get("/api/v1/search/:accountId", handlers.GetPersonSearch)
|
||||
r.Get("/", handlers.RedirectSocket)
|
||||
r.Get("/datarouter/api/v1/public/data", func(c *fiber.Ctx) error {
|
||||
return c.SendStatus(200)
|
||||
})
|
||||
r.Get("/socket", handlers.MiddlewareWebsocket, websocket.New(handlers.WebsocketConnection))
|
||||
|
||||
account := r.Group("/account/api")
|
||||
|
|
|
@ -2,6 +2,7 @@ package storage
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"strconv"
|
||||
|
||||
"github.com/ectrc/snow/aid"
|
||||
|
@ -65,32 +66,37 @@ bDisableDomainWhitelist=true`
|
|||
bUsePlainTextAuth=true
|
||||
bUseSSL=false
|
||||
Protocol=tcp
|
||||
ServerAddr="`+ aid.Config.API.XMPP.Host + aid.Config.API.XMPP.Port + `"
|
||||
ServerPort=`+ realPort + `
|
||||
ServerAddr="` + aid.Config.API.XMPP.Host + aid.Config.API.XMPP.Port + `"
|
||||
ServerPort=` + realPort + `
|
||||
|
||||
[OnlineSubsystemMcp.Xmpp Prod]
|
||||
bUsePlainTextAuth=true
|
||||
bUseSSL=false
|
||||
Protocol=tcp
|
||||
ServerAddr="`+ aid.Config.API.XMPP.Host + aid.Config.API.XMPP.Port + `"
|
||||
ServerPort=`+ realPort
|
||||
ServerAddr="` + aid.Config.API.XMPP.Host + aid.Config.API.XMPP.Port + `"
|
||||
ServerPort=` + realPort
|
||||
} else {
|
||||
str += `
|
||||
[OnlineSubsystemMcp.Xmpp]
|
||||
bUseSSL=false
|
||||
Protocol=ws
|
||||
ServerAddr="ws://`+ aid.Config.API.XMPP.Host + aid.Config.API.XMPP.Port +`/?SNOW_SOCKET_CONNECTION"
|
||||
ServerAddr="ws://` + aid.Config.API.XMPP.Host + aid.Config.API.XMPP.Port + `/?SNOW_SOCKET_CONNECTION"
|
||||
|
||||
[OnlineSubsystemMcp.Xmpp Prod]
|
||||
bUseSSL=false
|
||||
Protocol=ws
|
||||
ServerAddr="ws://`+ aid.Config.API.XMPP.Host + aid.Config.API.XMPP.Port +`/?SNOW_SOCKET_CONNECTION"`
|
||||
ServerAddr="ws://` + aid.Config.API.XMPP.Host + aid.Config.API.XMPP.Port + `/?SNOW_SOCKET_CONNECTION"`
|
||||
}
|
||||
|
||||
return []byte(str)
|
||||
}
|
||||
|
||||
func GetDefaultGame() []byte {return []byte(`
|
||||
func GetDefaultGame() []byte {
|
||||
file, err := os.ReadFile("config/DefaultGame.ini")
|
||||
if err == nil {
|
||||
return file
|
||||
} else {
|
||||
return []byte(`
|
||||
[/Script/FortniteGame.FortGlobals]
|
||||
bAllowLogout=false
|
||||
|
||||
|
@ -123,14 +129,16 @@ UEPlatform="FNGame"
|
|||
+FrontEndPlaylistData=(PlaylistName=Playlist_DefaultSquad, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=True, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=0, bDisplayAsLimitedTime=False, DisplayPriority=2))
|
||||
+FrontEndPlaylistData=(PlaylistName=Playlist_ShowdownAlt_Solo, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=False, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=1, bDisplayAsLimitedTime=False, DisplayPriority=0))
|
||||
+FrontEndPlaylistData=(PlaylistName=Playlist_ShowdownAlt_Duos, PlaylistAccess=(bEnabled=True, bIsDefaultPlaylist=False, bVisibleWhenDisabled=True, bDisplayAsNew=False, CategoryIndex=1, bDisplayAsLimitedTime=False, DisplayPriority=1))
|
||||
`)
|
||||
}
|
||||
}
|
||||
|
||||
[AssetHotfix]
|
||||
+CurveTable=/Game/Athena/Balance/DataTables/AthenaGameData;RowUpdate;Default.ShockwaveGrenade.LaunchVelocity;0;10000
|
||||
+CurveTable=/Game/Athena/Balance/DataTables/AthenaGameData;RowUpdate;Default.GrapplingHoot.Speed;0;10000
|
||||
+CurveTable=/Game/Athena/Balance/DataTables/AthenaGameData;RowUpdate;Default.PistolFlintlock.KnockMagSelf;0;8000
|
||||
`)}
|
||||
|
||||
func GetDefaultRuntime() []byte {return []byte(`
|
||||
func GetDefaultRuntime() []byte {
|
||||
file, err := os.ReadFile("config/DefaultRuntime.ini")
|
||||
if err == nil {
|
||||
return file
|
||||
} else {
|
||||
return []byte(`
|
||||
[/Script/FortniteGame.FortRuntimeOptions]
|
||||
!DisabledFrontendNavigationTabs=ClearArray
|
||||
;+DisabledFrontendNavigationTabs=(TabName="AthenaChallenges",TabState=EFortRuntimeOptionTabState::Hidden)
|
||||
|
@ -148,4 +156,7 @@ bDisableGiftingPC=false
|
|||
bDisableGiftingPS4=false
|
||||
bDisableGiftingXB=false
|
||||
!ExperimentalCohortPercent=ClearArray
|
||||
+ExperimentalCohortPercent=(CohortPercent=100,ExperimentNum=20)`)}
|
||||
+ExperimentalCohortPercent=(CohortPercent=100,ExperimentNum=20)
|
||||
`)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user