Commit Graph

2369 Commits

Author SHA1 Message Date
agavalda 610e971568 Use double for quantity instead of int (#393)
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-06-13 09:25:12 +01:00
Chomp 19fcc689d8 Merge pull request #392 from CJ-SPT/shortcut-error
Enhancement: Shortcut error
2025-06-13 07:59:07 +01:00
Cj e808c181c9 Add error handling for improper shortcut creation... 2025-06-12 19:26:13 -04:00
Chomp 9c37b79c1d Improved GetDeltaQuests description 2025-06-12 23:05:28 +01:00
Chomp c2e0193450 Fixed inverted logic inside GetDeltaQuests 2025-06-12 23:03:29 +01:00
Chomp 0cce75368b Updated flea prices 2025-06-12 22:15:40 +01:00
Chomp 7f79315ae6 Changed MergeCustomAchievements logging to debug 2025-06-12 18:00:50 +01:00
Chomp 8b323d396c Refactored PrioritiseStashSort
Take into account money in secure and prioritise
Better handle money stacks being both in containers
2025-06-12 16:45:45 +01:00
Chomp 72611519c2 Removed unnecessary property 2025-06-12 15:32:07 +01:00
Chomp c288df4282 Refactored GetSortedMoneyItemsInInventory
Return empty array if no money stacks found
Filter out 'Locked' money stacks from being returned
Prioritised stash money with the lowest stack size
Optimised `GetSortedMoneyItemsInInventory` with use of 'in stash' cache
2025-06-12 15:03:17 +01:00
Chomp 6175e37044 Add todo for RewardType.WebPromoCode 2025-06-11 21:38:18 +01:00
Chomp 327ad33bb6 Added comments
Made fields readonly
2025-06-11 15:05:12 +01:00
Chomp b78d0dff09 Cleaned up usings 2025-06-11 14:20:40 +01:00
Chomp 2f0bcdea25 Fixed PMC loot pool generator returning the first cached pool regardless of what pmc type was requested
Refactored PMCLootGenerator
Made use of Primary constructor
Created helper function to generate loot pool
Cache loot data against PMC type
2025-06-11 13:39:24 +01:00
Chomp d31ebb70f3 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-06-11 12:30:43 +01:00
Chomp 63db5ed6ff Fixed PMC loot pool generation not utilising the pmc pool blacklists #390
Comment improvements
Renamed helped method for readability
2025-06-11 12:30:20 +01:00
Jesse 83f629b407 Fix up AchievementController (#389)
* Stop blacklisted achievement profiles from counting up to total profile count

* Properly calculate percentage of profiles having achievements
2025-06-10 20:36:13 +01:00
Chomp e8b938faab Cleaned up GetPresetItemsByTpl and GetPresetItems 2025-06-10 16:24:42 +01:00
Chomp 650b94540b Expanded ragfair.offerItemCount functionality. #388
Is now defined per item type with a fallback.

Currently only ammo boxes have custom values (0 to 3 vs the default 7 to 30)
2025-06-10 16:20:00 +01:00
Chomp ba7feb91ce Blacklisted high tier ammo boxes from flea
Flagged ammo boxes as single stack only
Removed forced ammo box multiplier

#388
2025-06-10 15:56:27 +01:00
Chomp e758cc93e1 Reduced t7 thermal price multiplier #388 2025-06-10 15:35:03 +01:00
Chomp 05354d8cbc Cleaned up CompleteQuest
Optimised `GetDeltaQuests`
Simplified `FindAndRemoveQuestFromArrayIfExists`

Various comment formatting fixes
2025-06-10 14:57:36 +01:00
Chomp 25db0ccef2 Cleaned up code inside SendLocalisedNpcMessageToPlayer 2025-06-10 10:34:34 +01:00
Chomp c8a6943eaf Fixed GetQuestsFromProfileFailedByCompletingQuest not processing multiple failure conditions #345 2025-06-10 10:32:29 +01:00
Chomp b3e5662ee1 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-06-10 10:18:41 +01:00
Chomp 220a010879 Added missing daily Completion quest properties 2025-06-10 10:18:27 +01:00
Jesse 2c52012740 Further async changes (#387)
* Further async changes
- SaveServer & Backup Server are now async
- Anything that ties in with SaveServer saving (Such as callbacks) are now async
- Various async util methods added
- Removed two wrapper methods and switched code over to use the actual method

* Update test
2025-06-09 20:09:12 +01:00
Chomp c8e1c48e98 Fixed profiles ignoring _ragfairConfig.RunIntervalSeconds value 2025-06-09 17:27:02 +01:00
Chomp 7c84638336 Fixed localisation typo 2025-06-09 17:18:03 +01:00
Chomp f4d9649f0b Improved how SPT bot responds to 'help' command
Added GARBAGE to command list #366
2025-06-09 17:17:51 +01:00
Chomp 8179e5c86b Localised strings
Improved nullguards
2025-06-09 14:45:47 +01:00
Chomp d9132e5325 made class props readonly
Removed unused injections

Removed unnecessary .ToLower()
2025-06-09 11:47:49 +01:00
Chomp d36ac06eb1 Halloween even improvements
All maps have at least 5% infection
Improved dictionary access
2025-06-09 11:47:12 +01:00
Chomp 57c9ff477e Localised various error messages 2025-06-09 09:35:47 +01:00
Jesse 2ff286e5ed Handle closure of WebSockets better, improve formatting of code (#383)
* Handle closure of WebSockets better, improve formatting of code

* Update comment
2025-06-09 08:56:07 +01:00
Chomp cfd2116fb6 Allow altering the parentId of values placed inside handbookPriceOverride 2025-06-08 21:34:29 +01:00
Chomp 445c7c2c1e Fixed seasonal event quests not appearing 2025-06-08 21:28:20 +01:00
Chomp 3d7eaca32a Fixed skills showing as number from the TOURNAMENTGIFT gift #381 2025-06-08 18:49:10 +01:00
Chomp 609bad2431 Fixed selecting 'delete messages' on a dialog failing #378 2025-06-08 16:18:18 +01:00
Chomp e1588f8c8b Fixed profile viewing of other players throw null errors #377 2025-06-08 16:00:07 +01:00
Chomp bfc8f3df30 Merge pull request #379 from sp-tarkov/ceciler-path-fix-v2
Update to use full pathing, check for IsPublish to build Ceciler project
2025-06-08 14:37:50 +01:00
Archangel b5752a197d Update to use full pathing, check for IsPublish to build Ceciler project 2025-06-08 15:33:37 +02:00
Jesse dbb06ee9da Update ceciler path (#376)
* Make ceciler cross platform

* Undo debug changes

* Update path
2025-06-08 13:29:50 +01:00
Jesse 9dbc40b462 Make ceciler cross platform (#375)
* Make ceciler cross platform

* Undo debug changes
2025-06-08 13:21:50 +01:00
Chomp 24871d4b47 Revert "Replaced default ceciler files with portable build"
This reverts commit 1efe79b3505783440d7656b965e7e0a51bab6440.
2025-06-08 13:09:47 +01:00
Chomp 2caf19ba82 Replaced default ceciler files with portable build 2025-06-08 12:55:47 +01:00
Chomp b741f77494 Added linux_x64 variant of ceciler to server 2025-06-08 12:50:21 +01:00
Chomp a597c0e2a3 Improved dictionary access to prevent errors when production isn't found
Made some methods static
Comment improvements
Added keywords to spelling whitelist
Usings cleanup
Removed unused injections

#374
2025-06-08 11:18:54 +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
Chomp 4eac8d90fb Fixed limb effect not being nulled correctly inside TransferPostRaidLimbEffectsToProfile 2025-06-08 10:06:51 +01:00