Re: [hlds_linux] Autoupdate CS2 linux dedicated server

2023-12-09 Thread StealthMode Hu
Maybe when Im done this recompile of CS:Source into Source 2. Without the
CSGO2 stuff...
That server should be easily modded to startup DS, run scripted functions
during startup.
Like Steam Client, to auto-check for updates on startup.

DS should have that same function hardcoded into SteamCMD.

Cough, Eric Smith, Challenge Issued.

Compile the Autoupdater into SteamCMD.
And have that script
" app_update 730 validate "
Automatically execute upon login to the acct.

No need for server admin to do this themselves.
When the process is automated for Clients.

Come on E.
We built STEAM for this stuff.
" Content Delivery Management System "
aka
" A Napster like Real Time Client Server Updater "...

No need for this archaic updating in these modern times.

Step it up E. Smith.

EndComms.

-StealthMode
Project Manager
Black Operations Development Group

On Thu, Dec 7, 2023 at 4:05 PM Mecha Weasel 
wrote:

> Contact information if you want a copy of what I've got ...
> --
>
> Contact Information ...
> *Discord:* weasel.steamid.155
> *E-Mail:* wea...@weaselslair.com
> *Steam Profile:* https://steamcommunity.com/id/Weasel/
> *Steam Group:* https://steamcommunity.com/groups/WeaselsLair/
> --
>
>
>
>
> On Thu, Dec 7, 2023 at 1:18 AM Marcel Beringer - ruffneck at geforce.nl
> (via hlds_linux list)  wrote:
>
>> Hi Mecha,
>>
>> Thanks for your reply.
>>
>> May I ask what your update script looks like? Maybe it's an idea to use
>> cron and do a daily update(s) in stead of checking the API.
>>
>> Looking forward to hear from you.
>>
>> Best regards,
>>
>> Marcel
>>
>>
>> On 07/12/2023 05:01, Mecha Weasel wrote:
>>
>> I am doing basically the same thing I do with other Source games:
>>
>> I have a "check" script that runs every hour.  It checks information from
>> the game's steam.inf file using the Steam API update check URL (example:
>> http://api.steampowered.com/ISteamApps/UpToDateCheck/v1?appid=$SERVER_APPID&version=$SERVER_CURRENT_VERSION&format=xml)
>> to see if a newer version of the app is available in Steam.
>>
>> If so, it then kicks-off an "update" script that basically invokes the
>> SteamCMD app update for that appid (730 now for CS).
>>
>> Seems to be working, but still keeping an eye on it.
>>
>>
>> On Wed, Dec 6, 2023 at 1:00 AM Marcel Beringer - ruffneck at geforce.nl
>> (via hlds_linux list)  wrote:
>>
>>> Hi,
>>>
>>> Is there a solution for auto updating a CS2 dedicated server on linux?
>>>
>>> Does '-autoupdate' do the trick in the startup line?
>>>
>>> I hope someone has a solution, I am now daily updating manually with
>>> 'steamcmd' and 'app_update 730'.
>>>
>>> Best regards,
>>>
>>> Marcel
>>> ___
>>> To unsubscribe, edit your list preferences, or view the list archives,
>>> please visit:
>>> https://list.valvesoftware.com/
>>>
>> ___
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> https://list.valvesoftware.com/
>>
>>
>> ___
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> https://list.valvesoftware.com/
>>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/
>
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/

Re: [hlds_linux] Autoupdate CS2 linux dedicated server

2023-12-07 Thread Mecha Weasel
Contact information if you want a copy of what I've got ...
--

Contact Information ...
*Discord:* weasel.steamid.155
*E-Mail:* wea...@weaselslair.com
*Steam Profile:* https://steamcommunity.com/id/Weasel/
*Steam Group:* https://steamcommunity.com/groups/WeaselsLair/
--




On Thu, Dec 7, 2023 at 1:18 AM Marcel Beringer - ruffneck at geforce.nl
(via hlds_linux list)  wrote:

