tweeknuts Posted November 24, 2016 Share Posted November 24, 2016 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 More sharing options...
Raizio Posted November 25, 2016 Share Posted November 25, 2016 What's in the batchfile? Generally batchfile is just an executable with a commandline after it. Both of which you can set up in TCAdmin itself. Link to comment Share on other sites More sharing options...
tweeknuts Posted November 25, 2016 Author Share Posted November 25, 2016 @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 More sharing options...
Dennis Posted November 26, 2016 Share Posted November 26, 2016 If you're having issues with TCAdmin not opening ports for the executable file in Windows Firewall, simply just create a script that does this. Link to comment Share on other sites More sharing options...
tweeknuts Posted November 26, 2016 Author Share Posted November 26, 2016 I grabbed Project Zomboid xml file from the forum but wasn't very TCADMIN friendly. So I fixed it up a bit and now have it working great . It was creating batch files and using the batch file as an executable instead of just running the .exe. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now