OpenGamePanel / OGP-Website

GNU General Public License v2.0
127 stars 105 forks source link

EDIT SERVER COMMAND LINE #239

Closed damian1231 closed 6 years ago

damian1231 commented 6 years ago

Hi surely there must be some way to edit the command line on a CSS Server to add "-fps_max" and "-tickrate"

ghost commented 6 years ago

You can edit the game .xml or configurations in the panel to add any parameters you would like Seek https://github.com/OpenGamePanel/OGP-Website/wiki/XML-Notes

damian1231 commented 6 years ago

Please explain more detail where i add -tickrate 100 to the command line in this::

css_linux32 lgsl source steamcmd Counter Strike Source srcds_run %GAME_TYPE% %PID_FILE% %MAP% %IP% %PORT% %PLAYERS% cstrike/maps/ cstrike/maplist.txt 64 rcon2 none 232330 anonymous rcon_password.* rcon_password cstrike/cfg/server.cfg sq hostname.* hostname cstrike/cfg/server.cfg sq Auto-Update The server will automatically download official updates as they are released. Disable Valve Anti-Cheat Will start the server without Valve Anti-Cheat technology. No SourceTV Disables SourceTV and closes its port. No Restart Won't attempt to restart failed servers. Disable master server communication sv_maxrate.* 0 sv_maxrate cstrike/cfg/server.cfg s Max bandwidth rate allowed on server ( bytes per second ), 0 == unlimited. sv_minrate.* 5000 sv_minrate cstrike/cfg/server.cfg s Min bandwidth rate allowed on server ( bytes per second ), 0 == unlimited. sv_maxcmdrate.* 66 sv_maxcmdrate cstrike/cfg/server.cfg s If sv_mincmdrate is > 0, this sets the maximum value for cl_cmdrate. sv_mincmdrate.* 67 sv_mincmdrate cstrike/cfg/server.cfg s This sets the minimum value for cl_cmdrate. 0 == unlimited. sv_maxupdaterate.* 66 sv_maxupdaterate cstrike/cfg/server.cfg s Maximum updates per second that the server will allow. sv_minupdaterate.* 67 sv_minupdaterate cstrike/cfg/server.cfg s Minimum updates per second that the server will allow. status #\#\s*(\d*)\s*\"(.*)\".*# userid Name kick "%Name%" banid %input% %userid% kick new nick sm_rename #%userid% "%input%"
damian1231 commented 6 years ago
%GAME_TYPE% %PID_FILE% %MAP% %IP% %PORT% %PLAYERS% %TICKRATE%

Like this or?

damian1231 commented 6 years ago

XML file 'modules/config_games/server_configs/counterstrike_source.xml' could not be validated with schema 'modules/config_games/schema_server_config.xml'. ?:/

damian1231 commented 6 years ago

omg all i want to do is edit the server command line wtf is this??? surely there is an easy way to just add it in ???

Adjokip commented 6 years ago

You don't need to edit that file.

Before starting the server, you should see a box above the start button titled "Extra Parameters" ... entering -tickrate 100 before starting will set the tickrate to 100. See here.

As for the validation error, it's because options can't be 100.

own3mall commented 6 years ago

If you can't see the extra parameters box, you'll need to fix the OGP permissions on that game server home using the panel.