Commit Graph

2153 Commits

Author SHA1 Message Date
Chomp 7ec684aa7e Fixed issue with websockets not reconnecting post-raid
We no longer remove old websocket connections

Converted `SptWebSocketConnectionHandler` to use a primary constructor

Removed websocket monitor from `SptWebSocketConnectionHandler`
2025-05-29 11:55:30 +01:00
clodanSPT 1968afccba Fixes and logs (#301)
* Added safety checks around dictionary lookups for Areas Stages

* Added lots of debug logs for websocket handling

* Removed debug comments

---------

Co-authored-by: Alex <alex@dm-me-for-questions.com>
2025-05-29 11:06:32 +01:00
Jesse d079e86fcb Add OnLazyLoad event so modders can modify LazyLoaded data (#297)
* Add OnLazyLoad event so modders can modify LazyLoaded data

* Remove whitespace
2025-05-29 11:05:41 +01:00
Chomp 5cc2483803 Adjusted scav grenade weights based on feedback 2025-05-29 09:13:42 +01:00
Chomp 47b2567514 Fix unordered enumerable (#296) 2025-05-28 22:25:15 +01:00
Cj f5ce6cd2fa Fix console formatting (#295)
* Fix console virtual processing

* remove sneaky using

* Only set on windows
2025-05-28 22:24:40 +01:00
hulkhan22 44d881b793 Fix unordered enumerable 2025-05-28 23:12:59 +02:00
Chomp de87c58eb1 Merge pull request #294 from cp89gamedev/enumerable-fix
fixes for my previous pr based on peer feedback
2025-05-28 21:16:49 +01:00
Chris Adamson df5750cf09 fixes for my previous pr based on peer feedback 2025-05-28 15:01:10 -05:00
CWX 21ed6371ec Merge pull request #293 from cp89gamedev/just-oblivion-memes
Don't make the server exit when there is another server running
2025-05-28 20:42:16 +01:00
CWX deaa2d8530 Merge branch 'develop' into just-oblivion-memes 2025-05-28 20:41:54 +01:00
Chris Adamson ccd3498d2c I used have spt dev role but then I took an arrow to the knee 2025-05-28 14:38:08 -05:00
Chris Adamson 7d85c0af22 added horse armor 2025-05-28 14:29:57 -05:00
Chris Adamson 173fc6b8a9 I saw a mudcrab the other day. Horrible creatures 2025-05-28 13:47:13 -05:00
CWX 30231964db Add culture Conversion with string to number converter, fixes strings with numbers and commas 2025-05-28 18:54:07 +01:00
Chomp 972dd997fc Fixed null being thrown when searching for an item that has no offers requiring it 2025-05-28 18:25:14 +01:00
Chomp 387970890d Fixed flea categories not showing when performing a 'required' search 2025-05-28 18:24:34 +01:00
Chomp 7f82fdbe1f Minor cleanup 2025-05-28 17:05:19 +01:00
Chomp a7412384cd Fixed Linked Search not working for caratridges 2025-05-28 17:04:57 +01:00
Chomp c110783269 Minor cleanup of post-raid fence standing calculations inside HandlePostRaidPlayerScav 2025-05-28 12:37:07 +01:00
Chomp a3c3cad825 Fixed scav runs not setting loot to non-FIR after runthrough #279 2025-05-28 12:28:02 +01:00
Chomp da42c2803a Comment improvements 2025-05-28 12:04:27 +01:00
Chomp 09ecaef874 Merge pull request #288 from sp-tarkov/lock-objects
Changed object in favor of Lock
2025-05-28 11:57:21 +01:00
Alex c0dbcc3d66 Changed object in favor of Lock 2025-05-28 11:55:44 +01:00
Chomp 74a5310de0 Added nullguards surrounding laser and nvg checks 2025-05-28 11:44:14 +01:00
clodanSPT a58065871f Removed ConcurrentDictionary in favor of locked dictionary, and added… (#287)
* Removed ConcurrentDictionary in favor of locked dictionary, and added reconnection behaviour to OnConnection

* Refactored code to handle multiple ws connected at the same time and offer graceful disconnection of appropriate sockets

* removed unused usings

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-05-28 11:42:56 +01:00
Chomp 1d85328586 Made locks readonly 2025-05-28 11:21:06 +01:00
Chomp 45bc4191dd Made use of Lock as.net 9 has optimisations for this object type 2025-05-28 11:18:50 +01:00
Chomp 8a382f5d63 Replaced concurrent dictionary with manual locks inside PMCLootGenerator 2025-05-28 11:06:16 +01:00
CWX cf15dc372b Fixed pinlockstate being wrong after restart 2025-05-28 10:27:12 +01:00
Chomp c04572f028 Added missing banner data to sandbox from sandbox_high #285 2025-05-28 09:54:44 +01:00
CWX 870b0d1064 Move logging for Micro$ to kestral file logging, this cleans up spt.txt 2025-05-28 09:52:35 +01:00
Chomp 158cf76dc8 Merge pull request #278 from CJ-SPT/collection-ittr-fix
Fix collection modification exception
2025-05-28 08:41:45 +01:00
Chomp 0a2a324240 Merge pull request #277 from CJ-SPT/metadata-fix
Fix for nullable members of AbstractModMetadata
2025-05-28 08:40:21 +01:00
Chomp c074dcc905 Merge pull request #275 from cp89gamedev/fix-cultist-circle-blue-intel
fixed issue where cultist circle is always giving bluen intel folder
2025-05-28 08:39:55 +01:00
Cj 4777aab95c Fix collection modification exception 2025-05-27 19:05:06 -04:00
Cj 00379bf890 Make properties not nullable 2025-05-27 18:57:40 -04:00
Chris Adamson d441dc5db9 fixed issue where cultist circle is always giving bluen intel folder 2025-05-27 17:03:06 -05:00
CWX 538355a0f5 Merge branch 'develop' of github.com:sp-tarkov/server-csharp 2025-05-27 22:37:18 +01:00
CWX 94b0a6c158 Update 1-bug-report.yml 2025-05-27 22:34:59 +01:00
CWX fe2e04b9f8 put logging in debug, fix commit not being added to end of version 2025-05-27 18:54:53 +01:00
Chomp 2902b757e6 Added nullguard check to SaveActiveModsToProfile 2025-05-27 17:17:23 +01:00
Chomp f97b8b6f4f Fixed inverted logic check 2025-05-27 17:16:40 +01:00
Chomp f25aaa70f1 Added nullguard to SaveActiveModsToProfile 2025-05-27 17:12:20 +01:00
Chomp 64885dd6a2 Surrounded call to AddTaskConditionCountersToProfile with null check inside AcceptQuest 2025-05-27 16:39:37 +01:00
Chomp e0cceab7fa Added nullguard to GetLoadedServerMods() 2025-05-27 16:27:23 +01:00
Chomp 2d5bf4364a Merge pull request #270 from sp-tarkov/develop
Develop
2025-05-27 13:54:52 +01:00
Chomp cc3c73ed74 Merge branch 'main' into develop 2025-05-27 13:54:34 +01:00
Chomp 134f7f0c62 Added github issue templates 2025-05-27 13:53:40 +01:00
Chomp b54ff0365d Merge pull request #269 from sp-tarkov/mod-load-disabling
sorted code around mod disabling
2025-05-27 13:49:28 +01:00