liamcottle / rustplus.js

Unofficial NodeJS library for controlling Smart Switches in the PC game Rust
224 stars 46 forks source link

Issue with getEntityInfo? #27

Closed FerretCode closed 3 years ago

FerretCode commented 3 years ago

I'm testing getEntityInfo with an ID that someone gave me that they got from FCM, but I'm getting a response like this back: getEntityInfo response message: {"response":{"seq":1,"error":{"error":"not_found"}}}

Here's the code I'm using:

instance.getEntityInfo(40402673, (message) => {
    console.log("getEntityInfo response message: " + JSON.stringify(message));
    return true;
});
liamcottle commented 3 years ago

Hi!

with an ID that someone gave me

You will get not_found in these situations, and maybe more.