wattz

Help with server.cfg

Recommended Posts

Hi , wondered if some kind soul could help me please , i have my server up and running but it seems some commands in the cfg's are not being read for example my gametype.cfg (cfg's outside of the server.cfg are exec'd) hardcore mode is not working unless i add it to the start up command line ,im using set scr_hardcore  1 in the cfg and other like health etc are not changing when altered in the cfg any ideas what is wrong or what i may be doing wrong ?

Also to save making multiple threads asking for help ,to make a high XP server is that just a command in the cfg or would i need a mod to achieve this ? and how to increase a server limit over the stock 32 max ?

Share this post


Link to post
Share on other sites

to execute gametype.cfg within another cfg use

exec gametype.cfg

you are setting hardcoremode correctly (it works with or without "")

set scr_hardcore "1"

somechanges only become active once you rotate to the next map, put a "map_rotate" at the end of your config file

to enable highxp you most likely want to modify the stock gsc scripts. i'm not explaining how this works here, there are some other threads about that topic.

setting more than 32 players is not possible on the stock server. you need the cod4x server (which is this forum about). you can get it here: http://cod4x.me/

some more information here:

https://github.com/D4edalus/CoD4x1.8_Server_Pub/blob/master/README.md

https://github.com/D4edalus/CoD4x1.8_Server_Pub/wiki/Server-setup

Share this post


Link to post
Share on other sites

As told in the server setup guide on the Cod4 X Github repo, it's not possible for every variable to be set in the config files. Think of if Punkbuster is enabled or not, how many players can join the server, etc. Setting the server to hardcore might be one of those variables as well. If that is the case, there is just no chance of setting it in the config file.

Share this post


Link to post
Share on other sites

As told in the server setup guide on the Cod4 X Github repo, it's not possible for every variable to be set in the config files. Think of if Punkbuster is enabled or not, how many players can join the server, etc. Setting the server to hardcore might be one of those variables as well. If that is the case, there is just no chance of setting it in the config file.

no, hardcore can be set in the config file

Share this post


Link to post
Share on other sites

Thanks for the replys :) , exec gametype.cfg is what i am using all ready in my server.cfg and i am all ready using the Cod4x server files before posting here and had followed the guide with the few cfg commands at https://github.com/D4edalus/CoD4x1.8_Server_Pub/wiki/Server-setup ,i will try put it higher than 32 in the command line and see how it goes :) ,strange how the hardcore option wont work for me via the cfg guess i will start over from scratch with the cfg and try adding 1 line at a time and make sure to have the map rotate like you suggested with any luck i can get it all working as intended ,thanks :)

Share this post


Link to post
Share on other sites

Please help. I have my server cod4x and i wonder how to make that server shows : Round Wining Kill, this is a replay at the end of each gameplay (like S&D). Is there any commands in server.cfg, that shows this replay.

If somebody help me, i will realy apriciated. Tnx.

Edited by King74

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.