NullReferenceException at BuildUserPageError

i get this error message
i have a player who is displayed under offline players who has left the server and killed himself
if i now click on his name the mistake will come

Failed to call hook 'PlayerAdministrationSwitchUICallback' on plugin 'PlayerAdministration v1.5.16' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlayerAdministration.BuildUserPage (Oxide.Plugins.PlayerAdministration+Cui& aUIObj, Oxide.Plugins.PlayerAdministration+UiPage aPageType, System.UInt64 aPlayerId) [0x0015f] in <fdbc6743d4d948c4b00de63ba3b5a826>:0 
  at Oxide.Plugins.PlayerAdministration.BuildUI (BasePlayer aPlayer, Oxide.Plugins.PlayerAdministration+UiPage aPageType, System.String aArg, System.Boolean aIndFiltered) [0x000c1] in <fdbc6743d4d948c4b00de63ba3b5a826>:0 
  at Oxide.Plugins.PlayerAdministration.PlayerAdministrationSwitchUICallback (Oxide.Core.Libraries.Covalence.IPlayer aPlayer, System.String aCommand, System.String[] aArgs) [0x001dd] in <fdbc6743d4d948c4b00de63ba3b5a826>:0 
  at Oxide.Plugins.PlayerAdministration.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x014d9] in <fdbc6743d4d948c4b00de63ba3b5a826>: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 
Hm... Very odd. I'll see what I can do.

i get this error on offline players on 1 player because he have a issue wich is:

Failed to call hook 'PlayerAdministrationSwitchUICallback' on plugin 'PlayerAdministration v1.5.20' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PlayerAdministration.BuildUserPage (Oxide.Plugins.PlayerAdministration+Cui& aUIObj, Oxide.Plugins.PlayerAdministration+UiPage aPageType, System.UInt64 aPlayerId) [0x0015f] in <ed85750820714375ae07f590f55c94f9>:0
at Oxide.Plugins.PlayerAdministration.BuildUI (BasePlayer aPlayer, Oxide.Plugins.PlayerAdministration+UiPage aPageType, System.String aArg, System.Boolean aIndFiltered) [0x000c1] in <ed85750820714375ae07f590f55c94f9>:0
at Oxide.Plugins.PlayerAdministration.PlayerAdministrationSwitchUICallback (Oxide.Core.Libraries.Covalence.IPlayer aPlayer, System.String aCommand, System.String[] aArgs) [0x001dd] in <ed85750820714375ae07f590f55c94f9>:0
at Oxide.Plugins.PlayerAdministration.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0144e] in <ed85750820714375ae07f590f55c94f9>: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
disconnecting: NullReferenceException: Object reference not set to an instance of an object.
LifeInfographic.Refresh () (at <00000000000000000000000000000000>:0)
UIDeathScreen.UpdateRespawnInformation (ProtoBuf.RespawnInformation info) (at <00000000000000000000000000000000>:0)
UIDeathScreen.OnRespawnInformation (ProtoBuf.RespawnInformation info) (at <00000000000000000000000000000000>:0)
BasePlayer.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) (at <00000000000000000000000000000000>:0)
BaseEntity.CL_RPCMessage (System.UInt32 nameID, System.UInt64 sourceConnection, Network.Message message) (at <00000000000000000000000000000000>:0)
Client.OnRPCMessage (Network.Message packet) (at <00000000000000000000000000000000>:0)
Client.OnNetworkMessage (Network.Message packet) (at <00000000000000000000000000000000>:0)
Facepunch.Network.Raknet.Client.HandleMessage () (at <00000000000000000000000000000000>:0)
Facepunch.Network.Raknet.Client.Cycle () (at <00000000000000000000000000000000>:0)
Client.Update () (at <00000000000000000000000000000000>:0)
UnityEngine.Debug:LogException(Exception)
BasePlayer:OnRpcMessage(BasePlayer, UInt32, Message)
BaseEntity:CL_RPCMessage(UInt32, UInt64, Message)
Client:OnRPCMessage(Message)
Client:OnNetworkMessage(Message)
Facepunch.Network.Raknet.Client:HandleMessage()
Facepunch.Network.Raknet.Client:Cycle()
Client:Update()
Version: 44795

anyone know how to fix this? i only one way.. wiping

Merged post

and now it happend again .. to me on my own server ....

pls anyone can help me ?

disconnecting: RPC Error in OnRespawnInformation: Object reference not set to an instance of an object.

Looks like something outside of the scope of PA/uMod.
As for the "BuildUserPage" issue, this is likely related to what's been reported a couple of times before, the username containing some oddball characters.

my username is Herb everywhere 
ThibmoRozier
so that the error does not occur anymore, the uipanel offline players would have to ask the players again when clicking on the button

it is so that I can see players who are no longer on the server that they have killed themselves and have left the server.
when i have this error with a player i reload the plugin and the player is no longer in the list
so therefore the list is not up-to-date

what plugin ur reloading ?

i only know one way how to fix this.. wiping the server

When i get this

I reload playeradmin

and then the player is able to join ? i unloadet every plugin i have and it not workt 

just to remind the problem that i have is this error:

disconnecting: RPC Error in OnRespawnInformation: Object reference not set to an instance of an object.

the other errors are from playeradministration plugin when i click on the "offline player"



Merged post

