hulkhan22
1eb4d55a02
feat: Make adding new traders easier ( #251 )
...
* Make adding a new trader easier
* Improvements
2025-05-11 20:12:26 +01:00
Archangel
19c8c5e401
Use SptWebSocketConnectionHandler directly
2025-05-06 14:50:22 +02:00
Alex
1499627d3c
DI completely reworked to keep status of singletons on multi type components
2025-05-06 10:52:22 +01:00
Chomp
ae98f57bd9
Replaced various string.toLower() == x checks with string.Equals
2025-05-05 14:03:57 +01:00
hulkhan22
23468cf0a3
fix: Bot flashlights on during daytime raid ( #236 )
...
* Fix flashlights being on during daytime raids
* Add comment for the new property
2025-05-05 09:07:26 +01:00
Chomp
96570b0eb3
Fixed GetInRaidTime ignored passed in value
...
Improved accuracy of time simulation
2025-05-04 16:06:39 +01:00
Chomp
81ee7181c7
Split GetInRaidTime into 2 methods
2025-05-04 15:27:55 +01:00
Chomp
da05351288
formatting cleanup of GetInRaidTime
2025-05-04 14:10:13 +01:00
Chomp
4ea63711a9
Fixed IsNightTime not handling factory night/day raids
2025-05-04 14:02:09 +01:00
Chomp
bd5f7df3d8
Fixed IsNightTime not returning the correct value, fixes #233
2025-05-04 13:12:57 +01:00
Chomp
31ae5feb41
Bot generation performance ( #231 )
...
* chore: Bot generation performance improvements (#227 )
* Bot generation performance improvements
* Revert debug logging logic
* Get rid of Info log which is bound to be printed inevitably at each bot wave generation
* Use assault const
* Removed comments
Removed lowercase side constants
Renamed equipment role to better explain its purpose
Fixed `Blocks` property being serialised to client
Updated `_slotsWithNoCompatIssues` to use existing enum type
Reduced log line to be debug
* Fixed `GetRandomTextThatMatchesPartialKey` incorrectly checking eft locales instead of spt locales
* Updated various methods to be protected
---------
Co-authored-by: hulkhan22 <clandestine984@gmail.com >
Co-authored-by: Chomp <dev@dev.sp-tarkov.com >
2025-05-04 12:51:45 +01:00
Chris Adamson
e3192a7487
fixed missing bonuses in quest rewards ( #229 )
...
* fixed missing bonuses in quest rewards
* fixes based on feedback
---------
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com >
2025-05-03 22:26:04 +01:00
Chomp
b904e18456
Improved GetContainerMap access of an array by index + some formatting issues
2025-05-03 15:44:40 +01:00
CWX
7d3833c27f
Update var naming to be easier to read
2025-05-03 13:07:05 +01:00
CWX
2490747921
fix weapon size calculation
2025-05-03 13:06:06 +01:00
Chomp
344ea6de35
Moved container methods around
...
Added code to validate items fit into airdrop crate
Updated `CreateForcedLoot` and `CreateRandomLoot` to return items with their children
Updated `SetFoundInRaid` to not add a upd to money/currency if it doesn't already have one
2025-05-02 19:48:28 +01:00
CWX
a0bc2803f6
add upd check
2025-05-02 17:13:36 +01:00
Chomp
1976218991
Updated locations where we parse a number stored as a string into a double to use CultureInfo.InvariantCulture, this resolves errors with languages that don't use commas instead of periods in numbers
2025-05-01 17:41:54 +01:00
CWX
44c5a488c8
fix checking null or empty
2025-04-30 15:33:01 +01:00
Chris Adamson
9fb8b62630
remove logs
2025-04-29 12:45:36 -05:00
Chris Adamson
de38f1fe88
try just the enum
2025-04-29 10:57:12 -05:00
Chomp
760f3e3c72
Revert "fixed error where itemlocation can be either a string or int"
2025-04-29 08:47:44 +01:00
Chris Adamson
723e616e80
fixes based on feedback
2025-04-28 12:43:11 -05:00
Chris Adamson
7ed081d305
fixed error where itemlocation can be either a string or int
2025-04-28 12:07:46 -05:00
hulkhan22
ac41596aef
Convert to .GetValueOrDefault()
2025-04-27 21:43:24 +02:00
hulkhan22
53d3c7fcce
Convert to .GetValueOrDefault()
2025-04-27 21:41:55 +02:00
hulkhan22
36a23f0d43
Revert nullable ref
2025-04-27 20:41:04 +02:00
hulkhan22
bf12e2f400
Fix productions not advancing without generator on
2025-04-27 20:36:26 +02:00
CWX
7c7297f63c
Code cleanup and format
2025-04-22 14:49:05 +01:00
CWX
8ba498a4bc
Removed TraderAssortService use TraderHelper.GetTraderAssortsByTraderId
2025-04-22 14:36:28 +01:00
Chomp
6faa69964d
Improved comments inside GetSizeByInventoryItemHash and string comparisons
2025-04-20 19:00:52 +01:00
Chomp
118721c436
Rewrote LocateSlot
2025-04-20 17:04:46 +01:00
Chomp
18e875102f
Cleaned up FindSlotForItem in an attempt to make it less vile
2025-04-20 16:33:53 +01:00
CWX
5886320bb6
change to seconds not ms
2025-04-20 14:33:14 +01:00
CWX
8312dacc25
seperate logic to see result easier, fix logic for defaulting
2025-04-20 13:27:47 +01:00
CWX
07d9c6cb5a
update logging
2025-04-20 13:27:19 +01:00
CWX
8032358a5e
Fix ragman messages from fleamarket
2025-04-20 10:26:47 +01:00
CWX
d1ce58f693
Fixed up SptFriend not being able to process gifts
2025-04-19 16:14:52 +01:00
CWX
3cbfc348cd
default to null not enums default, so logic can work
2025-04-19 15:40:21 +01:00
CWX
69ecde139e
Update uasges to use LocalService
2025-04-17 13:21:38 +01:00
CWX
2c39a8b6e3
change hacky fix to use stringToNumberFactoryConverter
2025-04-12 17:14:53 +01:00
Chris Adamson
d8a55aaa63
fix double typing
2025-04-12 10:18:42 -05:00
Chomp
7fefc5d302
Run the dictionary key check first as it's faster compared to string compare
2025-04-12 13:56:40 +01:00
CWX
ba35134539
Allow for concurrentDictionaries
2025-04-11 13:54:35 +01:00
CWX
9b4e352797
change to ConcurrentDict to lock object
2025-04-10 12:47:13 +01:00
CWX
03c3a5f4ef
try catch an error
2025-04-10 12:37:36 +01:00
CWX
18e4c1434b
Fix Repeatables
2025-04-08 22:32:27 +01:00
CWX
95d009e0e4
Changes to MailSendService
...
originally we had the trader id -> then used a method to get the EnumValue as a string -> then later turned it BACK into a traderId
unless im missing something major this should simplify things?
example:
we took "6617beeaa9cfa777ca915b7c" and turned it to "Ref" to then turn it back to "6617beeaa9cfa777ca915b7c"
2025-04-08 22:03:43 +01:00
CWX
d12f3f3bde
Fix selling weapons to Fence, added stackObjectCount to upd init
2025-04-08 20:54:12 +01:00
CWX
63bf5dd503
Fix needing to Restart after cert gen, to be moved away from pfx eventually
2025-04-08 19:10:37 +01:00