• Server Startup Script Priority Issue
    4 replies, posted
I am trying to set the priority of scrds.exe to abovenormal via my launch script. Help? [CODE]set servername=UnrivaledRP set runcmd=srcds.exe -console -game "garrysmod" -maxplayers "50" -port "27015" -tickrate "66" @echo off title %servername% cls echo %servername% rcon protection loaded. echo %servername% is now starting.. :restart echo ( %date% , %time% ) %servername% is fully loaded, join now! start %runcmd% wmic process where name="srcds.exe" CALL setpriority 32768 echo ( %date% , %time% ) Server restarted, crashed or was shutdown. echo %servername% is now restarting... goto restart[/CODE]
--snip-- Thought of the wrong thing sorry
[QUOTE=PERPGamer;49555036]--snip-- Thought of the wrong thing sorry[/QUOTE] Thanks anyways! (:
[QUOTE=Chibby;49554996]I am trying to set the priority of scrds.exe to abovenormal via my launch script. Help? [CODE]set servername=UnrivaledRP set runcmd=srcds.exe -console -game "garrysmod" -maxplayers "50" -port "27015" -tickrate "66" @echo off title %servername% cls echo %servername% rcon protection loaded. echo %servername% is now starting.. :restart echo ( %date% , %time% ) %servername% is fully loaded, join now! start %runcmd% wmic process where name="srcds.exe" CALL setpriority 32768 echo ( %date% , %time% ) Server restarted, crashed or was shutdown. echo %servername% is now restarting... goto restart[/CODE][/QUOTE] *Snip* Nevermind, stupid question. I see the answer. But, if im not mistaken scrds.exe needs to be ordered in a hierarchy on its own code, it cant piggyback your server startup code.(I hope that makes sense, it made more sense in my mind) Hope that helps
Solved, just removed the rcon protection. No big deal really! (:
Sorry, you need to Log In to post a reply to this thread.