Nickademus
July 24th, 2017, 21:06
I'm not really sure what is going on here. I've been using OOB message quite frequently, but today I had one refuse to work. I'm getting the error message in chat on the player's side: "[ERROR] Unknown special message type received. (oldSchoolRefresh)", which means that the message type wasn't registered with the OOBManager script object. The problem is, it was. I have this in the onInit of the player's window script along with other OOB registers:
OOBManager.registerOOBMsgHandler("oldSchoolRefresh", refreshPCinitiative);
The other messages all work, but this one isn't registering for some reason. I've checked for typos in the sending message, but I literally copy/paste the type name from the register code, so no typos. The sending is obviously working because the player's side gets the message and knows the name of the message type.
I have no clue about this one...
OOBManager.registerOOBMsgHandler("oldSchoolRefresh", refreshPCinitiative);
The other messages all work, but this one isn't registering for some reason. I've checked for typos in the sending message, but I literally copy/paste the type name from the register code, so no typos. The sending is obviously working because the player's side gets the message and knows the name of the message type.
I have no clue about this one...