Skip to content
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

Packet.luau #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Packet.luau #25

wants to merge 1 commit into from

Conversation

Erosful
Copy link

@Erosful Erosful commented Sep 1, 2024

packets.luau
Edited wait() that uses table.find on the callback function (storing the index caused weird issues) Added a disconnect function that's returned in .listen [Haven't added an addendum to the type for that]

server.luau
Added PlayerRemoving connections to clean up the tables

read.luau
Added yielding for packets sent before the client has initialised ByteNet (could EQUALLY be replaced with an error message ngl)

Edited wait() that uses table.find on the callback function (storing the index caused weird issues)
Added a disconnect function that's returned in .listen

server.luau
Added PlayerRemoving connections to clean up the tables

Added queue to read.luau that yields until the modulescript's required (could EQUALLY be replaced with an error message ngl)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant