Exception has been thrown by the target of an invocation

Mu online season 21 - grand opening

babybird

LOMCN Leecher
Apr 11, 2012
1
0
12
Cant get in game. I keep getting error message saying the connection has timed out. And this is what it says in the error log

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
Parameter name: t
at System.DateTime.op_Subtraction(DateTime d, TimeSpan t)
at Library.ClientGuildMemberInfo.Complete()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Library.Network.Packet.ReadObject(BinaryReader reader, Object ob)
at Library.Network.Packet.ReadObject(BinaryReader reader, Object ob)
at Library.Network.Packet.ReadObject(BinaryReader reader, Object ob)
at Library.Network.Packet.ReceivePacket(Byte[] rawBytes, Byte[]& extra)
at Library.Network.BaseConnection.ReceiveData(IAsyncResult result)
State = {X=0,Y=0,Width=1024,Height=768}

Please help. Thanks.

---------- Post Merged at 02:50 PM ---------- Previous Post was at 10:50 AM ----------

And now, after 4 hours, and with me having done nothing, I can get back into the game. Ummm.
 

Jamie

LOMCN Developer
Developer
Mar 29, 2003
4,862
418
350
United Kingdom
Cant get in game. I keep getting error message saying the connection has timed out. And this is what it says in the error log

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.
Parameter name: t
at System.DateTime.op_Subtraction(DateTime d, TimeSpan t)
at Library.ClientGuildMemberInfo.Complete()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Library.Network.Packet.ReadObject(BinaryReader reader, Object ob)
at Library.Network.Packet.ReadObject(BinaryReader reader, Object ob)
at Library.Network.Packet.ReadObject(BinaryReader reader, Object ob)
at Library.Network.Packet.ReceivePacket(Byte[] rawBytes, Byte[]& extra)
at Library.Network.BaseConnection.ReceiveData(IAsyncResult result)
State = {X=0,Y=0,Width=1024,Height=768}

Please help. Thanks.

---------- Post Merged at 02:50 PM ---------- Previous Post was at 10:50 AM ----------

And now, after 4 hours, and with me having done nothing, I can get back into the game. Ummm.


It was fixed, Tifa managed to resolve it whilst I was away.

I've also change the code to prevent it from happening again.