ok i found something !it has something todo with player.identities.3
player.identities <- I don't use this, perhaps oxide/umod uses this somewhere. Might be worth checking.
15:30 [Error] Failed to call hook 'PlayerAdministrationSwitchUICallback' on plugin 'PlayerAdministration v1.5.23' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlayerAdministration.BuildUserPage (Oxide.Plugins.PlayerAdministration+Cui& aUIObj, Oxide.Plugins.PlayerAdministration+UiPage aPageType, System.UInt64 aPlayerId) [0x0015f] in <9681fa01f61b4aeb93187c7871921a1e>:0 
  at Oxide.Plugins.PlayerAdministration.BuildUI (BasePlayer aPlayer, Oxide.Plugins.PlayerAdministration+UiPage aPageType, System.String aArg, System.Boolean aIndFiltered) [0x000c1] in <9681fa01f61b4aeb93187c7871921a1e>:0 
  at Oxide.Plugins.PlayerAdministration.PlayerAdministrationSwitchUICallback (Oxide.Core.Libraries.Covalence.IPlayer aPlayer, System.String aCommand, System.String[] aArgs) [0x001dd] in <9681fa01f61b4aeb93187c7871921a1e>:0 
  at Oxide.Plugins.PlayerAdministration.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0144e] in <9681fa01f61b4aeb93187c7871921a1e>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0 
15:30 [Error] Failed to call hook 'PlayerAdministrationSwitchUICallback' on plugin 'PlayerAdministration v1.5.23' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlayerAdministration.BuildUserPage (Oxide.Plugins.PlayerAdministration+Cui& aUIObj, Oxide.Plugins.PlayerAdministration+UiPage aPageType, System.UInt64 aPlayerId) [0x0015f] in <9681fa01f61b4aeb93187c7871921a1e>:0 
  at Oxide.Plugins.PlayerAdministration.BuildUI (BasePlayer aPlayer, Oxide.Plugins.PlayerAdministration+UiPage aPageType, System.String aArg, System.Boolean aIndFiltered) [0x000c1] in <9681fa01f61b4aeb93187c7871921a1e>:0 
  at Oxide.Plugins.PlayerAdministration.PlayerAdministrationSwitchUICallback (Oxide.Core.Libraries.Covalence.IPlayer aPlayer, System.String aCommand, System.String[] aArgs) [0x001dd] in <9681fa01f61b4aeb93187c7871921a1e>:0 
  at Oxide.Plugins.PlayerAdministration.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0144e] in <9681fa01f61b4aeb93187c7871921a1e>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ac41dd3599754d448b8c218b34645820>:0 


Also: https://umod.org/community/player-administration/18006-player-online-and-offline-times-the-same
https://umod.org/community/player-administration/17964-not-able-to-click-on-some-players
https://umod.org/community/player-administration/18015-support-for-clans-and-oxide-groups



Merged post

Who is merging my topics to 4 months olds? It basically says
This thread is stale. Please consider creating a new thread before replying to this one.
5e29093cc1312.png xanela
Who is merging my topics to 4 months olds? It basically says
The thread is still relevant, so there's no need for a duplicate thread.
Thanks for the merge, Wulf.
Tried everything I cared for to try. People are not providing any kind of log file and not trying test builds so I said "Fuck it" :)

PS: The mod has it's own log file, enable the debug flag by editing the mod, reload it, make it go boom, share the mod's log with me so I can actually try to debug things without flying blind.
yo i found a new way to fix this RPC error shutdown server delete player.deaths.3 and start server
I think I caught a hacker using the plugin  just after loaded..........

Can you also explain why just after adding you plugin
a user  "magically" appeared into my server at exactly the SAME location as the admin...

But what he did not know was I have a  home grown  "Anti hack"
This user shows up as "NUMUNN" in the  admin console for the plugin
and shows up in battle metrics as "power"

BUT..... lists as.....

QUASAR[76561198142373167] died (Fall)
QUASAR[76561198142373167] died (Fall)
210.124.154.161:62967/76561198142373167/QUASAR disconnecting: disconnect
Failed to call hook 'PlayerAdministrationRecoverUserMetabolismCallback' on plugin 'PlayerAdministration v1.5.25' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.PlayerAdministration.PlayerAdministrationRecoverUserMetabolismCallback (Oxide.Core.Libraries.Covalence.IPlayer aPlayer, System.String aCommand, System.String[] aArgs) [0x00093] in <c21f06b7a4194fd3a022a66b4c6e4620>:0
at Oxide.Plugins.PlayerAdministration.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x018bc] in <c21f06b7a4194fd3a022a66b4c6e4620>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <98321e516fc1420ea57d4d2088213a59>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ac41dd3599754d448b8c218b34645820>:0
at


Merged post

taking a quick look at the code.... there is no reason for players to "appear" from nowhere ,so I guess it was an "accident" he got caught...

 I think what is happening....
is that  "somehow" we have a group of players spoofing steamID's  and "being"  multiple other players, including "admin"

when the plugin's run...... the  steam ID's  & server data structures don't correspond so the plugins are throwing errors due to the player data being "null"
then people are saying... "crap plugins", when in reality we seem to have a fairly efficient "hacker detector",  clearly we should be Exception trapping this call & using it to detect spoofed players.. whilst we have a way to detect them....

I've sent a set of logs/player data & screen snapshots with these accounts to steam & RUST.
This guy slipped up...... I caught him in the act...