> Hi Mecha,
>
> Thanks for your reply.
>
> May I ask what your update script looks like? Maybe it's an idea to use
> cron and do a daily update(s) in stead of checking the API.
>
> Looking forward to hear from you.
>
> Best regards,
>
> Marcel
>
>
> On 07/12/2023 05:01, Mecha Weasel wrote:
>
> I am doing basically the same thing I do with other Source games:
>
> I have a "check" script that runs every hour.  It checks information from
> the game's steam.inf file using the Steam API update check URL (example:
> http://api.steampowered.com/ISteamApps/UpToDateCheck/v1?appid=$SERVER_APPID&version=$SERVER_CURRENT_VERSION&format=xml)
> to see if a newer version of the app is available in Steam.
>
> If so, it then kicks-off an "update" script that basically invokes the
> SteamCMD app update for that appid (730 now for CS).
>
> Seems to be working, but still keeping an eye on it.
>
>
> On Wed, Dec 6, 2023 at 1:00 AM Marcel Beringer - ruffneck at geforce.nl
> (via hlds_linux list)  wrote:
>
>> Hi,
>>
>> Is there a solution for auto updating a CS2 dedicated server on linux?
>>
>> Does '-autoupdate' do the trick in the startup line?
>>
>> I hope someone has a solution, I am now daily updating manually with
>> 'steamcmd' and 'app_update 730'.
>>
>> Best regards,
>>
>> Marcel
>> ___
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> https://list.valvesoftware.com/
>>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/
>
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/

Re: [hlds_linux] Autoupdate CS2 linux dedicated server

2023-12-07 Thread Mecha Weasel
PS: I have had weird issues before with trying to do an update on a
SteamCMD-delivered app, while it is running.  So, I always shut-it down
before trying to update it, and then restart it afterwards.  So, my "check"
script does that (only if an update is available).

On Thu, Dec 7, 2023 at 3:07 AM Marcel Beringer - ruffneck at geforce.nl
(via hlds_linux list)  wrote:

> I figured out the automated check:
>
> /usr/games/steamcmd +force_install_dir "/home/beringer/cs2-ds" +login
>  +app_update 730 +quit
>
> And have it mailed to me:
>
> /usr/games/steamcmd +force_install_dir "/home/beringer/cs2-ds" +login
>  +app_update 730 +quit | mail -s "Counter-Strike 2 update"
> 
>
> And put it in cron for a daily check at 6AM and 6PM:
>
> 0 6,18 * * * /usr/games/steamcmd +force_install_dir
> "/home/beringer/cs2-ds" +login  +app_update 730 +quit | mail
> -s "Counter-Strike 2 update" 
>
> Still have to restart the server after an update, but at least now I get a
> notification and see if there was an update, so at the moment this works
> for me :)
>
> Regards,
>
> Marcel
>
>
> On 07/12/2023 10:18, Marcel Beringer wrote:
>
> Hi Mecha,
>
> Thanks for your reply.
>
> May I ask what your update script looks like? Maybe it's an idea to use
> cron and do a daily update(s) in stead of checking the API.
>
> Looking forward to hear from you.
>
> Best regards,
>
> Marcel
>
>
> On 07/12/2023 05:01, Mecha Weasel wrote:
>
> I am doing basically the same thing I do with other Source games:
>
> I have a "check" script that runs every hour.  It checks information from
> the game's steam.inf file using the Steam API update check URL (example:
> http://api.steampowered.com/ISteamApps/UpToDateCheck/v1?appid=$SERVER_APPID&version=$SERVER_CURRENT_VERSION&format=xml)
> to see if a newer version of the app is available in Steam.
>
> If so, it then kicks-off an "update" script that basically invokes the
> SteamCMD app update for that appid (730 now for CS).
>
> Seems to be working, but still keeping an eye on it.
>
>
> On Wed, Dec 6, 2023 at 1:00 AM Marcel Beringer - ruffneck at geforce.nl
> (via hlds_linux list)  wrote:
>
>> Hi,
>>
>> Is there a solution for auto updating a CS2 dedicated server on linux?
>>
>> Does '-autoupdate' do the trick in the startup line?
>>
>> I hope someone has a solution, I am now daily updating manually with
>> 'steamcmd' and 'app_update 730'.
>>
>> Best regards,
>>
>> Marcel
>> ___
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> https://list.valvesoftware.com/
>>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/
>
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/
>
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/

