Jump to content

cmd line and cod4


revhosting

Recommended Posts

I've a strange problem with cod4. I'm using this default cmd line.

iw3mp.exe +set fs_savepath $[service.UserDirectory] +set dedicated 2 +set net_ip $[service.IpAddress] +set net_port $[service.GamePort] +set sv_maxclients $[service.Slots] +set sv_punkbuster "1" +exec server.cfg +map_rotate

I create cod4 server with tcadmin2 but server doesn't start properly. In task manager iw3mp.exe is stucked with 1.700 K memory even if i switch different command lines (nothing in log files). When i run the server with a bat file manually it works and from this moment it works on tcadmin2 too. It's like if iw3mp.exe needs a bat file to start the first time :confused:

Link to comment
Share on other sites

This was fixed by adding this batch script on the before start event:

IF NOT EXIST __iw3mp GOTO END

attrib -h __iw3mp
DEL __iw3mp

:END

Next time you can troubleshoot in Windows using the TCAdmin Service Browser. Select the service and click on the Show Interactive Service button. You can see the game console and check for errors. In this case it had a prompt asking if you want to start in safe mode. This message is removed by deleting __iw3mp.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 175 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use