RPC Error in RPC_Hack at oil rigFixed
Hi,

After todays update when I player click on begin hack they get instanlt kicked with RPC Error in RPC_Hack

I've deleted the config and re done it.
Can you share the error messages? Does it occur with this plugin off? Interesting I have not seen this on my sever but will test to see if I can reproduce this.
Hi, 

As soon as I removed the plugin and went back to oil rig myself and the players had no issues...put the plugin back in and insta kicked.

I've gone back to old config and old plugin version
I just tested on my production server, both on the cargoship and oil rig, I did the hackable crate (start time, wait for timer, loot crate till empty) on both with no issues.  It must be an interaction with some other plugin.  Are there any console messages?  Can you share your config?

I am guessing it is an interaction issue, but with no further information there is no way I can reproduce and fix this.
I'll put the new plugin back in when pop dies down.
We have the same issue on Large Oil Rig

04-03 20:22:31 | NullReferenceException: Object reference not set to an instance of an object

Disconnected: RPC Error in RPC_Hack
what other plugins are you running, it most likely is a conflict with some other plugin.  There is no code specifially for RPC_HACK

There is a hook on OnEntitySpawned  I willl see if it might be in there.

Merged post

Pushed out a tweak, if it is not one of my event types return to avoid possible processing.   Hopefully that was the cause.
We're heavily modded - however no issues till I updated this plugin - we're running a custom map (possibly that)?
Its still happening, i just updated and this is still happening...

(Kicked: RPC Error in RPC_Hack)
I'll see if there is some other fix.  It work okay for me with 120+ plugins.  It most likely is an interaction issue.  Any of you willing to PM me your plugin list here or discord?  Mal.Speedie#2641
QuickSmelt (unlikely)
AdminRadar (possibly)

A lot of those I do not have but will try to download them to scan if they use the same hook: OnEntitySpawned.

I run the lastest AdminRadar 5.0.1   are using that?   If not it might be one of the other plugins.

Merged post

I was finally able to reproduce this and get some more error messages: Setting parent to entity that hasn't spawned yet! (net is null) NullReferenceException: Object reference not set to an instance of an object 192.168.1.138:57428/76561198068046723/MalS kicked: RPC Error in RPC_Hack Working on determining why this is occuring. And that is just with these plugins: AutomatedEvents.cs DamageControl.cs Finder.cs GrTeleport.cs ImageLibrary.cs InfoPanel.cs LightsOn.cs MagazinBoost.cs PermissionsManager.cs Pigrels.cs PlayerAdministration.cs PreferredEnvironment.cs RustRewards.cs ServerRewards.cs

Merged post

I hate how it does that... even with two spaces.I was finally able to reproduce this and get some more error messages: Setting parent to entity that hasn't spawned yet! (net is null) NullReferenceException: Object reference not set to an instance of an object 192.168.1.138:57428/76561198068046723/MalS kicked: RPC Error in RPC_Hack Working on determining why this is occuring. And that is just with these plugins: AutomatedEvents.cs DamageControl.cs Finder.cs GrTeleport.cs ImageLibrary.cs InfoPanel.cs LightsOn.cs MagazinBoost.cs PermissionsManager.cs Pigrels.cs PlayerAdministration.cs PreferredEnvironment.cs RustRewards.cs ServerRewards.cs

Merged post

I finally figured this out.  the crate on the oil rig triggers an CH47.  My clean up default logic tried to remove it (in error) but it fails because it has not been fully triggered yet, causing the RPC error.  I have turned off clean up default CH47 till I find a way to code around this.  Sorry this took so long, went down some wrong directions in solving it.

You can distinguish them by 

chinook.landingTarget != Vector3.zero      //chinook is CH47HelicopterAIController 
 
 
 
Locked automatically