Commit Graph

19 Commits

Author SHA1 Message Date
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 8a7690e13b Improved performance of GetRandomElement when processing IEnnumerables 2025-07-25 18:26:09 +01:00
Chomp f562c634a7 Converted lists to hashsets where appropriate
Removed unnecessary uses of  ToList()
string to mongoId conversions
2025-07-24 13:26:34 +01:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Cj 3817d6cca4 Helpers Mongoid conversion + cleanup (#458)
* Start converting helper method ids to mongoids and remove underscore from injections...

* Finish helper mongoIds
2025-07-06 17:31:59 +01:00
Archangel 79489eadce Handle ToLower neutrally across all locales (#412) 2025-07-03 18:28:36 +02:00
Chomp 770d187061 Created WildSpawnTypeExtensions 2025-06-28 15:05:23 +01:00
Chomp 31df269eb8 Updated GetBotRandomizationDetails 2025-06-28 08:58:42 +01:00
Chomp b432a6d999 Updated GetAllBotDifficulties to iterate over enum instead of strings 2025-06-28 08:46:39 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
Chomp 31ae5feb41 Bot generation performance (#231)
* chore: Bot generation performance improvements (#227)

* Bot generation performance improvements

* Revert debug logging logic

* Get rid of Info log which is bound to be printed inevitably at each bot wave generation

* Use assault const

* Removed comments

Removed lowercase side constants
Renamed equipment role to better explain its purpose

Fixed `Blocks` property being serialised to client

Updated `_slotsWithNoCompatIssues` to use existing enum type

Reduced log line to be debug

* Fixed `GetRandomTextThatMatchesPartialKey` incorrectly checking eft locales instead of spt locales

* Updated various methods to be protected

---------

Co-authored-by: hulkhan22 <clandestine984@gmail.com>
Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-05-04 12:51:45 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX 9b4e352797 change to ConcurrentDict to lock object 2025-04-10 12:47:13 +01:00
CWX 03c3a5f4ef try catch an error 2025-04-10 12:37:36 +01:00
CWX d12f3f3bde Fix selling weapons to Fence, added stackObjectCount to upd init 2025-04-08 20:54:12 +01:00
Chomp df8ffa2b16 Replaced various instances of dictionaries and hashsets with their frozen counterparts 2025-03-09 17:12:07 +00:00
Chomp 33c56e0730 Updated values to be consts where possible 2025-03-08 09:33:04 +00:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00