Re: [hlds_linux] Autoupdate CS2 linux dedicated server

2023-12-07 Thread Mecha Weasel
You can use cron job to force an update dailly, but that may mean nobody
can play on your server for most of a day while waiting for it to be
updated.
That's why I created the scripts the "check" if the released version in
Steam is different that whats already running.
If it is, then it forces and update, otherwise it doesn't do anything.
That way I can have that run more regularly (hourly) and automatically
apply the update.

I have several scripts involved actually, not just one.
- Script that "runs" the server interactively under SSH.
- Script that "starts" the run script in the background using GNU Screen
utility - giving it a name to use to reconnect or stop it later.
- Script that "stops" the server running under GNU Screen utility above.
- Script that "updates" the server forcibly using SteamCMD.
- Script that "checks" to see if an update should be applied.

There's lots of other maintenance stuff my scripts do to (zip old log
files, re-enforce some permissions that might get messed-up, overwrite some
critical customized files after an update, etc.).

I can e-mail you a copy of my "check" script for CS2 for reference, but you
wont be able to use it directly because of all the external
dependencies (calling my other scripts, etc.).
But if it helps you see how to parse the steam.ini file, the Steam API
call's results, etc - certainly willing to share.

On Thu, Dec 7, 2023 at 1:18 AM Marcel Beringer - ruffneck at geforce.nl
(via hlds_linux list)  wrote:

> Hi Mecha,
>
> Thanks for your reply.
>
> May I ask what your update script looks like? Maybe it's an idea to use
> cron and do a daily update(s) in stead of checking the API.
>
> Looking forward to hear from you.
>
> Best regards,
>
> Marcel
>
>
> On 07/12/2023 05:01, Mecha Weasel wrote:
>
> I am doing basically the same thing I do with other Source games:
>
> I have a "check" script that runs every hour.  It checks information from
> the game's steam.inf file using the Steam API update check URL (example:
> http://api.steampowered.com/ISteamApps/UpToDateCheck/v1?appid=$SERVER_APPID&version=$SERVER_CURRENT_VERSION&format=xml)
> to see if a newer version of the app is available in Steam.
>
> If so, it then kicks-off an "update" script that basically invokes the
> SteamCMD app update for that appid (730 now for CS).
>
> Seems to be working, but still keeping an eye on it.
>
>
> On Wed, Dec 6, 2023 at 1:00 AM Marcel Beringer - ruffneck at geforce.nl
> (via hlds_linux list)  wrote:
>
>> Hi,
>>
>> Is there a solution for auto updating a CS2 dedicated server on linux?
>>
>> Does '-autoupdate' do the trick in the startup line?
>>
>> I hope someone has a solution, I am now daily updating manually with
>> 'steamcmd' and 'app_update 730'.
>>
>> Best regards,
>>
>> Marcel
>> ___
>> To unsubscribe, edit your list preferences, or view the list archives,
>> please visit:
>> https://list.valvesoftware.com/
>>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/
>
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/

Re: [hlds_linux] Autoupdate CS2 linux dedicated server

2023-12-07 Thread via hlds_linux list

I figured out the automated check:

/usr/games/steamcmd +force_install_dir "/home/beringer/cs2-ds" +login 
 +app_update 730 +quit


And have it mailed to me:

/usr/games/steamcmd +force_install_dir "/home/beringer/cs2-ds" +login 
 +app_update 730 +quit | mail -s "Counter-Strike 2 update" 



And put it in cron for a daily check at 6AM and 6PM:

0 6,18 * * * /usr/games/steamcmd +force_install_dir 
"/home/beringer/cs2-ds" +login  +app_update 730 +quit | 
mail -s "Counter-Strike 2 update" 


Still have to restart the server after an update, but at least now I get 
a notification and see if there was an update, so at the moment this 
works for me :)


Regards,

Marcel


On 07/12/2023 10:18, Marcel Beringer wrote:

Hi Mecha,

Thanks for your reply.

May I ask what your update script looks like? Maybe it's an idea to 
use cron and do a daily update(s) in stead of checking the API.


Looking forward to hear from you.

Best regards,

Marcel


On 07/12/2023 05:01, Mecha Weasel wrote:

I am doing basically the same thing I do with other Source games:

I have a "check" script that runs every hour.  It checks information 
from the game's steam.inf file using the Steam API update check URL 
(example: 
http://api.steampowered.com/ISteamApps/UpToDateCheck/v1?appid=$SERVER_APPID&version=$SERVER_CURRENT_VERSION&format=xml 
) 
to see if a newer version of the app is available in Steam.


If so, it then kicks-off an "update" script that basically invokes 
the SteamCMD app update for that appid (730 now for CS).


Seems to be working, but still keeping an eye on it.


On Wed, Dec 6, 2023 at 1:00 AM Marcel Beringer - ruffneck at 
geforce.nl  (via hlds_linux list) 
 wrote:


Hi,

Is there a solution for auto updating a CS2 dedicated server on
linux?

Does '-autoupdate' do the trick in the startup line?

I hope someone has a solution, I am now daily updating manually with
'steamcmd' and 'app_update 730'.

Best regards,

Marcel
___
To unsubscribe, edit your list preferences, or view the list
archives,
please visit:
https://list.valvesoftware.com/

___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/




___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/

Re: [hlds_linux] Autoupdate CS2 linux dedicated server

2023-12-07 Thread via hlds_linux list

Hi Mecha,

Thanks for your reply.

May I ask what your update script looks like? Maybe it's an idea to use 
cron and do a daily update(s) in stead of checking the API.


Looking forward to hear from you.

Best regards,

Marcel


On 07/12/2023 05:01, Mecha Weasel wrote:

I am doing basically the same thing I do with other Source games:

I have a "check" script that runs every hour.  It checks information 
from the game's steam.inf file using the Steam API update check URL 
(example: 
http://api.steampowered.com/ISteamApps/UpToDateCheck/v1?appid=$SERVER_APPID&version=$SERVER_CURRENT_VERSION&format=xml 
) 
to see if a newer version of the app is available in Steam.


If so, it then kicks-off an "update" script that basically invokes the 
SteamCMD app update for that appid (730 now for CS).


Seems to be working, but still keeping an eye on it.


On Wed, Dec 6, 2023 at 1:00 AM Marcel Beringer - ruffneck at 
geforce.nl  (via hlds_linux list) 
 wrote:


Hi,

Is there a solution for auto updating a CS2 dedicated server on linux?

Does '-autoupdate' do the trick in the startup line?

I hope someone has a solution, I am now daily updating manually with
'steamcmd' and 'app_update 730'.

Best regards,

Marcel
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/

___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/


___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/

Re: [hlds_linux] Autoupdate CS2 linux dedicated server

2023-12-06 Thread Mecha Weasel
I am doing basically the same thing I do with other Source games:

I have a "check" script that runs every hour.  It checks information from
the game's steam.inf file using the Steam API update check URL (example:
http://api.steampowered.com/ISteamApps/UpToDateCheck/v1?appid=$SERVER_APPID&version=$SERVER_CURRENT_VERSION&format=xml)
to see if a newer version of the app is available in Steam.

If so, it then kicks-off an "update" script that basically invokes the
SteamCMD app update for that appid (730 now for CS).

Seems to be working, but still keeping an eye on it.


On Wed, Dec 6, 2023 at 1:00 AM Marcel Beringer - ruffneck at geforce.nl
(via hlds_linux list)  wrote:

> Hi,
>
> Is there a solution for auto updating a CS2 dedicated server on linux?
>
> Does '-autoupdate' do the trick in the startup line?
>
> I hope someone has a solution, I am now daily updating manually with
> 'steamcmd' and 'app_update 730'.
>
> Best regards,
>
> Marcel
> ___
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> https://list.valvesoftware.com/
>
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/

[hlds_linux] Autoupdate CS2 linux dedicated server

2023-12-06 Thread via hlds_linux list

Hi,

Is there a solution for auto updating a CS2 dedicated server on linux?

Does '-autoupdate' do the trick in the startup line?

I hope someone has a solution, I am now daily updating manually with 
'steamcmd' and 'app_update 730'.


Best regards,

Marcel
___
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
https://list.valvesoftware.com/