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

Fix/tick rate #194

Merged
merged 5 commits into from
Jun 4, 2024
Merged

Fix/tick rate #194

merged 5 commits into from
Jun 4, 2024

Conversation

Tyler-Lentz
Copy link
Contributor

This branch kind of fixes the tick rate

it fixes an O(n) iteration in the shared game state generation where it was still calling toShared on every single object regardless if it was sent down in the delta update

It also tries to enable a no delay networking mode for the server (wouldnt work on the client)

it also increases the number of objects per packet back to 250 which seems to work in an attempt to fix netwroking related slowdowns

rn we are still experiencing weird tick rate related issues on the demo machines where every so often a tick is missed because sending the packets on the network takes absurdly long

dont know how to solve that, will have to ask tomorrow for help from prof and TA

@Tyler-Lentz Tyler-Lentz changed the base branch from main to dev June 4, 2024 01:25
Copy link
Contributor

@dmin12 dmin12 left a comment

Choose a reason for hiding this comment

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

Looks good, works on MacOS (Apple silicon) and does not break anything

@Tyler-Lentz Tyler-Lentz merged commit fa42aa9 into dev Jun 4, 2024
10 of 11 checks passed
@Tyler-Lentz Tyler-Lentz deleted the fix/tick-rate branch June 4, 2024 01:39
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