Commit Graph

260 Commits

Author SHA1 Message Date
Chomp c857359b5a Optimised GetCollectionValue and GetPmcNicknameOfMaxLength 2025-02-25 12:53:41 +00:00
Chomp 8f2fbed27b Reduced amount of items iterated over when generating fence assorts 2025-02-24 21:08:58 +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
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 ea671d2092 Make use of handbook item cache to speed up AdjustUnreasonablePrice 2025-02-24 17:18:25 +00:00
Chomp fe500f7c27 Replace string comparisons with string.Equals (ordinal) 2025-02-23 16:33:23 +00:00
Chomp 103b797a54 Refactored how flea offer quantity is handled 2025-02-21 17:48:04 +00:00
Chomp 85900724e5 Fixed multipler typo 2025-02-21 15:07:41 +00:00
Chomp bffeec8361 Handle flea item prices as doubles 2025-02-21 15:05:00 +00:00
Chomp 4d4ff7bfe1 Small cleanup of ragfair offer generator 2025-02-21 13:20:42 +00:00
Chomp fc6c15792d Fixed flea offers not reducing quantity after purchase 2025-02-21 12:58:02 +00:00
Chomp c250fb8dd3 Use global item blacklist in cultist circle reward system 2025-02-21 11:04:40 +00:00
Chomp 6b0e1ffbce Updated all mongoId checks from == to .equals() 2025-02-20 16:47:30 +00:00
Chomp 5a5e18f568 Add HTTPS support (#101)
* Initial work on adding https support

* Updated logging

* More logging

* Added support for a certificate password

Replaced method used for getting path to cert

* Reduce duplication of logic in program.cs

* Cleanup of `HttpServer`

* More https stuff

* https

* Fixed remote IP stuff

* Fixed non-local request logging

* Updated assets

* Replaced `singleplayer/bossconvert` to `singleplayer/bosstypes`

* Updated map loot

* Asset update

* Stop storing a bots inventory and other values to save memory

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
Co-authored-by: clodan <clodan@clodan.com>
2025-02-20 12:27:55 +00:00
Chomp 97fd83c6bf Pass bots AID instead of generating one 2025-02-18 12:43:41 +00:00
Chomp 440121514b Fix post-raid PMC messages not working after bot gen changes 2025-02-18 09:31:20 +00:00
Chomp baf1a41c30 Fix insurance not being returned 2025-02-18 09:23:21 +00:00
Chomp 1ff8d2cbef Replaced lists containing unique values with HashSets
Reworked Soft Insert id checks

Improved dogtag id lookup memory usage

Removed wave cleanup code
2025-02-17 19:05:47 +00:00
Chomp 169e1460bb Updated IsOfBaseclasses and isOfBaseClass to work with ICollection types, not just lists 2025-02-17 17:00:41 +00:00
Chomp dcd2655171 Replaced lock with Concurrent dictionary 2025-02-17 14:30:28 +00:00
Chomp 924fff686d Refactored botgen 2025-02-17 13:07:32 +00:00
Valens 5a8c5f0f1c Update SeasonalEventService.cs
reorganize the _halloweenEventItems and _christmasEventItems to be alphabetical. Fucking craig.
2025-02-15 16:35:37 -05:00
CWX 987e7d5709 added special 40degree fuel to blacklist 2025-02-15 21:17:23 +00:00
Chomp 365691aa5c Fix insurance IDs piling up 2025-02-15 18:23:32 +00:00
Chomp 20447eecf0 Match node server 2025-02-15 17:25:06 +00:00
Chomp 3b1f8c81ef Updated loot generator to block seasonal items when out of season 2025-02-14 17:33:29 +00:00
Archangel d3990c1219 Use file streams to deserialize files
- Improves load speed
- Lowers memory overhead
2025-02-14 12:52:18 +01:00
Chomp 04f6501fa1 Renamed methods 2025-02-13 20:50:53 +00:00
Chomp 3acf10b27e Flagged various methods as virtual to allow for overriding 2025-02-13 12:52:42 +00:00
Chomp 388ce141f5 Fixed typo 2025-02-12 21:56:59 +00:00
Chomp d8e0ef457a Stubbed out new service `CustomLocaleService 2025-02-12 21:55:23 +00:00
CWX d6d7afb451 fix repeateable quest logic deleting quests 2025-02-12 19:50:21 +00:00
CWX 194f2a7c36 Fix insurance blowing up, fix quest handover item blowing up 2025-02-12 18:22:47 +00:00
Chomp 096d3298b6 improved GetLocaleDb dictionary lookup 2025-02-12 18:03:35 +00:00
Chomp e9bfce4b28 Updated removeNewBeginningRequirementFromPrestige to check for BOTH New Beginning quest ids as they're no the same between prestige 2025-02-12 15:34:17 +00:00
Chomp 71079def3e Fixed removeNewBeginningRequirementFromPrestige looking for the wrong id 2025-02-12 11:33:04 +00:00
Chomp 233a7c4202 Updated prestige system 2025-02-11 21:27:52 +00:00
CWX 11a7b4fdbd make sure there are props to override before iterating 2025-02-10 21:09:25 +00:00
CWX 7d9e7f0727 fix bundle sending 2025-02-10 20:38:12 +00:00
CWX e8acef4e75 fix loading of bundles 2025-02-10 19:40:35 +00:00
CWX b572f1da18 start modExample 21, fix bundleLoading being Null, 2025-02-10 18:17:36 +00:00
Chomp 3219718d27 Replaced minmaxdouble + minmaxint with generic minmax<T>
Updated various doubles to be ints
2025-02-10 10:44:24 +00:00
Chomp 08b5caf337 Renamed Minmax to MinMaxDouble and added MinMaxInt
Swapped various doubles for ints across loot generator and airdrop code paths

Fixed forced airdrop loot being returned with a decimal stack count
2025-02-10 09:57:01 +00:00
Chomp 2b2ae8fa7b Made changes to GenerateCrc32ForData 2025-02-09 15:33:05 +00:00
Chomp abd7f243e8 Removed unnecessary TODOs and fixed typos
Removed unnecessary uses of `GetByJsonProp`
2025-02-09 15:13:05 +00:00
Chomp 9b320344b5 Removed New Beginning quest requirement from prestige via code instead of manual json edit 2025-02-08 21:12:49 +00:00
Chomp 98041ac785 Stubbed out bundle loading 2025-02-08 15:22:25 +00:00
CWX efd8b360de Formatting 2025-02-07 22:47:47 +00:00