Open JBurlison opened 11 months ago
The exact spot if context is needed: The registration: https://github.com/ForgedWoW/WrathForgedCore/blob/main/WrathForged.Authorization.Server/DependancyInjection.cs#L15
The constructor: https://github.com/ForgedWoW/WrathForgedCore/blob/main/WrathForged.Common/WoWClientSession.cs#L15
Where the exception is being thrown: https://github.com/ForgedWoW/WrathForgedCore/blob/main/WrathForged.Common/Networking/WoWClientServer.cs#L138
Looks like its not properly using my extra data as an override object, its opting to try and create the ClientSocket and part of the constructor for ClientSocket is a TCPClient and that needs a IPAddress.
Is there a way to not have grace try and construct this or is it a bug?
I am getting an exception on this line:
I am registering my object:
And my constructor
I am giving it the clientSocket object but its trying to construct it.
Here is the constructor of that. Notice the first parameter is TcpClient.
From the looks of the error, its attempting to construct the TcpClient for the ClientSocket even though I passed it in with my extra data.