Jump to content
McKay Development
Jack

emailInfo still null (not updating) when logOn is called

Recommended Posts

 
const SteamUser = require('steam-user');
 
const User = new SteamUser;
 
User.logOn({
  'accountName': <username>,
  'password': <password>
});
 
User.on('loggedOn', function() {
  console.log(User.emailInfo);
});

 

"null"

 

Docs say "Emitted on logon and when email info changes. The emailInfo property will be updated after this event is emitted."

 

Isn't updating, though.

 

 

Here's what `details` returns:

 

"{ eresult: 1, 

 out_of_game_heartbeat_seconds: 9,
 in_game_heartbeat_seconds: 9,
 public_ip: 387010462,
 rtime32_server_time: 1515897127,
 account_flags: 2101381,
 cell_id: 133,
 email_domain: null,
 steam2_ticket: null,
 eresult_extended: null,
 webapi_authenticate_user_nonce: 'VqFP8k12n6gM+8pbZf8',
 cell_id_ping_threshold: 11,
 use_pics: true,
 vanity_url: 'projectcrate8050',
 client_supplied_steamid: Long { low: 845356646, high: 17825793, unsigned: true },
 ip_country_code: 'CA',
 parental_settings: null,
 parental_setting_signature: null,
 count_loginfailures_to_migrate: 0,
 count_disconnects_to_migrate: 0,
 ogs_data_report_time_window: null,
 client_instance_id: Long { low: -220505765, high: 776833051, unsigned: true },
 force_client_update_check: null }"

Edited by Jack

Share this post


Link to post
Share on other sites

I'm sorry, but I'm unable to figure out how it isn't coming after being logged in.

 

I'm waiting for the event function specifically for when you're logged in to fire... what am I missing?

Share this post


Link to post
Share on other sites

It still returns null in the callback of that function, despite `address` and `validated` both returning the expected results.

 

I even get a SteamGuard code properly sent to my e-mail before that happens... what is going on?

Edited by Jack

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...