Commit graph

38 commits

Author SHA1 Message Date
ze-dom
6f094d3f30 Merge branch 'master' into DK_master_tree_finishup 2026-06-12 23:09:20 +01:00
Eduardo
f5acacec82 fix trivial warnings from build 2026-06-11 16:50:37 -03:00
ze-dom
0107e046cc Minor tweaks 2026-05-19 17:38:13 +01:00
ze-dom
7f60b27f58 Added some tests, fixed others 2026-05-19 17:31:34 +01:00
sven-n
73924072d5 Upgrade build target to .net 10 and solved static asset issue 2025-12-22 18:52:18 +01:00
copilot-swe-agent[bot]
280e681976 Add test for ComposableAttribute with maximum value
- Verify fix works for both StatAttribute and ComposableAttribute
- All 38 tests pass

Co-authored-by: sven-n <5238610+sven-n@users.noreply.github.com>
2025-11-21 14:46:36 +00:00
copilot-swe-agent[bot]
ff935f3144 Fix typo in comment (acreated -> created)
Co-authored-by: sven-n <5238610+sven-n@users.noreply.github.com>
2025-11-21 14:45:22 +00:00
copilot-swe-agent[bot]
18730729b7 Fix: Use actual AttributeDefinition from stored attribute for MaximumValue check
- Modified GetValueOfAttribute to use the actual definition from the stored attribute
- Added test to verify maximum value is respected from stored definition
- All 37 tests pass

Co-authored-by: sven-n <5238610+sven-n@users.noreply.github.com>
2025-11-21 14:44:02 +00:00
sven-n
3ed1d9ca89 Updated nuget packages 2024-11-24 14:30:10 +01:00
sven-n
62c3092c76 Changed all project targets and dockerfiles to .net 9 2024-11-22 21:07:35 +01:00
sven-n
4fe615cffd Adapted wings and soul barrier
Instead of subtracting or adding of absolute values, we use now multiplication to calculate damage decrement multipliers.
2024-08-16 21:30:23 +02:00
sven-n
69df370857 Updated some nuget references 2024-06-15 17:40:29 +02:00
sven-n
99ad45591e updated to .net 8
still some todos in the dapr common project
2023-11-15 20:19:40 +01:00
Marcus.Silva
10e5659b79 feat(directory.build.props): remove Analyzers. 2023-02-22 13:44:58 -03:00
sven-n
618a3f5eec Merge branch 'master' into master-skill-overhaul 2022-11-18 17:58:30 +01:00
sven-n
d2bccef74a Update to .NET 7
* Updated all projects to .NET 7
* Updated all Dockerfiles to use .NET 7 containers - looking forward to try chiseled images
* Updated CI/CD pipelines to use .NET 7
* Updated all nuget packages to newest versions; Npgsql is still a release candidate, though.
* Removed NpgsqlLoggingProvider
* Tested if the server still starts and works
2022-11-09 20:20:29 +01:00
sven-n
c0ad16c96b Extensions of the Attribute System
Made it possible to use another attribute as operand, instead of a constant float value. This will make some calculations easier, e.g. we can use it for conditional bonuses. Example: Give a bonus only if an item with a specific attribute is equipped. This comes up in a lot of master skills, e.g. a damage bonus only when wearing a two-handed sword.
2022-11-06 15:57:44 +01:00
sven-n
dc2126e599 Updated nuget packages 2022-07-16 18:39:11 +02:00
sven-n
161d830205 Current state
* Added Microsoft.VisualStudio.Threading.Analyzers and set some important rules to be errors
* Fixed these errors
* Fixed even more countless stuff
2022-07-14 21:49:22 +02:00
sven-n
e80be68ba1 current state
* Activated warning CS4014 as error, so that missing awaits must be handled.
* Added some missing awaits, suprisingly there were not many. And some are (still?) not catched by CS4014.
* Fixed map editor
* Fixed data initialization
2022-07-13 22:17:59 +02:00
sven-n
a81944c3d3 Current (unfinished) state
A lot of stuff is not done yet:
- we need secrets management
- some startup parameters need to be migrated to be configurable settings
- the admin panel lacks some functions:
  - logging: I removed the log4net signalr stuff. Instead the idea is to use something like FlientD or just make log files available for download
  - the list of (game) servers is still empty, i have a plan, though. For each configured (game) server, there could be an instance of a OpenMU.ServerClients.GameServer
  - the live map is hosted on each game server; so we need to add some links. to be able to link it, we probably want to use a reverse proxy (next point)
