From 9929269a50c4e08e0a04cd20d9cd730dbf0580a2 Mon Sep 17 00:00:00 2001 From: Pablo Rigueto Date: Mon, 29 Sep 2025 10:39:40 -0300 Subject: [PATCH] Fix the broken connection between client and server, and de database. --- .../D3-GameServer/GSSystem/GameSystem/GameUpdateManager.cs | 2 +- src/DiIiS-NA/config.ini | 4 ++-- src/DiIiS-NA/database.Account.config | 2 +- src/DiIiS-NA/database.Worlds.config | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/DiIiS-NA/D3-GameServer/GSSystem/GameSystem/GameUpdateManager.cs b/src/DiIiS-NA/D3-GameServer/GSSystem/GameSystem/GameUpdateManager.cs index 3a00f41..6854f0b 100644 --- a/src/DiIiS-NA/D3-GameServer/GSSystem/GameSystem/GameUpdateManager.cs +++ b/src/DiIiS-NA/D3-GameServer/GSSystem/GameSystem/GameUpdateManager.cs @@ -25,7 +25,7 @@ namespace DiIiS_NA.GameServer.GSSystem.GameSystem var thread = new GameUpdateThread(); //thread.CPUAffinity = (1UL << coreId); _updateWorkers.Add(thread); - var loopThread = new Thread(thread.Run) { Name = "UpdateWorkerThread", IsBackground = true }; ; // create the game update thread. + var loopThread = new Thread(thread.Run) { Name = "UpdateWorkerThread", IsBackground = true }; loopThread.Start(); } Logger.Info("Started {0} threads", CPUCount); diff --git a/src/DiIiS-NA/config.ini b/src/DiIiS-NA/config.ini index 6580716..51e7d7b 100644 --- a/src/DiIiS-NA/config.ini +++ b/src/DiIiS-NA/config.ini @@ -13,7 +13,7 @@ Enabled = true ; IP address on which the server will be bound BindIP = 127.0.0.1 ; Port for web interactions -WebPort = 83 +WebPort = 9800 ; Port for the server Port = 1119 @@ -49,7 +49,7 @@ CoreActive = true ; IP address on which the game server will be bound BindIP = 127.0.0.1 ; Port for web interactions -WebPort = 83 +WebPort = 9001 ; Port for game server connections Port = 1345 ; IP address for IPv6 bindings diff --git a/src/DiIiS-NA/database.Account.config b/src/DiIiS-NA/database.Account.config index 5e9a698..ae5d775 100644 --- a/src/DiIiS-NA/database.Account.config +++ b/src/DiIiS-NA/database.Account.config @@ -8,7 +8,7 @@ true 0 - Server=diiis-na-db;Database=diiis;User ID=postgres;Password=postgres + Server=localhost;Database=diiis;User ID=postgres;Password=postgres on_close 0 diff --git a/src/DiIiS-NA/database.Worlds.config b/src/DiIiS-NA/database.Worlds.config index 484bfa0..ddec9eb 100644 --- a/src/DiIiS-NA/database.Worlds.config +++ b/src/DiIiS-NA/database.Worlds.config @@ -7,7 +7,7 @@ true 0 - Server=diiis-na-db;Database=worlds;User ID=postgres;Password=postgres + Server=localhost;Database=worlds;User ID=postgres;Password=postgres on_close 0