Disconnect trying to fly the heli! RPC Error in AddUIFixed
Hi, i know it's an old thread but i dont want to make a new one since this one is here,

so after the last patch of facepunch, i have the same issue, with minicopters and boats,
i can instant kick and the server crashes when someone enters a boat or minicopter,

i will just remove the plugin till there is an update,

Also want to say, it's a great plugin players loves it but unfortunatly i need to remove it:(
Saw another thread saying there are being kicked with the same error. Just making a new one since im not using the myminicopter plugin and simply just using the copters from in game. This only started after the Feb 6th update.
Heres the error im getting.

RPC Error in AddUI: Input string was not in a correct format.
  at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00000] in <00000000000000000000000000000000>:0 
  at System.Number.ParseUInt32 (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) [0x00000] in <00000000000000000000000000000000>:0 
  at CommunityEntity.CreateComponents (UnityEngine.GameObject go, JSON.Object obj) [0x00000] in <00000000000000000000000000000000>:0 
  at CommunityEntity.AddUI (BaseEntity+RPCMessage msg) [0x00000] in <00000000000000000000000000000000>:0 
  at CommunityEntity.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) [0x00000] in <00000000000000000000000000000000>:0 
  at BaseEntity.CL_RPCMessage (System.UInt32 nameID, System.UInt64 sourceConnection, Network.Message message) [0x00000] in <00000000000000000000000000000000>:0 
  at Client.OnRPCMessage (Network.Message packet) [0x00000] in <00000000000000000000000000000000>:0 
  at Client.OnNetworkMessage (Network.Message packet) [0x00000] in <00000000000000000000000000000000>:0 
  at Facepunch.Network.Raknet.Client.HandleMessage () [0x00000] in <00000000000000000000000000000000>:0 
  at Facepunch.Network.Raknet.Client.Cycle () [0x00000] in <00000000000000000000000000000000>:0 
  at Client.Update () [0x00000] in <00000000000000000000000000000000>:0 ​

I have found out the cause it is not RPC cause.

This error occurs when you zip the oxide folder and restore the oxide from the self-saved zip file.

 

I have found a way to fix this problem.

Delete all files of the "Image Library" plugin and reinstall.

Reload the "Fuel Gauge" plugin

oxide.reload FuelGauge

I have tried to recreate any problem that may cause an error. I had no errors nor crashes I might have missed something if there is an error please open a new thread with the error and the plugin version.

Also, i have tested with other plugins that might cause an error all of them worked fine and have listed them below:

  • ImageLibrary  - v2.0.52
  • Minicopter Seating -v1.0.8
  • My Mini Copter v0.1.9
I apologize for taking so long to reply as I thought since the fuel gauge update by facepunch would make this plugin less demanding. For those who are interested in this plugin i will be maintaining it.
5cdf654279643.jpg oryx

I have tried to recreate any problem that may cause an error. I had no errors nor crashes I might have missed something if there is an error please open a new thread with the error and the plugin version.

Also, i have tested with other plugins that might cause an error all of them worked fine and have listed them below:

  • ImageLibrary  - v2.0.52
  • Minicopter Seating -v1.0.8
  • My Mini Copter v0.1.9
I apologize for taking so long to reply as I thought since the fuel gauge update by facepunch would make this plugin less demanding. For those who are interested in this plugin i will be maintaining it.

I made some changes locally, which I believe one of them included a fix for this issue. I'll compare and see.

Thank you Wulf for your time appreciate it
What i currently did to fix those crashes, is reload with timedexecute on server restart,

so far it's working:)

i prefer this fuel gauge than the simple thingy on minicopters, since you can see exactly howmuch you have:P
RPC Error in AddUI: Input string was not in a correct format. at System.Number.StringToNumber (System.String str, System.Globalization.NumberStyles options, System.Number+NumberBuffer& number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal) [0x00000] in <00000000000000000000000000000000>:0 at System.Number.ParseUInt32 (System.String value, System.Globalization.NumberStyles options, System.Globalization.NumberFormatInfo numfmt) [0x00000] in <00000000000000000000000000000000>:0 at CommunityEntity.CreateComponents (UnityEngine.GameObject go, JSON.Object obj) [0x00000] in <00000000000000000000000000000000>:0 at CommunityEntity.AddUI (BaseEntity+RPCMessage msg) [0x00000] in <00000000000000000000000000000000>:0 at CommunityEntity.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) [0x00000] in <00000000000000000000000000000000>:0 at BaseEntity.CL_RPCMessage (System.UInt32 nameID, System.UInt64 sourceConnection, Network.Message message) [0x00000] in <00000000000000000000000000000000>:0 at Client.OnRPCMessage (Network.Message packet) [0x00000] in <00000000000000000000000000000000>:0 at Client.OnNetworkMessage (Network.Message packet) [0x00000] in <00000000000000000000000000000000>:0 at Facepunch.Network.Raknet.Client.HandleMessage () [0x00000] in <00000000000000000000000000000000>:0 at Facepunch.Network.Raknet.Client.Cycle () [0x00000] in <00000000000000000000000000000000>:0 at Client.Update () [0x00000] in <00000000000000000000000000000000>:0
Unloading the fuel gauge plugin stopped this kick error from occuring. 
I get this every time I wipe. I just reload the plugin once and it's fixed. I didn't even check this last wipe, I just reloaded it immediately. So I don't really know if it' still a thing or not.
@GWCartman i do the same with timed execute, every restart of server:D
Locked automatically