Could i have some help with the Access denied error when using getEncryptedAppTicket
The problem i am having is that getEncryptedAppTicket returns Access Denied
Also clientSteam.accountName returns undefined
even though clientSteam.steamID is returning a Valid User ID
Code Below:
clientSteam.logOn({
'accountName': username,
'password': password
});
clientSteam.on('loggedOn', details => {
console.log('[Steam]: Signed into Steam as ' + clientSteam.steamID + '.' + ' ' + clientSteam.accountName );
clientSteam.getEncryptedAppTicket(AppId, null, (err, ticket) => {
if (err) {
console.log("[Steam]: AppTicket error: " + err);
return;
}