Commit Graph

34 Commits

Author SHA1 Message Date
sp-tarkov-bot 8ad3073450 Format Style Fixes 2025-11-14 16:42:34 +00:00
Chomp e1fb90644a Optimised PrioritiseStashSort to reduce iterating over list, reduces time taken to purchase items when player has a LOT of money stacks in stash 2025-11-14 16:41:29 +00:00
DrakiaXYZ b15d1e3034 Fix traders salessum not increasing on purchase
The chance of a PMC transaction ID overlapping with a trader is slim to none, but the request type can be multiple this for traders. Skip checking type, and validate just using the transaction ID
2025-10-08 16:29:20 -07:00
Chomp cc745f4c46 Corrected ProcessBuyTradeRequestData transactionId to be Mongoid, updated associated code
Also moved TransactionId in `InsuranceRequestData` to be MongoId, updated associated code
2025-09-30 22:38:42 +01:00
Chomp d68a51f031 Fixed buying PMC offers from flea error #597 2025-09-30 22:05:41 +01:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +01:00
Cj e54dcbd4d1 Fix more warnings... (#543)
* Fix more warnings...

* Fix mistake
2025-08-12 15:28:54 +00:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp 5cfb1421c7 Removed unnecessary ?? 2025-07-25 20:13:50 +01:00
Chomp b1aa8f0942 Removed unnecessary ?? 2025-07-25 20:09:07 +01:00
Chomp e521c5ee8b Improved handling of mongoId casting inside PayMoney 2025-07-16 12:23:29 +01:00
Chomp e4569395c2 Updated PayMoney
Reduced code duplication
Corrected currency key type
2025-07-16 10:14:47 +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 14d2c53ba1 clean up FindBarterItems, remove underscore from injections, add locale for warning 2025-07-06 08:33:44 -04: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 4f5571c2d4 Converted more ids to MongoId 2025-07-05 12:35:03 +01:00
Chomp 2609db2536 Removed unused injections 2025-07-04 09:40:22 +01:00
Chomp 86295b68fb Added MongoId type to various places 2025-07-02 19:07:58 +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 da5644cfa2 made properties readonly 2025-06-28 12:53:21 +01:00
Jesse 22c71bee5b Helper methods extensions (#431)
* Remove unused model

* Start moving methods to extensions, cleanup code
2025-06-28 12:14:50 +01:00
Chomp d2d119f3b4 Added CurrencyTypeExtensions 2025-06-28 10:09:56 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Chomp 8b323d396c Refactored PrioritiseStashSort
Take into account money in secure and prioritise
Better handle money stacks being both in containers
2025-06-12 16:45:45 +01:00
Chomp 72611519c2 Removed unnecessary property 2025-06-12 15:32:07 +01:00
Chomp c288df4282 Refactored GetSortedMoneyItemsInInventory
Return empty array if no money stacks found
Filter out 'Locked' money stacks from being returned
Prioritised stash money with the lowest stack size
Optimised `GetSortedMoneyItemsInInventory` with use of 'in stash' cache
2025-06-12 15:03:17 +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 309fffeab2 Remove redundant code from node 2025-04-30 13:31:25 +01:00
Chomp 442011fef3 Deconstruct KvP inside PayMoney 2025-04-30 13:12:51 +01:00
CWX 990fe1cd7f Fix: taking the wrong amount 2025-04-29 21:41:26 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
TetrisGG 86f31fe202 Change Services Comments
Changed comments to XML standard
Added missing comments
Adjusted wording on some comments for clarity.
2025-03-09 13:40:05 +01:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00