Commit Graph

47 Commits

Author SHA1 Message Date
clodanSPT ee51e1fcab Refactored pre spt mod loader to user IOnLoad, moved Watermark to IOnLoad as well (#313)
Co-authored-by: Alex <alex@dm-me-for-questions.com>
2025-05-30 11:03:08 +01:00
Archangel fa1368fb47 Move more initialization, mod loading and http requests over to async 2025-05-29 23:50:06 +02:00
Archangel 6f3244362c Make sure value is not null 2025-05-29 23:50:06 +02:00
Chris Adamson 1946199f61 theres a chance that 0 equals 0 2025-05-29 15:48:59 -05:00
Chris Adamson ff43f72b53 yuck math 2025-05-29 14:47:42 -05:00
Chris Adamson 5db0fd575b fixed issue with setter not handling null values exposed by failing unit test 2025-05-29 14:01:16 -05:00
Jesse 636e250085 Handle AlreadyRunning with TcpListener to stop tons of exceptions (#302)
* Handle AlreadyRunning with TcpListener to stop tons of exceptions

* Use same properties as web server
2025-05-29 12:56:37 +01:00
Jesse d079e86fcb Add OnLazyLoad event so modders can modify LazyLoaded data (#297)
* Add OnLazyLoad event so modders can modify LazyLoaded data

* Remove whitespace
2025-05-29 11:05:41 +01:00
CWX deaa2d8530 Merge branch 'develop' into just-oblivion-memes 2025-05-28 20:41:54 +01:00
Chris Adamson ccd3498d2c I used have spt dev role but then I took an arrow to the knee 2025-05-28 14:38:08 -05:00
Chris Adamson 7d85c0af22 added horse armor 2025-05-28 14:29:57 -05:00
Chris Adamson 173fc6b8a9 I saw a mudcrab the other day. Horrible creatures 2025-05-28 13:47:13 -05:00
CWX 30231964db Add culture Conversion with string to number converter, fixes strings with numbers and commas 2025-05-28 18:54:07 +01:00
Alex c0dbcc3d66 Changed object in favor of Lock 2025-05-28 11:55:44 +01:00
CWX fe2e04b9f8 put logging in debug, fix commit not being added to end of version 2025-05-27 18:54:53 +01:00
hulkhan22 21382a1e06 Fix server exception at raid end when client sends bantype data (#257) 2025-05-18 19:38:13 +01:00
hulkhan22 6af7e18181 Ensure unique MongoIDs 2025-05-07 04:09:56 +02:00
clodanSPT 13f9fc1093 Added an option for modders to add their own Data handlers for ItemEv… (#241)
* Added an option for modders to add their own Data handlers for ItemEventRouter handling serialization

* Made return type for func nullable

---------

Co-authored-by: Alex <clodanSPT@hotmail.com>
Co-authored-by: Alex <alex@dm-me-for-questions.com>
2025-05-06 19:08:26 +01:00
Alex 1499627d3c DI completely reworked to keep status of singletons on multi type components 2025-05-06 10:52:22 +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 2ea6128815 Improved how ConvertToCorrectType handles /moving actions
Reduced number of times JSON is parsed into an object
2025-05-04 23:09:13 +01:00
clodanSPT ec0f8b2eab Made program statics running in local turning debug variable depending on the runtime mode (#225)
Co-authored-by: Alex <clodanSPT@hotmail.com>
2025-05-02 17:09:59 +01:00
Chomp c6c76303e3 Show active eft version in watermark 2025-04-30 13:11:58 +01:00
clodan 57974a552b Fixed component naming and dependency injection prioritization 2025-04-29 21:04:35 +01:00
hulkhan22 38f561b85d DogtagSide 2025-04-26 21:37:08 +02:00
Alex d7e67af662 Added dev and prod files for logger 2025-04-24 16:44:56 +01:00
Alex 222ca2e274 Replaced Serilog for custom logger 2025-04-24 16:29:36 +01:00
CWX 7ed3395e0f add build logging for statics Temp 2025-04-22 15:59:55 +01:00
CWX 7c7297f63c Code cleanup and format 2025-04-22 14:49:05 +01:00
CWX 5886320bb6 change to seconds not ms 2025-04-20 14:33:14 +01:00
Chomp 29f992b9c3 Fixed GetDateTimeFromTimeStamp incorrectly converting from milliseconds 2025-04-20 14:19:04 +01:00
CWX 74f755af61 Implemented LogWithColor along side module changes, newtonsoft will always send a string 2025-04-16 13:00:01 +01:00
CWX e55aba79ac Use ProgramStatics in places to disable Modding with Flag 2025-04-16 11:51:44 +01:00
CWX edebe3fb66 make static props private 2025-04-16 10:59:43 +01:00
CWX d9100412a7 remove logging, add generated side, this will be overritten with each build, supplied to stop warnings 2025-04-15 20:59:41 +01:00
CWX 199a8fc1d9 added a partial class gen
this will take csproj properties and set them, this will allow us to use publish -p:{parameter=value} for building the server
2025-04-15 20:31:06 +01:00
Chomp 1e409982cf Added type for HandlerDamage 2025-04-12 18:17:05 +01:00
CWX 6dd37425cc Fix duplicates trying to be added 2025-04-12 10:58:18 +01:00
CWX 5074dd0d7c Moved ragfairOfferHolder to use ConcurrentCollections where possible and reduced nesting where possible 2025-04-11 11:42:40 +01:00
CWX 52d1514f82 Fix repairing Buffs and botgen buffs 2025-04-10 17:44:27 +01:00
CWX a2575f2a6a throw better error when empty list, underlying cause to be fixed 2025-04-07 14:31:40 +01:00
Chomp 99dec1c9a3 Updated DeathCase.DeathCause to use enum + same for other properties to match client 2025-04-05 11:15:39 +01:00
Chomp 8c0470df36 Made various methods static + updated private methods to be protected 2025-03-14 19:16:26 +00:00
Archangel 744c14b72c Add basic method to register custom Json converters 2025-03-08 13:34:25 +01:00
Chomp 42983bf92c Updated Write handling of null checks, now takes into account structs 2025-03-08 10:08:55 +00:00
Chomp 6b48dfa463 Made locks more consistent across solution 2025-03-08 09:55:36 +00:00
clodan 270f095413 renamed projects and namespaces 2025-03-07 13:16:43 +00:00