80O / PlusEMU

37 stars 27 forks source link

Nitro only returns userID on profile request #141

Closed harb00 closed 1 year ago

harb00 commented 1 year ago

Describe the bug Nitro only returns userID on profile request but the server expects a boolean also and will crash on OpenPlayerProfileEvent

To Reproduce Steps to reproduce the behavior:

  1. Search for any user
  2. Click on their profile
  3. See error

Expected behavior Show their profile without crashing the server

Emulator Error


Plus.Communication.Packets|Error handling packet "OpenPlayerProfileEvent" for session 00000000-0000-0000-0000-000000000000 @ Habbo  "Admin": "Specified argument was out of the range 
of valid values." "   at Plus.Communication.Flash.FlashIncomingPacket.ReadInt() in C:\vscodeProjects\PlusEMU\Communication\Flash\FlashIncomingPacket.cs:line 38
   at Plus.Communication.Flash.FlashIncomingPacket.ReadBool() in C:\vscodeProjects\PlusEMU\Communication\Flash\FlashIncomingPacket.cs:line 45
   at Plus.Communication.Packets.Incoming.Users.OpenPlayerProfileEvent.Parse(GameClient session, IIncomingPacket packet) in C:\vscodeProjects\PlusEMU\Communication\Packets\Incoming\Users\OpenPlayerProfileEvent.cs:line 22"```
80O commented 1 year ago

If nitro doesnt comply with the flash client, report it to the Nitro devs.