Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: The search filter cannot be recognized #12

Open
AGChaney2762 opened this issue Aug 14, 2016 · 1 comment
Open

ERROR: The search filter cannot be recognized #12

AGChaney2762 opened this issue Aug 14, 2016 · 1 comment

Comments

@AGChaney2762
Copy link

ERROR: The search filter can not be recognized
Redirecting stderr to "C:\Users\Administrator\Desktop\steamcmd\logs\stderr.txt"
.....(Continues through update)....
ERROR: The search filter cannot be recognized
Invalid Format

`@ECHO OFF

::==============================::
:: SteamCMD Auto Updater 1.6 ::
:: Credits ::
:: C0nw0nk ::
::==============================::
:: https://github.com/C0nw0nk/SteamCMD-AutoUpdate-Any-Gameserver ::

:: This is the SteamDEV api key required for automatic updates ::
:: If you do not have one you may obtain your API key from here = http://steamcommunity.com/dev/apikey ::
set steamkey={SteamKeyIsEntered}

:: This is the required login for SteamCMD to download updates ::
:: example = login=C0nw0nk Password ::
:: For most game servers you do not require this and can leave it as anonymous ::
:: Certain game servers you have to use a username and password to install them ::
set login=anonymous

:: This is the directory you wish to install and keep your server updated to ::
set install_directory=C:\Users\Administrator\Desktop\SteamCMD-game-servers\Squad

:: This is for the directory where you installed steamcmd ::
:: http://media.steampowered.com/installer/steamcmd.zip ::
set steamcmd_path=C:\Users\Administrator\Desktop\steamcmd\steamcmd.exe

:: This is the path to the exe of the game server this allows us to close and run the server for and after a update ::
:: Other command line variables for srcds can be found here https://developer.valvesoftware.com/wiki/Command_Line_Options ::
:: Example ::
:: set exe_path=C:\game-servers\CSGO\srcds.exe -game csgo -console -nocrashdialog -port 27015 +clientport 27005 +game_type 0 +game_mode 0 +mapgroup mg_active +map de_dust2 ::
set exe_path=C:\Users\Administrator\Desktop\SteamCMD-game-servers\Squad\SquadServer.exe "MULTIHOME=64.237.34.58 Port=7787 QueryPort=27165 FIXEDMAXPLAYERS=72 FIXEDMAXTICKRATE=15 RANDOM=ALWAYS -log"

:: This is the title of your server this will help you know what server this auto updater is running for ::
set servername=NSA Squad Server

:: This is the app ID of the game server you are installing / running ::
set appid=403240

:: This is the app ID the url will check for updates on that game ::
:: Some games this is the same as the installation appid other games it is a different numeric value ::
:: if your latest-version.txt file is empty you need to make this value different to the installation appid, just go to the steam store page and get the appid from the end url ::
set update_appid=393380

:: Automatic Updating Interval (in seconds) this will set how often you check the steam servers for a new update ::
:: I recommend 5-10 mins maximum ::
:: Default value 60 seconds 1 minute ::
set interval=60

:: Suppress application error messages, Usualy when your game server crashes you get flagged the following error ::
:: "srcds.exe has stopped working. Windows can check online for a solution to the problem" ::
:: and even after disabling error reporting and the message above you will get the following message instead ::
:: "srcds.exe has stopped working. A problem caused the program to stop working correctly. Please close the program" ::
:: With the following setting the script will prevent all these errors and get your server back online as soon as a crash occurs ::
:: set to false to disable this feature ::
:: Use -nocrashdialog in exe_path to also help suppress server crashes ::
set suppress_errors=true

:: CURL Directory you may define the installation path of CURL if you moved the executables to another directory ::
:: Example ::
:: set curl_dir=C:\path\curl

:: CURL 32bit executable name ::
:: Downloaded from http://curl.haxx.se/download.html#Win32 ::
set curl32bit=curl-32bit.exe
:: CURL 64bit executable name ::
:: Downloaded from http://curl.haxx.se/download.html#Win64 ::
set curl64bit=curl-64bit.exe`

I get the error with both the CURL and VBScript version. I am using this script for multiple servers so I know it works, but I get this error with Squad.

@johanwintgens
Copy link

Hey I just resolved this on my end. In the set exe_path, escape your quotes like so: \"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants