Skip to content

Conversation

@nezuo
Copy link
Contributor

@nezuo nezuo commented Nov 27, 2025

Switches the rojo API to use msgpack instead of JSON.

Fixes #363.
Fixes #881.

@nezuo
Copy link
Contributor Author

nezuo commented Nov 27, 2025

JJ doesn't support git submodules 😢

@nezuo
Copy link
Contributor Author

nezuo commented Nov 27, 2025

I'm not sure if the tests are correct because some tests seem to run infinitely.

There is also this code in serve_utils that uses json. Not sure what this is for or if it needs to be updated.

Ok(Message::Text(text)) => {
                    let packet: SocketPacket = serde_json::from_str(&text)?;
                    if packet.packet_type != packet_type {
                        continue;
                    }

                    // Close the WebSocket connection now that we got what we were waiting for
                    let _ = socket.close(None);
                    return Ok(packet);
                }

EDIT: Fixed

@nezuo nezuo mentioned this pull request Nov 27, 2025
3 tasks
@nezuo
Copy link
Contributor Author

nezuo commented Nov 28, 2025

The protocolVersion will have to be bumped if this is not included in the upcoming release.


-- For NaN, check if both values are not equal to themselves
elseif a ~= a and b ~= b then
print("they are equal")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

spare print statement you may want to remove

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, thanks.

@Quenty
Copy link
Contributor

Quenty commented Dec 31, 2025

Note: There's weird failure modes for when plugin/rojo are out of sync here.

Quenty added a commit to Quenty/rojo that referenced this pull request Dec 31, 2025
Switches the rojo API to use msgpack instead of JSON.

Fixes rojo-rbx#363.
Fixes rojo-rbx#881.
Quenty added a commit to Quenty/rojo that referenced this pull request Dec 31, 2025
Switches the rojo API to use msgpack instead of JSON.

Fixes rojo-rbx#363.
Fixes rojo-rbx#881.
Quenty added a commit to Quenty/rojo that referenced this pull request Dec 31, 2025
Switches the rojo API to use msgpack instead of JSON.

Fixes rojo-rbx#363.
Fixes rojo-rbx#881.
Quenty added a commit to Quenty/rojo that referenced this pull request Dec 31, 2025
Switches the rojo API to use msgpack instead of JSON.

Fixes rojo-rbx#363.
Fixes rojo-rbx#881.
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.

warning "value cannot be converted to a number" on Billboard Gui's "MaxDistance" property No support for infinity

2 participants