-
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggestion RPC Fix #53
Comments
Whoops, that may actually be why a lot of problems occur with applying roles. Thanks a lot, I'll fix this when I can. I loved your Sheriff mod, by the way! |
Thank you. No problem :) |
Would love to see the Love Couple mod merged with this one. :D |
Does this mean ALL of the |
|
https://github.com/NuclearPowered/Reactor/blob/master/Reactor.Example/ExampleRpc.cs All calls should be changed to Reactor CustomRpcs. Using them means this mod is compatible with other mods because the custom RPC id's don't overlap. Any mod should use this implementation.
|
Of course we could change that easily. RPC calls like in my Sheriff mod were made before Reactor. The problem is that changing RPC net code makes automatically new mod versions incompatible to older versions |
Still thinking about whether I want to actually switch to the Reactor RPC implementation because of the reason above. Either way, I am going to be fixing this asap, I have just been really busy with mod commissions. |
Fixed with #90 |
might be a little late to chime in, here are my 2 cents: |
Hey first of all great Mod.
I saw you took some code snippets from my Sheriff mod Code. However, this was my first mod and there are some bugs included.
Please do not use
StartRpcImmediately with SendOption None for Network messages since the message may go lost.
Use
MessageWriter writer = FMLLKEACGIO.Instance.StartRpc(NET ID, RPC CALL, Hazel.SendOption.Reliable);
writer.EndMessage();
Regards,
Woodi
The text was updated successfully, but these errors were encountered: