Commit Graph

1620 Commits

Author SHA1 Message Date
Chomp d835439d72 Added more comments 2025-03-04 13:50:37 +00:00
Chomp 4361433aa2 Improved GetModPoolForSlot checking 2025-03-04 13:49:53 +00:00
Chomp e3664d3614 Comment improvements
Made various variables static / readonly
2025-03-04 11:47:14 +00:00
Alex 1041fc3ca1 Added csproj extra details 2025-03-04 11:22:31 +00:00
Chomp d2db6f9b2b Updated method comments + made private methods protected 2025-03-03 12:11:41 +00:00
Chomp 35e8a814b9 Implemented CustomLocaleService 2025-03-02 19:32:29 +00:00
CWX ee0f8e2906 Fix images not working, using MapFallback had further unwanted changes 2025-02-28 18:37:26 +00:00
Chomp d8d732f270 Added workaround for cert issue on first-time creation 2025-02-27 15:55:52 +00:00
Chomp 786151b0fa Updated assets 2025-02-27 15:13:34 +00:00
Chomp 3a79aae494 Cache bot names of desired length results 2025-02-26 20:09:54 +00:00
Chomp 6014347c7d Improved ragfair expired offer performance 2025-02-26 20:09:25 +00:00
Chomp c2180f820f Fix llinux loading 2025-02-26 16:45:21 +00:00
Chomp 3b7c8dbdb5 Fixed ragfair offers not expiring + some perf improvements
todo:
fix "offer not found"
Replace _offersByTraderLock with hashset + manual locks
2025-02-26 16:45:04 +00:00
Chomp 3d6eaefd8c AddPlayerOffers reordering 2025-02-26 14:18:38 +00:00
Chomp 594269b683 ItemHelper cleanup 2025-02-26 14:18:00 +00:00
Chomp d74e990186 Improved how presets are cached and lookups occur 2025-02-26 13:28:35 +00:00
Chomp 6760b3ac05 Updated GetDynamicOfferCurrency to make use of existing weighting code 2025-02-26 12:36:35 +00:00
Chomp b3a82038e3 Improved memory pressure inside WeightedRandom<T> + small optimisations when all weights are the same 2025-02-26 12:05:41 +00:00
Chomp a000714f41 Add early exit to GetWeightedValue 2025-02-26 11:41:39 +00:00
Chomp cff882c971 Cleaned up GetPmcNicknameOfMaxLength 2025-02-26 11:30:07 +00:00
Chomp 1fbddc0f2b Moved queue init to be inside if check 2025-02-26 10:47:04 +00:00
Chomp 259c0e4b37 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-02-25 17:35:50 +00:00
Chomp cb65a20092 Expanded item types inside GetSizeByInventoryItemHash 2025-02-25 17:35:37 +00:00
clodan aca6446d5c Added third party library loading and execution 2025-02-25 17:35:34 +00:00
Chomp 4999b80172 Inverted ignore list check 2025-02-25 17:23:05 +00:00
Chomp f5941aa05c Added early exit to GetContainerItemsWithChildren 2025-02-25 17:00:24 +00:00
Chomp 8239e1dd07 Cleaned up GetSizeByInventoryItemHash 2025-02-25 16:54:17 +00:00
clodanSPT 2464246fd7 Pre spt mod loader (#102)
* partial commit

* pre spt mod loader refactored

---------

Co-authored-by: Alex <alex@dm-me-for-questions.com>
Co-authored-by: clodan <clodan@clodan.com>
2025-02-25 16:34:51 +00:00
Chomp b7e734c781 Various small micro-optimisations 2025-02-25 15:06:09 +00:00
Chomp e6c21f131a Optimised ListCumSum 2025-02-25 15:04:51 +00:00
Chomp b67ff36631 Converted more string comparisons to use string.equals
Optimised `CreateBarterBarterScheme`
2025-02-25 13:30:59 +00:00
Chomp 8aebbcd395 Updated GetArrayValue to use same logic as optimised GetCollectionValue 2025-02-25 13:29:34 +00:00
Chomp 15f042435f Forgot to ToList both results 2025-02-25 12:55:12 +00:00
Chomp c857359b5a Optimised GetCollectionValue and GetPmcNicknameOfMaxLength 2025-02-25 12:53:41 +00:00
Chomp 7ac04530da Access dictionary keys correctly 2025-02-25 12:23:32 +00:00
Chomp 7fcc5b1514 interned more strings 2025-02-24 21:36:22 +00:00
Chomp 8f2fbed27b Reduced amount of items iterated over when generating fence assorts 2025-02-24 21:08:58 +00:00
Chomp 4c255dcd48 Reduced amount of items iterated over when generating flea offers 2025-02-24 21:08:40 +00:00
Chomp 4d94044e51 Why is this here, it does nothing? 2025-02-24 21:07:03 +00:00
Chomp 5a1ed7942d Improved logic for filtering items inside GetContainerItemsWithChildren 2025-02-24 20:55:57 +00:00
Chomp 2f2daa7474 Improved string comparison 2025-02-24 20:31:26 +00:00
Chomp e9028354ca Improved performance of GetContainerItemsWithChildren 2025-02-24 20:31:02 +00:00
Chomp b542116cd6 Updated ValidateModDependencies to use string.equals 2025-02-24 19:15:17 +00:00
Archangel 180aa9e100 Use HashSet and Overlaps, should shorten time spent looking up base classes? 2025-02-24 19:32:40 +01:00
Chomp b4c5392f08 Replace various uses of Count() with Any() for ienumerables + remove redundant parenthesis 2025-02-24 17:53:42 +00:00
Archangel eeea8a0000 Remove count for any 2025-02-24 18:49:36 +01:00
Chomp 7296ee2c0c Improved performance of GetPmcNicknameOfMaxLength by using any() 2025-02-24 17:43:32 +00:00
Chomp 2c42837c25 Fixed bad logic in ChooseModToPutIntoSlot 2025-02-24 17:42:53 +00:00
CWX 8d9f96600b Trader is a KVP, changed naming and fixed kvp.tostring being added to "traderId" 2025-02-24 17:27:31 +00:00
Chomp 0e141561b6 use string.equals for string compare 2025-02-24 17:27:34 +00:00