diff options
author | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-04-14 00:27:20 +0200 |
---|---|---|
committer | GeckoEidechse <gecko.eidechse+git@pm.me> | 2022-04-14 00:27:20 +0200 |
commit | f78430fdfabce768b763fc03844e91219f40aba6 (patch) | |
tree | 1b23abd5b9bd9da925263a4af11d4433dc8e94c1 /Northstar.Client/mod/scripts/vscripts | |
parent | 3aff1ab6d7649d9729ebad47b7251ebd24c2f917 (diff) | |
download | NorthstarMods-f78430fdfabce768b763fc03844e91219f40aba6.tar.gz NorthstarMods-f78430fdfabce768b763fc03844e91219f40aba6.zip |
Re-enable communities
With patches added to Launcher since we should no longer be susceptible
to attacks currently targeted at the default Network in-game.
Reverts
5d51cdaabb4e88bf61414f5c2c7fba278aef7c6b
893db637d5471dc3eb43a8d0ba77cb5d49cd5008
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut | 3 | ||||
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut index b20699f9..7da5bab8 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut @@ -72,8 +72,7 @@ void function OnMainMenu_Open() { Signal( uiGlobal.signalDummy, "EndOnMainMenu_Open" ) EndSignal( uiGlobal.signalDummy, "EndOnMainMenu_Open" ) - - SetConVarString( "communities_hostname", "" ) // disable communities due to crash exploits that are still possible through it + SetConVarString( "communities_hostname", "R2-pc.stryder.respawn.com" ) // reset communities to default UpdatePromoData() // On script restarts this gives us the last data until the new request is complete RequestMainMenuPromos() // This will be ignored if there was a recent request. "infoblock_requestInterval" diff --git a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut index fb4dfcd9..0a4b88d8 100644 --- a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut +++ b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut @@ -528,7 +528,7 @@ void function OnPlayFDButton_Activate( var button ) // repurposed for launching if ( !Hud_IsLocked( button ) ) { SetConVarBool( "ns_is_modded_server", true ) - SetConVarString( "communities_hostname", "" ) // disable communities due to crash exploits that are still possible through it + NSTryAuthWithLocalServer() thread TryAuthWithLocalServer() } |