mrxbell Posted January 25, 2017 Report Posted January 25, 2017 (edited) I need convert steamID64 to steamID3 . If i use var steamid3 = steamid64 & 0xffffffff; not true when using 64 bit system. Thanks ! Edited January 25, 2017 by mrxbell Quote
Dr. McKay Posted January 25, 2017 Report Posted January 25, 2017 https://www.npmjs.com/package/steamid var SteamID = require('steamid'); var steamid3 = (new SteamID(steamid64)).steam3(); If you want the accountID and not the Steam3 rendered format as your title implies ([u:1:46143802]) then you just want to do: var SteamID = require('steamid'); var accountID = (new SteamID(steamid64)).accountid; mrxbell 1 Quote
Recommended Posts
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.