Dev
330b1ebf28
declare repeatableQuests
as const not let inside removeOrphanedQuests()
2024-01-29 11:12:57 +00:00
Dev
e88a661e7e
Convert hideout area bonus property + Bonus type property into an enum and update code that uses altered property
2024-01-29 10:42:02 +00:00
Dev
dbc6bd9a0b
Improve reorderHideoutAreasWithResouceInputs()
debug messaging
2024-01-29 10:25:14 +00:00
Dev
8b691e10a9
Improve server locale handling
2024-01-27 23:33:31 +00:00
Dev
215e8f1c4b
Create new SNOW
event separte from new years
2024-01-27 23:08:21 +00:00
Dev
8cf9cb8e15
Fix issue with getDynamicOfferPriceForOffer()
not seeing presets correctly after ragfair rework
2024-01-27 20:00:18 +00:00
Dev
9b09319d3d
Cleanup of cancelled player flea offer code
2024-01-26 10:49:06 +00:00
Dev
b68164b830
Add support for sub locales - initial support for PT and ZH
2024-01-23 20:49:06 +00:00
Kaeno
7f90c52386
Corrected isinsured check
2024-01-23 20:19:53 +00:00
Dev
054aea23e0
Enhance findAndReturnChildrenAsItems
with the ability to filter out stored child objects
2024-01-23 20:00:36 +00:00
Dev
d3f9cea4c1
Fix ammobox + magazine cartridges being given to player with an incorrect FiR status, shouild match parents status
2024-01-23 15:24:02 +00:00
Dev
4ce26ea870
Refactor of RagfairAssortGenerator
and associated code that touches it
2024-01-23 14:17:01 +00:00
Dev
af50cb7869
FIx getProfileTraderPurchase()
failing when trader doesnt exist in profile
2024-01-20 20:37:41 +00:00
Dev
ceba6b3064
Move isItemInStash
into inventoryHelper
...
Cleanup of variable names
2024-01-20 20:15:03 +00:00
Dev
4bca0b7747
Migrate giveProfileMoney()
to use addItemToStash()
2024-01-20 20:06:15 +00:00
Dev
80fdaf65e6
Finalise fence changes
2024-01-20 17:56:19 +00:00
Dev
42b915990e
Moe majority of assort generation from FenceService
into FenceBaseAssortGenerator
...
Generate an items children and store in fence assort base
Better handle presets
Fix `removeRandomItemFromAssorts()` not removing all of an items mods from memory
Correctly calculate an items price including its children
2024-01-20 16:20:39 +00:00
Dev
a1f043d088
Fix issie with BuyRestrictionCurrent
value persisting between profiles
2024-01-20 00:19:13 +00:00
Dev
4fd37e3a92
Fix all items being free
2024-01-19 22:49:31 +00:00
Kaeno
812a6a6884
Fix function removing daily/weekly quests from profile on profile load
2024-01-19 16:41:35 +00:00
Dev
c8fa31184f
Prevent gifter bot being added twice
2024-01-18 12:20:28 +00:00
Dev
bb741f681d
Store and process secure container loot items for bots
...
Give gifter more items
2024-01-18 12:07:32 +00:00
snowythefox811
f6192f1891
Added The ability to have enhancements on armored rigs and helmets. ( !200 )
...
Added the vest and headwear classes to be eligible for armor enhancement
Co-authored-by: Snow <Notarealemail@email.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/200
Co-authored-by: snowythefox811 <snowythefox811@noreply.dev.sp-tarkov.com>
Co-committed-by: snowythefox811 <snowythefox811@noreply.dev.sp-tarkov.com>
(cherry picked from commit 35eb9feebf
)
2024-01-18 09:08:22 +00:00
Dev
93edb3e074
Fix player being charged multiple times
...
Fix issue with `findBarterItems()` where it would incorrectly wipe out found results each loop
2024-01-16 18:25:03 +00:00
Dev
33d1395dea
Add debug logging to getSortedMoneyItemsInInventory()
2024-01-16 17:24:28 +00:00
Dev
0166e30dd1
Reduce instances of IItemEventRouterResponse
being passed into a function and then returned, its an object and passed by ref, no need to return it
...
Reduce instances of `IItemEventRouterResponse` being reassigned in a function
Rename `getMoney` to `giveProfileMoney`
2024-01-16 12:21:42 +00:00
Dev
cff4a45291
Resolve fence selling helmets that lack inserts
2024-01-15 12:41:54 +00:00
Dev
0d059fbaf4
Remove ancient profile fix
2024-01-15 10:07:57 +00:00
Dev
8b03faca89
Fix ragfair offers not saving upd properties
...
Create replacement for `addItem()`, only used for ragfair purchases currently - goal is to fully remove `addItem()`
Dont show warning when generating armor without a default plate on fence
2024-01-14 10:09:43 +00:00
Dev
72fdada5d7
Add vistor shot damage to those listed on flea/fence - 25% chance a damaged helmet can have a visor with bullet hits
...
Improved `FenceService.addModsToArmorModSlots()` to not break when it cant find a default plate tpl
2024-01-13 20:47:59 +00:00
CWXDEV
f7bdded54d
remove orphaned quests to stop softlocking quest screen.
2024-01-12 21:59:38 +00:00
Dev
bf7dac25ae
Allow fence to strip items from listed weapons that're not raid-modadble, players can sell broken guns to him from menu
2024-01-12 13:33:11 +00:00
Dev
c5806aadb8
Allow fence to list items with missing required items
2024-01-12 13:30:22 +00:00
Dev
d92f30d281
Fix insurance return all child items of an item (ammo in mags/chamber)
2024-01-12 12:32:04 +00:00
Dev
cb18d251ba
Improve selection of items to add mods for:
...
quest rewards
bot loot gen
map loot gen
fence assort gen
Updated `removeRandomModsOfItem()` to also skip slots with a _required prop
2024-01-11 17:42:58 +00:00
Dev
6a8e261af1
Fix typo
2024-01-11 12:48:10 +00:00
Dev
dc1e172df0
Handle generating a fence armor item and a default plate is not found
...
Add extra plates to pool
Centralise plate-related checks into itemhelper
2024-01-10 14:47:09 +00:00
Dev
a9c36ec205
Fix issue with armors as quest rewards not being sent with soft inserts
...
Centralised a soft insert check into `ItemHelper`
Add extra base types to `generateGearPool()` in equipment bot pool service
2024-01-09 16:49:59 +00:00
Dev
154578dd44
Update randomisation config to specifiy its for weapon mods + add equipment mod adjustment system
...
Adjust PMCs to use more gear mods at higher levels
2024-01-09 16:15:31 +00:00
Dev
f3964639bd
Rename mods
to weaponMods
and add new object equipmentMods
...
regenerate bot jsons to include this new data (includes correct inclusion of equipment slot "TacticalVest" which was previously missing)
Fix issue with PMM ammo causes generation issues
2024-01-09 15:31:56 +00:00
Dev
a742beeae9
Comment and property name cleanup inside removeDanglingTaskConditionCounters()
2024-01-09 12:27:08 +00:00
Terkoiz
98b0a579b3
Fixed achievement counters getting mistakenly cleaned up as stale quest counters ( !189 )
...
Fixes #273
Co-authored-by: Terkoiz <terkoiz@spt.dev>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/189
Co-authored-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
Co-committed-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com>
2024-01-09 11:57:27 +00:00
Dev
878284f108
Fix issue with insurance not returning soft inserts for armors
2024-01-08 21:16:53 +00:00
Dev
e18f75a60c
Cast trader property to number before use
2024-01-08 21:14:13 +00:00
Dev
0c7cecdacd
Add variable durability loss to armor plates sold by fence
2024-01-08 17:43:19 +00:00
Dev
96f75fd744
Correctly remove item + children from fence assorts when running removeFenceOffer()
2024-01-08 11:34:52 +00:00
DrakiaXYZ
3401b4094e
Initial commit of trader services structure ( !187 )
...
- Only contains BTR taxi and delivery services
- Super basic implementation, client doesn't seem to need anything except the service type for these
- Includes handling of the BTR Item Delivery service
Basic implementation can be merged and expanded on later, doesn't break anything by existing (Hopefully)
I've opted to add the routes to the `InRaid` controller/Callbacks, because it is a route only accessed within the raid. Seemed like it would be the best place for it
Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/187
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-01-08 08:51:46 +00:00
Dev
5eda074dbe
Add comments
2024-01-07 23:11:18 +00:00
Dev
928e406b76
First draft of randomisd armors on fence
2024-01-07 22:11:05 +00:00
Dev
ed82e9ed2f
Halloween event fixes
2024-01-07 19:29:42 +00:00