Commit Graph

244 Commits

Author SHA1 Message Date
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 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 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 e28e66d284 Improve FindAndReturnChildrenAsItems performance 2025-02-24 16:45:19 +00:00
Chomp 903001aa68 Fixed blocking check failure 2025-02-24 16:29:06 +00:00
Chomp fe500f7c27 Replace string comparisons with string.Equals (ordinal) 2025-02-23 16:33:23 +00:00
Chomp 4955e07bde Improved comparison logic inside GetValidTraderIdByEnumValue 2025-02-23 14:26:39 +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 a24a574f22 Use better method of comparing parent ids 2025-02-20 16:55:35 +00:00
Chomp 6b0e1ffbce Updated all mongoId checks from == to .equals() 2025-02-20 16:47:30 +00:00
Chomp f14507b34f Improved performance of FindAndReturnChildrenAsItems 2025-02-20 16:23:55 +00:00
Archangel 591824f3cc Start refactor for certificate loading 2025-02-20 15:23:47 +01: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 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 924fff686d Refactored botgen 2025-02-17 13:07:32 +00:00
Archangel 7d7c8bdd31 Cast ConnectionHandler 2025-02-17 12:28:29 +01:00
Archangel 6d7cdf1f3b Refactor websockets to be easier for users to work with
- will test later today
- example will need updating
2025-02-17 12:17:15 +01:00
Archangel d3990c1219 Use file streams to deserialize files
- Improves load speed
- Lowers memory overhead
2025-02-14 12:52:18 +01:00
Chomp 72d99fea9d Updated warning in GetRepairableItemQualityValue to be debug 2025-02-13 22:28:12 +00:00
CWX 6d9dc6e7a2 fix bad logic 2025-02-12 19:45:14 +00:00
Chomp 233a7c4202 Updated prestige system 2025-02-11 21:27:52 +00:00
Chomp 2a258aed35 Created modhelper class and updated examples to make use of it 2025-02-11 16:22:32 +00:00
CWX e8f110f488 Add mod example 23 2025-02-10 21:53:14 +00:00
CWX 194e3c1ea1 finish off example 21, updated temp dll's with fixes 2025-02-10 21:24:17 +00:00
CWX 7d9e7f0727 fix bundle sending 2025-02-10 20:38:12 +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 606bb2dc58 Small cleanup of IsSameItems 2025-02-09 15:36:19 +00:00
Chomp 22e52dbdb3 Removed CompareUtil as its been replaced by itemHelper.IsSameItems 2025-02-09 15:34:47 +00:00
CWX 5c6fa9242f BIG BOI FORMATTING 2025-02-07 19:36:17 +00:00
Chomp 7da0ac6fa9 Added GarbageMessageHandler "garbage" command to SPT Friend
Fixed namespaces
2025-02-07 12:06:39 +00:00
Chomp 1c52456c91 Cleanup of RagfairServerHelper 2025-02-06 11:03:04 +00:00
Chomp 3858aeeadd Set _goodSoldTemplate as const 2025-02-06 11:00:33 +00:00
Chomp 6d2f8f7bbb Cleaned up RagfairHelper 2025-02-06 10:46:31 +00:00
Chomp 48c1a7adf4 Cleanup of RemoveItemFromAssort 2025-02-06 10:36:32 +00:00
Chomp 955e44eb62 Multiple casting fixes 2025-02-05 20:16:19 +00:00
CWX a4f8036d09 formatting, fix build error 2025-02-05 07:36:13 +00:00
CWX f648f42721 This is just Jetbrains formatting and code syntax styling 2025-02-05 06:56:51 +00:00
Chomp 28ae273ef2 More centralised FiR status handing across server 2025-02-04 21:14:36 +00:00