sentanos / roblox-js

!!!THIS PROJECT IS NO LONGER MAINTAINED!!! Execute ROBLOX website actions in node.js
MIT License
45 stars 45 forks source link

getPlayerInfo returning incorrect age? #80

Closed ghost closed 6 years ago

ghost commented 6 years ago

Apparently, for some users, their age will return incorrectly. For example, my ROBLOX account returns this: https://gyazo.com/bad566277e0ae243590cbbf990e6765d https://www.roblox.com/users/37854398/profile This is the code I was running:

var rbx = require('roblox-js');
var id = 37854398

console.clear();

rbx.getPlayerInfo({userId: id})
.then(function (Return) {
console.log("That user is " + Return.age + " days old.\n")
}); 

How can I fix this?

sentanos commented 6 years ago

This is not an official roblox-js function, it shouldn’t be expected to work, and I shouldn’t be responsible for fixing it.

Neztore commented 6 years ago

It'll be fixed shortly

Neztore commented 6 years ago

@CherryLeaves Fixed, see pull request or this fork