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

large and huge world vector packet fix #733

Merged
merged 6 commits into from
Jul 13, 2024
Merged

Conversation

TripleFate
Copy link
Contributor

packedVector2s cap out at 65535 and larger worlds can easily pass this on the x coordinate.
went and replace all packedVector2s packets with normal Vector2s.

In theory we could go through and keep the ones that are relative vectors instead of world coordinates to save a few bytes, but I hate testing in huge worlds due to load time. So I think its more straight forward to just never use packedVector2s so we don't deal with this issue ever again even if it does cost some extra packet bytes.

@ScalarVector1 ScalarVector1 merged commit 2882d20 into master Jul 13, 2024
1 check passed
@ScalarVector1 ScalarVector1 deleted the evasion-shrine-fix branch September 1, 2024 19:03
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.

2 participants