From 2bacb92fdd7d44e9fd03a1ac8c332bc2f9bbb032 Mon Sep 17 00:00:00 2001 From: Lucas Hardt Date: Sat, 15 Nov 2025 13:07:09 +0100 Subject: [PATCH 1/2] update to net 10.0 --- Dockerfile | 4 ++-- EasyFortniteStats-ImageApi.csproj | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 698d696..79889b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS base WORKDIR /app ENV ASPNETCORE_HTTP_PORTS=80 EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /src COPY ["EasyFortniteStats-ImageApi.csproj", "./"] RUN dotnet restore "EasyFortniteStats-ImageApi.csproj" diff --git a/EasyFortniteStats-ImageApi.csproj b/EasyFortniteStats-ImageApi.csproj index 9fe2df8..26291db 100644 --- a/EasyFortniteStats-ImageApi.csproj +++ b/EasyFortniteStats-ImageApi.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable EasyFortniteStats_ImageApi @@ -13,7 +13,7 @@ - + From 843f3179d725a8a98fa60a3c3b8f841207fdfb85 Mon Sep 17 00:00:00 2001 From: Lucas Hardt Date: Sat, 15 Nov 2025 13:10:20 +0100 Subject: [PATCH 2/2] Update map data --- Controllers/UtilsImageController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Controllers/UtilsImageController.cs b/Controllers/UtilsImageController.cs index d675e8f..047a906 100644 --- a/Controllers/UtilsImageController.cs +++ b/Controllers/UtilsImageController.cs @@ -93,9 +93,9 @@ public async Task GenerateDropImage(Drop drop) await assets.GetBitmap( $"Assets/Images/Map/Markers/{RandomNumberGenerator.GetInt32(markerAmount - 1)}.png"); // don't dispose - const int worldRadius = 150_000; - const int xOffset = -60; - const int yOffset = 0; + const int worldRadius = 80_000; + const int xOffset = -12_200; + const int yOffset = 3_200; var mx = (drop.X + worldRadius) / (worldRadius * 2f) * bitmap.Width + xOffset; var my = (drop.Y + worldRadius) / (worldRadius * 2f) * bitmap.Height + yOffset;