Archangel
1065c80f48
Remove nodisms from WatermarkLocale
2025-08-09 14:45:19 +02:00
Archangel
96a62c20a7
Make Watermark use primary constructor
2025-08-09 14:38:50 +02:00
Archangel
744bb7af74
Make versionLabel more clear
2025-08-09 14:32:01 +02:00
Archangel
a46cb06ddb
Fix up formatting of version tag
2025-08-09 14:26:12 +02:00
Lacyway
d468848b0c
Improve MongoIds ( #537 )
...
* Mongoid improvements pt1
* Format Style Fixes
* Fix incorrect string
* Fix != comparison
---------
Co-authored-by: sp-tarkov-bot <singleplayertarkov@gmail.com >
2025-08-09 11:50:49 +01:00
Archangel
f3134dec59
Fix up BLEEDING_EDGE not being semver compliant
2025-08-08 22:48:09 +02:00
Chomp
6b297adf68
Replaced ProbabilityObjectArray.Draw() with DrawAndRemove Draw
...
Reduced overhead when drawing a large number of elements during loot generation
2025-08-06 17:52:49 +01:00
Chomp
3f405fc67e
Reduced scope of lock used in GetExpiredOfferItems()
2025-08-06 17:04:49 +01:00
Chomp
caafec6ab0
use correct nomenclature for fields in RandomUtil + made private methods protected
2025-08-06 15:22:09 +01:00
Archangel
8a4f2a297b
Remove loot cloners and make LazyLoad return a new result each request
2025-08-06 15:33:11 +02:00
Archangel
237a829e5d
Update to CoreCompile & Include file for compiliation
2025-08-05 22:04:34 +02:00
Archangel
e86949c361
Keep ProgramStatics commited, but also ignored so git doesn't keep tracking it's changes
2025-08-05 21:47:49 +02:00
Archangel
23389b48c4
Make ProgramStatics non nullable, add auto generated header & add getters
2025-08-05 20:33:23 +02:00
Chomp
984e10ae76
Added GetMinutesAsSeconds method
...
Removed magic number
2025-08-05 15:57:06 +01:00
Chomp
cf99d9d824
Use mongoId type instead of string
2025-08-03 22:00:25 +01:00
Chomp
08815da10d
Improved Fake PMC offer count fluctuations #527
...
Added fake PMC offer count index to `RagfairOfferHolder` and made use of it when checking if offer count is over desired count
2025-08-02 11:22:27 +01:00
Archangel
aec8420d53
Cleanup todos, run VS cleanup & enforce file scoped namespacing
2025-07-31 15:18:20 +02:00
Jesse
fc7660b6c8
Slight bundle & fileutil refactor: ( #524 )
...
- Actually load the bundle cache file now
- Don't read file as string with StreamReader, instead read with ReadAllTextAsync
- Slight refactor to bundle hashing
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com >
2025-07-30 22:23:29 +00:00
sp-tarkov-bot
b14b74bf24
Format Style Fixes
2025-07-28 19:39:29 +00:00
Chomp
ef50c3fea1
Condensed code with use of ??
2025-07-25 20:15:52 +01:00
Chomp
8a7690e13b
Improved performance of GetRandomElement when processing IEnnumerables
2025-07-25 18:26:09 +01:00
Archangel
a2ddd7ae17
Converter fixes
...
- Various nullability warnings removed
- Made CanConvert on a few of them a bit more strict
2025-07-25 16:28:22 +02:00
Chomp
ab770e795f
Improved stale offer processing
...
Pass offer creation info into methods for quicker checking
Removed unused methods
2025-07-25 12:41:41 +01:00
Chomp
34bd002876
list to ienumerable changes
...
Removed unused methods
strong to mongoId changes
2025-07-25 12:28:40 +01:00
Chomp
f562c634a7
Converted lists to hashsets where appropriate
...
Removed unnecessary uses of ToList()
string to mongoId conversions
2025-07-24 13:26:34 +01:00
Alex
545edfd25f
Removed unnecessary annotation
2025-07-23 21:47:20 +01:00
Alex
723f6fc638
Removed check for Enum converter and removed unnecesary converters
2025-07-23 21:32:49 +01:00
Chomp
1320f7d0ab
Ienumerable changes
2025-07-23 13:06:48 +01:00
Jesse
839e154adc
Make mod loading non nullable, set certain properties to be read only after init ( #506 )
...
* Make mod loading non nullable, set certain properties to be read only after init
- Breaks all mods, will require new nugets
* Make mod assembly list IEnumerable
* Convert checks to IsNullOrEmpty
* Update comment, enforce ModGuid
2025-07-23 11:24:55 +01:00
sp-tarkov-bot
1edc4d101a
.NET Format Style Fixes
2025-07-23 09:51:58 +00:00
Alex
29be94462f
Removed enum reflection method in favor of factory approach
2025-07-23 10:49:34 +01:00
clodanSPT
2d752457b2
Move port usage ( #504 )
...
* Moved port usage code check to before startup
* removed unused import
---------
Co-authored-by: Alex <clodanSPT@hotmail.com >
2025-07-23 08:44:34 +01:00
Chomp
8f4f72dcdd
Updated node comments to c# format
2025-07-21 21:09:17 +01:00
Chomp
3901a91f45
Improved how ragfair offer creator status is checked - store creator type in offer
...
Converted `IsTraderOffer` into extension method
string to mongoid conversions
2025-07-21 13:36:51 +01:00
Chomp
14e520633e
Updated tests
2025-07-20 20:39:32 +01:00
clodanSPT
2af0891c66
.NET Format Style Fixes
2025-07-20 19:04:02 +00:00
Alex
9584d171f0
Test cleanup
2025-07-20 20:03:32 +01:00
Chomp
f772e97d4e
string to mongoId changes
2025-07-20 13:07:42 +01:00
Chomp
737776c99d
Made use of Math.Clamp to simplify logic across server
...
Made all fence rep clamping use min/max values from config instead of magic values
2025-07-20 10:29:34 +01:00
clodanSPT
1af50bfd34
Application cleanup ( #485 )
...
* Changed application to use background services and removed hacky http server startup
* Small improvements and method removals
* Removed Core dependency on Web application SDK
* Fixed wrong imported type
---------
Co-authored-by: Alex <clodanSPT@hotmail.com >
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com >
2025-07-18 16:21:24 +01:00
Chomp
38fb2454c7
Various micro-optimisations
2025-07-18 16:05:29 +01:00
Chomp
2639504471
String to MongoId conversions
...
Removed unnecessary properties from quest object
2025-07-15 10:37:49 +01:00
Chomp
040be2feaa
More strings to MongoIds
...
Convert constructors into primary constructors
Simplified logic with use of ??, ??= and method groups
Cleaned up redundant conditional access qualifiers
2025-07-14 22:29:41 +01:00
Jesse
533a7356fd
Add new service to handle profile migrations ( #468 )
...
* Add new service to handle profile migrations
* Handle various null checks
* Remove unecessary assignments
* Further works on this:
- Loads profiles as JObject's initally, so migration can take place on profiles that don't have proper compatability
- Adds prerequisite migrations, and sorts them after one another
* Throw exception if profile can't be deserialized after migration
* Cleanup & use profile version
* Further migrations work, support 3.10 & 3.11 profiles upgrading to 4.0
* Update parameter name
2025-07-11 13:11:02 +01:00
Jesse
bd7d60e5ab
More mongo ( #450 )
...
* Remove debug, doesn't really work
* Convert Handbook to MongoId's
* Make traders in Database keyed to MongoId rather than string
2025-07-05 13:41:57 +01:00
Chomp
8253215410
Converted strings into MongoId type
2025-07-05 11:03:09 +01:00
Archangel
eeddb97641
Remove extra method on Func, add options to converters
2025-07-04 22:25:39 +02:00
Chomp
01cd251b68
Moved more code into extension methods
2025-07-04 19:29:43 +01:00
Jesse
b6692fead4
Chatbot async improvements ( #446 )
...
* Add better chatbot handling by making them asynchronous
Removes the need for having RunInTimespan as await Task.Delay now can handle this
* Remove now unused classes
* Handle commando's commands with ValueTask
* Set values as not nullable, client sends all of these
2025-07-04 18:04:37 +01:00
Chomp
2609db2536
Removed unused injections
2025-07-04 09:40:22 +01:00