-
Notifications
You must be signed in to change notification settings - Fork 75
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
Minor patches(#44,#49,#50,#2, #4) #55
Conversation
Possible Improvements for #2:
|
Ah smart. Also thinking of generally switching to Buffers instead of Uint8Array and views |
Yup LGTM |
seems good |
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.
good
it has bug: console is spammed with possible desync error |
I suppose we cant do much about that, apart from |
@Nul-led only the camera file causes that bug not the writer it seems |
As for #2, you can use: socket.send(data, { fin: false }) to send a partial message without actually splitting it into a separate websocket message (all of them will be merged into one on the other side once |
LGTM quick thing, invisible entities don't get sent to the client right |
That's awesome, thanks for letting me know. I'll add in later today / tomorrow |
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.
good, but fix the entity desync console message problem
Should be fixed now @c86ec23b-fef1-4979-b2fa-b9adc351b8cc |
LGTM |
Why:
Closes #2, #44, #49, and #50.
Summarize what's being changed (include any screenshots, code, or other media if available):
OUTPUT_BUFFER
capacity can cause crashes #2) Added 00 packet chunking (idea by Nulled) to split up larger packets into multiple smaller ones. Along with that, made theOUTPUT_BUFFER
resize if running out of space.Confirm the following: