Closed lemeshovich closed 2 years ago
Any updates on this? Can't use any of the bot's functions.
cant understand where the problems is, tried to delete node_modules then npm install yesterday everything was good after that today i made the same and getting "is not a constructor" again.. i think there is some problems in dependencies if anyone has any information about that share it please
Generating the protobuf yourself and sending it to the Steam coordinator seems to work fine. You can import the protobuf constructors from node-steam-resources.
I can't see anything immediately wrong with the handler functions for this library. For example:
const payload = new this.dota2Proto.CMsgDOTAGetPlayerMatchHistory({
account_id: accountId,
request_id: accountId,
matches_requested: options.matches_requested || 10,
});
This does not cause an error in my own code, but is almost identical to what is causing the error in the handler function.
getting that errors after recent Dota2 update caught error: TypeError: Dota2.schema.CMsgPracticeLobbyLeave is not a constructor any ideas how to fix this?