Commit Graph

1302 Commits

Author SHA1 Message Date
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
Archangel 7184b4e5db Stop execution of invalid profiles on game start 2025-09-18 18:09:41 +02:00
Chomp f7e8aa9e77 Added GetItemRarityMultiplier 2025-09-18 16:31:35 +01:00
Chomp fb175d4341 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-09-18 14:03:39 +01: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
Archangel 1cc1d2e95d Remove unused record 2025-09-17 20:49:10 +02:00
Archangel 6a4efe9e53 Set correct type on global LocationInfection 2025-09-17 20:47:24 +02:00
Chomp 1ef9ebd88a Added system to generate item flea base prices based on handbook value 2025-09-16 22:24:35 +01:00
Chomp 3fa72b5064 Code lint 2025-09-14 16:40:05 +01:00
Chomp 45237693f8 Fixed issue with GenerateExtraPropertiesForItem not returning Upd object 2025-09-14 16:39:47 +01:00
Chomp 7bbb76d755 Removed unused import 2025-09-14 16:03:06 +01:00
Chomp d0a24db828 Removed recursion from GeneratePool
Reduced use of locks
2025-09-14 15:44:04 +01:00
Chomp 60271229f9 Performance/locking/name improvements to GeneratePool 2025-09-14 15:07:20 +01:00
Chomp 11ec6f66da Fixed issue with 0 valued maxhpresource items causing errors 2025-09-14 11:07:54 +01:00
Chomp ee1cca6330 Force StackObjectCount property to be added to:
Bot equipment
Bot loot
Player scav additional loot items

Emulates what we see in live data
2025-09-14 10:20:24 +01:00
Chomp 0c68d56ee1 Improved GetRandomizedResourceValue + GenerateExtraPropertiesForItem handling of values
Explicit handling of value == 1
Prevent returned value being below 1
Allow caller to force `StackObjectsCount` property
Renamed returned object
2025-09-14 10:17:49 +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 eae750a0c7 Improved property comments 2025-09-13 20:43:38 +01:00
Chomp d38c9358fe Adjusted PMC difficulty values based on values BSG uses for their PMCs as a base 2025-09-13 17:26:11 +01:00
Chomp 5348059301 JSON updates 2025-09-12 13:35:53 +01:00
Archangel 4659de97bc Update core bot settings 2025-09-12 12:38:56 +02:00
Archangel bd9e569a89 Update bot global settings 2025-09-12 12:28:30 +02:00
Chomp e26662ff13 Improved empty check for difficulty values inside GetAllBotDifficulties 2025-09-12 11:06:09 +01:00
Archangel ba47cc3a53 Update libraries 2025-09-10 18:37:29 +02:00
Cj 3596a12a19 Rename parameter for clarity 2025-09-10 12:04:54 -04:00