wardevour Posted January 5, 2015 Report Share Posted January 5, 2015 if i see: "2:41:28 Dedicated host created. 2:41:28 Host identity created" does this mean everything is kosher? it looks like the restart.pl script told the pid to be the same as the port yet i dont see any program using it. ps -e says epoch has a much larger pid. and ive forwarded that port yet i cant join and a port checker says its not open. meaning the sockets not open, ie nothings using the port EDIT: and i kept getting "BattlEye initialization failed" until i just disbled battleye Link to comment Share on other sites More sharing options...
jahangir13 Posted January 5, 2015 Report Share Posted January 5, 2015 The filename where the pid is stored is the same as your port. In the file (e.g. 2302.pid) there should be the real process number you see as with ps aux. In restarter.pl you have a line like this: my $cmdrestart = '/usr/bin/screen -h 20000 -fa -d -m -S epochtest '.PATH.'epoch.sh'; epochtest is the name of the screen session for me. You have another name there. If you do a 'ps aux | grep epochtest' (with your screen name) you should see your server running: epochtest@Debian-60-squeeze-64-LAMP:~/server$ ps aux | grep epochtest root 728 0.0 0.0 77160 3444 ? Ss 16:52 0:00 sshd: epochtest [priv] 1000 1828 0.0 0.0 77160 1820 ? S 16:52 0:00 sshd: epochtest@pts/3 1000 18895 0.0 0.0 7924 884 pts/3 S+ 16:54 0:00 grep epochtest1000 29949 0.0 0.0 29356 3000 ? Ss 05:20 0:00 /usr/bin/SCREEN -h 20000 -fa -d -m -S epochtest /home/epochtest/server/epoch.sh 1000 29951 0.0 0.0 4248 516 pts/1 Ss+ 05:20 0:00 /bin/sh /home/epochtest/server/epoch.sh epochtest@Debian-60-squeeze-64-LAMP:~/server$ The process id 29949 is the number you should see in your port.pid file (e.g. 2302.pid). Edit: just saw that the process number in the pid file is another one. It's the one the server binary is running, not the screen session I showed above. But nevertheless you then do a 'ps aux | grep your_port_number_from_the_file' and you see something like: epochtest@Debian-60-squeeze-64-LAMP:~/server$ ps aux | grep 16054 1000 16054 16.1 2.3 435708 377668 pts/1 Sl+ 16:57 0:11 ./server -server -mod=@napf;@dayz_epoch;@dayz_epoch_server; -config=../cfgserverax2413xc3571280.cfg -cfg=cfgdayz/basic.cfg -port=2314 -bepath=../battleye_a3chzx35 -beta=expansion;expansion/beta;expansion/beta/expansion; -noSound -noPause -world=Napf -profiles=cfgdayz -name=cfgdayz -cpucount=2 -exThreads=3 -showscripterrors -nologs -pid=2314.pid If you open your Arma2OA and you open the multiplayer menu...you click on button 'remote' and enter your ip and port there. After ok you should see the running server in the list. A double click connects you to the server. But ps aux commands should show you that there is something running. Link to comment Share on other sites More sharing options...
wardevour Posted January 5, 2015 Author Report Share Posted January 5, 2015 cool. i got: steam 22727 11.9 0.6 375756 318868 pts/5 Rl+ 11:55 0:20 ./epoch -server -mod=@dayz_epoch;@dayz_epoch_server; -config=cfgdayz/server.cfg -cfg=cfgdayz/basic.cfg -port=2302 -beta=expansion/beta;expansion/beta/expansion -noSound -noPause -world=Chernarus -profiles=cfgdayz -name=cfgdayz -cpucount=2 -exThreads=3 -showscripterrors -pid=2302.pid steam 22811 0.0 0.0 10464 920 pts/4 R+ 11:58 0:00 grep --color=auto 2302 but i've triple checked that the ports are forwarded and the tool to check the port still says 2302 is closed :( im only forwarding udp should i try tcp too? apache and ssh are working just fine and i didnt do anything differently when forwarding the ports except select only udp Link to comment Share on other sites More sharing options...
wardevour Posted January 5, 2015 Author Report Share Posted January 5, 2015 maybe this message?: [s_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. every other server i run gives this error and i usually ignore it but this is the first time ive told steam my server was a windows machine and im just being thorough Link to comment Share on other sites More sharing options...
wardevour Posted January 5, 2015 Author Report Share Posted January 5, 2015 well holy crap u were right. reguardless of the port checker it seems it shows up in the list just fine. thank you verrry much! Link to comment Share on other sites More sharing options...
jahangir13 Posted January 5, 2015 Report Share Posted January 5, 2015 No the messages which sound like issues are none. I guess you need to open both TCP and UDP ports...for all 3 ports. Port to connect to and the 2 steam ports from the server config. Link to comment Share on other sites More sharing options...
wardevour Posted January 5, 2015 Author Report Share Posted January 5, 2015 well im connecting just fine from a remote machine so udp is ok. now i gotta figure out how to add mods :D Link to comment Share on other sites More sharing options...
jahangir13 Posted January 5, 2015 Report Share Posted January 5, 2015 Ah ok ;) Very good. Sounds that it works now. There is no difference adding scripts/mods than under windows. So this works just always as mentioned in the description. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now