Finally fixed up authed downloads and made depotdownloader1 support them again. Suck it HLDSUT.

pull/8/head
Ryan Stecker 14 years ago
parent 3dbc75a343
commit d18e9c465e

@ -146,7 +146,6 @@ namespace DepotDownloader
if ( username != null ) if ( username != null )
{ {
// ServerCache.BuildAuthServers( username );
credentials = GetCredentials( ( uint )depotId, username, password ); credentials = GetCredentials( ( uint )depotId, username, password );
} }
@ -340,9 +339,11 @@ namespace DepotDownloader
return null; return null;
} }
Steam2Ticket s2Ticket = new Steam2Ticket( steam3Credentials.Steam2Ticket );
ContentServerClient.Credentials credentials = new ContentServerClient.Credentials() ContentServerClient.Credentials credentials = new ContentServerClient.Credentials()
{ {
ServerTGT = steam3Credentials.Steam2Ticket, Steam2Ticket = s2Ticket,
AppTicket = steam3Credentials.AppTicket, AppTicket = steam3Credentials.AppTicket,
SessionToken = steam3Credentials.SessionToken, SessionToken = steam3Credentials.SessionToken,
}; };

Loading…
Cancel
Save