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

Player was booted: Invalid operation at this state. #57

Closed
FrostBird347 opened this issue Jan 4, 2020 · 7 comments · Fixed by #100
Closed

Player was booted: Invalid operation at this state. #57

FrostBird347 opened this issue Jan 4, 2020 · 7 comments · Fixed by #100
Assignees

Comments

@FrostBird347
Copy link

FrostBird347 commented Jan 4, 2020

Whenever I attempt to join a vanilla server both with and without a password the player gets kicked with this message.

@popstarfreas
Copy link
Owner

This is because dimensions tries to send the real ip address of a client using an unused packet.

Be aware that if you want to be able to use Dimensions with a vanilla server, you will not be able to ban players by IP address. I can add an option to allow use with vanilla servers, but this is the downside.

@FrostBird347
Copy link
Author

FrostBird347 commented Jan 4, 2020

Thanks, being unable to IP ban should not be an issue for me because I am running a private server.

A possible solution to that is to ban players from connecting to dimensions instead of the server.

@popstarfreas
Copy link
Owner

In progress at: #58
You can try the build there and see if that works yet. You just need to set isVanilla: true on a server in the config, check the config.js.example for where this new property is.

@FrostBird347
Copy link
Author

I set isVanilla: true on the server config and was able to connect to a vanilla server, but whenever I tried to switch to another vanilla server, it would fail with the same message, resulting in my player being unable to connect to any server while still seeing the old terrain of the previous world.

@popstarfreas
Copy link
Owner

Sorry about the lack of activity. I'll try to look at this again soon.

@F-fengzi
Copy link

F-fengzi commented Apr 24, 2022

Still this issue on vanilla (so without the plugin), please look over this issue if possible

@popstarfreas
Copy link
Owner

popstarfreas commented Apr 24, 2022

This was added in 9e3d592 and will be in the next release. I could not reproduce the issue that FrostBird347 mentioned, so it's possible they put in the wrong currentTerrariaVersion, which now does not exist in 6b6e3a4 so this shouldn't be a problem now.

Edit: It seems there is still a possibility of the invalid operation at this state, I will investigate

popstarfreas added a commit that referenced this issue Apr 24, 2022
Specifically the Invalid operation at this state kick. These are likely not all the packets, just the ones you will run into almost every time.

Fixes #57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants