SqliteException: Could not execute SQL statement
It seems after the last update something is not cosure. 

I had to force wipe due to players not being able to spawn anymore. After 30 mins into new wipe, same thing again. 

(19:28:38) | Failed to call hook 'IOnBasePlayerAttacked' on plugin 'RustCore v2.0.4439' (SqliteException: Could not execute SQL statement.)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000fb] in <b0a93b504f034a0db8b1c3d2503c0987>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b0a93b504f034a0db8b1c3d2503c0987>:0
(19:28:42) | [PoliticalSurvival] OnEntityDeath start
(19:28:47) | AssertionException: Assertion failure. Value was False
Expected: True
Stomping old lifeStory​
Anyone have a clue why this is happening, and how to resolve it?
A player was somehow duplicated, and there's a SqliteException in a hook (OnEntityTakeDamage) that a plugin is using.
5e13a8d5b2bc5.jpg Wulf
A player was somehow duplicated, and there's a SqliteException in a hook (OnEntityTakeDamage) that a plugin is using.

I am perplexed, why does this cause players not to be able to spawn? Even after a full wipe?

Pho3niX90

I am perplexed, why does this cause players not to be able to spawn? Even after a full wipe?

It wouldn't, but hooks such as OnPlayerInit or OnPlayerSleep could potentially.

Do you have a suggestion on how to solve the issue at hand?

(19:46:38) | AssertionException: Assertion failure. Value was False
Expected: True
Stomping old lifeStory​


Merged post

I found this old thread, but do not really understand the solution:

https://umod.org/community/rust/12912-stuck-on-respawn-screen

Merged post

Here is a more detailed log 

AssertionException: Assertion failure. Value was False
Expected: True
Stomping old lifeStory
  at UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) [0x00041] in <5efc91990d9549c2a2cf3874065a5193>:0 
  at UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition, System.String message) [0x0000d] in <5efc91990d9549c2a2cf3874065a5193>:0 
  at BasePlayer.LifeStoryStart () [0x00000] in <5ba1d4536658475998daa468484da8f2>:0 
  at BasePlayer.RespawnAt (UnityEngine.Vector3 position, UnityEngine.Quaternion rotation) [0x0008e] in <5ba1d4536658475998daa468484da8f2>:0 
  at BasePlayer.Respawn () [0x00023] in <5ba1d4536658475998daa468484da8f2>:0 
  at ConVar.Global.respawn (ConsoleSystem+Arg args) [0x00040] in <5ba1d4536658475998daa468484da8f2>:0 
  at ConsoleGen+<>c.<.cctor>b__2_460 (ConsoleSystem+Arg arg) [0x00000] in <5ba1d4536658475998daa468484da8f2>:0 
  at ConsoleSystem.Internal (ConsoleSystem+Arg arg) [0x0005b] in <0ed31059e7124883bcd9a80755533456>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
ConsoleSystem:Internal(Arg)
ConsoleSystem:Run(Option, String, Object[])
ConsoleNetwork:OnClientCommand(Message)
ServerMgr:OnNetworkMessage(Message)
Facepunch.Network.Raknet.Server:ConnectedPacket(Connection)
Facepunch.Network.Raknet.Server:Cycle()
ServerMgr:Update()


Merged post

So for anyone every getting this, use the below:

[ChatCommand("delpl")]
        void KillPLayerEnt(BasePlayer player, string command, string[] args) {
            foreach (BasePlayer playerF in BasePlayer.activePlayerList) {
                if(playerF.IsDead() && args[0].Equals(playerF.UserIDString)) {
                    playerF.LifeStoryEnd();
                    playerF.Respawn();
                }
            }
        }​


Merged post

@Wulf
Is there a way I can catch an exception like the above from within a plugin?