Hi all i get bug
My main server IP is ..254.33.
My additional ip is ..254.170 and when i start server on additional ..254.170 query port start on main ip ..254.33
c:\Gusers\127\...254.170-28050>hurtworld.exe -batchmode -nograp
hics -exec "servername Alkad Game Host ;bindip ...254.170;host 28050 diemens
land;playerlootmode 2;queryport 28051 ;maxplayers 60 ;enforceeac 1" -l
ogfile "gamelog.txt"
Solved Can't change query port for separate IP
Discussion in 'Hurtworld Discussion' started by alukar, Nov 28, 2016.
-
I had the same problem, but I was not able to solve it
-
@cowtrix we finde how to fix this problem :
Type: SteamworksManagerClient
Method: InitializeServer
Line: 1
from
this.InitializedServer = GameServer.Init(0, 0xded, (ushort) Singleton<GameManager>.Instance.ServerConfig.Port, (ushort) Singleton<GameManager>.Instance.ServerConfig.MasterServerPort, EServerMode.eServerModeAuthenticationAndSecure, 0x2d.ToString());
to
uint ipAddress = 0;
if (!string.IsNullOrEmpty(Singleton<GameManager>.Instance.ServerConfig.BoundIP))
{
byte[] addressBytes = IPAddress.Parse(Singleton<GameManager>.Instance.ServerConfig.BoundIP).GetAddressBytes();
ipAddress = (uint) (addressBytes[0] << 0x18);
ipAddress += (uint) (addressBytes[1] << 0x10);
ipAddress += (uint) (addressBytes[2] << 8);
ipAddress += addressBytes[3];
}
this.InitializedServer = GameServer.Init(ipAddress, 0xded, (ushort) Singleton<GameManager>.Instance.ServerConfig.Port, (ushort) Singleton<GameManager>.Instance.ServerConfig.MasterServerPort, EServerMode.eServerModeAuthenticationAndSecure, 0x2d.ToString()); -
may be some one from oxide team can fix this problem ??
-
Wulf Community Admin
-
I had the same problem. Known whether it will be fixed?
-
Just committed a patch for this, it will go out in the next update.
-
if add bindip in command line i get error
Code:SteamAPI_GameServer.Init() failed.(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)Closing network connections...(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)Abort running Threads: 1(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)Setting up 6 worker threads for Enlighten. Thread -> id: 8aa4 -> priority: 1 Thread -> id: e04c -> priority: 1 Thread -> id: 460c -> priority: 1 Thread -> id: d720 -> priority: 1 Thread -> id: 940 -> priority: 1 Thread -> id: 12250 -> priority: 1 Unloaded all mods
-
@cowtrix
Hi same problems ...