@Accipiter this is something I never saw before and I’m mildly curious as to if that’s on me or some server-side desync.
<InvalidMessageException "received an event for unknown rid core.char.cam4cp69gbrqf706fs7g": {"id":null,"result":null,"error":null,"event":"core.char.cam4cp69gbrqf706fs7g.change","data":{"values":{"idle":1}}}>
I treat change events for things I don’t have in the cache as errors because I never expect to get an update for something that I don’t have a full state on. I cannot have a full state on this particular RID as I just restarted the client (and so its memory state is blank).
One thing that I do in this bot that I never had to do before is subscribing to core.chars.awake
.
Unfortunately I don’t have the full log of the interactions, but given that the dart client is single-threaded I’m pretty sure there’s no out-of-order message handling.
Should I just drop those to the floor instead of crashing the socket?