blizzless-diiis icon indicating copy to clipboard operation
blizzless-diiis copied to clipboard

release compile error

Open shfxxer opened this issue 2 years ago • 2 comments

branch:community

aspnetcore-7.0.8-win-x64 dotnet-sdk-7.0.305-win-x64

dotnet publish ./src/DiIiS-NA/Blizzless.csproj --configuration Release --output ./publish

D:\github\blizzless-diiis\src\DiIiS-NA\Program.cs(114,24): error CS1061: D:\github\blizzless-diiis\src\DiIiS-NA\BGS-Server\Toons\Toon.cs(897,31): error CS0103

--configuration Debug works.

shfxxer avatar Jul 02 '23 05:07 shfxxer

and,docker postgresql have a connection issue.

docker WSL2,ubuntu 22.04.6 LTS

2023-07-02 15:31:24 waiting for server to shut down...2023-07-02 07:31:24.623 UTC [49] LOG: received fast shutdown request 2023-07-02 15:31:24 .2023-07-02 07:31:24.627 UTC [49] LOG: aborting any active transactions 2023-07-02 15:31:24 2023-07-02 07:31:24.629 UTC [49] LOG: background worker "logical replication launcher" (PID 56) exited with exit code 1 2023-07-02 15:31:24 2023-07-02 07:31:24.653 UTC [51] LOG: shutting down 2023-07-02 15:31:24 2023-07-02 07:31:24.854 UTC [49] LOG: database system is shut down 2023-07-02 15:31:24 done 2023-07-02 15:31:24 server stopped 2023-07-02 15:31:24 2023-07-02 15:31:24 PostgreSQL init process complete; ready for start up. 2023-07-02 15:31:24 2023-07-02 15:31:24 2023-07-02 07:31:24.973 UTC [1] LOG: starting PostgreSQL 14.8 (Debian 14.8-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit 2023-07-02 15:31:24 2023-07-02 07:31:24.973 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 2023-07-02 15:31:24 2023-07-02 07:31:24.973 UTC [1] LOG: listening on IPv6 address "::", port 5432 2023-07-02 15:31:24 2023-07-02 07:31:24.977 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" 2023-07-02 15:31:25 2023-07-02 07:31:25.002 UTC [66] LOG: database system was shut down at 2023-07-02 07:31:24 UTC 2023-07-02 15:31:25 2023-07-02 07:31:25.029 UTC [1] LOG: database system is ready to accept connections 2023-07-02 15:32:13 2023-07-02 07:32:13.879 UTC [74] FATAL: password authentication failed for user "postgres" 2023-07-02 15:32:13 2023-07-02 07:32:13.879 UTC [74] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256" 2023-07-02 15:32:13 2023-07-02 07:32:13.894 UTC [75] FATAL: password authentication failed for user "postgres" 2023-07-02 15:32:13 2023-07-02 07:32:13.894 UTC [75] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256" 2023-07-02 15:32:13 2023-07-02 07:32:13.944 UTC [76] FATAL: password authentication failed for user "postgres" 2023-07-02 15:32:13 2023-07-02 07:32:13.944 UTC [76] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256" 2023-07-02 15:35:04 2023-07-02 07:35:04.687 UTC [83] FATAL: password authentication failed for user "postgres" 2023-07-02 15:35:04 2023-07-02 07:35:04.687 UTC [83] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256" 2023-07-02 15:35:04 2023-07-02 07:35:04.704 UTC [84] FATAL: password authentication failed for user "postgres" 2023-07-02 15:35:04 2023-07-02 07:35:04.704 UTC [84] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256" 2023-07-02 15:35:04 2023-07-02 07:35:04.755 UTC [85] FATAL: password authentication failed for user "postgres" 2023-07-02 15:35:04 2023-07-02 07:35:04.755 UTC [85] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"

any turtorial about database config?

shfxxer avatar Jul 02 '23 07:07 shfxxer

Не знаю как сделать патч) Файл blizzless-diiis\src\DiIiS-NA\Program.cs Строка 114 Logger.Warning("Diablo III Core is $[red]$disabled$[/]$."); Заменить на Logger.Warn("Diablo III Core is $[red]$disabled$[/]$.");

Файл blizzless-diiis\src\DiIiS-NA\BGS-Server\Toons\Toon.cs Строка 897 foreach (var inv in _dbQuests) Заменить на foreach (var inv in dbQuests)

rusiniu avatar Jul 16 '23 19:07 rusiniu

Please try updating the server code with our latest branches, such as the test-stable and community branches, both of which are now up to date.

rgto avatar Sep 29 '25 21:09 rgto