Commit Graph

34 Commits

Author SHA1 Message Date
Chomp e32bace4d6 Improved dict access inside SetTraderUnlockedState + comment and naming improvements 2025-09-26 13:16:47 +01:00
Chomp ec682ccc16 Updated GetTrader to use mongoId for traderId + removed redundant 'ragfair' check + made sessionId optional + added comments 2025-09-26 13:05:20 +01:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +01:00
Archangel d413a6e9c5 Remove TraderStore, use DatabaseService as the source of truth 2025-08-21 16:18:41 +02:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 526c3f6c44 string > mongoid
added nullguard
2025-07-25 21:12:37 +01:00
Chomp 5cfb1421c7 Removed unnecessary ?? 2025-07-25 20:13:50 +01:00
Chomp 34bd002876 list to ienumerable changes
Removed unused methods

strong to mongoId changes
2025-07-25 12:28:40 +01:00
Chomp a1e0dadd08 Part 2 of list to ienumerable 2025-07-23 15:55:28 +01:00
Chomp 0d79095aed Removed unused method and cached result of GetHighestSellToTraderPrice 2025-07-20 20:59:31 +01:00
Chomp e27b2b91e3 String to MongoId changes + Updated nullability of trader helper methods 2025-07-16 11:16:03 +01:00
Chomp 040be2feaa More strings to MongoIds
Convert constructors into primary constructors

Simplified logic with use of ??, ??= and method groups

Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Chomp 9470855b50 Fixed more boxing perf issues + removed unnecessary check that reduced perf when generating flea offers 2025-07-07 13:07:53 +01:00
Chomp 61f62f191d Converted more strings to mongoIds and fixed issue with buying items from pmcs on flea 2025-07-07 11:56:19 +01:00
Cj 3817d6cca4 Helpers Mongoid conversion + cleanup (#458)
* Start converting helper method ids to mongoids and remove underscore from injections...

* Finish helper mongoIds
2025-07-06 17:31:59 +01:00
Cj d1af6bf6e3 Service sessionIDs to mongoIDs (#454)
* Start updating service sessionIDs to mongoIDs

* Finish service conversion + fix other small issues
2025-07-06 13:08:07 +01:00
Chomp 8253215410 Converted strings into MongoId type 2025-07-05 11:03:09 +01:00
Jesse 5686f4a486 Remove I18nService, migrate to renamed ServerLocalisationService (#433)
* Remove I18nService, migrate to renamed ServerLocalisationService

* Revert VS fuckup

* Update using

* Remove unused parameter, update comment

* Fix develop branch not building
2025-06-28 19:08:42 +01:00
Chomp 1c83014ed2 Converted CalculateLevel to extension method
Removed `PlayerService`
2025-06-28 17:05:56 +01:00
Chomp da5644cfa2 made properties readonly 2025-06-28 12:53:21 +01:00
Chomp 0be02bc3f5 Created ProfileExtensions 2025-06-28 09:27:41 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Chomp e596974d07 Cleaned up usings 2025-06-14 16:43:24 +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 fb31786ee2 Updated profile templates to be a dictionary, cleaned up all uses of it throughout code
Added `profileHelper.GetProfileTemplateForSide`
2025-06-07 12:17:28 +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
hulkhan22 1eb4d55a02 feat: Make adding new traders easier (#251)
* Make adding a new trader easier

* Improvements
2025-05-11 20:12:26 +01:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX 95d009e0e4 Changes to MailSendService
originally we had the trader id -> then used a method to get the EnumValue as a string -> then later turned it BACK into a traderId

unless im missing something major this should simplify things?

example:
we took "6617beeaa9cfa777ca915b7c" and turned it to "Ref" to then turn it back to "6617beeaa9cfa777ca915b7c"
2025-04-08 22:03:43 +01:00
Chomp 2423a66f40 Refactored how clothing is stored and processed
`Suits` is no longer used in full profile, `customisationUnlocks` should be used
2025-03-28 17:54:32 +00:00
Chomp 787f15b124 Fix buy_price_coef inversion
buy_price_coef isn't a direct percentage for their buyback value, it's
an inverse percentage

If it is 30, then their buyback rate is 70% of the handbook, not 30%
2025-03-19 16:43:25 +00:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00