Commit Graph

2044 Commits

Author SHA1 Message Date
Chomp e30d620c44 Skip second if check when filename is "package.json" inside LoadMod()
Improved name and file type checks

Renamed variables
2025-05-05 13:54:04 +01:00
hulkhan22 23468cf0a3 fix: Bot flashlights on during daytime raid (#236)
* Fix flashlights being on during daytime raids

* Add comment for the new property
2025-05-05 09:07:26 +01:00
Chomp 2ea6128815 Improved how ConvertToCorrectType handles /moving actions
Reduced number of times JSON is parsed into an object
2025-05-04 23:09:13 +01:00
Chomp 74781cb1b2 Fixed error in SetCurrentDateTime 2025-05-04 17:08:57 +01:00
CWX 04de5a474a Merge pull request #234 from sp-tarkov/update-types
Set proper type on GroupId and TeamId
2025-05-04 16:37:53 +01:00
Archangel 01b516b267 Set proper type on GroupId and TeamId 2025-05-04 17:20:01 +02:00
Chomp 96570b0eb3 Fixed GetInRaidTime ignored passed in value
Improved accuracy of time simulation
2025-05-04 16:06:39 +01:00
Chomp c5250000f0 Fixed build 2025-05-04 15:30:38 +01:00
Chomp 81ee7181c7 Split GetInRaidTime into 2 methods 2025-05-04 15:27:55 +01:00
CWX afb7a5b81c Update single line blocks, should stop props newlines 2025-05-04 15:04:28 +01:00
Chomp da05351288 formatting cleanup of GetInRaidTime 2025-05-04 14:10:13 +01:00
Chomp 8a72988fd6 Added spelling to whitelist 2025-05-04 14:09:39 +01:00
Chomp 4ea63711a9 Fixed IsNightTime not handling factory night/day raids 2025-05-04 14:02:09 +01:00
Chomp bd5f7df3d8 Fixed IsNightTime not returning the correct value, fixes #233 2025-05-04 13:12:57 +01:00
Chomp 31ae5feb41 Bot generation performance (#231)
* chore: Bot generation performance improvements (#227)

* Bot generation performance improvements

* Revert debug logging logic

* Get rid of Info log which is bound to be printed inevitably at each bot wave generation

* Use assault const

* Removed comments

Removed lowercase side constants
Renamed equipment role to better explain its purpose

Fixed `Blocks` property being serialised to client

Updated `_slotsWithNoCompatIssues` to use existing enum type

Reduced log line to be debug

* Fixed `GetRandomTextThatMatchesPartialKey` incorrectly checking eft locales instead of spt locales

* Updated various methods to be protected

---------

Co-authored-by: hulkhan22 <clandestine984@gmail.com>
Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-05-04 12:51:45 +01:00
CWX 0019738a8d allow expression bodies for lambdas 2025-05-04 00:23:24 +01:00
Chris Adamson e3192a7487 fixed missing bonuses in quest rewards (#229)
* fixed missing bonuses in quest rewards

* fixes based on feedback

---------

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-05-03 22:26:04 +01:00
CWX a7340bc0d5 Update editorConfig 2025-05-03 21:56:24 +01:00
CWX c8e3c70df3 add throw so we can use debugger on it. 2025-05-03 19:21:19 +01:00
CWX 1361b21f90 Merge pull request #228 from cp89gamedev/location-enum-merge-fix
add back jsonconverter
Bypassing review rules, was removed by me
2025-05-03 19:18:34 +01:00
Chris Adamson aaef67c324 add back jsonconverter 2025-05-03 12:36:36 -05:00
Chomp b904e18456 Improved GetContainerMap access of an array by index + some formatting issues 2025-05-03 15:44:40 +01:00
CWX 7d3833c27f Update var naming to be easier to read 2025-05-03 13:07:05 +01:00
CWX 9bfd051725 dont calculate size twice 2025-05-03 13:06:46 +01:00
CWX 2490747921 fix weapon size calculation 2025-05-03 13:06:06 +01:00
CWX bf94786f77 change back to number as per live data 2025-05-03 13:05:07 +01:00
Chomp cf287b846f 36679 2025-05-03 11:02:11 +01:00
CWX dd6085af97 thanks lacy 2025-05-02 20:36:27 +01:00
CWX 7b22d93c60 Add ability to remove Custom locale 2025-05-02 20:26:29 +01:00
CWX 5c6a94a731 fix custom locales not overwriting existing ones 2025-05-02 20:24:48 +01:00
Chomp ab7cdd63ba Use same item size method as airdrop loot 2025-05-02 19:53:57 +01:00
Chomp 344ea6de35 Moved container methods around
Added code to validate items fit into airdrop crate

Updated `CreateForcedLoot` and `CreateRandomLoot` to return items with their children

Updated `SetFoundInRaid` to not add a upd to money/currency if it doesn't already have one
2025-05-02 19:48:28 +01:00
CWX ff40b2d1c7 add vog-30 shrapnel to blacklist 2025-05-02 19:00:45 +01:00
CWX fb64349691 Merge branch 'develop' of github.com:sp-tarkov/server-csharp into develop 2025-05-02 17:13:45 +01:00
CWX a0bc2803f6 add upd check 2025-05-02 17:13:36 +01:00
clodanSPT ec0f8b2eab Made program statics running in local turning debug variable depending on the runtime mode (#225)
Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-05-02 17:09:59 +01:00
hulkhan22 25386d588f Fix bonus ID check (#223) 2025-05-01 22:04:17 +01:00
Chomp 1976218991 Updated locations where we parse a number stored as a string into a double to use CultureInfo.InvariantCulture, this resolves errors with languages that don't use commas instead of periods in numbers 2025-05-01 17:41:54 +01:00
Refringe c826f8896f Create prevent-main-target.yml
Prevents pull requests from targeting `main`.
2025-05-01 09:40:19 -04:00
Chomp e716e7b1d8 Made use of ProfileActivityService inside HandleFallback
Removed storage of session id from `HandleFeedback`

Cleaned up `ProfileActivityService`
2025-05-01 13:51:04 +01:00
Chomp f7f1187a32 Merge pull request #220 from sp-tarkov/app-context-lock
removed app context concurrent dictionary in favor of method lock object
2025-05-01 11:07:48 +01:00
Alex a14cbee52f removed app context concurrent dictionary in favor of method lock object 2025-05-01 10:45:02 +01:00
hulkhan22 247c0b77b1 fix: Infinite loading screen (#216)
* Fix various issues that cause infinite loading

* Revert nullable
2025-05-01 08:18:10 +01:00
Chomp 2393619dac Added sandbox_high to containerRandomisationSettings 2025-04-30 22:19:58 +01:00
Chomp f50e22ed5f Updated quest json
Added missing banners
2025-04-30 16:51:17 +01:00
CWX 0f3795fc49 fix buff logic for nulls 2025-04-30 15:59:13 +01:00
CWX 1984555dbc Update Terminal base json 2025-04-30 15:51:02 +01:00
CWX 44c5a488c8 fix checking null or empty 2025-04-30 15:33:01 +01:00
CWX ddef9a992a remove terminal banner as its not available 2025-04-30 13:51:22 +01:00
CWX 309fffeab2 Remove redundant code from node 2025-04-30 13:31:25 +01:00