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 unhandled exception for games with >400 channels #8

Merged
merged 2 commits into from
Feb 12, 2022

Conversation

ghost
Copy link

@ghost ghost commented Feb 11, 2022

websocket.add_topics throws if it is given more than 400 topics (8 websockets * 50 topics per ws).
The current Lost Ark campaign has more valid channels than this and would cause the client to instantly freeze/crash on startup due to the "Maximum topics limit has been reached" exception.
This PR simply catches and ignores the exception.

GenericPseudonym added 2 commits February 11, 2022 13:38
Since it won't run without it
Rather than hanging and becoming unresponsive due to an unhandled exception
@DevilXD DevilXD added the Enhancement New feature or request label Feb 12, 2022
@DevilXD
Copy link
Owner

DevilXD commented Feb 12, 2022

Hmm, right. Looks good, thank you =)

@DevilXD DevilXD merged commit c1f1acc into DevilXD:master Feb 12, 2022
DevilXD pushed a commit that referenced this pull request Apr 26, 2023
Fork Sync: Update from parent repository
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant