Commit Graph

2405 Commits

Author SHA1 Message Date
TheSparta
e73fea8776 Fixed undefined behaviour
- Would break out of the loop at the first dependency removed from `dependenciesToInstall`.
2024-03-17 23:19:56 +00:00
Dev
ecc6638a20 Enable commando give command by default 2024-03-17 22:50:44 +00:00
Dev
98a7e299ba Merge branch '3.8.0' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0 2024-03-17 21:10:48 +00:00
Dev
1afe3daf32 Added additional AI PMC heads from func_brush 2024-03-17 21:10:35 +00:00
Kaeno
b46573c805 Blacklist Both Dogtags from RepeatableQuests hopefully 2024-03-17 17:54:26 +00:00
Dev
9608ac4a2c Limit food/drinks to a max of 3 in assault bot loot 2024-03-17 15:35:01 +00:00
Dev
6af4126bc8 Resolve issue with PMCs having seasonal items on their person when they shouldn't 2024-03-17 13:33:31 +00:00
Dev
1f16e96ae9 Merge branch '3.8.0' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0 2024-03-17 12:27:50 +00:00
Dev
2ffe44d153 Made ragfair run interval time dynamic based on players current location:
Player in raid = longer time between checks (60 secs)
Player out of raid = shorter time between checks (8 secs)

Original value was 45 secs
2024-03-17 12:27:24 +00:00
Kaeno
bbb74c72c9 Reduce the amount of inital spawns on Sandbox(Ground Zero) To help getting killed instantly 2024-03-17 09:08:52 +00:00
DrakiaXYZ
13fafa7faf Add new gift code for the EFT book purchase (!263)
Original gift required a purchase, not a code, so code "KONTOROVICH" picked due to the author's name

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/263
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-03-17 08:55:48 +00:00
Cj
0a935651f5 Add mod enabled text for the disclaimer window (!264)
Add another variation stating mods are enabled for the beta disclaimer window

![image](/attachments/af517b44-e613-4fd4-81fd-c2434d6478b5)

Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/264
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-03-17 08:55:02 +00:00
DrakiaXYZ
e497ecc125 Fix flea avg and fee calculations (!265)
Properly calculate the flea average, excluding barter offers for a more live-like result
Prioritize handbook price for the /client/items/prices route to match live

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/265
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-03-17 08:54:34 +00:00
Dev
95f5a49c5c Update trader refresh times to use a min and max value 2024-03-16 22:12:03 +00:00
Cj
be64e897b9 Enable BSG logging (!262)
Needs merged with: https://dev.sp-tarkov.com/SPT-AKI/Modules/pulls/96

Read details there.

Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/262
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-03-16 21:03:52 +00:00
Refringe
72ddbc4192
Adds bleedingmods Build Type 2024-03-16 16:11:24 -04:00
Dev
252d009283 Prevent outdated mods from loading 2024-03-16 19:18:25 +00:00
Dev
ab2018c13f Call itemBaseClassService.hydrateItemBaseClassCache() as part of adding custom item 2024-03-16 13:11:17 +00:00
Dev
64f644c417 Merge branch '3.8.0' of https://dev.sp-tarkov.com/SPT-AKI/Server into 3.8.0 2024-03-16 13:03:28 +00:00
Dev
aa7a60f409 Adjust itemHasBaseClass() to log as debug instead of warning - fixes custom item mods spamming console with messages 2024-03-16 13:01:32 +00:00
Refringe
a2d95d28fd
Stops tracking package-lock.json
The `package-lock.json` file was logging platform specific package information. This was causing builds to fail on platforms other than the platform that last generated the `package-lock.json` file.

