aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-02-10 10:09:16 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-02-10 10:09:16 +0000
commit5d51cdaabb4e88bf61414f5c2c7fba278aef7c6b (patch)
treec9845850920da72d9b12611e9c66262ef878c56b /Northstar.Client/mod
parent1f89e6847d5a325788faf891c7bf7cf54ebdba80 (diff)
downloadNorthstarMods-5d51cdaabb4e88bf61414f5c2c7fba278aef7c6b.tar.gz
NorthstarMods-5d51cdaabb4e88bf61414f5c2c7fba278aef7c6b.zip
forcibly disable communities on northstar due to security issues
Diffstat (limited to 'Northstar.Client/mod')
-rw-r--r--Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut1
-rw-r--r--Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut1
2 files changed, 2 insertions, 0 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut b/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut
index 73e45831..dea73669 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/menu_main.nut
@@ -72,6 +72,7 @@ void function OnMainMenu_Open()
{
Signal( uiGlobal.signalDummy, "EndOnMainMenu_Open" )
EndSignal( uiGlobal.signalDummy, "EndOnMainMenu_Open" )
+ 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 195cc787..343ccb74 100644
--- a/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut
+++ b/Northstar.Client/mod/scripts/vscripts/ui/panel_mainmenu.nut
@@ -526,6 +526,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()