ULX

Author Topic: Why the am i having valve.rc not executing on my garrys mod deicated source  (Read 4868 times)

0 Members and 1 Guest are viewing this topic.

Offline Lewis

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
dear helpers,

I tried removing valve.rc file and add it back again but when i run my server i always get valve.rc not present; not excecuting can anyone fix this plzzz!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I also did some adding but im sure i didnt do anything wrong because i just deleted that and it still happens to be there...

Thanks Lewis

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Can you please post the code you use to both start your server and update your server?

Remember to surround them in [code][/code] tags.
bw81@ulysses-forums ~ % whoami
Homepage

Offline Lewis

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Code: [Select]
@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 garrysmod +map gm_flatgrass +maxplayers 32
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
Code: [Select]
@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 garrysmod +map gm_flatgrass +maxplayers 32
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Do you have your update script as well?
Also, code tags work like this:
[code]<your code here>[/code]
:P
bw81@ulysses-forums ~ % whoami
Homepage

Offline Lewis

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
what one??

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
what one??
What code do you use to update your server files?
(How did you install your server?)
bw81@ulysses-forums ~ % whoami
Homepage

Offline Lewis

  • Newbie
  • *
  • Posts: 12
  • Karma: 0

Offline Bytewave

  • Respected Community Member
  • Hero Member
  • *****
  • Posts: 718
  • Karma: 116
  • :)
    • My Homepage
STEAMCMD
Hm...

Try adding validate to the end of app_update.

Example:
Code: [Select]
app_update 4020 validate
If you use a shell or batch script, add a + in front of app_update. Otherwise, leave it out.
bw81@ulysses-forums ~ % whoami
Homepage

Offline Lewis

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Thank you it worked perfectly!

Topic closed!

Problem sorted