Commit Graph

1326 Commits

Author SHA1 Message Date
Chomp 99891858cb Moved craft ids out of UnlockHideoutLootCrateCrafts into config 2025-10-04 13:32:48 +01:00
Chomp 0acb3cb9cc Moved shotgun tpls from FixShotgunDispersions to config 2025-10-04 13:22:06 +01:00
Chomp 6311f7a355 Renamed variable to improved clarity 2025-10-03 20:33:29 +01:00
Chomp 6e2286ca5b Added system to allow adjustment of static spawn weights via config
reduced `Power substation utility cabin key` on customs to 60% of original weight
2025-10-03 20:28:39 +01:00
Jesse 687b4f7a49 Add blazor & MVC Support (#602)
* Add initial code for Razor pages support

* Remove finalizer

* Try fully loading blazor

This is most likely entirely broken because of a rebase now

* UseSptBlazor after app.Use

* Fix up StaticWebAsset loading, add MudBlazor

* Implement page

* Update comment

* Replaced existing status page with razor

* Track background video in LFS

* Update attributes

* Improved status page theming

* Fix up wwwroot publish folder to SPT_Data/wwwroot

* Added name to page

* Remove unnecessary code

* Begin fixing up MVC & Blazor for modding

* Update TestMod

* Cleanup todo

* Further work out mod support

* Re-order initialization and use logger

* Rename library to SPTarkov.Server.Web

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-10-02 19:03:27 +00:00
Cj cf29c7bde3 Merge pull request #601 from sp-tarkov/repeatable-completion-quests
Repeatable completion quest level ranges
2025-10-02 19:02:05 +00:00
Chomp 136c79b385 Oops 2025-10-02 11:39:01 +01:00
Chomp ba4e8d9c14 Removed password from profiles
Added migration to remove password property from profiles
2025-10-02 09:56:51 +01:00
Chomp bd941eba61 Fixed typo 2025-10-01 21:28:37 +01:00
Archangel ee9118e360 ImageSerializer & Image dynamic router begone 2025-10-01 18:11:04 +02:00
Chomp 192d157f2a Correctly set pmc Aid to 0 on generation 2025-10-01 10:35:26 +01:00
Cj 040b4cd618 Repeatable quest warning fixes 2025-10-01 05:12:20 -04:00
Cj b5448ccf09 Fix another bad refactor... 2025-10-01 03:54:58 -04:00
Cj a7eeda3aa6 Fix bad refactor - Thanks rider 2025-10-01 03:48:22 -04:00
Chomp 586128aab8 Merge branch 'develop' into repeatable-quest-tuning 2025-10-01 07:35:43 +00:00
Cj 7a08fd4e16 Merge branch 'develop' into repeatable-quest-tuning 2025-10-01 03:16:37 -04:00
Cj c95446bb20 Implement level ranged Exploration objective generation 2025-10-01 02:58:20 -04:00
Lacyway f083cfe3b0 Fix missing culture invariant in parse 2025-10-01 08:24:09 +02:00
Cj e57f03bd28 - Add min extract requirement property
- Fix warnings
- Convert string to mongoId
2025-10-01 01:51:57 -04:00
Chomp cc745f4c46 Corrected ProcessBuyTradeRequestData transactionId to be Mongoid, updated associated code
Also moved TransactionId in `InsuranceRequestData` to be MongoId, updated associated code
2025-09-30 22:38:42 +01:00
Chomp d68a51f031 Fixed buying PMC offers from flea error #597 2025-09-30 22:05:41 +01:00
Chomp ba85880443 Updated nuget packages 2025-09-30 13:33:47 +01:00
Chomp 836112dc50 Weather refactor (#596)
* First pass at Weather generation refactor

* Moved generation logic around

* Added seasonal variability support

* Expanded weather generation to use DI system and allow easier modding

* Updated weather weight values

Converted records into classes

* Added fallback when generator isn't found

* Fixed colliding lambda

Added method comments

* Cleanup of weather code

* Adjusted `weatherPresetWeight` values

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-09-30 12:23:46 +00:00
Chomp f8b2b52afc Skip processing crafts that have been flagged as interrupted 2025-09-30 12:53:24 +01:00
Cj 36b247d92e Move HideoutAreas to the Models.Enums.Hideout namespace 2025-09-29 18:14:59 -04:00
Chomp a872459e60 Fixed typo in GenerateWeather 2025-09-29 13:37:25 +01:00
Chomp 4a1061d183 Cleaned up if check inside GetWeatherValuesBySeason 2025-09-29 13:31:25 +01:00
Chomp 5efe5e8c4e Deconstructed kvp values inside RemoveExistingPmcWaves 2025-09-29 09:43:27 +01:00
Chomp 79e023392b Implemented CoreBot type
Enabled 'rudans' patrol flag in Christmas event
2025-09-29 09:33:16 +01:00
sp-tarkov-bot f2eb062c0c Format Style Fixes 2025-09-26 12:39:38 +00:00
Chomp ecc0ba8406 Cleanup of warnings 2025-09-26 13:38:47 +01:00
Chomp f43a137fed Make use of logical patterns inside WeatherHelper 2025-09-26 13:19:41 +01:00
Chomp e32bace4d6 Improved dict access inside SetTraderUnlockedState + comment and naming improvements 2025-09-26 13:16:47 +01:00
Chomp ec682ccc16 Updated GetTrader to use mongoId for traderId + removed redundant 'ragfair' check + made sessionId optional + added comments 2025-09-26 13:05:20 +01:00
Chomp a2d9c982d6 Improved client logging 2025-09-24 09:40:57 +01:00
sp-tarkov-bot 0a789d49a1 Format Style Fixes 2025-09-23 14:13:19 +00:00
CWX c67153b517 change sig on version response 2025-09-23 15:12:19 +01:00
Archangel 211e6a62b9 Remove unused service 2025-09-20 17:01:56 +02:00
Archangel d9e660f5b5 Remove unecessary double log 2025-09-20 16:58:20 +02:00
Archangel 72559be340 Dont handle RequestDelegate in SptHttpListener anymore 2025-09-20 16:57:04 +02:00
Jesse ef6e3b8c3a Http server refactor (#593)
* Refactor various parts of the HttpListener to support Blazor loading

* Add logging for WebSocket requests

* Add better handling for WebSockets not belonging to SPT

* Remove unecessary check

* Remove check as it's already handled earlier now

* Cleanup

* Set delegate
2025-09-20 14:05:23 +00:00
sp-tarkov-bot 3d43e6479c Format Style Fixes 2025-09-19 17:47:00 +00:00
CWX ca28cb2926 Update Profile v2 endpoint to use miniprofile and allow v2 endpoint to get miniprofile from only loginrequest 2025-09-19 18:46:05 +01:00
Archangel 1bc3ef63f4 Send content length as a header for files 2025-09-19 15:27:49 +02:00
Chomp 55b819e1ec Removed GetItemRarityMultiplier, the values in items.json are garbage and should not be used
Added system to add multiplier to items that are used to craft in the hideout
2025-09-18 23:35:27 +01:00
Cj 35b595cff0 Prefer Count over Any() 2025-09-18 14:19:11 -04:00
Archangel f3470aac59 Remove redundant checks for MongoId 2025-09-18 19:57:34 +02:00
Archangel 5fc7761b4c Send InvalidOrUnloadableProfile to launcher 2025-09-18 19:56:26 +02:00
Cj 10566f2fc4 Remove old clothing service code, BSG changed how it works. Leaving it to modders. 2025-09-18 13:36:37 -04:00
Archangel 7024b77d88 Handle error in response 2025-09-18 18:17:52 +02:00