Commit Graph

51 Commits

Author SHA1 Message Date
Chomp f1a60a9872 Fixed examine commando command
(cherry picked from commit 06273eefaed05b1dd1d9dfaa3a472b4eaff7f695)
2025-11-27 22:50:45 +00:00
sp-tarkov-bot 4586390d68 Format Style Fixes 2025-11-10 10:55:39 +00:00
DrakiaXYZ eedc4e543e Formatting 2025-10-13 14:45:57 -07:00
DrakiaXYZ 14e6f187b8 Fix commando inheriting all chat commands
- Add new ICommandoCommand interface for Commando-specific commands
2025-10-13 14:44:38 -07:00
Chomp e5d0af3890 Formatting and naming consistency changes 2025-09-02 14:27:10 +01:00
Chomp 4a081a7ac3 Updated class param formatting 2025-08-11 21:08:55 +01:00
Archangel aec8420d53 Cleanup todos, run VS cleanup & enforce file scoped namespacing 2025-07-31 15:18:20 +02:00
sp-tarkov-bot b14b74bf24 Format Style Fixes 2025-07-28 19:39:29 +00:00
Chomp ecdefef16c Removed unnecessary clone of db when checking for chat item + prevented some boxing issues 2025-07-19 14:29:51 +01:00
Chomp 38fb2454c7 Various micro-optimisations 2025-07-18 16:05:29 +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 6f3ce60cec Simplified calls to .Remove() 2025-07-14 20:02:46 +01:00
chompDev b5e9f9cb14 .NET Format Style Fixes 2025-07-08 20:45:46 +00:00
Lacyway eefee93267 Update chatbots 2025-07-08 21:21:33 +02:00
Cj 9db7ff25d1 Implement websocket stash row change notification (#462)
* implement stash rows notification

* rename class
2025-07-08 18:30:23 +01:00
Chomp f140e1e106 Converted ReplaceIDs into extension method 2025-07-05 17:25:59 +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
chompDev 973ea857f9 .NET Format Style Fixes 2025-07-03 22:06:04 +00: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 a8308248d6 Replaced hashutil.generate with new MongoId() 2025-07-02 12:47:00 +01:00
Jesse 54f0d0779c Convert TemplateItem to MongoId (#436)
* Convert TemplateItem to MongoId

* Push new extensions

* Handle null mongoid's being passed to regex

* Handle null strings, fixes item events

* Updated loot generation to work with new property `composedKey`

Fixed typo in `SlotId`

* Fix missing method after merge

* Remove duplicately named MongoIDExtensions?

* Fixed location loot generation to handle impending loot json changes

* Updated location JSONs with new properties (excluding lighthouse loose loot)

* Fixed build issue with ItemTplGenerator

* use correct handing for new mongo ids

* Added helper method to improve readability

---------

Co-authored-by: Chomp <dev@dev.sp-tarkov.com>
2025-07-02 10:14:04 +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 ca3d0730f5 Converted PlayerIsFleaBanned into extension method
Formatting changes to `ProfileHelper`

Fixed method name typo
2025-06-28 13:27:11 +01:00
Chomp da5644cfa2 made properties readonly 2025-06-28 12:53:21 +01:00
Jesse 22c71bee5b Helper methods extensions (#431)
* Remove unused model

* Start moving methods to extensions, cleanup code
2025-06-28 12:14:50 +01:00
chompDev 04e648d862 .NET Format Style Fixes 2025-06-24 13:18:36 +00:00
Chomp c8f9769ad7 Added 2 handlers for locations and skills keywords 2025-06-24 14:17:56 +01:00
refringe 6e01428b2b .NET Format Style Fixes 2025-06-18 17:09:20 +00:00
Chomp e596974d07 Cleaned up usings 2025-06-14 16:43:24 +01:00
agavalda 610e971568 Use double for quantity instead of int (#393)
Co-authored-by: Chomp <27521899+chompDev@users.noreply.github.com>
2025-06-13 09:25:12 +01:00
Chomp 327ad33bb6 Added comments
Made fields readonly
2025-06-11 15:05:12 +01:00
Chomp f4d9649f0b Improved how SPT bot responds to 'help' command
Added GARBAGE to command list #366
2025-06-09 17:17:51 +01:00
Chomp 57c9ff477e Localised various error messages 2025-06-09 09:35:47 +01:00
Chomp 2d67d8002b Send string representation of notification type enum to client to let profile changes work #368 2025-06-07 19:50:46 +01:00
Chomp 206d57f9da Fixed SPT bot not showing new lines #361 2025-06-05 15:19:06 +01:00
qe201020335 d3a819b00f Optimize chatbot with dictionary 2025-05-26 01:07:38 -04:00
Chomp 8b3a5bbb90 Converted method comments to c# style
Made some protected properties readonly / static
2025-05-21 11:14:49 +01:00
Chris Adamson 914d151461 fixed two bugs in commando commands (#258)
* fixed two bugs in commando commands

* added count checking in other helper

* fixes based on feedback
2025-05-18 20:35:35 +01: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
CWX 44c5a488c8 fix checking null or empty 2025-04-30 15:33:01 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +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
Chomp 831d7e3334 Fixed issue where the same character would cause an exception 2025-03-28 15:00:51 +00:00
Chomp df8ffa2b16 Replaced various instances of dictionaries and hashsets with their frozen counterparts 2025-03-09 17:12:07 +00:00