sp-tarkov-bot
1474d2b799
Format Style Fixes
2025-08-11 14:13:49 +00:00
Cj
76e91047d6
More warnings fixes ( #542 )
...
* Fix more warnings, add new exception
* Run formatter
---------
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com >
2025-08-11 14:13:02 +00:00
sp-tarkov-bot
a4995b7318
Format Style Fixes
2025-08-09 20:41:17 +00:00
Cj
4d0eb4d4f3
Change to using builtin SemVer type for AbstractModMetadata and ProgramStatistics.Generated ( #536 )
...
* Change to using SemVer builtin type
* Remove SptVersion from config, remove redundant .ToString()
* Update test mod, fix watermark string conversion
2025-08-09 20:40:25 +00:00
Archangel
fbb0e6cd6a
Add configurable build text colors
2025-08-09 14:57:07 +02:00
sp-tarkov-bot
39118c9d56
Format Style Fixes
2025-08-09 12:49:25 +00:00
Archangel
59fca768be
Make lists readonly and do not assign unecessary vars
2025-08-09 14:48:24 +02:00
sp-tarkov-bot
28f84663f8
Format Style Fixes
2025-08-09 12:46:06 +00:00
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