- reverse proxy, e.g. nginx, to combine multiple web applications (admin panel, maps, setup), and to add authentication and https
- web applications should be improved; atm, some stuff is duplicated (site.css etc.)
- applying of changed configurations
- fault tolerance for the friend server
2022-02-03 21:16:41 +01:00
sven-n
db15dea508
Code improvements with C#10 features (#230)
The most changes are obviously by usage of the global using and file namespace features.
Additionally, because I was in a flow, I changed all private field names to start with an underscore.
2021-11-13 13:21:31 +01:00
sven-n
daf68fd423
🚀 Upgrade to .NET 6.0 (#229) 2021-11-10 21:18:24 +01:00
sven-n
de311c5688 simplified code with new object creation style 2021-07-15 21:49:30 +02:00
sven-n
e0af853828 Updated nuget packages 2021-06-26 14:29:22 +02:00
sven-n
c3470799b2 Few more adaptions to NRTs
* Activated WarningsAsErrors for nullable warnings
* Fixed unit tests
2020-12-22 19:24:59 +01:00
sven-n
2f6c302631 AttributeSystem got nullabled 2020-12-13 13:13:21 +01:00
sven-n
70ad0cd82a Updated to .net 5 and newest nuget packages
Status: It starts up without errors.
Did no function test yet
2020-11-10 21:46:03 +01:00
sven-n
e11bc5b01a Updated all core projects to version 3.1
Updated dependencies and documentation as well
2019-12-08 17:53:36 +01:00
sven-n
6fbc54fbec Upgraded all projects to .NET Core 3.0 and Standard 2.1
* Adapted documentation
* Upgraded to newest Entity Framework Core
* Changed all Windows Forms Tools to .NET Core, too
* Adapted Dockerfile
* Upgraded all other nuget packages (except Mapster, need to test first)
* Did a quick test if all works as expected
2019-10-20 18:14:23 +02:00
sven-n
8b64168e67 Updated .net core to 2.2.108
It's the last version which supports VS 2017.
In this process, other nuget package updates were necessary, too.
2019-07-31 08:04:31 +02:00
sven-n
20db134cb6 Updated StyleCop.Analyzers from 1.0.2 to 1.1.118 2019-07-30 19:15:25 +02:00
sven-n
82af67c940 Migration to .net core/standard - work in progress
Basically, I converted all project files to the new format and tried to resolve some issues of stuff which is not available anymore in .net core:
  * The painting of the maps in the LiveMapModule is now done via SkiaSharp instead of System.Drawing
  * Replaced AspNet.SignalR by AspNetCore.SignalR. Because of the changed API I had to change the code (C# and TypeScript) a lot, too. The log4net logging appender is not done yet!
  * Replaced RhinoMocks by Moq, since RhinoMocks isn't available for .net standard/core
2018-08-16 22:03:47 +02:00
sven-n
9ad3f78b67 Fixed references to StyleCop.Analyzers 2018-04-05 08:14:19 +02:00
sven-n
2a5d57e237 Updated StyleCop.Analyzers to 1.0.2 2018-04-05 07:58:48 +02:00
sven-n
e91b81e315 Updated target .net framework from 4.6 to 4.6.1
4.6.1 supports .net standard 2.0, which is required for the entity
framework core 2.0.
See also #12.
2018-03-06 06:53:49 +01:00
sven-n
52312dc91d Project file fixes: Path of Pathfinder project references, filenames and missing paths of xml documentation 2017-11-23 17:37:53 +01:00
sven-n
a1b07df0d1 inital commit 2017-11-23 07:11:25 +01:00