ep1p Posted August 19, 2002 Share Posted August 19, 2002 Hi. Im running 2 servers on the one machine at the moment, but they both seem to want to open on the same port. Both use an identical startup script less port + dir variables as you can see here: #!/bin/sh dir="/servers/jk2_02/" port="28080" ip="xx.xx.xx.xx" players="20" map="ffa_bespin" [snip] ./jk2ded +set sv_maxclients $players +set net_ip $ip +net_port $port +map $map +exec server.cfg 2>&1 >/dev/null I can get it to bind to the correct IP like that, but it always loads the second server onto 28070 instead of 28080 Also, how can I stop the server dumping all output to stdout when it loads.. /dev/null be much nicer ;-) (and I don't want to use screen). cheers. john Link to comment Share on other sites More sharing options...
ep1p Posted August 19, 2002 Author Share Posted August 19, 2002 (sorry about multiple posts. it came up with php errors when i did it last night.. and when i came in thsi morning there werent any of mine listed) Link to comment Share on other sites More sharing options...
rivmin Posted August 23, 2002 Share Posted August 23, 2002 Hi, you are missing 'set' in front of 'net_port'. Link to comment Share on other sites More sharing options...
ep1p Posted August 23, 2002 Author Share Posted August 23, 2002 I'll try it. thx. john Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.