Well I have been running a garrysmod server (not listening but dedicated) for quite a while now but then something happened. It needed an update. So, I had to read up on how to update the server, and found out how, so my hldsUpdateTool.exe was in my C:/scrds folder so i went to the cmd and went to the directory
My server was in a DIFFERENT folder entitled C:/srcds ("srcds" not "scrds") and so i wrote the following command
"HldsUpdateTool.exe -command Update -game garrysmod -dir C:/srcds"
A new window opened and it looked like it was updating, but then it repeated a command (cannot remember the command completely) and it went something like, CANNOT FIND UPDATE DIRECTORY IN C:/SRCDS...
so i stopped updating and tried it again, and again and again, using different directories and etc.
Then finally it happened, out of the blue, when i tried it one more time, it came up with an alert saying "HldsUpdateTool.exe is not seen as a Win32 operation" and in the cmd it said "Access is denied"
A was a little scared, but then i tried to run my server again... in seconds of starting up it instantly crashes, when ever i do it, the pop up runs, 2 lines get made and then POOF its gone...
I am nervous and was planning a server event in three days (Saturday Easter Australian Time) anyone have any idea what is going on and how to fix it, i would prefer not reinstalling the server
yea any help even a little help would be greatly appreciated,
EDIT: for people who need more information about the server and the system it is being run on here you go
OS: Windows 7 64 bit
RAM: 6 GB 2000p
Processor: i7 960
Motherboard: 1366p
Graphics Card: 460 GTX (1GB)
There is also another complication here. I run the server on my SSD (Solid State Driver) to make the server run faster, due to my SSD being only 64GB i only have windows and the server on it, my STEAM folder is on my HDD E: drive which has 2TB of ram, (1.81 TB if you count in 1024's ) so if that has any issues then please reply... When i get time ill reinstall hldsUpdateTool.exe, but the fact the console says its not a Win32 operation makes me a little worried.
EDIT2: Oh and here is some more information
The batch file i use to start my server goes as follows:
The SRCDS batch file (i forget what this is actually, but it does not work... if i start it it keeps spamming alerts at me and i have to restart my computer... probably has something to do with the problem i am not sure) goes like this:
Oh... yea the crash protection did not work... if anyone knows how to fix that it would be great. EDIT 3: and yea, after looking at the batch file i can see what i did wrong... wrong game.. wrong map... wrong amount of players i am fixing now. EDIT4: nope... still does not work, says it can't find Srcds.exe and spams me with alerts until i restart my computer... weird
My server_download.bat is this:
that's about it that i can view
My server was in a DIFFERENT folder entitled C:/srcds ("srcds" not "scrds") and so i wrote the following command
"HldsUpdateTool.exe -command Update -game garrysmod -dir C:/srcds"
A new window opened and it looked like it was updating, but then it repeated a command (cannot remember the command completely) and it went something like, CANNOT FIND UPDATE DIRECTORY IN C:/SRCDS...
so i stopped updating and tried it again, and again and again, using different directories and etc.
Then finally it happened, out of the blue, when i tried it one more time, it came up with an alert saying "HldsUpdateTool.exe is not seen as a Win32 operation" and in the cmd it said "Access is denied"
A was a little scared, but then i tried to run my server again... in seconds of starting up it instantly crashes, when ever i do it, the pop up runs, 2 lines get made and then POOF its gone...
I am nervous and was planning a server event in three days (Saturday Easter Australian Time) anyone have any idea what is going on and how to fix it, i would prefer not reinstalling the server
yea any help even a little help would be greatly appreciated,
EDIT: for people who need more information about the server and the system it is being run on here you go
OS: Windows 7 64 bit
RAM: 6 GB 2000p
Processor: i7 960
Motherboard: 1366p
Graphics Card: 460 GTX (1GB)
There is also another complication here. I run the server on my SSD (Solid State Driver) to make the server run faster, due to my SSD being only 64GB i only have windows and the server on it, my STEAM folder is on my HDD E: drive which has 2TB of ram, (1.81 TB if you count in 1024's ) so if that has any issues then please reply... When i get time ill reinstall hldsUpdateTool.exe, but the fact the console says its not a Win32 operation makes me a little worried.
EDIT2: Oh and here is some more information
The batch file i use to start my server goes as follows:
Code:
@echo off
cd c:\srcds/orangebox
echo Starting game server.
echo Beginning "Garry's Mod"
srcds.exe -console -game garrysmod -port 27015 +map gm_construct +maxplayers 15
echo "Garry's Mod" has now started.
echo It is recommended that you start Server Crash Recovery aswell.
The SRCDS batch file (i forget what this is actually, but it does not work... if i start it it keeps spamming alerts at me and i have to restart my computer... probably has something to do with the problem i am not sure) goes like this:
Code:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game cstrike +map de_dust +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Oh... yea the crash protection did not work... if anyone knows how to fix that it would be great. EDIT 3: and yea, after looking at the batch file i can see what i did wrong... wrong game.. wrong map... wrong amount of players i am fixing now. EDIT4: nope... still does not work, says it can't find Srcds.exe and spams me with alerts until i restart my computer... weird
My server_download.bat is this:
Code:
@echo off
cd c:\srcds\
echo This will take a long time, I would recommend you go do something else.
echo Updating/installing CS:S
hldsupdatetool -command update -game "Counter-Strike Source" -dir C:\srcds
echo Updating/installing dods
hldsupdatetool -command update -game "dods" -dir C:\srcds
echo Updating/installing hl2mp
hldsupdatetool -command update -game "hl2mp" -dir C:\srcds
echo Updating/installing tf
hldsupdatetool -command update -game "tf" -dir C:\srcds
echo Updating/installing Garrysmod
hldsupdatetool -command update -game garrysmod -verify_all -retry -dir C:\srcds
echo Update/installation Complete
echo Installed to c:\srcds\
echo Your server is now ready to use!
echo To add extra addons or maps etc. place them in c:\srcds\orangebox\garrysmod\
echo This installer can also update necessary server files, so it is recommended that you run it often.
pause
that's about it that i can view