Resolves #572
2024-03-15 23:41:25 -04:00
Dev
8984711cba Allow custom item server to add weapons to weapon shelf 2024-03-15 13:46:31 +00:00
Dev
cd830e4303 Further reduce chance of 350k rouble stack on assault bots 2024-03-15 09:48:31 +00:00
Dev
0c404cbcba Move weapon skill check into shouldBuffItem() + do similar check for armor 2024-03-14 23:08:06 +00:00
Kaeno
9bc08fbd26 Fix botcache not returning correct bot breaking halloween event. 2024-03-14 22:41:36 +00:00
Kaeno
22976d4ca3 Give RevengeZryachhi his weapon back 2024-03-14 22:16:17 +00:00
Dev
2af3ca9ff5 Fix issue with generating event bots not being cached under the correct name
Dont get bot from cache after generating it. Its popping bot off end of array only to be discarded
2024-03-14 22:14:00 +00:00
Dev
e4d81b43b6 Update flea prices 2024-03-14 15:40:26 +00:00
Dev
42704bb4cd Update PMC names 2024-03-14 15:24:47 +00:00
Dev
2bbbbb9736 Force runIntervalSeconds to never fall below 1 to stop peope breaking their server by editing config values blindly 2024-03-14 14:43:56 +00:00
Dev
42c4b6bd4d Update JSONs 2024-03-14 14:35:37 +00:00
Dev
0505903d32 Update for 29197 2024-03-14 11:23:47 +00:00
Dev
6309f47be8 Lint config files 2024-03-14 09:19:58 +00:00
Refringe
5edba7dd05 Updates NPM Packages - Node v20.11.1 LTS (!260)
Updates many of the out of date npm packages and brings us up to Node v20 LTS. :D

Co-authored-by: chomp <chomp@noreply.dev.sp-tarkov.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/260
Co-authored-by: Refringe <me@refringe.com>
Co-committed-by: Refringe <me@refringe.com>
2024-03-14 09:08:40 +00:00
Arys
1dc5db42f3 Fixed Fuel items and Water filters losing FIR status when placed into Generator/Water Collector (!261)
Ignore the other commits, I need to nuke my branch and learn to rebase properly kek

Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/261
Co-authored-by: Arys <arys@noreply.dev.sp-tarkov.com>
Co-committed-by: Arys <arys@noreply.dev.sp-tarkov.com>
2024-03-14 09:08:00 +00:00
Dev
c25be01a15 Only apply bonuses to items repaired with kit when players weapon maintenance skill is at or above level 10 2024-03-13 10:18:35 +00:00
Dev
fc1a1432ee Do not return output object from failQuest() 2024-03-12 21:29:50 +00:00
Dev
378bb7fdae Resolve issue with failQuest() breaking when no quest or repeatable quest is found and it attempts to send a mail message to player 2024-03-12 21:24:46 +00:00
Dev
d18fafad01 Limit scopes and lasers to 1 on bossBoar 2024-03-12 21:13:14 +00:00
Dev
f2c6818504 Blacklist 12.7x108mm BZT-44M from scavcase rewards 2024-03-12 21:12:37 +00:00
Dev
6ad2b8b4a3 Update PK/prapor/fence refresh time values 2024-03-12 16:27:15 +00:00
Dev
f623b1d52e Adjust trader reset times based on live testing 2024-03-12 15:45:48 +00:00
Dev
dcd70fb5b5 Allow traders to have timers be based on amount of time to next hour (bsg style) OR spt server start time 2024-03-12 14:27:07 +00:00
Cj
8397e4690b Add server mod check to cool debug message (!258)
needs merged with: https://dev.sp-tarkov.com/SPT-AKI/Modules/pulls/95

Get a bool from the server to indicate server mods being present and send to the client

Co-authored-by: Cj <161484149+CJ-SPT@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/258
Co-authored-by: Cj <cj@noreply.dev.sp-tarkov.com>
Co-committed-by: Cj <cj@noreply.dev.sp-tarkov.com>
2024-03-11 22:03:14 +00:00
Dev
38b96f43b0 Update server locales 2024-03-11 10:35:32 +00:00
DrakiaXYZ
7fdb9083a5 Move isBeta to a compile time variable (!257)
Split isBeta and isModdable into two seperate variables

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/257
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-03-11 08:45:05 +00:00
DrakiaXYZ
15257ea263 Fix daily reward budget not using preset prices for some items (!256)
- Switch item cost calculation to use a new helper that checks for a preset first, to more accurately keep track of the budget
- Subtract weapon price from reward budget
- Decrement reward counter for skipped ammo
- Add a new helper for filtering the reward pool by budget, so it's consistent in the two places it's done
- Add a metric boatload of debug output for daily generation

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/256
Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
2024-03-11 00:03:41 +00:00
Dev
561c5a7ffc Remove unused injection + lint 2024-03-10 23:18:42 +00:00
Dev
e6b0dbbf8e Removed unused injection 2024-03-10 23:17:19 +00:00
Dev
da3b2944a7 Move reward code out of repeatable controller and into its own class 2024-03-10 23:15:03 +00:00