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

Game server crash on first map load #45

Open
infiniterasadev opened this issue Feb 17, 2019 · 1 comment
Open

Game server crash on first map load #45

infiniterasadev opened this issue Feb 17, 2019 · 1 comment

Comments

@infiniterasadev
Copy link
Contributor

infiniterasadev commented Feb 17, 2019

The game server crashes on the first attempt to load into the game after character selection.

Steps to Reproduce:

  1. Start the auth and game servers
  2. Launch the game client and login in and select a character.
  3. Double click the character to load into the game

Actual Results:
The game server crashes and the client disconnects. The exception thrown is here: https://github.com/InfiniteRasa/Rasa.NET/blob/master/src/Rasa.Utils/Cryptography/GameCryptManager.cs#L66

Expected Results:
Game server does not crash.

Workaround:
Restart the game server and leave the game client running

Additional Info:
It was suspected that there is a packet being sent on first load related to telemetry.

@infiniterasadev
Copy link
Contributor Author

Debugging this again and it looks like this is hit:

https://github.com/InfiniteRasa/Rasa.NET/blob/dev-creatures/src/Rasa.Game/Packets/Protocol/ProtocolPacket.cs#L46

The Size is 49 and br.BaseStream.Length is 36.

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

No branches or pull requests

1 participant