Raised This Month: $51 Target: $400
 12% 

The best way to update automatic csgo


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mahmoodi.1313
Senior Member
Join Date: Aug 2014
Location: Steamboat Springs, USA
Old 06-11-2015 , 05:25   The best way to update automatic csgo
Reply With Quote #1

hello
The best way or plugin for automatic server update csgo steam?
(Windows server)
mahmoodi.1313 is offline
micazoid
Veteran Member
Join Date: Oct 2010
Location: Munich - Germany
Old 06-11-2015 , 06:03   Re: The best way to update automatic csgo
Reply With Quote #2

Batchscript
__________________
micazoid is offline
mahmoodi.1313
Senior Member
Join Date: Aug 2014
Location: Steamboat Springs, USA
Old 06-11-2015 , 06:48   Re: The best way to update automatic csgo
Reply With Quote #3

Quote:
Originally Posted by micazoid View Post
Batchscript
Ty,
Can you post the help and the file?
mahmoodi.1313 is offline
mahmoodi.1313
Senior Member
Join Date: Aug 2014
Location: Steamboat Springs, USA
Old 06-12-2015 , 01:39   Re: The best way to update automatic csgo
Reply With Quote #4

Please help me ...
mahmoodi.1313 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 06-12-2015 , 03:21   Re: The best way to update automatic csgo
Reply With Quote #5

Quote:
Originally Posted by mahmoodi.1313 View Post
Please help me ...
Please respect the AlliedModders Rules:

Quote:
Do not "bump" your threads. Bumping is posting simply to make the thread higher in the forum sort order.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 06-12-2015 , 03:30   Re: The best way to update automatic csgo
Reply With Quote #6

There is a site you can query on the steam API (UpToDateCheck or something like that) where you can grab the latest server version, and also read the current server version from steam.inf. I have no idea how to do all that within SM however.

https://wiki.teamfortress.com/wiki/WebAPI/UpToDateCheck

That might be relevant. Just replace the game ID with the CS:GO server's app ID.

(Though I don't think it's possible to do it within SM, unless you somehow run the updater file right before you terminate the server. Most likely you may need an external program or script to do it.)

Last edited by Potato Uno; 06-12-2015 at 03:31.
Potato Uno is offline
neatek
AlliedModders Donor
Join Date: Jul 2010
Location: Russia
Old 06-12-2015 , 05:00   Re: The best way to update automatic csgo
Reply With Quote #7

Quote:
Originally Posted by Potato Uno View Post
There is a site you can query on the steam API (UpToDateCheck or something like that) where you can grab the latest server version, and also read the current server version from steam.inf. I have no idea how to do all that within SM however.

https://wiki.teamfortress.com/wiki/WebAPI/UpToDateCheck

That might be relevant. Just replace the game ID with the CS:GO server's app ID.

(Though I don't think it's possible to do it within SM, unless you somehow run the updater file right before you terminate the server. Most likely you may need an external program or script to do it.)
Very big thank you!!! I searched for it everywhere and finally found

Its not working for CS:GO
Code:
{
	"response": {
		"success": false,
		"error": "Couldn't get app info for the app specified."
	}
}
How to get in logs these lines?
__________________

Last edited by neatek; 06-12-2015 at 05:44.
neatek is offline
mahmoodi.1313
Senior Member
Join Date: Aug 2014
Location: Steamboat Springs, USA
Old 06-12-2015 , 12:32   Re: The best way to update automatic csgo
Reply With Quote #8

[TF2] Automatic Steam Update
Someone has used this plugin?
https://forums.alliedmods.net/showthread.php?t=170532
mahmoodi.1313 is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 06-12-2015 , 12:58   Re: The best way to update automatic csgo
Reply With Quote #9

Quote:
Originally Posted by neatek View Post
Very big thank you!!! I searched for it everywhere and finally found

Its not working for CS:GO
Code:
{
	"response": {
		"success": false,
		"error": "Couldn't get app info for the app specified."
	}
}
How to get in logs these lines?
http://api.steampowered.com/ISteamAp...000&format=xml

Apparently in my updater program I used the client app ID and not the server one. The server one doesn't seem to exist. Try using this URL? (Replace version=13000 with the version number from steam.inf, or else it will always return outdated.) App ID #730 is the CS:GO client (740 is the server, but 730 exists and 740 doesn't).

As for how to log those console messages, add "-condebug" to your launch parameters. Here is the TF2 example:

PHP Code:
srcds.exe -console -game tf +maxplayers 32 +sv_lan 0 +map mvm_bigrock -condebug 
Then inside your /csgo/ folder (where /addons/, /maps/, and such are located) there should be a file called "console.log" with the logged data in it.

Last edited by Potato Uno; 06-12-2015 at 13:12. Reason: I hate my internet
Potato Uno is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode