cheahjs / TerrariaAPI-Server

Fork is now over at https://github.com/NyxStudios/TerrariaAPI-Server
https://tshock.co
32 stars 24 forks source link

syncJoin exception #50

Closed Commaster closed 9 years ago

Commaster commented 9 years ago
[Server API] Error System.AggregateException
---> System.ObjectDisposedException
   at System.IO.__Error.StreamIsClosed()
   at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.BinaryWriter.Write(Int16 value)
   at Terraria.NetMessage.SendData(Int32 msgType, Int32 remoteClient, Int32 ignoreClient, String text, Int32 number, Single number2, Single number3, Single number4, Int32 number5)
   at Terraria.NetMessage.syncJoin(Int32 plr)
   at Terraria.MessageBuffer.<GetData>m__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
---> (Internal Exception #0) System.ObjectDisposedException
   at System.IO.__Error.StreamIsClosed()
   at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.BinaryWriter.Write(Int16 value)
   at Terraria.NetMessage.SendData(Int32 msgType, Int32 remoteClient, Int32 ignoreClient, String text, Int32 number, Single number2, Single number3, Single number4, Int32 number5)
   at Terraria.NetMessage.syncJoin(Int32 plr)
   at Terraria.MessageBuffer.<GetData>m__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()<---
hakusaro commented 9 years ago

You forgot the everything in this issue:

Olink commented 9 years ago

Hey, why dont you rip this project off and call it TSAPIEX like you did with tshock? You clearly have no issues breaking the law by not hosting your stolen source code publicly as per our license.

Commaster commented 9 years ago

And you stole my OfflineBans, huh?

Commaster commented 9 years ago

@nicatronTg as I can understand, it can be triggered with two players. One online. Second joins and the first one leaves really quickly, while syncJoin still sends the packets.

Olink commented 9 years ago

I didn't steal anything, nor did any developer steal your code. I am sorry if the code you write is at such a simple level that it can be easily copied by a competent developer. It is a little sad that you think that you are a genius developer who wrote the most complex and amazing piece of software tho. Kudos to you tho, because it clearly wasn't a desirable product, your TShockEx Kappa :-1: