-
Notifications
You must be signed in to change notification settings - Fork 47
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
[Feature Request] Custom packet priorities #1335
Comments
Do the priority change really something? Each packet are send reallt fast no? |
Theres also packet priority ON/OFF sphere.ini setting, not sure what that change. 🤔 |
Do we know what determines the current and previous packet? I want a package to be given the highest priority, is there a requirement to change the code for this? |
Actually, this is not a matter of whether it is sent fast or not. Let's think of two different packets with the same length and think that we send them at the same time. When sphere starts begintransaction, it processes and sends the packet that is the priority first. |
Each packet has been assigned a priority, but it’s unclear how these priorities were determined. When I want to change the priority of a packet , it’s not very straightforward; it always requires making changes in the source code. Would it be possible to set priorities for each packet in an .ini section as shown in the example? When the sphere starts, it would load a packet priority list and maintain that priority value for the packet as long as the server is running. If no priority is specified for a packet , the sphere would assign the default priority value. This would be great. I have no idea how feasible this is; we can discuss this further under this topic.
eg;
If a priority is entered for that packet in the list above, that packet will run at that priority. If no priority is entered, Sphere will continue to run with its default priority value.
instead of function there will be priority value (1-4).
It could be a structure similar to "PACKET FILTER: Hooked packet"
Or can it be added to the existing structure? For example, a variable that can be read/written under the hooked function
LOCAL.PRIORITY=1
similar
eg;
The text was updated successfully, but these errors were encountered: