PDA

View Full Version : batch file question


MM983
11-27-2004, 10:54 AM
I have read two tutorials, one on steam's support site and one located here. This is in regards to the ip switch that posts your external IP.

Is it -ip <IPHERE> or +ip <IPHERE>?

the.programmer
11-27-2004, 10:56 AM
it's +ip

MM983
11-27-2004, 11:03 AM
Ok, I changed the switch to +ip.

Now when I execute the batch file I get this error message..

"Couldn't allocate dedicated server UDP port."


I tried a few different ports using +ip, same error.

I switch it back to -ip and it works fine. Interesting.

rakfl
11-27-2004, 11:33 AM
maby because -ip isnt doing anything?

the.programmer
11-27-2004, 12:03 PM
hmm, you may be right, because mine does the same thing, so i do it without the batch file, and the server works great!

70.241.117.220:27015

me and some other steampowered forum goers are playin in there :P come join :D

Frosty_Flames
11-28-2004, 12:14 AM
I run a 10 man server and I don't have either of the +ip or the -ip in the shortcut, i just have -port 27015 to anything about my IP or ports.

C:\WINNT\system32\CMD.EXE /c START /AboveNormal C:\CSS\srcds.exe -console -game cstrike -port 27015 -maxplayers 10 +map de_dust -pingbooster 1

This is exactaly what mine is, and works just dandy.

Something extra not related to post:
The /c START /AboveNormal forces the source server to abovenormal priority so its a little more stable. You could change it to /high, /realtime, /low, or any of the other prioritys.