L4D2 Auto Update

Having problems with the panel? Have questions? Post here!
Post Reply
Hazz
Posts: 104
Joined: Fri Aug 29, 2008 1:53 pm
Contact:

L4D2 Auto Update

Post by Hazz »

I'm having problems with the auto update feature on a Left 4 Dead 2 server. The auto update works fine on TF2, CSS, CS:GO though.

I believe it is down to the L4D2 steam.inf file being different to the other games:

Code: Select all

// NetworkVersion is the version in the wire protcol between client<->server,
// its not used for matchmaking, PatchVersion is used for that to ensure
// we don't get cross connecting to different releases.  Only bump this if
// you know an incompatible change has happened to the network protocol in
// game and old demos will not work.
NetworkVersion=2.0.4.2
PatchVersion=2.1.2.7
ProductName=left4dead2
appID=550
There is no 'ServerVersion' like there is in the TF2, CSS etc.

Would there be anyway to work around this?

Thanks.
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: L4D2 Auto Update

Post by Masher »

Patchversion and appid is all we care about. We use Steam's API to check if it's up-to-date or not. If the API returns false we stop the server and initiate an update. Is there anything in the monitor's log indicating any errors for that server when performing a check?
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Hazz
Posts: 104
Joined: Fri Aug 29, 2008 1:53 pm
Contact:

Re: L4D2 Auto Update

Post by Hazz »

For the L4D2 server there is this:

Code: Select all

28/08/2013 00:08:56 	Error in update check for server id: 20-Error: ConnectFailure (Connection refused)  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url, System.String& absoluteUriString) [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0 
  at System.Xml.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0 
  at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0 
  at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings) [0x00000] in <filename unknown>:0 
  at UGCCMon.Updater.upToDate (System.String url, System.String& ver) [0x00000] in <filename unknown>:0 
  at UGCCMon.Updater.checker (UGCCMon.dbinterface& sql, Boolean boolRemote, System.String sdefid) [0x00000] in <filename unknown>:0 
However there are quite a few update errors, even for our other servers:

Code: Select all

Error in update check for server id: 3-Error getting response stream (Write: BeginWrite failure): SendFailure  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0 
  at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0 
  at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url, System.String& absoluteUriString) [0x00000] in <filename unknown>:0 
  at Mono.Xml2.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0 
  at System.Xml.XmlTextReader..ctor (Boolean dummy, System.Xml.XmlResolver resolver, System.String url, XmlNodeType fragType, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0 
  at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings, System.Xml.XmlParserContext context) [0x00000] in <filename unknown>:0 
  at System.Xml.XmlReader.Create (System.String url, System.Xml.XmlReaderSettings settings) [0x00000] in <filename unknown>:0 
  at UGCCMon.Updater.upToDate (System.String url, System.String& ver) [0x00000] in <filename unknown>:0 
  at UGCCMon.Updater.checker (UGCCMon.dbinterface& sql, Boolean boolRemote, System.String sdefid) [0x00000] in <filename unknown>:0 
However the TF2 servers auto updated fine last night.
Masher
Site Admin
Posts: 3612
Joined: Thu Apr 20, 2006 2:54 pm
Location: America's Heartland
Contact:

Re: L4D2 Auto Update

Post by Masher »

Those could be from internet connectivity issues.

Maybe valve didn't update the API version stuff? Don't really know. You could try lowering the version number in the steam.inf and see if the panel updates it.
Masher
-----------
Please do not PM me unless asked to! We are a small company. If you have an issue or question it would be best to post it in the forums where it can help others in the future.

NEW Join our Discord!
Post Reply