Commit Graph

46 Commits

Author SHA1 Message Date
Chomp 4ce5512d7d Added BotConfig.ReplaceScavWith to allow adjustment of scavs into other bot types 2025-10-17 10:53:25 +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 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
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 5efe5e8c4e Deconstructed kvp values inside RemoveExistingPmcWaves 2025-09-29 09:43:27 +01:00
Archangel f3470aac59 Remove redundant checks for MongoId 2025-09-18 19:57:34 +02:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +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 860daee674 Improve prestige quest handling if quest does not exist 2025-08-11 15:41:49 +02:00
Chomp 6ad88a3c7a Improved item lookup safety inside FixShotgunDispersions 2025-08-09 11:53:03 +01:00
Chomp 2f962ef6dc string to mongoId conversion 2025-08-07 15:08:37 +01:00
Archangel aec8420d53 Cleanup todos, run VS cleanup & enforce file scoped namespacing 2025-07-31 15:18:20 +02:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 1320f7d0ab Ienumerable changes 2025-07-23 13:06:48 +01:00
Chomp 80e0637b26 string to mongoid conversion
Removed unnecessary nulls

Cleaned up access levels for methods in `BotGenerator`
2025-07-20 11:33:25 +01:00
Chomp 2221c4e749 Added early concept of a status page 2025-07-17 12:54:40 +01:00
Chomp fdfbf66c1b Removed unncessary nulls 2025-07-16 13:26:09 +01:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Chomp 96290b7cb5 Added bossTagilla to weekly boss rotation 2025-07-07 09:35:02 +01:00
Cj d1af6bf6e3 Service sessionIDs to mongoIDs (#454)
* Start updating service sessionIDs to mongoIDs

* Finish service conversion + fix other small issues
2025-07-06 13:08:07 +01:00
Chomp 2609db2536 Removed unused injections 2025-07-04 09:40:22 +01:00
Chomp 81a263b7d0 Fixed incorrect logic in how weekly reset date is picked, choose the most recent previous day, not the closest 2025-06-30 10:12:55 +01:00
Chomp 611b234142 Added ability to change weekly boss reset day via config 2025-06-30 09:50:11 +01:00
Chomp 4608567982 Added Knight to weekly boss pool 2025-06-30 09:42:53 +01:00
Chomp e6b791179b Added Boss of the week system
Similar to live where a boss is picked at random and will have a guaranteed spawn on a map. This is indicated with a skull on the map selection screen
Configurable via `config/bot.json/weeklyBoss`
2025-06-29 18:58:23 +01:00
Jesse 5686f4a486 Remove I18nService, migrate to renamed ServerLocalisationService (#433)
* Remove I18nService, migrate to renamed ServerLocalisationService

* Revert VS fuckup

* Update using

* Remove unused parameter, update comment

* Fix develop branch not building
2025-06-28 19:08:42 +01:00
Chomp da5644cfa2 made properties readonly 2025-06-28 12:53:21 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Archangel 3419368f53 Add Transformer to Lazyload, get rid of event
This will break mods and their examples!

In addition:
- Removes being able to add custom locales, modders should do .AddTransformer on the LazyLoaded value in the database!
- Fixes up PostDBLoad methods trying to use .Value which won't work as this data will be unloaded after 30 seconds
- Move all other SPT code to use .AddTransformer
2025-06-15 19:08:38 +02:00
Chomp 7f79315ae6 Changed MergeCustomAchievements logging to debug 2025-06-12 18:00:50 +01:00
Chomp 1d5162c761 Various changes and fixes for things that have been bugging me
Removed/flagged unused props
Typo fixes
Use `FirstOrDefault` over direct index access
Log stacktrace on exception inside `CreateWeaponItems`
2025-06-08 10:40:40 +01:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
CWX f15eb8e563 fix saiga FA 2025-05-05 23:01:22 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX 257c8cc698 moved removal of prapor message to localService as this needs to happen each time we lazyload 2025-04-17 13:20:54 +01:00
Chomp f104ab1417 Improved logging 2025-04-09 17:20:24 +01:00
Chomp 09d5776f32 Added christmas tree to hideout areas on server start via custom area system 2025-03-28 17:35:00 +00:00
Chomp 0938f47a64 Added custom achievement system, adds achievements on server start 2025-03-28 17:06:43 +00:00
TetrisGG 86f31fe202 Change Services Comments
Changed comments to XML standard
Added missing comments
Adjusted wording on some comments for clarity.
2025-03-09 13:40:05 +01:00
Chomp 17e0a4245a Fixed merged quest assorts not correctly merging 2025-03-08 10:03:52 +00:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00