Project Zomboid

Project Zomboid

j4ybuck Dec 30, 2021 @ 10:07am
64-Bit Dedicated Server not working
Hello,

I am having some issues with my 64-bit dedicated server. I am able to start and run a 32-bit server with no issues, until it runs out of memory. Attempting to start the 64-bit version, I never see my server in the list, even though the Command Prompt is showing the server started successfully and displays steam server id. Please help
< >
Showing 1-5 of 5 comments
Beard Dec 30, 2021 @ 10:23am 
Try editing the 64 server .bat file and change the "UseZGC" line to "UseG1GC"
j4ybuck Dec 31, 2021 @ 9:32am 
I have altered the line but it still doesn't seem to work. Thank you for your response and assistance. Here is the output from Command Prompt when attempted to run the 64.bat with the G1GC.
j4ybuck Dec 31, 2021 @ 9:35am 
C:\Program Files (x86)\Steam\steamapps\common\Project Zomboid Dedicated Server>SET PZ_CLASSPATH=java/istack-commons-runtime.jar;java/jassimp.jar;java/javacord-2.0.17-shaded.jar;java/javax.activation-api.jar;java/jaxb-api.jar;java/jaxb-runtime.jar;java/lwjgl.jar;java/lwjgl-natives-windows.jar;java/lwjgl-glfw.jar;java/lwjgl-glfw-natives-windows.jar;java/lwjgl-jemalloc.jar;java/lwjgl-jemalloc-natives-windows.jar;java/lwjgl-opengl.jar;java/lwjgl-opengl-natives-windows.jar;java/lwjgl_util.jar;java/sqlite-jdbc-3.27.2.1.jar;java/trove-3.0.3.jar;java/uncommons-maths-1.2.3.jar;java/ C:\Program Files (x86)\Steam\steamapps\common\Project Zomboid Dedicated Server>".\jre64\bin\java.exe" -Djava.awt.headless=true -Dzomboid.steam=1 -Dzomboid.znetlog=1 -XX:+UseG1GC -XX:-CreateCoredumpOnCrash -XX:-OmitStackTraceInFastThrow -Xms16g -Xmx16g -Djava.library.path=natives/;natives/win64/;. -cp java/istack-commons-runtime.jar;java/jassimp.jar;java/javacord-2.0.17-shaded.jar;java/javax.activation-api.jar;java/jaxb-api.jar;java/jaxb-runtime.jar;java/lwjgl.jar;java/lwjgl-natives-windows.jar;java/lwjgl-glfw.jar;java/lwjgl-glfw-natives-windows.jar;java/lwjgl-jemalloc.jar;java/lwjgl-jemalloc-natives-windows.jar;java/lwjgl-opengl.jar;java/lwjgl-opengl-natives-windows.jar;java/lwjgl_util.jar;java/sqlite-jdbc-3.27.2.1.jar;java/trove-3.0.3.jar;java/uncommons-maths-1.2.3.jar;java/ zombie.network.GameServer -statistic 0 DEBUG: General , 1640971408943> 84,615,807> LoggerManager.init > Initializing... LOG : General , 1640971408984> 84,615,837> cachedir set to "C:\Users\Jarred\Zomboid" LOG : General , 1640971409048> 84,615,901> versionNumber=41.65 demo=false LOG : General , 1640971409049> 84,615,901> svnRevision= date= time= LOG : General , 1640971409133> 84,615,987> unknown option "0" LOG : General , 1640971409134> 84,615,987> server name is "servertest" LOG : General , 1640971409135> 84,615,988> checking server WorldVersion in map_t.bin LOG : General , 1640971409137> 84,615,990> Loading networking libraries... LOG : General , 1640971409138> 84,615,991> Loading steam_api64... LOG : General , 1640971409139> 84,615,992> Loading RakNet64... LOG : General , 1640971409141> 84,615,994> Loading ZNetJNI64... LOG : General , 1640971409264> 84,616,117> 1640971409256 znet: ZNet loaded LOG : General , 1640971409268> 84,616,122> 1640971409268 znet: Compiled with SERVER_STEAMAPI == 0 LOG : General , 1640971409269> 84,616,123> 1640971409269 znet: Starting with bServer == true LOG : General , 1640971409270> 84,616,123> 1640971409270 znet: SteamAPI initialised successfully LOG : General , 1640971409271> 84,616,124> SteamUtils initialised successfully LOG : General , 1640971409291> 84,616,144> ERROR: Missing translation "UI_ServerOptionDesc_Help" LOG : General , 1640971409291> 84,616,145> ERROR: Missing translation "UI_ServerOptionDesc_ChangePwd" LOG : General , 1640971409293> 84,616,145> ERROR: Missing translation "UI_ServerOptionDesc_Roll" LOG : General , 1640971409293> 84,616,146> ERROR: Missing translation "UI_ServerOptionDesc_Card" LOG : General , 1640971409293> 84,616,146> ERROR: Missing translation "UI_ServerOptionDesc_SafeHouse" LOG : General , 1640971409295> 84,616,148> LightingFPS set to 15 LOG : General , 1640971409310> 84,616,163> reading C:\Users\Jarred\Zomboid\Server\servertest.ini LOG : General , 1640971409311> 84,616,164> writing C:\Users\Jarred\Zomboid\Server\servertest.ini LOG : General , 1640971409314> 84,616,167> 1640971409314 znet: Java_zombie_core_znet_SteamGameServer_Init Setting breakpad minidump AppID = 108600 LOG : General , 1640971409367> 84,616,219> 1640971409367 znet: SteamGameServer seems to be initialized LOG : General , 1640971409367> 84,616,220> 1640971409367 znet: Java_zombie_core_znet_SteamGameServer_SetProduct LOG : General , 1640971409368> 84,616,220> 1640971409368 znet: Java_zombie_core_znet_SteamGameServer_SetGameDescription LOG : General , 1640971409368> 84,616,221> 1640971409368 znet: Java_zombie_core_znet_SteamGameServer_SetModDir LOG : General , 1640971409369> 84,616,221> 1640971409369 znet: Java_zombie_core_znet_SteamGameServer_SetDedicatedServer LOG : General , 1640971409369> 84,616,222> 1640971409369 znet: Java_zombie_core_znet_SteamGameServer_SetMaxPlayerCount LOG : General , 1640971409369> 84,616,222> 1640971409369 znet: Java_zombie_core_znet_SteamGameServer_SetServerName 'Earth-2149' LOG : General , 1640971409370> 84,616,222> 1640971409370 znet: Java_zombie_core_znet_SteamGameServer_SetMapName 'Muldraugh, KY' LOG : General , 1640971409370> 84,616,223> 1640971409370 znet: Java_zombie_core_znet_SteamGameServer_SetGameTags 'hidden' LOG : General , 1640971409371> 84,616,223> 1640971409371 znet: Java_zombie_core_znet_SteamGameServer_SetKeyValue key='description' value='Earth-2149' LOG : General , 1640971409371> 84,616,224> 1640971409371 znet: Java_zombie_core_znet_SteamGameServer_SetKeyValue key='version' value='41.65' LOG : General , 1640971409371> 84,616,224> 1640971409371 znet: Java_zombie_core_znet_SteamGameServer_SetKeyValue key='open' value='1' LOG : General , 1640971409372> 84,616,224> 1640971409372 znet: Java_zombie_core_znet_SteamGameServer_SetKeyValue key='public' value='0' LOG : General , 1640971409372> 84,616,225> 1640971409372 znet: Java_zombie_core_znet_SteamGameServer_SetKeyValue key='mods' value='' LOG : General , 1640971409374> 84,616,226> 1640971409374 znet: Java_zombie_core_znet_SteamWorkshop_n_1Init LOG : General , 1640971409374> 84,616,227> 1640971409374 znet: Java_zombie_core_znet_SteamGameServer_LogOnAnonymous LOG : General , 1640971409375> 84,616,228> 1640971409375 znet: Java_zombie_core_znet_SteamGameServer_EnableHeartBeats LOG : General , 1640971409376> 84,616,228> Waiting for response from Steam servers LOG : General , 1640971410345> 84,617,197> 1640971410345 znet: OnSteamServersConnected LOG : General , 1640971410345> 84,617,198> 1640971410345 znet: Public IP: 68.97.146.92 LOG : General , 1640971410348> 84,617,201> user database "C:\Users\Jarred\Zomboid\db\servertest.db" LOG : General , 1640971410390> 84,617,244> Router detection/configuration starting. LOG : General , 1640971410391> 84,617,244> If the server hangs here, set UPnP=false. LOG : General , 1640971415380> 84,622,234> UPnP-enabled internet gateway found: http://192.168.1.1:55782/ctl/IPConn LOG : General , 1640971415383> 84,622,237> External IP address: 68.97.146.92 LOG : General , 1640971415384> 84,622,238> trying to setup port forwarding rules... LOG : General , 1640971415385> 84,622,238> 1640971415385 znet: Using http://192.168.1.1:55782/ctl/IPConn to map external UDP port 16261 to local port 16261... LOG : General , 1640971415386> 84,622,239> 1640971415386 znet: Checking if the port is already mapped... LOG : General , 1640971415389> 84,622,242> 1640971415389 znet: Port 16261 is already mapped to 192.168.1.42:16261 for 85787 seconds LOG : General , 1640971415389> 84,622,243> 1640971415389 znet: It seems to be our old mapping LOG : General , 1640971415390> 84,622,243> 1640971415390 znet: Deleting this existing mapping... LOG : General , 1640971415398> 84,622,251> 1640971415398 znet: Existing mapping has been successfully removed LOG : General , 1640971415398> 84,622,252> 1640971415398 znet: Adding mapping to the routing table... LOG : General , 1640971415407> 84,622,260> 1640971415407 znet: UPNP_AddPortMapping() succeeded, testing now... LOG : General , 1640971415410> 84,622,263> 1640971415410 znet: UPNP_GetSpecificPortMappingEntry() succeeded, seems that we're good LOG : General , 1640971415411> 84,622,263> 1640971415411 znet: UPNP_GetSpecificPortMappingEntry() results: intClient == '192.168.1.42', intPort == '16261', duration == '86400' LOG : Network , 1640971415412> 84,622,265> Default port has been mapped successfully LOG : General , 1640971415412> 84,622,265> 1640971415412 znet: Using http://192.168.1.1:55782/ctl/IPConn to map external UDP port 8766 to local port 8766... LOG : General , 1640971415413> 84,622,266> 1640971415413 znet: Checking if the port is already mapped... LOG : General , 1640971415415> 84,622,268> 1640971415415 znet: Port 8766 is already mapped to 192.168.1.42:8766 for 85787 seconds LOG : General , 1640971415416> 84,622,269> 1640971415416 znet: It seems to be our old mapping LOG : General , 1640971415416> 84,622,269> 1640971415416 znet: Deleting this existing mapping... LOG : General , 1640971415423> 84,622,276> 1640971415423 znet: Existing mapping has been successfully removed LOG : General , 1640971415424> 84,622,277> 1640971415424 znet: Adding mapping to the routing table... LOG : General , 1640971415433> 84,622,286> 1640971415433 znet: UPNP_AddPortMapping() succeeded, testing now... LOG : General , 1640971415436> 84,622,289> 1640971415436 znet: UPNP_GetSpecificPortMappingEntry() succeeded, seems that we're good LOG : General , 1640971415436> 84,622,289> 1640971415436 znet: UPNP_GetSpecificPortMappingEntry() results: intClient == '192.168.1.42', intPort == '8766', duration == '86400' LOG : Network , 1640971415437> 84,622,289> SteamPort1 has been mapped successfully LOG : General , 1640971415437> 84,622,290> 1640971415437 znet: Using http://192.168.1.1:55782/ctl/IPConn to map external UDP port 8767 to local port 8767... LOG : General , 1640971415437> 84,622,290> 1640971415437 znet: Checking if the port is already mapped... LOG : General , 1640971415440> 84,622,293> 1640971415440 znet: Port 8767 is already mapped to 192.168.1.42:8767 for 85787 seconds LOG : General , 1640971415441> 84,622,293> 1640971415441 znet: It seems to be our old mapping LOG : General , 1640971415441> 84,622,294> 1640971415441 znet: Deleting this existing mapping... LOG : General , 1640971415449> 84,622,302> 1640971415449 znet: Existing mapping has been successfully removed LOG : General , 1640971415450> 84,622,302> 1640971415450 znet: Adding mapping to the routing table... LOG : General , 1640971415459> 84,622,312> 1640971415459 znet: UPNP_AddPortMapping() succeeded, testing now... LOG : General , 1640971415461> 84,622,314> 1640971415461 znet: UPNP_GetSpecificPortMappingEntry() succeeded, seems that we're good LOG : General , 1640971415461> 84,622,315> 1640971415461 znet: UPNP_GetSpecificPortMappingEntry() results: intClient == '192.168.1.42', intPort == '8767', duration == '86400' LOG : Network , 1640971415462> 84,622,315> SteamPort2 has been mapped successfully LOG : Network , 1640971415462> 84,622,316> Initialising Server Systems... LOG : Lua , 1640971417225> 84,624,077> Loading: media/lua/shared/Sandbox/Apocalypse.lua LOG : General , 1640971417561> 84,624,415> translator: language is EN LOG : General , 1640971418240> 84,625,093> scriptChecksum: 4c8d4c172e8bcbb5bf668c8bc1edff17 WARN : Recipe , 1640971418244> 84,625,097> RecipeManager.resolveItemModuleDotType> WARNING: module "Base" may have forgot to import module Base WARN : Script , 1640971418247> 84,625,100> ModelScript.check> no such model "null" for Base.BareHands WARN : Script , 1640971418248> 84,625,101> ModelScript.check> no such model "DisposableRazor" for Base.Razor WARN : Script , 1640971418249> 84,625,102> ModelScript.check> no such model "Chainsaw" for Base.Chainsaw LOG : General , 1640971418676> 84,625,528> LOADING ASSETS: START LOG : General , 1640971424495> 84,631,348> LOADING ASSETS: FINISH LOG : Lua , 1640971424792> 84,631,645> Loading: media/lua/shared/Definitions/AttachedWeaponDefinitions.lua LOG : General , 1640971426473> 84,633,326> tiledef: loading C:\Program Files (x86)\Steam\steamapps\common\Project Zomboid Dedicated Server\media\tiledefinitions_apcom.tiles LOG : General , 1640971426474> 84,633,326> tiledef: loading C:\Program Files (x86)\Steam\steamapps\common\Project Zomboid Dedicated Server\media\tiledefinitions_overlays.tiles LOG : General , 1640971426480> 84,633,333> tiledef: loading C:\Program Files (x86)\Steam\steamapps\common\Project Zomboid Dedicated Server\media\tiledefinitions_noiseworks.patch.tiles LOG : Lua , 1640971427116> 84,633,969> Loading: media/maps/Muldraugh, KY/objects.lua LOG : General , 1640971427663> 84,634,516> loading 19695 zones from map_zone.bin LOG : General , 1640971427738> 84,634,591> Max #ZONES on one chunk is 19 LOG : General , 1640971427859> 84,634,711> reanimate: loaded 2 zombies LOG : Network , 1640971427930> 84,634,783> Initialising RakNet... LOG : General , 1640971427930> 84,634,783> 1640971427930 znet: Java_zombie_core_raknet_RakNetPeerInterface_Init LOG : General , 1640971427931> 84,634,784> 1640971427931 znet: g_peer = 0x35de6290 LOG : General , 1640971427931> 84,634,784> 1640971427931 znet: Java_zombie_core_raknet_RakNetPeerInterface_SetMaximumIncomingConnections LOG : General , 1640971427932> 84,634,785> 1640971427932 znet: Java_zombie_core_raknet_RakNetPeerInterface_SetServerPort LOG : General , 1640971427932> 84,634,785> 1640971427932 znet: Java_zombie_core_raknet_RakNetPeerInterface_SetIncomingPassword LOG : General , 1640971427933> 84,634,786> 1640971427933 znet: Java_zombie_core_raknet_RakNetPeerInterface_SetOccasionalPing LOG : General , 1640971427933> 84,634,786> 1640971427933 znet: Java_zombie_core_raknet_RakNetPeerInterface_Startup LOG : General , 1640971427933> 84,634,786> 1640971427933 znet: Zomboid Steam Server started, ports 8766 and 16261 must be open on the router LOG : General , 1640971427946> 84,634,799> 1640971427946 znet: OnRakPeerStartup LOG : General , 1640971427956> 84,634,809> 1640971427956 znet: RakNet-through-Steam mode activated LOG : Network , 1640971427956> 84,634,809> RakNet.Startup() return code: 0 (0 means success) LOG : General , 1640971427956> 84,634,809> [VOICE MANAGER] VoiceInit LOG : General , 1640971427957> 84,634,810> 1640971427957 znet: Java_zombie_core_raknet_RakVoice_RVInitServer LOG : General , 1640971427958> 84,634,811> 1640971427958 znet: g_peer = 0x35de6290 LOG : Network , 1640971427958> 84,634,811> *** SERVER STARTED **** LOG : Network , 1640971427958> 84,634,811> *** Steam is enabled LOG : Network , 1640971427959> 84,634,812> server is listening on port 16261 LOG : General , 1640971427959> 84,634,812> LuaNet: Initializing... LOG : General , 1640971427959> 84,634,812> LuaNet: Registering server listener... LOG : General , 1640971427960> 84,634,813> LuaNet: Initialization [DONE], triggering events for 'LuaNet.onInitAdd'. LOG : Network , 1640971427960> 84,634,813> DISCORD: token not configured LOG : Network , 1640971427960> 84,634,813> *** DISCORD DISABLED **** LOG : General , 1640971427961> 84,634,814> ########## Server Steam ID 90154606046078987 ########## LOG : General , 1640971429082> 84,635,935> 1640971429082 znet: OnPolicyResponse LOG : General , 1640971429083> 84,635,936> 1640971429083 znet: Zomboid Server is VAC Secure
Beard Dec 31, 2021 @ 9:40am 
Looks like it works just fine, so you can see the server and join it with 32 bit but you cannot join it with 64 bit?
j4ybuck Dec 31, 2021 @ 9:45am 
Correct, friends and I are able to join the 32 bit server but it eventually crashes due to Java Heap from what I have seen so I am assuming it is memory related.

I can join the 64-bit server with loopback (127.0.0.1) but no one else can connect using public IP...I have verified my ports are forwarded correctly as they work in the 32-bit version...just can't seem to get the 64-bit working.

Verified I have Java 64-bit installed as well as re-downloading the Redist VC++ from Microsoft yesterday as I saw you had recommended that to someone as well a long time ago. Still can't seem to get it to work. Confirmed I have 64-bit operation system as well.

I can see the 32-bit server in the Steam server list and Zomboid list when I start it but the 64-bit never displays and never connects for users outside my LAN.
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Dec 30, 2021 @ 10:07am
Posts: 5