-
Notifications
You must be signed in to change notification settings - Fork 704
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
MultiServer: Add slot to SetReply packets #3747
base: main
Are you sure you want to change the base?
Conversation
That would indeed simplify #3117 a lot and could also be useful for other scenario's but, maybe there is a case to be made to keep some set packets anonymous? well i do be in favour of this change |
Actually, in my opinion, clients should be required to expose themselves - I don't really see the value in slot-anonymous packets in the AP ecosystem (other than to save space maybe) |
One more thing to consider, while i don't think its a problem, this would technically be a breaking change, as currently clients can add any arguments they want to the set packet to be received in the reply, and some might already use the field |
That's true. I would imagine they would simply be filling it with the same thing I'm currently overriding it with though. Either way, if it's an issue, I could
But I don't really like 1, because then it's not reliable, and I kinda don't like 2. because it's nice that |
Agreed, i do like the simplicity of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't speak for if this is better than #3117, but the code looks good to me
Alternative / generic solution for #3117
Upside of this one being that clients do not need to change to support the new EnergyLink protocol.
Tested: Ran
MultiServer.py --log_network
, connected with a client that sends datastorage Set operations, verified that outgoing SetReply packets containslot: 1