0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 16:10:43 -05:00

3952 Commits

Author SHA1 Message Date
sheepy
a6923b8857
Fix TerraGroup Employee start conditions (#1007)
Added status 7 to prerequisite quest "Colleagues - Part 3" 
Added "The Huntsman Path - Sadist" as prerequisite quest

This change aligns quest behavior to Live PVP. Possible that the dumped
PVE data is incorrect. Issue also present in 4.0.0.

"id" and "index" might need to be changed.
2024-12-30 11:06:03 +00:00
33d5137244
Merge branch '3.10.4-DEV' 2024-12-25 11:27:41 -05:00
Chomp
c6a9a1afb5 Fixed opening sealed case causing server error 3.10.4 2024-12-25 09:15:26 +00:00
Chomp
5a15aa348d Reset existing event data when caching currently active seasonal events 2024-12-24 19:13:02 +00:00
Chomp
952544f5d3 Revert "Improved ability for modders to adjust active seasonal events - Active events can be set via pre-db load event"
This reverts commit 4cd868aeb302515b879ed204397b567c73d2fcd2.
2024-12-24 19:09:51 +00:00
Chomp
4cd868aeb3 Improved ability for modders to adjust active seasonal events - Active events can be set via pre-db load event 2024-12-24 18:54:12 +00:00
Chomp
4317c3c273 Fixed incorrect logic when deciding who should be flagged as a player scav inside shouldSimulatePlayerScav 2024-12-24 14:14:06 +00:00
Chomp
1a2cc6113b Updated server locales 2024-12-24 09:45:09 +00:00
Chomp
bb6c4cae6a Made SeasonalEventService.cacheActiveEvents() public 2024-12-24 09:10:27 +00:00
Chomp
531dca5f92 Fixed incorrect ledx id inside inventory.json Pumpkin with sweets reward 2024-12-24 09:06:49 +00:00
Chomp
21d11702c6 Increased chance of rain 2024-12-23 22:45:15 +00:00
Chomp
a5e187ebda Reduced chance of sunny weather 2024-12-23 22:41:03 +00:00
Chomp
c68b3d7644 Slightly reduced chance of ornaments on scavs during christmas event 2024-12-23 22:15:40 +00:00
bc1d0c5fb4
Update Bot Generation to use ProgressWriter
- The ProgressWriter class now resets it's cursor position to the beginning of the current line so that any log inbetween increments overwrites the current progress bar.
- Bot generation will now display a progress bar.
2024-12-23 16:34:21 -05:00
agavalda
a9d76021bc
Allow to set reputation as decimal in TraderCommand (#994)
Since the reputation levels are expressed as decimals i found it weird
that you can only set integers. This PR changes the way the reputation
is set:
`spt trader prapor rep 44` won't set 44 to the reputation (which is way
higher than anyone can get) but 0.44, this allows to test loyalty levels
more granular:

![image](https://github.com/user-attachments/assets/4e706f63-2d25-4f4c-9501-e6379174dc16)

![image](https://github.com/user-attachments/assets/61edb0f7-fc0b-4e7c-869f-09a30efa50dc)

Updating the regex and then testing that only decimals are used for
`rep` and not for `spend` looked to messy.

PS: This is my first PR here :)
2024-12-23 20:52:46 +00:00
Chomp
db5701fd65 Updated shoreline data 2024-12-23 16:46:48 +00:00
Chomp
84c26a156e Fixed off by one error in DB load progress writer 2024-12-23 15:16:23 +00:00
DrakiaXYZ
49414b8805
Fix issue where insurance messages would appear as received if you only lost gear you were wearing (#993)
- Insurance messages each need a unique "stash" ID, properly handle this
as part of the processing side of insurance
- Remove handling of parent IDs from the insurance storing side of
insurance, as we don't need to do that processing twice
- Add a new step to the profileFixer service that resolves any already
broken trader messages with attached insurance items

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2024-12-23 13:26:10 +00:00
Chomp
74e1119b8c Updated bot data 3.10.4-BEM-20241223 2024-12-23 09:49:34 +00:00
Chomp
8a9a5a73d8 Updated location data 2024-12-23 09:49:03 +00:00
Chomp
45c3df682f Improved accuracy of comments 2024-12-22 21:53:44 +00:00
Chomp
da8c336519 Fixed various invalid nullguard checks + comments 2024-12-22 21:48:06 +00:00
Chomp
863738087f Moved deprioritisedContainers data into config as deprioritisedMoneyContainers 2024-12-22 21:30:21 +00:00
Chomp
572144c662 When purchasing items, server will try to prioritise non-sicc/docs cases when only money in containers can be found 2024-12-22 20:55:32 +00:00
Chomp
e10d5d12f2 Merge branch '3.10.4-DEV' of https://github.com/sp-tarkov/server into 3.10.4-DEV 2024-12-22 19:57:43 +00:00
Chomp
a22032abe2 Made use of RagfairOfferHelper.offerIsFromTrader() 2024-12-22 19:57:26 +00:00
Chomp
140a1e8c00 Added filtering of offers that have exceeded the buy limit threshold from possible offers to display 0 - Fixed a limit-reached trader offers always showing over a PMC offer
Various improvements to `getOffersForBuild`:
Renamed offers to offersToReturn
Removed one layer of indentation by using early return
Replaced use of `ragfairOfferService.getOffers` with `ragfairOfferService.getOffersOfType` to improve performance by using a more appropriately indexed dictionary of offers
Run `getOffersInsideBuyRestrictionLimits` as part of offer filtering process
removed redundant reassignment of availableOffers/possibleOffers
2024-12-22 19:49:57 +00:00
Chomp
35ba24b639 Fixed PMC preset offers being classified as pack offers 2024-12-22 19:44:08 +00:00
waffle-lord
7995a6f0de
Update ProgressWriter.ts
idk what I'm doing but ref said this is ok to direct push so screw you drakia Ima do it
2024-12-22 13:13:25 -05:00
Chomp
30d620d346 Improved simulation of AI player scavs, their 'pmc' name + game edtion is correctly passed to client
Pulled pscav code out of `generateUniqueBotNickname` and into its own function `simulatePlayerScavName`
2024-12-22 16:35:15 +00:00
Chomp
e04fa4d8fe Added missing MainProfileNickname property when generating a player scav character 2024-12-22 16:22:51 +00:00
Chomp
c40a4aa7cb Added system to allow overriding flea prices via config 2024-12-22 15:35:15 +00:00
Chomp
3662767972 Added walter quest container rewards (opened box/opened case) 2024-12-22 13:13:09 +00:00
Chomp
16da785607 Added error logging to prepareAndGenerateBot 2024-12-21 13:56:18 +00:00
Chomp
b7f082cf40 Added spacing to progress writers output 2024-12-21 10:33:27 +00:00
Chomp
d03ee92c56 Merge branch '3.10.4-DEV' of https://github.com/sp-tarkov/server into 3.10.4-DEV 2024-12-20 23:10:19 +00:00
Chomp
e5ab5c35a8 Added empty array check to FenceService.addItemAssorts 2024-12-20 23:10:06 +00:00
0c7d6a7bb2
Update git link for cloning (#991) 2024-12-20 20:29:24 +00:00
Chomp
423daf3ed0 made bonuses match 2024-12-20 19:27:10 +00:00
Chomp
1e7fd6232a Fixed max buy restriction bonus not applying for unheard edition 2024-12-20 19:26:18 +00:00
Chomp
e173b3d361 Added nullguards to removeResourceFromArea 2024-12-20 09:33:13 +00:00
Chomp
04f22601d4 Updated warning logging to be debug inside getExperienceRewardForKillByDifficulty 2024-12-19 21:54:54 +00:00
99ea325013
ProgressWriter: Logic Modifications
- The progress and percentage is now calculated separately.
- The progress bar is removed once the operation has completed.
2024-12-19 16:10:04 -05:00
d9fd560a5b
ProgressWriter: Removes character length checks
In case using emojis is your thing.
2024-12-19 15:49:39 -05:00
4af5f2507a
ProgressWriter: Updates default characters 2024-12-19 15:46:43 -05:00
5bd68b6227
Workspace Terminal Change
This changes the terminal that is used when the VSCode debugger is launched to use the actual built-in terminal, not the debug console terminal (it sucks).
2024-12-19 15:45:34 -05:00
8926e286bb
Database Import Progress Bar (#987)
Waffle wrote a PR (#986) that shows a progress bar when the database is
populating. I pulled it into a local branch and made some adjustments.

I've tested this on my end and it's working okay. In the compiled
project, and directly in terminals (that *I have installed*) it looks
great, but in VSCode's built in terminal you can see escape characters
at the beginning of the line:


![image](https://github.com/user-attachments/assets/c547a675-5331-44f3-a44e-940edaba6fe8)

I can't figure out why, or how to get rid of it, but it doesn't really
bother me much.

---------

Co-authored-by: waffle-lord <76401815+waffle-lord@users.noreply.github.com>
2024-12-19 09:20:44 +00:00
Chomp
7caec6efad Added system to insert items into bot storage areas during seasonal events - Used to add Christmas items to scavs 2024-12-18 23:51:25 +00:00
Chomp
fae965797d Forced infectedTagilla to have 1 loot item 2024-12-17 17:33:40 +00:00
Chomp
fc09a3ff53 Added comments to interface 2024-12-17 17:26:52 +00:00