Commit Graph

1306 Commits

Author SHA1 Message Date
GrooveypenguinX 772b0e4218 Fixed overrideproperties not applying in customitemservice
Swapped out the old method with new logic that sets the properties using reflection, and can also handle fields.
2025-06-01 09:05:30 -04: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
qe201020335 d3a819b00f Optimize chatbot with dictionary 2025-05-26 01:07:38 -04:00
hulkhan22 aef3a4202f Fix presentation of messages with items (rewards & insurance returns) (#265) 2025-05-21 22:29:34 +01:00
Chomp 983fb644be Updated various Microsoft deps 2025-05-21 17:43:38 +01:00
Chomp b097fb35e6 Updated fastcloner to 3.3.4 2025-05-21 17:40:33 +01:00
Chomp c39ab9e1e7 Improved nickname validation code clarity
Improved accuracy of 2 responses:

`client/game/profile/nickname/validate`
`client/game/profile/nickname/change`
2025-05-21 16:09:11 +01:00
Chomp a3be7f25db Improved consistency in property access throughout GetMiniProfile()
Renamed parameter for consistency
2025-05-21 15:52:40 +01:00
Chomp d357dea4fc Added weapon to Gendarmerie - District Patrol whitelist 2025-05-21 14:16:21 +01:00
Chomp c420dd1907 Added Safety Guarantee quest 2025-05-21 13:56:39 +01:00
Chomp bdde7d7454 Updated UpdateFenceAssorts() to add a upd object when missing
Updated various methods to use library functionality

Improved string compare inside `RandomiseArmorInsertsDurabilities()`

Comment improvements
2025-05-21 12:02:12 +01:00
Chomp d88db583c1 Moved ItemSize into modules section, changed to record
Updated `GetItemSize` to accept `ICollection` instead of list
2025-05-21 11:34:02 +01:00
Chomp 8b3a5bbb90 Converted method comments to c# style
Made some protected properties readonly / static
2025-05-21 11:14:49 +01:00
Chomp 77547114de Converted comments to c# style inside AssortHelper
Improved readability of `RemoveItemFromAssort`
2025-05-21 10:57:54 +01:00
Chomp c9e28e05bb Moved in-game reward check even further up chain into ApplyQuestReward()
Replaced magic strings with string consts inside `IngameTraders` collection

Various comment improvements
2025-05-21 10:42:13 +01:00
Chomp e41002dc01 improved readability of GetQuestFromDb()
Added nullguards
Flagged return as nullable
2025-05-21 10:41:24 +01:00
Chomp da9920af49 Fixed typo 2025-05-21 10:38:37 +01:00
Chomp e41d4a10bf Added nullguards inside ApplyMoneyBoost()
Renamed variables to improve clarity
Converted comments
2025-05-21 10:37:51 +01:00
Chris Adamson e14f216209 skip btr driver and lightkeeper quest rewards (#262)
* skip btr driver and lightkeeper quest rewards

* remove new line

* fixed circular dep

* fixes based on feedback

* more feedback fixes
2025-05-20 23:02:55 +01:00
Chomp 604137bad1 Improved various comments inside ItemHelper
Moved values out of `ArmorItemCanHoldMods` and into frozen set

Added Tpls to spelling dictionary

Changed list parameters to be `ienumerable` or `icollection` where possible

Made `ArmorItemHasRemovablePlateSlots` use class property directly

Made `ItemHasSlots` return false when checked item doesn't exist instead of throwing an unhandled exception

Folded `HasBuyRestrictions` logic into one line
2025-05-20 12:34:22 +01:00
Chomp c8ad685081 Improved HasItemWithTpl and GetItemFromPoolByTpl 2025-05-20 12:00:01 +01:00
Chomp a9c33e1dfc Improved IsAttachmentAttached comments 2025-05-20 10:54:32 +01:00
Chomp 7fe20a49c9 Use nameof inplace of toString for _slotsAsStrings values 2025-05-20 10:51:49 +01:00
hulkhan22 8ad9afebaa fix: Insurance removing unremovable parts - #196 (#260)
* Fix insurance removing unremovable parts

* Mini optimization
2025-05-20 10:50:27 +01:00
Chomp 41f53a114e Updated bot JSONs 2025-05-19 09:49:44 +01:00
Chris Adamson 914d151461 fixed two bugs in commando commands (#258)
* fixed two bugs in commando commands

* added count checking in other helper

* fixes based on feedback
2025-05-18 20:35:35 +01:00
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
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
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
Cj 5af362b0b3 Implement loading metadata from the assembly 2025-05-07 15:05:22 -04: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