Posts: 1
Threads: 1
Joined: May 2005
Reputation:
0
hey i've started a server but now i see that the ip is set on my local ip sow 192.168.0.1,
but i whant it to able for extern connection to.
NETWORK is already set on INTERNET.
is ther a way so i can change the ip in SRCDS command, or can i just select my netwerk adaptor.
THX.
Posts: 367
Threads: 14
Joined: Dec 2004
Reputation:
0
command line:
+ip xxx.xxx.xxx.xxx
Posts: 6
Threads: 0
Joined: May 2005
Reputation:
0
No, if you want to specify an IP for your Dedicated server you must put in your command line only. Putting it in your server.cfg will do nothing but generate an error in srcds script.
just add this in your the commandline:
+ip xxx.xxx.xxx.xxx
This is the command line on my server for e.g.
start /high /wait srcds.exe -heapsize 65536 -console -game cstrike +ip xxx.xxx.xxx.xxx +maxplayers 12 +map de_aztec +servercfgfile match.cfg +mapcyclefile mapcycle.txt +motdfile motd.txt -tickrate 66
I made a batch file so you dont have to type all the time.
Posts: 43
Threads: 5
Joined: Aug 2005
Reputation:
0
You can put it in your server config and take it out of your command line as sometimes putting an ip in your command line causes problems especially if like mine were it couldn't assign UDP port.
Posts: 463
Threads: 12
Joined: Jul 2005
Reputation:
0
Sometimes +ip WILL CREATE the UDP port issue. I only run one SRCDS at a time so I just add it to the server.cfg file. It will give the same error if it is placed within the autoexec.cfg file