after the update and its messing with lots of my sole plugins on my server dont no if this a rust issue or A rust issue
Solved Kicked: RPC Error: OnProjectileAttack when killing scientist
Discussion in 'Rust Discussion' started by Buster_dylan, Jan 13, 2018.
-
apon shooting a scientist NPC From the bots plugin it kicks me with the above msg anybody have any clues as to why this is, or how to fix it?
-
same issue tried removing all players saves also map , next step cmd reinstall complete, but i think a plugin is causing issue with scientist i increased scientists they spawn fine , can , i do have death notes and info panel so will try disabling them . ps just a local file for me friends to play and test on
[DOUBLEPOST=1517651256][/DOUBLEPOST]my server . log file on error
Code:[Death Notes] lexie was shot in the Stomach by FREAK_SQUAD with a LR-300 Assault Rifle from 35.86m.(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)NullReferenceException: Object reference not set to an instance of an object at Scientist.CreateCorpse () [0x00000] in <filename unknown>:0 at BasePlayer.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0 at NPCPlayerApex.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0 at BaseCombatEntity.Die (.HitInfo info) [0x00000] in <filename unknown>:0 at BasePlayer.Die (.HitInfo info) [0x00000] in <filename unknown>:0 at BaseCombatEntity.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0 at BasePlayer.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0 at NPCPlayerApex.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0 at BaseCombatEntity.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0 at BasePlayer.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0 at BasePlayer.OnProjectileAttack (RPCMessage msg) [0x00000] in <filename unknown>:0 at BasePlayer.OnRpcMessage (.BasePlayer player, UInt32 rpc, Network.Message msg) [0x00000] in <filename unknown>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) BasePlayer:OnRpcMessage(BasePlayer, UInt32, Message) BaseEntity:SV_RPCMessage(UInt32, Message) ServerMgr:OnRPCMessage(Message) ServerMgr:OnNetworkMessage(Message) Facepunch.Network.Raknet.Server:ConnectedPacket(Connection) Facepunch.Network.Raknet.Server:Cycle() ServerMgr:Update()
[DOUBLEPOST=1517652034][/DOUBLEPOST]found this on steam forums so will decrease items
nullreferenceexception: object reference not set to an instance of an object :: Rust General Discussions
apparently that error is also caused by too many items spawned on modded servers. So them xmass stockings can become crash everyone weapons. :/
Right opened up scientist population killed first one fine no error killed second same error now
Object reference not set to an instance of an object
put other plugins back as not them i have scientists at all warehouses all monuments etc every AI building around 20-25 scientists spawned across mapLast edited by a moderator: Feb 3, 2018 -
Code:
NullReferenceException: Object reference not set to an instance of an object at Scientist.CreateCorpse () [0x00000] in <filename unknown>:0 at BasePlayer.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0 at NPCPlayerApex.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0 at BaseCombatEntity.Die (.HitInfo info) [0x00000] in <filename unknown>:0 at BasePlayer.Die (.HitInfo info) [0x00000] in <filename unknown>:0 at BaseCombatEntity.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0 at BasePlayer.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0 at NPCPlayerApex.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0 at BaseCombatEntity.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0 at BasePlayer.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0 at BasePlayer.OnProjectileAttack (RPCMessage msg) [0x00000] in <filename unknown>:0 at BasePlayer.OnRpcMessage (.BasePlayer player, UInt32 rpc, Network.Message msg) [0x00000] in <filename unknown>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) BasePlayer:OnRpcMessage(BasePlayer, UInt32, Message) BaseEntity:SV_RPCMessage(UInt32, Message) ServerMgr:OnRPCMessage(Message) ServerMgr:OnNetworkMessage(Message) Facepunch.Network.Raknet.Server:ConnectedPacket(Connection) Facepunch.Network.Raknet.Server:Cycle() ServerMgr:Update()
Last edited by a moderator: Mar 2, 2018 -
Wulf Community Admin
Are you using any plugins for bots?
-
Hi,
Does it happen for every bot or once in a while?
Scientist or murderer?
BotSpawn or Rust spawned?
edit: overlapped with you wulf. -
Was using your bot spawn but thought that was the problem but wasn’t
-
You're getting the error even from Rust default spawned bots?
Ok - Do you have any plugs that do anything fancy when a player dies?
Corpse remover, notify player of corpse location...anything like that? -
Thought it was death notes but removed that so don’t no
[DOUBLEPOST=1520066139][/DOUBLEPOST]Murderers are fine just scientists
Sorry for late reply went sailing -
Its fixed yet Buster_dylan ?
-
To be honest, if it's happening with Rust default bots it's pretty easy to diagnose.
Uninstall all plugins then introduce them one by one, or in batches of 5-10 if you have loads.
Might be a little time consuming, but you'll find the culprit.
As I said, though, the issue occurs on the death of a 'player' and being that you're getting an error it most likely is intended to affect a player; Not a bot.
With that in mind, I'd start with anything that does anything when a player dies.
[DOUBLEPOST=1520099512][/DOUBLEPOST]Wait - Do you use LootConfig?
If so, remove the .cs (don't just unload) and restart the server. -
Nice cake dude
-
wait i do have loot config and deleting it work thank you but now i need a new loot plugin
-
-
simple loot was the problem
-
Seeing this whenever someone kills a NPC:
Code:XXXX left the server (Reason: Kicked: RPC Error in OnProjectileAttack) NullReferenceException: Object reference not set to an instance of an object NullReferenceException: Object reference not set to an instance of an object
-
RPC Error in AddUI here
-
Wulf Community Admin
-
-
Wulf Community Admin