Commit Graph

146 Commits

Author SHA1 Message Date
CWX c67153b517 change sig on version response 2025-09-23 15:12:19 +01: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
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 10566f2fc4 Remove old clothing service code, BSG changed how it works. Leaving it to modders. 2025-09-18 13:36:37 -04:00
Chomp e8897886d2 Added an item type price multiplier override to GetFleaBasePriceMultiplier
All keycards now use a `2.5` multiplier, not just the red keycard
2025-09-18 14:03:28 +01:00
Chomp 1ef9ebd88a Added system to generate item flea base prices based on handbook value 2025-09-16 22:24:35 +01:00
Cj 11ae50875a Custom quest service (#589)
* Initial work

* add todo

* Fix up errors

* More work on CustomQuestService

* Fix mistake

* Remove cloning work, its cancer

* clean-up

* Use TryAdd as a guard

* localize errors

* remove unused exception

* fix using

* fix not passing logging params
2025-09-14 09:20:25 +01:00
Chomp 3af494317c Reduced number of params throughout bot generation process 2025-09-08 16:41:25 +01:00
Chomp 4a3387bd50 Store tpls in config as MongoIds 2025-09-08 15:39:01 +01:00
Cj fafbfeb291 Remove load order/sorting from ModLoader (#584)
* - Remove modloader sorting
- remove order.json
- remove LoadBefore and
LoadAfter
- Remove unused var
- Remove unused locals
- Rename vars
- localize new warnings

* revert test change
2025-09-05 09:03:02 +00:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +01:00
Archangel 7e2e3db3fd Change property naming to be more consistent (#578) 2025-08-28 15:32:02 +02:00
Chomp c40439d04f Updated core difficulty code to use JsonElement 2025-08-23 10:30:26 +01:00
Archangel 95e632e66b Fix up SettingsBase model 2025-08-22 15:17:28 +02:00
Alex e226abc029 Fixed Settings model 2025-08-21 13:39:17 +01:00
Chomp 600a9c12b1 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-08-21 10:47:57 +01:00
Chomp 86c454645c Fixed incorrect type 2025-08-21 10:47:43 +01:00
sp-tarkov-bot 48b00a2814 Format Style Fixes 2025-08-21 09:46:00 +00:00
clodanSPT d14e7cc155 Added ceciler patch to add jsonextensiondata (#565)
Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-08-21 09:45:07 +00:00
Chomp a09f368d11 Updated settings.json properties 2025-08-21 10:38:43 +01:00
Archangel e9d76400b2 Further work out dialogue endpoint 2025-08-21 07:25:21 +02:00
Archangel 2387775be0 Fix up new endpoint 2025-08-20 20:17:43 +02:00
Chris Adamson 457e7cd36c Fix: Killing the client will no longer save your items (#557)
* alt-f4 is for timmys and rats, not chads like Chomp

* peer review fixes

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-08-19 16:39:20 +00:00
Chomp 7102711ef8 Improved comment 2025-08-19 10:30:57 +01:00
Chomp bb566e32ad Fixed pscav generation failure during prestige #556 2025-08-19 10:28:50 +01:00
Chomp 8b0445375b Revert 2025-08-17 20:06:38 +01:00
Chomp c1522c278e Validate profiles on server start, can be disabled via core.config 2025-08-17 19:56:59 +01:00
Archangel ed52b00d22 Keep unused locations nullable and not required 2025-08-17 18:01:04 +02:00
Archangel e4a80f1f42 Make main database properties immutable 2025-08-17 17:57:58 +02:00
Archangel 35568adb0b Handle DB nullability 2025-08-17 17:17:39 +02:00
Archangel f96172ac60 Always init ExtensionData & fix BaseInteractionRequestData inheritance 2025-08-17 16:20:32 +02:00
Chomp d94490b52f Added functionality to force PMCs to wear specific armband - default enabled
usec = blue
bear = red
2025-08-16 14:37:06 +01:00
Chomp b061200803 Refactor of how bot loot has its position picked to improve performance (#548)
* Initial work on moving container space checks into new class

* Updated tests

Wired up service to save item into inventory when space is found

Updated `FillContainerMapWithItem` to return outcome and not throw exception on failure

Add containers to bot when generating bot equipment

Clean bot cache after completion of loot generation

Removed redundant code from `AddItemWithChildrenToEquipmentSlot`

Removed unnecessary Singleton status from `BotInventoryContainerService`

* Clean-up of service

* Add botId xml docs

* Updated documentation for `FillContainerMapWithItem`

* Code review fixes and improvements

* Remove TODO

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-08-13 15:35:57 +00:00
Cj 4d0eb4d4f3 Change to using builtin SemVer type for AbstractModMetadata and ProgramStatistics.Generated (#536)
* Change to using SemVer builtin type

* Remove SptVersion from config, remove redundant .ToString()

* Update test mod, fix watermark string conversion
2025-08-09 20:40:25 +00:00
Chomp 5cd5ed1f42 Refactored logic of ragfairServer.update()
typo fixes
2025-08-06 15:17:34 +01:00
Cj 529fe61f23 Controller house keeping (#532)
* Cleanup BotController.cs

* More controller cleanup

* More dialogue changes
2025-08-05 16:24:59 +01:00
Chomp 9793cd25ed Improved key lookup inside ProcessPostRaidQuests() 2025-08-04 13:38:56 +01:00
Chomp e7fd757dce Improved how bots are generated to be less blocking
Updated `GenerateBotWaves` to return empty results when request data is empty

Cleaned up `GenerateBotWave` to not need a manual lock
Improved `botRelativeLevelDelta` value in pmc.config

Updated `MatchBotDetailsCacheService` to store PMCs primary weapon tpl
2025-08-04 13:25:19 +01:00
Archangel cec47fefd2 Apply enforced file scoped namespacing 2025-07-31 15:23:32 +02:00
Jesse bf5dedb672 Add currently active client mods in ProfileActivityService (#523)
* Add currently active client mods in ProfileActivityService

* Add method to fetch active client mods on profile
2025-07-28 21:18:38 +00:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
R3ality 82efbfc7db Refactor Json key name to offerCurrencyChancePercent 2025-07-27 13:36:38 +03:00
R3ality 7733d2df96 Fix typo in locationMultipler 2025-07-27 13:15:37 +03:00
R3ality b5b24b2003 Fix typo in traderPriceMultipler 2025-07-27 13:04:50 +03:00
R3ality 765adcac5e Fix typo in priceThreshholdRub 2025-07-27 11:38:54 +03:00
R3ality 8c52c15d6e Fix typo in handbookPriceMultipier 2025-07-27 11:38:53 +03:00
R3ality 9eaa46e024 Fix typo in skillGainMultiplers 2025-07-27 11:38:35 +03:00
R3ality 08a279c4e4 Fix typo in cultistCircle.craftTimeThreshholds 2025-07-27 11:38:12 +03:00
R3ality 8e20a97d5d Fix typo in cultistCircle.rewardPriceMultiplerMinMax 2025-07-27 11:38:11 +03:00
Chomp 34bd002876 list to ienumerable changes
Removed unused methods

strong to mongoId changes
2025-07-25 12:28:40 +01:00