I've noticed since wipe that sometimes when I type a message to my server from discord, everyone on the server gets kicked with "Unknown wire type" error, and this is what I've been able to find in my logs, but ever since unloading Rustcord, nobody has gotten kicked with that error.
At 1:14PM, you can see that i send a message to the server telling my players to keep their tc empty, and thats when every single player gets disconnected with with that exact same error, but different wire type numbers
Merged post
So I tested a full day without Rustcord and no wire type disconnects, and I ran it with Rustcord on today and I just got the entire server kicked
[Oxide] 1:14 PM [Warning] [Discord Ext] [Debug] Unhandled event: PRESENCES_REPLACE
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)
[Oxide] 1:14 PM [Info] [Rustcord] [DISCORD] Admin.lol: keep your tc empty dummies
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)
Zombie @ Harbor[3008285/4911320] was killed by TOUCHEMTWOTIMES[415806/76561198400964032]
[Oxide] 1:14 PM [Error] Failed to call hook 'Discord_MessageCreate' on plugin 'Rustcord v1.1.1' (ArgumentException: Invalid arguments: InputOffset and OutputOffset must be within the Length of their respective streams.)
at EasyAntiCheat.Server.Hydra.NativeNetProtect.ProtectMessage (System.IntPtr ClientObject, System.IO.MemoryStream Input, System.Int64 InputOffset, System.IO.MemoryStream Output, System.Int64 OutputOffset) [0x00013] in <00247d10f630451eb72640d3695d739c>:0
at EasyAntiCheat.Server.Hydra.NetProtect.NetProtect`1[TClient].ProtectMessage (TClient Client, System.IO.MemoryStream Input, System.Int64 InputOffset, System.IO.MemoryStream Output, System.Int64 OutputOffset) [0x00015] in <00247d10f630451eb72640d3695d739c>:0
at EACServer.Encrypt (Network.Connection connection, System.IO.MemoryStream src, System.Int32 srcOffset, System.IO.MemoryStream dst, System.Int32 dstOffset) [0x00010] in <163a73e6656f475ba4abd6edb1629935>:0
at NetworkCryptographyServer.EncryptionHandler (Network.Connection connection, System.IO.MemoryStream src, System.Int32 srcOffset, System.IO.MemoryStream dst, System.Int32 dstOffset) [0x00021] in <163a73e6656f475ba4abd6edb1629935>:0
at NetworkCryptography.EncryptCopy (Network.Connection connection, System.IO.MemoryStream stream, System.Int32 offset) [0x0002d] in <163a73e6656f475ba4abd6edb1629935>:0
at Facepunch.Network.Raknet.StreamWrite.Send (Network.SendInfo info) [0x0005f] in <44b36112017e4805968b786e1ce71c50>:0
at ConsoleNetwork.BroadcastToAllClients (System.String strCommand, System.Object[] args) [0x00060] in <163a73e6656f475ba4abd6edb1629935>:0
at Oxide.Plugins.RustPlugin.PrintToChat (System.String format, System.Object[] args) [0x00031] in <3cd1f1cff4f041e0b42b8bcdd6b47519>:0
at Oxide.Plugins.Rustcord.Discord_MessageCreate (Oxide.Ext.Discord.DiscordObjects.Message message) [0x002ac] in <ddd24fd5edd04fcb8fe2a6bdcc1ff16d>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x003a5] in <ddd24fd5edd04fcb8fe2a6bdcc1ff16d>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9affce1cd15c4ec183941adef8db1722>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <4452f821def6406d834e4149849fe7ea>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <4452f821def6406d834e4149849fe7ea>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug.bindings.h Line: 43)
xxx.xxx.xxx.xxx:55561/76561197992171682/J-Mac disconnecting: ProtocolBufferException: Invalid field id: 0, something went wrong in the stream
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at <e980cffeb6d24c8b9522b28d0af36a17>:0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at <e980cffeb6d24c8b9522b28d0af36a17>:0)
Client.OnEntities (Network.Message packet) (at <4328554d7b744456a1cfff244aa6b418>:0)
Client.OnNetworkMessage (Network.Message packet) (at <4328554d7b744456a1cfff244aa6b418>:0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30678At 1:14PM, you can see that i send a message to the server telling my players to keep their tc empty, and thats when every single player gets disconnected with with that exact same error, but different wire type numbers
Merged post
So I tested a full day without Rustcord and no wire type disconnects, and I ran it with Rustcord on today and I just got the entire server kicked
[Oxide] 5:58 PM [Info] [Rustcord] [DISCORD] Admin.lol: and there's an abundance of zombie loot you can recycler
69.122.215.121:60749/76561198801540689/Mistaken ID disconnecting: NotImplementedException: Unknown wire type: 4
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
148.74.216.142:55253/76561198262425030/chiqui1721 disconnecting: NullReferenceException: Object reference not set to an instance of an object
Client.CreateOrUpdateEntity (ProtoBuf.Entity info, System.Int64 size) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
69.136.211.92:59447/76561198155849601/Sokka disconnecting: NotImplementedException: Unknown wire type: 6
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
74.129.202.254:51791/76561198014245782/GankizKhan disconnecting: NullReferenceException: Object reference not set to an instance of an object
Client.CreateOrUpdateEntity (ProtoBuf.Entity info, System.Int64 size) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
174.85.13.161:64422/76561198151285068/Warorphan disconnecting: NotImplementedException: Unknown wire type: 6
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
148.74.216.142:49905/76561198140582621/[ER24] Extermier1 disconnecting: NotImplementedException: Unknown wire type: 6
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
65.96.136.109:57258/76561198810130999/Darkwing Donald disconnecting: NotImplementedException: Unknown wire type: 6
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
24.198.210.243:55373/76561198171532030/SMASH disconnecting: NotImplementedException: Unknown wire type: 6
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
66.168.83.69:62126/76561198399098179/DeMEnTeD26(twitch.tv/DeMEnTeD26) disconnecting: NotImplementedException: Unknown wire type: 6
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
207.159.95.91:64320/76561198318623359/|TvM| ?Kuntasoraus? disconnecting: NotImplementedException: Unknown wire type: 4
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
73.175.127.58:53830/76561198298065478/Schizo disconnecting: NotImplementedException: Unknown wire type: 4
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
[Oxide] 17:58 [Warning] Calling 'OnPlayerDisconnected' on 'UiPlus v1.1.3' took 499ms [GARBAGE COLLECT]
71.114.157.98:53988/76561198309937828/Lethargic Downie disconnecting: NotImplementedException: Unknown wire type: 4
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725
108.238.37.151:64051/76561198289751826/outofmind disconnecting: NotImplementedException: Unknown wire type: 6
SilentOrbit.ProtocolBuffers.ProtocolParser.SkipKey (System.IO.Stream stream, SilentOrbit.ProtocolBuffers.Key key) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream, ProtoBuf.Entity instance, System.Boolean isDelta) (at :0)
ProtoBuf.Entity.Deserialize (System.IO.Stream stream) (at :0)
Client.OnEntities (Network.Message packet) (at :0)
Client.OnNetworkMessage (Network.Message packet) (at :0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <44b36112017e4805968b786e1ce71c50>:0)
UnityEngine.Debug:LogException(Exception)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 30725