Monday, October 11, 2010

Droids - Can't send RPC function because the target is not connected to the server.

This is a fun little bug that resulted from me trying to call an RPC method when it was targeted at the owner itself! To work around this I checked to see if the target player had the same GUID as the Network.player. If it was the same I'd call the normal local method rather than the RPC. I found out about this here.

By the way, fixed player spawns are up the Droids github repo now.

No comments:

Post a Comment