Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev > Main (DO NOT MERGE) #44

Merged
merged 45 commits into from
May 15, 2024
Merged
Changes from 2 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
51b5cbb
Fix % HP bar not working
Lacyway May 6, 2024
cfec9ee
Change despawn mimimum distance's max value to 3000
DeadLeavez May 7, 2024
dcead5c
Merge pull request #36 from DeadLeavez/MinimumDistance
Lacyway May 7, 2024
c82be89
decouple despawnbot from spawning bots.
DeadLeavez May 7, 2024
afc5a17
Fix incorrect route
Lacyway May 7, 2024
024a6d6
Fix formatting on text
Lacyway May 7, 2024
afa3690
Add null check to button
Lacyway May 7, 2024
adc194e
Merge pull request #38 from DeadLeavez/decouple-despawn-from-spawning
Lacyway May 7, 2024
fe2734d
Reorganize ping check to start with cheaper checks
Lacyway May 8, 2024
cde56ed
Merge branch 'dev' of https://github.com/project-fika/Fika-Plugin int…
Lacyway May 9, 2024
4459f30
Add error checking when using bad values for IPs
Lacyway May 9, 2024
0d8f8e3
Parse DNS as well when forcing IP
Lacyway May 9, 2024
db1dd81
Log incoming connections for troubleshooting
Lacyway May 9, 2024
3094b60
Fix formatting and error logging
Lacyway May 9, 2024
29ffdac
InvOp changes
Lacyway May 9, 2024
df2f18b
Update methods
Lacyway May 9, 2024
f5f96b3
Clean up CoopHandler
Lacyway May 9, 2024
fa6d5f1
Only allowed predetermined IPs when binding
Lacyway May 9, 2024
a5452c5
Cleanup
Lacyway May 9, 2024
a79d003
Update config description
Lacyway May 9, 2024
ff316c6
Always return when running InvOp on self
Lacyway May 9, 2024
a865698
Skip putting down items
Lacyway May 9, 2024
875076a
Fix airdrops
Lacyway May 10, 2024
4ee72f3
Cleanup
Lacyway May 10, 2024
c088572
Delete and move patches
Lacyway May 10, 2024
4e60392
Split bool setting
Lacyway May 10, 2024
c272fbf
Improve patch and allow metabolism disable
Lacyway May 10, 2024
d052ffa
Fix comma
Lacyway May 10, 2024
01634cf
Disable gravity on disabled bots
Lacyway May 12, 2024
bcdcdcb
AuthInvOp continued
Lacyway May 12, 2024
62f7dcc
Fix compass
Lacyway May 13, 2024
9d76f65
Remove commented code
Lacyway May 13, 2024
5a61545
Patch "InRaid" for better mod support
Lacyway May 13, 2024
c658c6c
Update documentation
Lacyway May 13, 2024
e9c9c2d
Fix nullref on firearmpacket
Lacyway May 13, 2024
20d1d2c
More logging
Lacyway May 13, 2024
644a3a5
Ping fixes and additions
Lacyway May 14, 2024
540d26a
Update to SPT 3.8.3 bins
Lacyway May 14, 2024
1f5bf28
Update to latest ref with readme updates
Lacyway May 14, 2024
08d161f
Change waitforbotload coroutine
Lacyway May 14, 2024
5a84b23
Change log to only run in debug
Lacyway May 14, 2024
ce6ed44
Cleanup callbacks
Lacyway May 14, 2024
45b61fd
Restructure game init
Lacyway May 15, 2024
0ace3ad
Wait for fixed update before enabling damage on bot
Lacyway May 15, 2024
9facf63
Increase superFastMode speed from 3* > 8*
Lacyway May 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Fika.Core/FikaPlugin.cs
Original file line number Diff line number Diff line change
@@ -325,7 +325,7 @@ private void SetupConfig()

DespawnFurthest = Config.Bind("Performance | Max Bots", "Despawn Furthest", false, new ConfigDescription("When enforcing spawn limits, should the furthest bot be de-spawned instead of blocking the spawn. This will make for a much more active raid on a lower Max Bots count. Helpful for weaker PCs. Will only despawn pmcs and scavs. If you don't run a dynamic spawn mod, this will however quickly exhaust the spawns on the map, making the raid very dead instead.", tags: new ConfigurationManagerAttributes() { Order = 13 }));

DespawnMinimumDistance = Config.Bind("Performance | Max Bots", "Despawn Minimum Distance", 200.0f, new ConfigDescription("Don't despawn bots within this distance.", new AcceptableValueRange<float>(50f, 750f), new ConfigurationManagerAttributes() { Order = 12 }));
DespawnMinimumDistance = Config.Bind("Performance | Max Bots", "Despawn Minimum Distance", 200.0f, new ConfigDescription("Don't despawn bots within this distance.", new AcceptableValueRange<float>(50f, 3000f), new ConfigurationManagerAttributes() { Order = 12 }));

MaxBotsFactory = Config.Bind("Performance | Max Bots", "Max Bots Factory", 0, new ConfigDescription("Max amount of bots that can be active at the same time on Factory. Useful if you have a weaker PC. Set to 0 to use vanilla limits.", new AcceptableValueRange<int>(0, 50), new ConfigurationManagerAttributes() { Order = 11 }));


Unchanged files with check annotations Beta

#if DEBUG
return await task;
#endif
var timeoutCancellationTokenSource = new CancellationTokenSource();

Check warning on line 154 in Fika.Core/Networking/Open.Nat/Utils/Extensions.cs

GitHub Actions / test

Unreachable code detected

Check warning on line 154 in Fika.Core/Networking/Open.Nat/Utils/Extensions.cs

GitHub Actions / test

Unreachable code detected
Task completedTask = await Task.WhenAny(task, Task.Delay(timeout, timeoutCancellationTokenSource.Token));
if (completedTask == task)