Commit Graph

198 Commits

Author SHA1 Message Date
Kaeno
ca931165b2 Fix: Fixed some ragfair issues (!86)
Fixed bug with removing offers from flee and item returning too quickly.
Fixed bug with error message that would show on removal of offers.
Expose property expireSeconds in ragfair.json.

Co-authored-by: Kaeno <>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/86
Co-authored-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
Co-committed-by: Kaeno <kaeno@noreply.dev.sp-tarkov.com>
2023-04-06 16:23:52 +00:00
Dev
cd563a3642 add placeholder json 2023-04-06 16:32:08 +01:00
Dev
2cd7555bbe Fix: Only return prices for items that exist in items.json
(cherry picked from commit c0aece0a2c9a84f71d8b5dd940c3e37a9017b6ed)
2023-04-06 15:38:26 +01:00
chomp
5e9e0736cc update core and WildSpawnTypeNumber.ts to match version 22561 (!85)
Co-authored-by: Kaeno <>
Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/85
2023-04-05 21:08:35 +00:00
Kaeno
33195f8efb Fix: Workaround fixing marksmans not spawning on maps in function. fixBrokenOfflineMapWaves (!84)
Fix: Workaround fixing marksmans not spawning on maps in function fixBrokenOfflineMapWaves
Co-authored-by: Kaeno <>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/84
2023-03-29 19:50:02 +00:00
Dev
60c70eec60 Update JSONs 2023-03-29 18:55:35 +01:00
Dev
9c7bbeb3dc Buy 2 labs cards from therapist 2023-03-29 17:51:21 +01:00
Dev
9a419e80ef Fix: Skip item when slots property is empty during generation of items pool 2023-03-26 16:53:51 +01:00
Dev
27a0df2d92 Fix: Improve InventoryController.toggleItem() to handle items without a upd property
Rewrote loop to use .find()
Added comments + logging
2023-03-26 16:52:40 +01:00
Dev
c9c25d6fbb Fix: Adjust airdrop chances 2023-03-26 11:55:03 +01:00
Dev
43ad523dce Fix: null guard bonus check during upgradeComplete 2023-03-25 16:35:38 +00:00
Dev
32afbffcda Refactor: Move server locates into database folder so they can be accessed/edited by modders 2023-03-25 15:37:50 +00:00
Dev
82ff9dde12 Fix: use values from http.json instead of values in database/server.json
Cleanup and reordering of HttpServer.ts
2023-03-25 15:03:20 +00:00
Dev
cecf4465ed Fix: update SBiH range values 2023-03-25 14:51:41 +00:00
Dev
e626c4d3de FIx: Trim whitespace around generated bot name 2023-03-24 14:57:51 +00:00
Dev
9c3362c464 Feature: update flea prices 2023-03-24 11:40:08 +00:00
Dev
09d832e199 Feature: update russian locale (Thanks to GhostFenixx) 2023-03-24 11:29:01 +00:00
Dev
84a0b6937a Fix: Add Item_barter_electr_adv_ultralink(6389c88b33a719183c7f63b6) to airdrop blacklist 2023-03-24 08:44:00 +00:00
Dev
70e82cbe4e Fix: don't error when leaving raid early 2023-03-23 20:18:53 +00:00
Dev
c477026843 lint config 2023-03-23 15:05:00 +00:00
Dev
a5272dc596 Feature: expose profile save wait delay in config 2023-03-23 15:03:54 +00:00
Dev
a207e5778e Feature: Save profile changes on game exit 2023-03-23 14:48:10 +00:00
Dev
990c33b9c6 Feature: expose 3 variables to PMC messages: playerLevel/playerName/playerSide 2023-03-22 17:12:19 +00:00
Dev
e2074ffc7a Fix: convert BotLootCache to interface 2023-03-22 14:49:24 +00:00
CZPZ
8c37bc7837 Lint: ts files (!82)
Co-authored-by: alimoncul <alimoncul@gmail.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/82
Co-authored-by: CZPZ <czpz@noreply.dev.sp-tarkov.com>
Co-committed-by: CZPZ <czpz@noreply.dev.sp-tarkov.com>
2023-03-22 14:31:05 +00:00
chomp
d595e26ee6 Feature: Allow PMCs that kill the player to message them a positive/negative message (!81)
Store bots spawned in raid inside cache (`MatchBotDetailsCacheService`)
Clear cache after raid

Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/81
2023-03-22 10:25:34 +00:00
Dev
8749e3a608 Feature: update version string 2023-03-21 21:58:09 +00:00
Dev
6d441166d9 Feature: update jsons 2023-03-21 20:33:56 +00:00
Dev
5a3052535c Feature: update loot 2023-03-21 16:23:06 +00:00
Dev
3232314dbd Fix: hotfix for difference in types between botjson skills (dict) and output (array) 2023-03-21 15:58:08 +00:00
Dev
0d5a07533d Fix: use correct values for colleagues p3 2023-03-21 15:42:08 +00:00
Dev
5e739c2a90 Fix: check for empty object when looking at key length 2023-03-21 15:31:42 +00:00
Dev
16e1293d55 Fix: error on profile creation 2023-03-21 15:22:36 +00:00
Dev
1659211080 Refactor: rewrite itemFitsInto1By2Slot to improve readability 2023-03-21 15:17:14 +00:00
Dev
a6838e9312 Refactor: improve generateSkills() function 2023-03-21 15:06:27 +00:00
Dev
415b73d674 Feature: Update incrementSkillLevel() call to replace hard coded value with value from globals 2023-03-21 14:35:29 +00:00
Dev
249730ee65 Fix: return the found quest 2023-03-21 14:22:45 +00:00
Dev
1fc35881d8 Refactor: Update various functions with changes from code review 2023-03-21 14:19:49 +00:00
Dev
927273d71d Feature: Add ability to define different types of airdrop loot containers
+ Fixed a typo in `createRandomloot()` function name
+ Added more generically named`getWeightedValue()` function as future replacement for `getWeightedInventoryItem()`
+ Changed `LootRequest` into interface

