Closed Dacio11 closed 2 years ago
To run locally from source edit launchSettings.json like in the screenshot. Use the D2Map.Api project as startup project (right click, set as startup). Hope that clarifies it? The readme examples are made with the binaries in mind, hence you can also download from the release folder directly and just run that via commandline: https://github.com/jcageman/d2mapapi/releases/tag/1.2
is correct, what i have to do now? thanks!
Yes looks good,except it starts iis express, hence switch it to d2map.api! Note the application is hosted on port 8080
the d2 version is 1.14d
It should be 1.13c and you can modify appsettings.json
now is 1.13c, i edited appsettings.json, I installed the game in c:\diablo II this time, still same error.
System.Exception
HResult=0x80131500
Mensaje = Provided invalid diablo 2 directory: <C:\Diablo II>
Origen = D2Map.Core
Seguimiento de la pila:
at D2Map.Core.Extensions.CoreExtensions.RegisterCoreServices(IServiceCollection services, IConfiguration config) in C:\Users\PC\Desktop\d2mapapi-1.2\D2Map.Core\Extensions\CoreExtensions.cs:line 15
at D2Map.Api.Startup.ConfigureServices(IServiceCollection services) in C:\Users\PC\Desktop\d2mapapi-1.2\D2Map.Api\Startup.cs:line 36
at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.InvokeCore(Object instance, IServiceCollection services)
at Microsoft.AspNetCore.Hosting.ConfigureServicesBuilder.<>cDisplayClass9_0.
Almost there! I suspect you kept the < and > characters.
Yea, now works, but how can i see the map ?
I haven't build a visualization tool. This only exposes an API (see readme) that returns the data which could be visualized
and how i can visualize that? in mapapi 1.0 I could see the map. I already download tableau public, hope works
The API response in 1.2 is same as in 1.0
i download visual 2022 but i dont know how to configure, help pls