Commit Graph

3607 Commits

Author SHA1 Message Date
Dev
a27e4fd334 Added explicit handling of zh locale, prevent it from falling back to english 2024-10-23 13:31:47 +01:00
Dev
d744a38306 Updated createSingleOfferForItem() to pass in sellerid + pass in itemdb object instead of array 2024-10-22 21:00:46 +01:00
Dev
1aac4a0635 Added ragfair.dynamic.barter.makeSingleStackOnly config option, default to true 2024-10-22 20:51:22 +01:00
Dev
9f6ec573d6 Removed fixEmptyBotWavesSettings - Doesnt seem necessary for 3.10
Disabled `rogueLighthouseSpawnTimeSettings` Same as above
2024-10-22 16:38:32 +01:00
Dev
44fac53e97 Updated appContext CLIENT_START_TIMESTAMP value to include sessionid 2024-10-22 13:41:33 +01:00
Dev
9eba62d5e2 Moved code from gameStart() into server start via new class PostDbLoadService
Fixed player adding their name multiple times to PMCs inside `addPlayerToPMCNames()`

Updated `enableSeasonalEvents()` to not require a session id, moved player-specific code into new function `givePlayerSeasonalGifts()`
2024-10-22 13:33:07 +01:00
Dev
0c153fc242 Added more items to progressive flea 2024-10-21 12:47:42 +01:00
Dev
2aaa7434ca Updated bsg pmc jsons 2024-10-20 15:01:08 +01:00
Dev
1eee0ff120 Updated addPaymentToOutput() to ensure it validates and fixes money stacks without a upd property 2024-10-19 20:26:05 +01:00
Dev
cdf542ea59 Increased item count for medical airdrop crates 2024-10-19 16:52:39 +01:00
Dev
1fd0a22a58 Increased base chance of root item return by 10% 2024-10-19 15:50:35 +01:00
Dev
776f925d91 Updated interfaces to follow correct naming scheme 2024-10-19 12:43:38 +01:00
Dev
b0159e6427 Removed unused interfaces
Renamed Interfaces to follow correct naming system
2024-10-19 11:31:19 +01:00
Dev
e15ed9b7eb Improved loot generator code comments 2024-10-19 11:21:02 +01:00
Dev
b6b527df2a Cleaned up createBarterBarterScheme() 2024-10-19 10:58:25 +01:00
Dev
9ab0b40854 Fixed botgen failing 2024-10-18 19:10:28 +01:00
Dev
672b1f1dd5 Updated locales 2024-10-18 14:24:16 +01:00
Dev
58280f44bd Default to not allowing 39x mods to load 2024-10-18 12:31:41 +01:00
Dev
9c58e2e0e5 Loosened bot name limit to 19 characters
Moved value into config
Added `botConfig.botRolesThatMustHaveUniqueName`

Refactored `getPmcNicknameOfMaxLength()`, removed all recursion + handles when no name is below desired length
Refactored `generateUniqueBotNickname()` to handle PMC names differently, use centralised pmc name function

Updated ragfair to utilise maxlength value from bot config
2024-10-18 11:39:51 +01:00
Dev
d2239db64b Removed name from PMC pool 2024-10-18 10:59:06 +01:00
Dev
d1a167d78c Further changes to cloud and fog weights 2024-10-18 10:55:35 +01:00
Dev
27552986ed Fixed incorrect raw data issue causing tarkov shooter part 7 to not unlock a cartridge craft in hideout
production json expects shooter part 8 to unlock craft for some reason
2024-10-17 15:06:46 +01:00
Dev
c97f5c2327 Added 0.01 rep gain when successfully exiting a raid as a scav
Fixed incorrect check of rep on pmc profile
Renamed inraid config property from `scavExtractGain` to `scavExtractStandingGain`
2024-10-17 14:49:39 +01:00
Dev
ec825d990c Moved function to better location 2024-10-17 14:14:17 +01:00
Dev
953acb47a0 Updated getRaidTemperature() to take into account the current raid time when choosing temps 2024-10-17 13:19:35 +01:00
Dev
0b729fba11 Improvements to how weather temperature is calculated - takes into account current season
Centralised the season override into `getActiveWeatherSeason()`
Adjusted weather values based on client data
2024-10-17 13:05:01 +01:00
Dev
eb6e61c1f0 Moved values into config
moved code to more appropriate locations
Reduced duplicate code
Added comments
2024-10-17 10:27:37 +01:00
Dev
3d4c7795f7 Added quest icon 2024-10-17 00:57:44 +01:00
Dev
7330f6fb82 First pass at improving weather simulation logic 2024-10-17 00:57:33 +01:00
Dev
c7904a3a41 Remove unused values 2024-10-17 00:41:05 +01:00
Dev
0699b5be9b Fixed generateLocal() not utilising season override 2024-10-16 18:36:49 +01:00
Dev
b36e0c2282 Fixed calculateGameTime() not correctly handling overrideSeason property 2024-10-16 18:30:04 +01:00
Dev
6a171919a1 Blacklisted KOSA UAV electronic jamming device from reward pools 2024-10-15 23:05:13 +01:00
Dev
f3c32b7b51 prevent player names longer than 15 being added to bot name pool 2024-10-15 20:58:59 +01:00
Dev
eb0b3ce369 Reduce max length of flea offer names to 15 2024-10-15 20:54:11 +01:00
Dev
ff159809dd EXPERIMENTAL, dont include trader offers in avg/min/max calculation 2024-10-15 14:53:33 +01:00
Dev
c7ae2823cd Updated createSingleOffer(), createMultiOffer(), createPackOffer() to make use of same code to figure out average offer price as client 2024-10-15 14:52:07 +01:00
Dev
b70572017d Added return statement to handleMusclePain() 2024-10-15 12:58:45 +01:00
Dev
6abd84e7ab Removed irrelevant comment 2024-10-15 12:56:40 +01:00
Dev
51bafeebfc Cleanup of handleQTEEventOutcome() 2024-10-15 12:55:00 +01:00
Dev
4a1c4be0e9 Don't save cultist circle flag into every production on init 2024-10-15 12:48:25 +01:00
Dev
5496ab9557 Cleaned up updateProductionTimers() 2024-10-15 12:47:17 +01:00
Dev
f647c8ebce Fixed hideout craft processing exiting before all crafts are processed 2024-10-15 12:21:31 +01:00
Dev
9a5232ef84 Updated JSONs
Added 2x event quests + flagged as event
2024-10-14 22:19:16 +01:00
Dev
6b116024ca Fixed gym not applying muscle effect after use 2024-10-14 19:38:26 +01:00
Dev
aec64455cb Improved accuracy of gym workout reduction of energy/hydration 2024-10-14 18:57:13 +01:00
Dev
9b6ba8d830 Removed bad IDs from Christmas gift item pool 2024-10-14 13:58:57 +01:00
Dev
82050d100c Removed dogtags from locked supply crates 2024-10-14 12:56:15 +01:00
Dev
403cc42bd8 Updated PMC names 2024-10-13 19:14:39 +01:00
Dev
8114271faf Added method comments 2024-10-13 12:09:47 +01:00