Mrdbuffalo Posted April 4, 2019 Report Posted April 4, 2019 So I am using steam-user to get a list of gameservers. My code worked for a while but when I tried to do it again on another script it just returns "null". I have tried everything I can think of and I am out of ideas. Anything to point me in the right direction would be greatly appreciated. const SteamUser = require('steam-user'); const client = new SteamUser(); client.logOn(); client.on('loggedOn', () => { console.log('Logged into Steam'); client.getServerList(null, 100, (servers) => { console.log(servers); }) }); Quote
Dr. McKay Posted April 4, 2019 Report Posted April 4, 2019 As of v4.0.0, the first argument to all callbacks is err. See the release notes here. Mrdbuffalo 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.