[GH-ISSUE #429] Question about adding new packets #218

Closed
opened 2026-02-27 15:49:23 +03:00 by kerem · 7 comments
Owner

Originally created by @DragonzMaster on GitHub (Mar 18, 2016).
Original GitHub issue: https://github.com/quasar/Quasar/issues/429

I've tried to add a new feature to the project and I've used Task Manager as an example and I added

  • [GetConnections] to server packets
  • [GetConnectionsResponse] to client packets

and added a handler for both packets but the server throw the following Exception :

  • Exception thrown: 'System.InvalidOperationException' in Quasar.exe ("Unknown type xServer.Core.Packets.ServerPackets.GetConnections") System.InvalidOperationException

and the client disconnect and reconnect again but nothing happens.
So please can anyone help and tell me what's wrong !!

Originally created by @DragonzMaster on GitHub (Mar 18, 2016). Original GitHub issue: https://github.com/quasar/Quasar/issues/429 I've tried to add a new feature to the project and I've used Task Manager as an example and I added - [GetConnections] to server packets - [GetConnectionsResponse] to client packets and added a handler for both packets but the server throw the following Exception : - Exception thrown: 'System.InvalidOperationException' in Quasar.exe ("Unknown type xServer.Core.Packets.ServerPackets.GetConnections") System.InvalidOperationException and the client disconnect and reconnect again but nothing happens. So please can anyone help and tell me what's wrong !!
kerem 2026-02-27 15:49:23 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@MaxXor commented on GitHub (Mar 18, 2016):

Did you add the packets to the client & server?

<!-- gh-comment-id:198391330 --> @MaxXor commented on GitHub (Mar 18, 2016): Did you add the packets to the client & server?
Author
Owner

@DragonzMaster commented on GitHub (Mar 18, 2016):

yes, I do. I've added packets to both client and server (Core/Packets).
The Exception is thrown from [Serializer]

<!-- gh-comment-id:198392488 --> @DragonzMaster commented on GitHub (Mar 18, 2016): yes, I do. I've added packets to both client and server (Core/Packets). The Exception is thrown from [Serializer]
Author
Owner

@MaxXor commented on GitHub (Mar 18, 2016):

Could you show me in your fork what you've added?

<!-- gh-comment-id:198394051 --> @MaxXor commented on GitHub (Mar 18, 2016): Could you show me in your fork what you've added?
Author
Owner

@DragonzMaster commented on GitHub (Mar 18, 2016):

You can find the code here
https://github.com/DragonzMaster/QuasarRAT/tree/TCP-con
Sorry, I know that the code may be bad but I'll try to clean it up.

<!-- gh-comment-id:198406993 --> @DragonzMaster commented on GitHub (Mar 18, 2016): You can find the code here https://github.com/DragonzMaster/QuasarRAT/tree/TCP-con Sorry, I know that the code may be bad but I'll try to clean it up.
Author
Owner

@LostSoulfly commented on GitHub (Mar 18, 2016):

It doesn't look like you've added them into the Serializer for both the Client and Server under QuasarClient.cs ad QuasarServer.cs

<!-- gh-comment-id:198409990 --> @LostSoulfly commented on GitHub (Mar 18, 2016): It doesn't look like you've added them into the Serializer for both the Client and Server under QuasarClient.cs ad QuasarServer.cs
Author
Owner

@MaxXor commented on GitHub (Mar 18, 2016):

@LostSoulFly is right.

<!-- gh-comment-id:198410350 --> @MaxXor commented on GitHub (Mar 18, 2016): @LostSoulFly is right.
Author
Owner

@DragonzMaster commented on GitHub (Mar 18, 2016):

@MaxXor - @LostSoulFly Thank you for your help. I didn't know that, now I can try again and see if it is working.

EDIT : Now It is working. Thank you.

<!-- gh-comment-id:198414674 --> @DragonzMaster commented on GitHub (Mar 18, 2016): @MaxXor - @LostSoulFly Thank you for your help. I didn't know that, now I can try again and see if it is working. EDIT : Now It is working. Thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#218
No description provided.