degen223 Posted March 5, 2010 Share Posted March 5, 2010 Ok so i am setting my servers up using the cmd line changer and making certain options like fps and tickrate not available to the customers. Now the problem is when they make there own cmd line for instance if they want to change the start map the cmd line goes back to standard. I even set the overright so that the default will be the config i want for them. But when they make there new cmd line nothing is added except the standard stuff.. Theres no tick rate or fps options. These options cant be public only the server.cfg exec and the map. So how can i get this to work so that they can change the cmd line without it reverting to no tick rate or fps settings. Link to comment Share on other sites More sharing options...
lpgservers Posted March 5, 2010 Share Posted March 5, 2010 Setup your commandline exactly how you want it under Default. Then set your commandline without a map and simply add this at the end of that commandline %usercmdline% Make sure that if you need a space before your last entry of your command line that you leave a space between it and %usercmdline% If you don't need a space then close the gap. Example CSS below Command:+map Space after is checkmarked if a space is needed--here it is Equal Sign: Deny Characters:fps,tick,tv, This denies whatever entries you don't want them to add Description:Choose Map, example: de_dust2 Space After User Input: You'll have to determine depending on your setup if you need one Enclose Quotes: If the entry that a customer is going to make contains a space, you'll need quotes enabled User Access: Self Explanatory User Can Set Value: If you have a defined value that you don't want them to change then don't check it, if they need to enter a value then you need this checked. Hopefully that helps! Link to comment Share on other sites More sharing options...
degen223 Posted March 6, 2010 Author Share Posted March 6, 2010 That works all well but as soon as they edit it when it re creates there new cmd line with there options it will not add the default tick rate and fps. So looks like ill have to remove that function and get them to contact support to get it changed. Link to comment Share on other sites More sharing options...
lpgservers Posted March 6, 2010 Share Posted March 6, 2010 OK, your two command lines should like this then -game cstrike -console -autoupdate +ip %serverip% -port %serverport% +maxplayers %slots% +exec server.cfg -tickrate 100 +fps_max 550 -tvdisable +map de_dust2 Now your enable command line builder for users should look like this -game cstrike -console -autoupdate +ip %serverip% -port %serverport% +maxplayers %slots% +exec server.cfg -tickrate 100 +fps_max 550 -tvdisable %usercmdline% Now when they use the command line builder, the only thing being changed is the usercmdline at the end. All other settings are hard coded by you. Also disallowing key items may be overkill with them listed in the beginning of the cmd line but I do it just to be certain they can't alter them. Hopefully you see now this will do everything you need to and how. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.