Commit Graph

104 Commits

Author SHA1 Message Date
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
Archangel 86b45c18a2 String needs to be read here 2025-02-17 16:04:48 +01:00
Archangel b122f7106c Handle check in if statement 2025-02-17 15:14:07 +01:00
Archangel cfca1e221f Deserialize readers directly
- Saves quite a bit of time on DB load
2025-02-17 15:08:46 +01:00
Archangel aa382585bd Add logging for http and websocket start 2025-02-14 15:14:27 +01:00
Archangel da331f6de6 Revert "Clone using a MemoryStream"
This reverts commit 0da2fa0eabaac24ce360ee8d9506cc695b9e54ad.
2025-02-14 14:44:20 +01:00
Archangel d3990c1219 Use file streams to deserialize files
- Improves load speed
- Lowers memory overhead
2025-02-14 12:52:18 +01:00
Archangel 711986357a Clone using a MemoryStream 2025-02-14 12:51:07 +01:00
Archangel d7ab7b4d44 Bypass cache 2025-02-13 17:01:20 +01:00
Archangel d560859ec9 Cache created expressions, reducing overhead of re-creating these everytime 2025-02-13 16:15:57 +01:00
Archangel 0383494d40 Various ImporterUtil improvements
- Cleans up the spaghetti in the LoadRecursiveAsync method for smaller and more easily readable methods
- Improves lock access, this slashes DB load times on slower PC's nearly in half from 12000+ms to 6000ms
2025-02-13 15:59:09 +01:00
Jesse d96bd37bda Add timer to database 2025-02-13 15:59:09 +01:00
Chomp da75cb842b Added method for modders 2025-02-10 21:00:44 +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
Alex a3bc7eea23 Merge branch 'main' into develop
# Conflicts:
#	Server/Logger/WebApplicationLogger.cs
2025-02-09 18:04:46 +00:00
Alex c67c807dd3 WriteToLogFile now implemented 2025-02-09 17:46:18 +00:00
Chomp 22e52dbdb3 Removed CompareUtil as its been replaced by itemHelper.IsSameItems 2025-02-09 15:34:47 +00:00
Chomp 2b2ae8fa7b Made changes to GenerateCrc32ForData 2025-02-09 15:33:05 +00:00
CWX 2b9a6ab7b2 Fix build errors 2025-02-08 13:09:56 +00:00
Chomp ac7b2daeba Renamed interface to IOnLoad
Added OnLoad mod
Expanded `OnLoadOrder` options
2025-02-08 12:18:57 +00:00
CWX 5c6fa9242f BIG BOI FORMATTING 2025-02-07 19:36:17 +00:00
CWX c221f3919f implement EftEnumListConverter 2025-02-07 16:20:54 +00:00
Chomp e644ed58ae Ragfair code formatting 2025-02-07 15:49:24 +00:00
CWX db351c8632 Fix errors by using the actual error codes 2025-02-07 12:43:54 +00:00
Chomp 0394f470c9 Improved JsonUtil comments 2025-02-06 22:29:17 +00:00
Chomp c709efbca2 Improved nullguarding inside RagfairOfferHolder 2025-02-06 22:20:24 +00:00
Chomp b0ce98d847 Store expired offer id inside RagfairOfferService instead of the offer itself 2025-02-06 16:54:43 +00:00
Chomp 2f5394ae93 Reduced duplicate date stored in RagfairOfferHolder by storing offerIds instead of the offer itself 2025-02-06 16:40:32 +00:00
Chomp 83f9c0c3eb Flagged various strings as consts 2025-02-06 12:57:23 +00:00
Chomp 9b33dd2d35 Updated itemTpl + weapon tpls to be consts 2025-02-06 11:21:36 +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 6a27dd0ef5 Fixed issue 2025-02-04 20:34:46 +00:00
Chomp db0feff1d8 Made ProbabilityObjectArray slightly less awful 2025-02-04 19:38:59 +00:00
Chomp 621dd27323 Tidied up ProbabilityObjectArray 2025-02-04 19:03:47 +00:00
Chomp 5a08f6a8b8 Improved variable names 2025-02-04 18:17:24 +00:00
Chomp fcae006a13 Improved GenerateHashForData error logging 2025-02-03 14:11:01 +00:00
Chomp 67e8ddef30 Logging improvements 2025-02-03 11:29:01 +00:00
Chomp 78f1815972 Fixed CalculateDynamicStackCount returning 0 2025-02-01 19:28:27 +00:00
CWX a9f230eed7 changed the rest of itemeventactions to use const 2025-02-01 16:01:39 +00:00
Chomp b201a47b0b Further improvements to BackupService 2025-02-01 10:32:41 +00:00
Chomp b3dfa3054c Improved spt give command 2025-01-31 12:33:06 +00:00
Chomp 58db41dd1e Added more type changes 2025-01-29 22:22:00 +00:00
Chomp 4210d6a47d Additional type improvements 2025-01-29 20:27:12 +00:00
Chomp 73b2924cf2 Added eventType enum 2025-01-29 20:03:31 +00:00
Chomp 83bc0c4448 Type improvements to Item 2025-01-29 19:56:30 +00:00
clodan dbf3071664 Improved precision for smaller decimals 2025-01-29 13:30:52 +00:00
clodan 7c060fdf86 RandomUtil fixes 2025-01-29 11:47:42 +00:00