Server/project/src/services
DrakiaXYZ 8e91842d4c Resolve ItemBaseClassService cache error when iterating all items (!281)
The ItemBaseClassCache is only generated for items with a _type of 'Items', so before trying to look up an item in itemHasBaseClass, make sure the item also has a _type of 'Item'
Move `allDbItems` to a class variable since we need it for looking up the _type of the given template Id

This shouldn't require any changes to mods

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/281
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-04-08 17:40:04 +00:00
..
cache bundle-crc-cache (!274) 2024-03-29 18:43:36 +00:00
mod Fix error when created multiple items with the same unique ID (!269) 2024-03-25 08:32:01 +00:00
BotEquipmentFilterService.ts Update randomisation config to specifiy its for weapon mods + add equipment mod adjustment system 2024-01-09 16:15:31 +00:00
BotEquipmentModPoolService.ts Formatting 2024-02-02 15:00:21 -05:00
BotGenerationCacheService.ts Cache bots sent to client to spawn in raid, cleared post-raid 2024-02-12 17:11:23 +00:00
BotLootCacheService.ts Implement weights for food/drink on bots 2024-04-08 12:31:51 +01:00
BotWeaponModLimitService.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
CustomLocationWaveService.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
FenceService.ts Fixed refreshed fence assorts being generated at level 2 instead of 1 2024-03-31 16:26:52 +01:00
GiftService.ts Formatting 2024-02-02 15:00:21 -05:00
InsuranceService.ts Centralise check for upd object / creation if it doesnt exist into one helper function inside ItemHelper 2024-03-07 09:18:39 +00:00
ItemBaseClassService.ts Resolve ItemBaseClassService cache error when iterating all items (!281) 2024-04-08 17:40:04 +00:00
ItemFilterService.ts Create centralised reward blacklist 2024-03-23 10:42:43 +00:00
LocaleService.ts Fixed wallets not having money stacks in them 2024-03-10 14:13:08 +00:00
LocalisationService.ts Formatting 2024-02-02 15:00:21 -05:00
MailSendService.ts Fixed bug in MailSendService.processItemsBeforeAddingToMail 2024-04-06 11:23:55 -04:00
MatchBotDetailsCacheService.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
MatchLocationService.ts Remove unused endpoint client/match/group/create 2024-03-09 16:46:40 +00:00
ModCompilerService.ts Workaround swc parsing string as inline sourcemap 2024-04-06 22:36:23 +01:00
NotificationService.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
OpenZoneService.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
PaymentService.ts Clean up passing IItemEventRouterResponse around and then returning it in same function 2024-02-14 14:59:43 +00:00
PlayerService.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
PmcChatResponseService.ts Add missing aid value to IUserDialogInfo 2024-01-06 13:49:48 +00:00
ProfileFixerService.ts Prevent nullref when profile is missing the Place of Fame area on game start 2024-04-06 11:23:57 -04:00
ProfileSnapshotService.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
RagfairCategoriesService.ts Fixes Linting Issues 2024-02-02 15:00:21 -05:00
RagfairLinkedItemService.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
RagfairOfferService.ts Return after returning player offers to avoid redundant remove offer following (!237) 2024-02-27 23:45:47 +00:00
RagfairPriceService.ts Perform currency conversion at end of getDynamicOfferPriceForOffer() if necessary instead of for each item in loop 2024-03-18 16:23:04 +00:00
RagfairRequiredItemsService.ts Fix Required Search 2024-02-03 15:26:15 +00:00
RagfairTaxService.ts Formatting 2024-02-02 15:00:21 -05:00
RaidTimeAdjustmentService.ts Formatting 2024-02-02 15:00:21 -05:00
RepairService.ts Lint fixes 2024-03-30 14:25:46 -04:00
SeasonalEventService.ts Add a new allExtracts property to locations database, and use it for daily quest generation (!266) 2024-03-20 09:43:51 +00:00
TraderAssortService.ts Formatting/Linting Changes (!168) 2023-11-16 21:42:06 +00:00
TraderPurchasePersisterService.ts Update trader refresh times to use a min and max value 2024-03-16 22:12:03 +00:00
TraderServicesService.ts Style fixes 2024-03-30 14:29:08 -04:00