Commit Graph

2075 Commits

Author SHA1 Message Date
hulkhan22 21382a1e06 Fix server exception at raid end when client sends bantype data (#257) 2025-05-18 19:38:13 +01:00
Chris Adamson e783f26815 Fix: Insurance items lost in labyrinth should not be returned (#256)
* labyrinth insurance fix

* fix copypasta
2025-05-18 19:37:31 +01:00
Chomp d8bce1f985 Updated quest json 2025-05-17 15:04:23 +01:00
Chomp 5d51453397 Merge pull request #255 from hulkhan22/chore/minor-cleanup
chore: Minor cleanup
2025-05-17 12:21:28 +01:00
hulkhan22 320e6adb84 Minor cleanup 2025-05-17 13:04:34 +02:00
Chomp 20df3dafbd fix for chomps push (#254) 2025-05-16 21:12:20 +01:00
Chris Adamson f7e02c0154 fix for chomps push 2025-05-16 15:11:20 -05:00
Chomp 87f25b732c Updated EN locale data 2025-05-16 21:09:04 +01:00
Chomp d4f45e3397 Updated map base json data using values from live 2025-05-16 21:05:39 +01:00
clodanSPT ae636f693b :) (#253)
Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-05-16 20:48:21 +01:00
Alex 45d66483c7 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-05-15 19:53:34 +01:00
Alex 93b612a60c Changed OutputPath to OutDir for rider compatibility 2025-05-15 19:53:22 +01:00
Cj 0fda28526f Implement module patch abstraction and patch loader (#250)
* Implement patch abstractions and patch loader using an interface

* remove patch loader

* rename patch class
2025-05-11 20:52:14 +01:00
hulkhan22 1eb4d55a02 feat: Make adding new traders easier (#251)
* Make adding a new trader easier

* Improvements
2025-05-11 20:12:26 +01:00
Chomp 718015c2a6 Simplify IF check inside RandomiseItemUpdProperties() 2025-05-10 21:13:20 +01:00
Chomp 6a683cd2c9 Improved Preset generation for Fence assort
Filter weapon preset root items by fence blacklist prior to looping over them
Added an exit after 25 failed attempts to add a preset to assort to prevent infinite loop

https://github.com/sp-tarkov/server-csharp/issues/167
2025-05-10 20:56:31 +01:00
Chomp d7c7aa33d0 Merge branch 'develop' of https://github.com/sp-tarkov/server-csharp into develop 2025-05-08 20:05:44 +01:00
Chomp 56e99ff1dc Updated location item data #242 2025-05-08 20:05:16 +01:00
Chris Adamson f8bb244061 actually get rid of quest items on death (#249)
* actually get rid of quest items on death

* fixes based on feedback
2025-05-08 17:53:44 +01:00
Chomp da86a013db Merge pull request #248 from CJ-SPT/mod-metadata
Implement loading mod metadata from the mod's assembly
2025-05-07 21:33:44 +01:00
Cj 5af362b0b3 Implement loading metadata from the assembly 2025-05-07 15:05:22 -04:00
Chomp 32c4c6a7bb Merge pull request #245 from hulkhan22/fix/duplicate-ids-during-inventory-lootgen
fix: Ensure unique MongoIDs
2025-05-07 14:30:50 +01:00
hulkhan22 6af7e18181 Ensure unique MongoIDs 2025-05-07 04:09:56 +02:00
clodanSPT 13f9fc1093 Added an option for modders to add their own Data handlers for ItemEv… (#241)
* Added an option for modders to add their own Data handlers for ItemEventRouter handling serialization

* Made return type for func nullable

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Alex <alex@dm-me-for-questions.com>
2025-05-06 19:08:26 +01:00
Chomp c4382a8a32 Merge pull request #238 from sp-tarkov/update-inject
Use SptWebSocketConnectionHandler directly
2025-05-06 13:53:11 +01:00
Archangel 19c8c5e401 Use SptWebSocketConnectionHandler directly 2025-05-06 14:50:22 +02:00
Chomp a190198582 Merge pull request #237 from sp-tarkov/di-rework
DI completely reworked to keep status of singletons on multi type com…
2025-05-06 10:56:13 +01:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
Chomp ba59afa354 Made GetActiveChatBots() public 2025-05-06 08:49:44 +01:00
CWX f15eb8e563 fix saiga FA 2025-05-05 23:01:22 +01:00
Chomp ae98f57bd9 Replaced various string.toLower() == x checks with string.Equals 2025-05-05 14:03:57 +01:00
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