Jump to content

Firewall Question


tweeknuts

Recommended Posts

So I'm stumped on how I want to do this. I'm trying to run a Project Zomboid server and not sure how I want to do this through the firewal.

 

It seems like it needs to run a batch file before it goes to the .exe to grab some necessary info. Well then that makes the batch file the executable that TCADMIN 2 will be looking at. With that being the case it will open up the ports to the batch file and not the .exe that opens up after it.

 

Is there a way to tell TCADMIN 2 to point to the .exe also when it automatically opens ports? Thanks!

Link to comment
Share on other sites

@setlocal enableextensions

@cd /d "%~dp0"

SET PZ_CLASSPATH=java/jinput.jar;java/lwjgl.jar;java/lwjgl_util.jar;java/sqlite-jdbc-3.8.10.1.jar;java/uncommons-maths-1.2.3.jar;java/

".\jre64\bin\java.exe" -Dzomboid.steam=1 -Dzomboid.znetlog=1 -Xms2048m -Xmx2048m -Djava.library.path=natives/;. -cp %PZ_CLASSPATH% zombie.network.GameServer

 

Looks like it uses Java.exe. I'll place that in the executable field and put the rest of that line in the command line plus the custom stuff I add to it. Hopefully I dont need the very top stuff which was what I was worried about.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use