The namespace RakNet is not consistently used. It's only purpose is to avoid compiler errors for classes whose names are very common. For the most part I've tried to avoid this simply by using names very likely to be unique for my classes.
Error codes returned by a remote system as to why an RPC function call cannot execute Follows packet ID ID_RPC_REMOTE_ERROR Name of the function will be appended, if available. Read as follows: char outputBuff[256]; stringCompressor->DecodeString(outputBuff,256,&RakNet::BitStream(p->data+sizeof(MessageID)+1,p->length-sizeof(MessageID)-1,false),0); printf("Function: %s\n", outputBuff);
RPC_ERROR_NETWORK_ID_MANAGER_UNAVAILABLE | AutoRPC::SetNetworkIDManager() was not called, and it must be called to call a C++ object member. |
RPC_ERROR_NETWORK_ID_MANAGER_UNAVAILABLE | RPC3::SetNetworkIDManager() was not called, and it must be called to call a C++ object member. |
RPC_ERROR_OBJECT_DOES_NOT_EXIST | Cannot execute C++ object member call because the object specified by SetRecipientObject() does not exist on this system. |
RPC_ERROR_OBJECT_DOES_NOT_EXIST | Cannot execute C++ object member call because the object specified by SetRecipientObject() does not exist on this system. |
RPC_ERROR_FUNCTION_INDEX_OUT_OF_RANGE | Internal error, index optimization for function lookup does not exist. |
RPC_ERROR_FUNCTION_INDEX_OUT_OF_RANGE | Internal error, index optimization for function lookup does not exist. |
RPC_ERROR_FUNCTION_NOT_REGISTERED | Named function was not registered with RegisterFunction(). Check your spelling. |
RPC_ERROR_FUNCTION_NOT_REGISTERED | Named function was not registered with RegisterFunction(). Check your spelling. |
RPC_ERROR_FUNCTION_NO_LONGER_REGISTERED | Named function was registered, but later unregistered with UnregisterFunction() and can no longer be called. |
RPC_ERROR_FUNCTION_NO_LONGER_REGISTERED | Named function was registered, but later unregistered with UnregisterFunction() and can no longer be called. |
RPC_ERROR_CALLING_CPP_AS_C | SetRecipientObject() was not called before Call(), but RegisterFunction() was called with isObjectMember=true If you intended to call a CPP function, call SetRecipientObject() with a valid object first. |
RPC_ERROR_CALLING_CPP_AS_C | SetRecipientObject() was not called before Call(), but the registered pointer is a class member If you intended to call a class member function, call SetRecipientObject() with a valid object first. |
RPC_ERROR_CALLING_C_AS_CPP | SetRecipientObject() was called before Call(), but RegisterFunction() was called with isObjectMember=false If you intended to call a C function, call SetRecipientObject(UNASSIGNED_NETWORK_ID) first. |
RPC_ERROR_CALLING_C_AS_CPP | SetRecipientObject() was called before Call(), but RegisterFunction() was called with isObjectMember=false If you intended to call a C function, call SetRecipientObject(UNASSIGNED_NETWORK_ID) first. |
RPC_ERROR_STACK_TOO_SMALL | Internal error, passed stack is bigger than current stack. Check that the version is the same on both systems. |
RPC_ERROR_STACK_DESERIALIZATION_FAILED | Internal error, formatting error with how the stack was serialized. |
RPC_ERROR_INCORRECT_NUMBER_OF_PARAMETERS | The parameterCount parameter passed to RegisterFunction() on this system does not match the parameterCount parameter passed to SendCall() on the remote system. |
RPC_ERROR_NETWORK_ID_MANAGER_UNAVAILABLE | AutoRPC::SetNetworkIDManager() was not called, and it must be called to call a C++ object member. |
RPC_ERROR_NETWORK_ID_MANAGER_UNAVAILABLE | RPC3::SetNetworkIDManager() was not called, and it must be called to call a C++ object member. |
RPC_ERROR_OBJECT_DOES_NOT_EXIST | Cannot execute C++ object member call because the object specified by SetRecipientObject() does not exist on this system. |
RPC_ERROR_OBJECT_DOES_NOT_EXIST | Cannot execute C++ object member call because the object specified by SetRecipientObject() does not exist on this system. |
RPC_ERROR_FUNCTION_INDEX_OUT_OF_RANGE | Internal error, index optimization for function lookup does not exist. |
RPC_ERROR_FUNCTION_INDEX_OUT_OF_RANGE | Internal error, index optimization for function lookup does not exist. |
RPC_ERROR_FUNCTION_NOT_REGISTERED | Named function was not registered with RegisterFunction(). Check your spelling. |
RPC_ERROR_FUNCTION_NOT_REGISTERED | Named function was not registered with RegisterFunction(). Check your spelling. |
RPC_ERROR_FUNCTION_NO_LONGER_REGISTERED | Named function was registered, but later unregistered with UnregisterFunction() and can no longer be called. |
RPC_ERROR_FUNCTION_NO_LONGER_REGISTERED | Named function was registered, but later unregistered with UnregisterFunction() and can no longer be called. |
RPC_ERROR_CALLING_CPP_AS_C | SetRecipientObject() was not called before Call(), but RegisterFunction() was called with isObjectMember=true If you intended to call a CPP function, call SetRecipientObject() with a valid object first. |
RPC_ERROR_CALLING_CPP_AS_C | SetRecipientObject() was not called before Call(), but the registered pointer is a class member If you intended to call a class member function, call SetRecipientObject() with a valid object first. |
RPC_ERROR_CALLING_C_AS_CPP | SetRecipientObject() was called before Call(), but RegisterFunction() was called with isObjectMember=false If you intended to call a C function, call SetRecipientObject(UNASSIGNED_NETWORK_ID) first. |
RPC_ERROR_CALLING_C_AS_CPP | SetRecipientObject() was called before Call(), but RegisterFunction() was called with isObjectMember=false If you intended to call a C function, call SetRecipientObject(UNASSIGNED_NETWORK_ID) first. |