Commit Graph

1351 Commits

Author SHA1 Message Date
DrakiaXYZ 1bdfd4186e Implement ToStringJsonConverter Read method 2025-10-11 22:55:44 -07:00
DrakiaXYZ b416d7109a Fix launcher not showing mods
Convert `Version` and `SptVersion` to strings when serializing JSON for AbstractModMetadata
2025-10-11 22:44:27 -07:00
Chomp 0582f8d5fc Fixed ExamineItem() log message error 2025-10-11 19:48:20 +01:00
Chomp 7403990e69 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-10-11 10:08:34 +01:00
Chomp e813357a60 Updated mongoid length check to log the string, not the name of the param 2025-10-11 10:08:21 +01:00
DrakiaXYZ 4b421b6f47 Fix incorrect workout classes 2025-10-10 23:15:25 -07:00
Chomp cda3511227 Streamlined logic check inside GetActiveChatBots 2025-10-10 17:53:08 +01:00
Chomp ef4c646ffd Fixed being unable to disable chatbots 2025-10-10 17:50:01 +01:00
Chomp a0937c2d33 Fixed gift code messages not working correctly 2025-10-10 17:43:15 +01:00
Archangel 699a4dfafe Cleanup 2025-10-10 16:14:23 +02:00
Archangel c372418165 Improve SptLogger stability & do not implement IDisposable 2025-10-10 16:13:24 +02:00
sp-tarkov-bot 331162e141 Format Style Fixes 2025-10-10 11:27:26 +00:00
Chomp 57a1b16505 Improved handling of ammo pick when data not found in bot json 2025-10-10 12:26:34 +01:00
Chomp 48b41add00 Added dummy head to PMCs during Halloween event
Made `FIxDogtag` method protected
2025-10-10 10:54:13 +01:00
Chomp 310e8eee20 Fixed dogtag case not accepting all dogtag TPLs via FixDogtagCaseNotAcceptingAllDogtags call on server start 2025-10-10 09:41:32 +01:00
Chomp 4b03f39e60 Updated CountPVE property 2025-10-09 21:10:25 +01:00
Archangel 9baa1236d4 Make StaticLoot IEnumerable 2025-10-09 20:19:36 +02:00
DrakiaXYZ b15d1e3034 Fix traders salessum not increasing on purchase
The chance of a PMC transaction ID overlapping with a trader is slim to none, but the request type can be multiple this for traders. Skip checking type, and validate just using the transaction ID
2025-10-08 16:29:20 -07:00
Chomp a5d98c1f61 Added offerListingTaxMultiplier to ragfair config and wired up. Defaults to off 2025-10-08 11:40:23 +01:00
DrakiaXYZ c756479239 Fix mod SptVersion to be a range (#605)
* Fix mod SptVersion to be a range
- SptVersion and ModDependencies now use a Range instead of a set version
- Remove IsValid and IsValidRange checks from ModValidator, as invalid values will fail to parse into the strong types before this method is called
- Remove unused "AnySatisfies" and "IsValid*" methods from ISemVer
- Update TestMod to use Range types

* Formatting

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
2025-10-07 15:56:48 +00:00
Chomp fcf99a3464 Added helper method GetProfileTemplateFlagValue 2025-10-07 11:50:50 +01:00
Chomp a09e8bf3fa Added customFlags <string/bool> dict property to profile templates 2025-10-07 11:21:46 +01:00
Archangel 487085be95 Update referenced packages 2025-10-06 15:52:16 +02:00
Cj 5e0c32e9c2 Add method comment 2025-10-06 05:22:43 -04:00
Chomp 2376d54d71 Fixed flea offer item count + cultist circle rouble value being incorrect when using randomUtil.GetPercentOfValue 2025-10-06 09:51:40 +01:00
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