Added:
Weapon/armor
Barter
Medical/Food
Mixed
2023-03-18 17:29:26 +00:00
Dev
e8f53e1fcd Fix: update wildspawnpoint enum 2023-03-18 16:18:59 +00:00
Dev
79f8922e6a Feature: Update quest data file with changes from live 2023-03-18 13:09:37 +00:00
Dev
8115b62e73 Fix: add nullguards to getResponse() 2023-03-18 09:19:20 +00:00
Dev
0e1077088b Fix: Remove whitelist from gen objects 2023-03-17 18:35:12 +00:00
Dev
74a25c5e64 Feature: loot update 2023-03-17 18:23:14 +00:00
chomp
ed4dfc201d Feature: Add ability to whitelist items inside each bots generation object + filter per bot level inside bot.json equipment.randomisation section (!73)
(cherry picked from commit 253b4d0120db8245e6c2e863ab7d2fbdc5196128)

Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/73
2023-03-17 18:20:16 +00:00
chomp
611b63a4cd Feature: UseapplyRandomizeDurabilityLoss config property in repairItemByKit() (!72)
Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/72
2023-03-17 09:12:47 +00:00
chomp
4434b95621 Feature: reworked calculation of flea price to use the price an item can be sold to a trader for instead of the price a trader sells an item at (!71)
Disable automatic adjustment of items that are below handbook price

Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/71
2023-03-15 19:06:03 +00:00
chomp
b44f62bb99 Feature: send launcher descriptions of profiles when calling connect() (!70)
Localise description text
Add `IConnectResponse` object for LauncherController.connect()
Move server name into core.json config

Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/70
2023-03-15 14:18:55 +00:00
chomp
12c269fb57 Feature: add adjustPriceWhenBelowHandbookPrice to ragfair.json + Add comments to ragfair config (!69)
Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/69
2023-03-15 13:28:51 +00:00
chomp
f74031b4d5 Feature: Ensure chosen extract for repeatable quest always has a chance above 0 (!68)
Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/68
2023-03-14 12:39:36 +00:00