Commit Graph

83 Commits

Author SHA1 Message Date
Chomp ba4e8d9c14 Removed password from profiles
Added migration to remove password property from profiles
2025-10-02 09:56:51 +01:00
Chomp 79e023392b Implemented CoreBot type
Enabled 'rudans' patrol flag in Christmas event
2025-09-29 09:33:16 +01:00
Chomp ecc0ba8406 Cleanup of warnings 2025-09-26 13:38:47 +01:00
Chomp a2d9c982d6 Improved client logging 2025-09-24 09:40:57 +01:00
sp-tarkov-bot 0a789d49a1 Format Style Fixes 2025-09-23 14:13:19 +00:00
CWX c67153b517 change sig on version response 2025-09-23 15:12:19 +01:00
CWX ca28cb2926 Update Profile v2 endpoint to use miniprofile and allow v2 endpoint to get miniprofile from only loginrequest 2025-09-19 18:46:05 +01:00
Cj 10566f2fc4 Remove old clothing service code, BSG changed how it works. Leaving it to modders. 2025-09-18 13:36:37 -04:00
Archangel 7024b77d88 Handle error in response 2025-09-18 18:17:52 +02:00
Archangel 7184b4e5db Stop execution of invalid profiles on game start 2025-09-18 18:09:41 +02:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +01:00
Archangel e5b24589bc Update bot configs 2025-08-30 18:53:24 +02:00
Archangel 7312c7264a Fix up airdrops to not use strict typing (Fixes: #574) 2025-08-27 13:00:55 +02:00
DrakiaXYZ 18aca7d514 Store data passed back from SaveDialogueState call (#568)
* Store data passed back from SaveDialogueState call
This makes the rest area game playable, though variables still don't save

* Woops, bad casing

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
2025-08-24 08:58:08 +01:00
Chomp 0df0d95363 First pass at rest area hideout changes 2025-08-23 21:02:24 +01:00
Archangel 53b2e5e429 Fix up requests to endpoints 2025-08-21 21:48:22 +02:00
Archangel e9d76400b2 Further work out dialogue endpoint 2025-08-21 07:25:21 +02:00
Archangel 2387775be0 Fix up new endpoint 2025-08-20 20:17:43 +02:00
Jesse 80f759a0da Http server router refactor (#553)
* Add edge case for Reverse Proxies

* Cleanup HttpListener, remove unecessary MemoryStreams

* Handle with IPAddress instead of string

* Handle nullabiity of RouteAction, tighten typing on requests

* Cleanup HttpRouter

* Use tighter typing on Routers
2025-08-18 17:59:07 +00:00
Jesse 60958b3d24 Merge pull request #544 from sp-tarkov/remove-warnings
Remove unused dependencies and improve code quality
2025-08-12 19:26:05 +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
Cj 529fe61f23 Controller house keeping (#532)
* Cleanup BotController.cs

* More controller cleanup

* More dialogue changes
2025-08-05 16:24:59 +01:00
Archangel c3b36f4c7d Handle invalid profiles on all IOnUpdate 2025-08-05 17:20:49 +02:00
Chomp e7fd757dce Improved how bots are generated to be less blocking
Updated `GenerateBotWaves` to return empty results when request data is empty

Cleaned up `GenerateBotWave` to not need a manual lock
Improved `botRelativeLevelDelta` value in pmc.config

Updated `MatchBotDetailsCacheService` to store PMCs primary weapon tpl
2025-08-04 13:25:19 +01: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 418d121cf1 Format Style Fixes 2025-07-28 21:19:26 +00:00
Jesse bf5dedb672 Add currently active client mods in ProfileActivityService (#523)
* Add currently active client mods in ProfileActivityService

* Add method to fetch active client mods on profile
2025-07-28 21:18:38 +00:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
sp-tarkov-bot a687320d75 .NET Format Style Fixes 2025-07-21 02:26:37 +00:00
Refringe f6894ad33c Validating auto-format workflow.
This style change should be automatically reverted.
2025-07-20 21:17:53 -04:00
Chomp 59d33d2621 Deconstructed dict KvP to improve readabiltiy + string to mongoId conversions 2025-07-20 11:57:15 +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 ca5c2b8066 Return the created profileid/sessionid when registering an account 2025-07-17 16:30:12 +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
Chomp 9cdbb9b1f3 Fixed typo in method name 2025-07-07 11:28:12 +01:00
Cj 1de6a75cbf Update controllers sessionIds 2025-07-07 05:50:28 -04:00
Chomp 3d11031dc6 Converted sessionIds from strings to MongoId struct 2025-07-07 09:34:43 +01:00
Cj 0b18b7e4ba Convert routers and callback sessionIds to MongoIds (#453)
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-07-06 10:19:56 +01:00
Jesse 7b606fb2a7 Small changes and cleanups (#448)
- await StartBackupSystem as it's an awaitable
- Update comment in MongoId
- Set more id's in HideoutArea to MongoId
- Remove unused logging records

Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-07-04 18:05:27 +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
Archangel 79489eadce Handle ToLower neutrally across all locales (#412) 2025-07-03 18:28:36 +02:00
Jesse ebe8f9ded5 Mongoid changes (#440)
* Remove old IsValidMongoId and Regex

* Convert more configs to MongoId, as well as BaseClasses

* Remove HashUtil.Generate(), replaced with new MongoId()
2025-07-03 15:42:16 +01:00
Chomp 5c26f47e2f Use correct new MongoId() instead of hashutil 2025-07-02 10:56:10 +01:00
Chomp 873b0b11f7 Passed version id string into return object 2025-07-02 10:29:21 +01:00
chompDev c5216044da .NET Format Style Fixes 2025-06-28 18:09:13 +00:00
Jesse 5686f4a486 Remove I18nService, migrate to renamed ServerLocalisationService (#433)
* Remove I18nService, migrate to renamed ServerLocalisationService

* Revert VS fuckup

* Update using

* Remove unused parameter, update comment

* Fix develop branch not building
2025-06-28 19:08:42 +01:00
Chomp 6126dc2394 Added item extensions 2025-06-28 10:04:52 +01:00