Skip to content

Commit

Permalink
Attempt to mitigate shooting from feet
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Aug 12, 2024
1 parent e4de597 commit 3f725c8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Fika.Dedicated/FikaDedicatedPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ private void Awake()
FikaPlugin.AutoExtract.Value = true;
FikaPlugin.QuestTypesToShareAndReceive.Value = 0;
FikaPlugin.ConnectionTimeout.Value = 20;
FikaPlugin.DynamicAI.Value = true;

string[] commandLineArgs = Environment.GetCommandLineArgs();
string[] commandLineArgs = Environment.GetCommandLineArgs();
foreach (string arg in commandLineArgs)
{
if (arg.StartsWith("-updateRate="))
Expand All @@ -65,7 +66,15 @@ private void Awake()
UpdateRate = Mathf.Clamp(updateFreq, 30, 120);
Logger.LogInfo("Setting UpdateRate to " + UpdateRate);
}

continue;
}

if (arg.StartsWith("-noDynamicAi"))
{
FikaPlugin.DynamicAI.Value = false;
Logger.LogInfo("Disabling DynamicAI");
}
}

new DLSSPatch1().Enable();
Expand Down Expand Up @@ -98,6 +107,8 @@ private void Awake()
Logger.LogWarning("You are not running an officially supported operating system by Fika. Minimal support will be given.");
}

EFTHardSettings.Instance.CULL_GROUNDER = 1000f;

fikaDedicatedWebSocket = new DedicatedRaidWebSocketClient();
fikaDedicatedWebSocket.Connect();
}
Expand Down

0 comments on commit 3f725c8

Please sign in to comment.