Jump to content

Failed to call hook 'OnPlayerCorpseSpawned'

No Response 1.1.0 1.1.0

Nomad3211
Nomad3211

Posted

I am getting this issue in my console. No players have reported having issues, but Im unsure of what this is trying to tell me. 

Failed to call hook 'OnPlayerCorpseSpawned' on plugin 'RestoreCorpse v1.1.0' (NullReferenceException: Object reference not set to an instance of an object.)
  at Oxide.Plugins.RestoreCorpse.OnPlayerCorpseSpawned (BasePlayer player, PlayerCorpse corpse) [0x00062] in <83c29d8816d04d868aeaf016480dc562>:0 
  at Oxide.Plugins.RestoreCorpse.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00100] in <83c29d8816d04d868aeaf016480dc562>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0 

Kaucsenta

Posted

What is you configuration? Can you paste it in here?

Nomad3211

Posted

Sure thing! 

{
  "SecurityStringAgainstF1use": "**********",
  "RestoreCommand": "restorecorpse",
  "RestoreCommandConsole": "restorecorpse",
  "EnableReminder": true,
  "RestoreRandomLoot": false
}


The asterisks are a placeholder, I have actual letters and numbers as password.

 

Kaucsenta

Posted

Thanks, there is any previous message from the plugin in the console, like "OnPlayerCorpseSpawned - corpse error" or "OnPlayerCorpseSpawned - player error"?

Any other plugin what can manipulate the corpses? Like Raidable bases with that setting? Please attach a plugin list (o.plugin)

Also, how often this happen?

Nomad3211

Posted

There was nothing before that error, and it pops every now and then in the console. at least a few times an hour with an average population of 30 or so players. 

Here is the plugins list: 

01 "Abandoned Bases" (2.0.6) by nivex (10.20s) - AbandonedBases.cs
  02 "AdminHammer" (1.13.0) by mvrb (0.01s) - AdminHammer.cs
  03 "Admin Radar" (5.3.1) by nivex (5.27s) - AdminRadar.cs
  04 "AdvancedHitBar" (1.1.2) by ProCelle (8.51s) - AdvancedHitBar.cs
  05 "Anti Ladder and Twig" (1.3.1) by kaucsenta (0.00s) - AntiLadderandTwig.cs
  06 "Convoy" (2.3.6) by Adem (0.00s) - Convoy.cs
  07 "Auto Doors" (3.3.10) by Wulf/lukespragg/Arainrr/James/Bushhy (7.97s) - AutoDoors.cs
  08 "Auto Farm" (1.5.0) by Razor (57.36s) - AutoFarm.cs
  09 "Auto Plant" (1.2.4) by Egor Blagov / rostov114 (0.27s) - AutoPlant.cs
  10 "Auto Purge" (2.1.1) by misticos (0.28s) - AutoPurge.cs
  11 "Automated Stash Traps" (1.5.3) by Dana (0.49s) - AutomatedStashTraps.cs
  12 "Automatic Authorization" (1.3.3) by k1lly0u/Arainrr (1.31s) - AutomaticAuthorization.cs
  13 "BGrade" (1.1.5) by Ryan / Rustoria.co (1.70s) - BGrade.cs
  14 "Backpacks" (3.11.8) by WhiteThunder (5.14s) - Backpacks.cs
  15 "BadNameNickname" (1.0.1) by P1S4G0R (0.00s) - BadNameNickname.cs
  16 "Bag of Holding" (1.5.0) by BlackLightning (60.74s) - BagOfHolding.cs
  17 "Base Repair" (1.0.24) by MJSU (0.01s) - BaseRepair.cs
  18 "Beds Cooldowns" (1.1.4) by Orange (0.49s) - BedsCooldowns.cs
  19 "BetterAttachments" (0.0.3) by ignignokt84 (3.57s) - BetterAttachments.cs
  20 "Better Chat" (5.2.12) by LaserHydra (1.17s) - BetterChat.cs
  21 "Better Chat Mute" (1.2.1) by LaserHydra (0.03s) - BetterChatMute.cs
  22 "Better Chat Filter" (1.7.0) by NooBlet (0.84s) - BetterChatFilter.cs
  23 "BetterNpc" (1.2.1) by KpucTaJl (2.81s) - BetterNpc.cs
  24 "Monument Addons" (0.14.1) by WhiteThunder (0.07s) - MonumentAddons.cs
  25 "Blueprint Share" (1.3.2) by c_creep (0.47s) - BlueprintShare.cs
  26 "Box Sorter Lite" (1.0.9) by haggbart (10.38s) - BoxSorterLite.cs
  27 "BradleyTiers" (1.1.4) by Krungh Crow (2.68s) - BradleyTiers.cs
  28 "Building Grades" (1.0.11) by Default/Arainrr (0.05s) - BuildingGrades.cs
  29 "Buoyant Helicopters" (1.2.2) by BlackLightning (1.51s) - BuoyantHelicopters.cs
  30 "Bypass Queue" (1.0.4) by Orange (0.00s) - BypassQueue.cs
  31 "Chest Stacks" (1.3.6) by supreme (0.96s) - ChestStacks.cs
  32 "Clans" (0.2.6) by k1lly0u (0.13s) - Clans.cs
  33 "Clan Team" (1.0.6) by deivismac (0.02s) - ClanTeam.cs
  34 "Copy Paste" (4.1.36) by misticos (0.54s) - CopyPaste.cs
  35 "CustomButtons" (2.0.6) by David (18.10s) - CustomButtons.cs
  36 "Custom Vending Setup" (2.10.2) by WhiteThunder (0.61s) - CustomVendingSetup.cs
  37 "DefendableBases" (1.1.5) by KpucTaJl (0.03s) - DefendableBases.cs
  38 "Discord Api" (0.0.2) by Pho3niX90 (0.02s) - DiscordApi.cs
  39 "Discord Rewards" (1.4.0) by birthdates (0.01s) - DiscordRewards.cs
  40 "EasyRules" (1.0.1) by Lockdown (0.02s) - EasyRules.cs
  41 "Economics" (3.9.1) by Wulf (2.83s) - Economics.cs
  42 "Electric Generator Tweaker" (1.0.0) by FastBurst (3.15s) - ElectricGeneratorTweaker.cs
  43 "Entity Cleanup" (4.0.0) by 2CHEVSKII (0.01s) - EntityCleanup.cs
  44 "Epic Loot" (1.1.10) by imthenewguy (30.94s) - EpicLoot.cs
  45 "Extended Recycler" (1.2.2) by beee/The Friendly Chap (2.56s) - ExtendedRecycler.cs
  46 "Extra Seating" (1.0.9) by Pho3niX90 (2.54s) - ExtraSeating.cs
  47 "FancyDrop" (3.2.2) by FastBurst (4.12s) - FancyDrop.cs
  48 "Friends" (3.1.3) by Wulf (0.38s) - Friends.cs
  49 "Furnace Splitter" (2.5.1) by FastBurst (87.40s) - FurnaceSplitter.cs
  50 "Ganja" (2.0.4) by The_Kiiiing (69.69s) - Ganja.cs
  51 "Gather Rewards" (1.6.7) by Shady14u (75.76s) - GatherRewards.cs
  52 "Godmode" (4.2.12) by Wulf/lukespragg/Arainrr (4.08s) - Godmode.cs
  53 "GuessTheNumber" (2.1.3) by Krungh Crow (0.02s) - GuessTheNumber.cs
  54 "HarborEvent" (2.1.3) by KpucTaJl (5.05s) - HarborEvent.cs
  55 "HeavyCargoShipEvent" (1.2.2) by Cahnu (12.59s) - HeavyCargoShipEvent.cs
  56 "HeavyOilRigEvent" (1.0.7) by Cahnu (11.68s) - HeavyOilRigEvent.cs
  57 "Heli Sams" (2.1.0) by WhiteThunder & Whispers88 (18.23s) - HeliSams.cs
  58 "Horn Doors" (1.0.1) by imthenewguy (0.00s) - HornDoors.cs
  59 "Hostile Time" (1.0.2) by Orange (0.54s) - HostileTime.cs
  60 "Hud" (3.0.7) by ahigao (18.79s) - Hud.cs
  61 "Image Library" (2.0.62) by Absolut & K1lly0u (2.00s) - ImageLibrary.cs
  62 "Instant Craft" (2.2.4) by Vlad-0003 / Orange / rostov114 (7.03s) - InstantCraft.cs
  63 "Instant Mixing Table" (1.0.0) by MJSU (0.00s) - InstantMixingTable.cs
  64 "Inventory Viewer" (4.0.6) by Whispers88 (0.00s) - InventoryViewer.cs
  65 "Item Cost Calculator" (2.0.15) by Absolut/Arainrr (0.25s) - ItemCostCalculator.cs
  66 "JetPack" (1.1.0) by Adem (5.19s) - JetPack.cs
  67 "Kits" (4.4.0) by k1lly0u (5.89s) - Kits.cs
  68 "Custom Auto Kits" (1.2.5) by Absolut/Arainrr (0.63s) - CustomAutoKits.cs
  69 "Limit Entities" (2.0.8) by MON@H (6.32s) - LimitEntities.cs
  70 "Lock Master" (1.1.8) by FastBurst (5.80s) - LockMaster.cs
  71 "LockOnRockets" (0.3.15) by k1lly0u (2.17s) - LockOnRockets.cs
  72 "Lone.Design Update Checker" (1.3.0) by Nikedemos / DezLife / nivex (0.02s) - LoneUpdateChecker.cs
  73 "Loot Bouncer" (1.0.10) by Sorrow/Arainrr (1.42s) - LootBouncer.cs
  74 "Loottable" (1.0.29) by The_Kiiiing (85.41s) - Loottable.cs
  75 "Barrel Points" (2.3.1) by Krungh Crow (0.07s) - BarrelPoints.cs
  76 "Master Key" (0.7.7) by FastBurst (34.83s) - MasterKey.cs
  77 "Mini-Copter Options" (2.4.0) by Pho3niX90 (2.30s) - MiniCopterOptions.cs
  78 "Monument Finder" (3.1.0) by WhiteThunder (0.02s) - MonumentFinder.cs
  79 "NPC Drop Gun" (2.0.8) by 2CHEVSKII (1.19s) - NPCDropGun.cs
  80 "NTeleportation" (1.7.6) by nivex (9.44s) - NTeleportation.cs
  81 "NightVision" (2.4.1) by Clearshot (1.32s) - NightVision.cs
  82 "No Durability" (2.2.5) by Wulf/lukespragg/Arainrr (0.51s) - NoDurability.cs
  83 "No Flykick" (1.3.4) by August (0.04s) - NoFlykick.cs
  84 "No Give Notices" (0.3.0) by Wulf (0.00s) - NoGiveNotices.cs
  85 "No Weapon Drop" (1.2.0) by Fujikura (0.00s) - NoWeaponDrop.cs
  86 "NoWorkbench" (0.1.51) by k1lly0u (0.01s) - NoWorkbench.cs
  87 "NpcRaiders" (1.5.2) by Razor (3.64s) - NpcRaiders.cs
  88 "NpcSpawn" (2.5.3) by KpucTaJl (25.37s) - NpcSpawn.cs
  89 "OxidationMetadata" (1.4.3) by kasvoton (0.05s) - OxidationMetadata.cs
  90 "PermissionsManager" (2.0.9) by Steenamaroo (0.35s) - PermissionsManager.cs
  91 "PersonalFarm" (1.0.7) by bmgjet (91.89s) - PersonalFarm.cs
  92 "Personal Heli" (1.1.8) by Egor Blagov (8.29s) - PersonalHeli.cs
  93 "PersonalNPC" (1.6.11) by walkinrey (68.41s) - PersonalNPC.cs
  94 "PNPC Heli AI Addon" (0.0.4) by walkinrey (0.00s) - PNPCAddonHeli.cs
  95 "PNPC Raid Addon" (0.0.2) by walkinrey (0.00s) - PNPCAddonRaid.cs
  96 "Personal Slot Machine" (1.0.5) by bmgjet (4.05s) - PersonalSlotMachine.cs
  97 "Personal Vault Door" (1.0.3) by bmgjet (5.52s) - PersonalVaultDoor.cs
  98 "PlayerAdministration" (1.6.8) by ThibmoRozier (0.09s) - PlayerAdministration.cs
  99 "Player Rankings" (3.0.3) by Ankawi (0.25s) - PlayerRankings.cs
  100 "PlayerRanks" (2.2.5) by Steenamaroo (17.47s) - PlayerRanks.cs
  101 "Playtime Tracker" (0.2.2) by k1lly0u (3.91s) - PlaytimeTracker.cs
  102 "Plugin Update Notifications" (1.1.0) by Whispers88 (0.01s) - PluginUpdateNotifications.cs
  103 "PopUpAPI" (2.0.2) by ThePitereq (0.06s) - PopUpAPI.cs
  104 "Popup Notifications" (0.2.0) by emu / k1lly0u (0.00s) - PopupNotifications.cs
  105 "Powerless Turrets" (3.2.9) by August (0.21s) - PowerlessTurrets.cs
  106 "PreferredEnvironment" (2.0.12) by k1lly0u (23.88s) - PreferredEnvironment.cs
  107 "PreventLooting" (1.12.2) by CaseMan (0.54s) - PreventLooting.cs
  108 "PrivateMessages" (1.1.11) by MisterPixie (0.14s) - PrivateMessages.cs
  109 "Puzzle Bypass" (1.0.0) by Def (0.01s) - PuzzleBypass.cs
  110 "PveMode" (1.0.9) by KpucTaJl (5.54s) - PveMode.cs
  111 "Quick Smelt" (5.1.5) by misticos (3.00s) - QuickSmelt.cs
  112 "Quick Sort" (1.8.1) by MON@H (0.58s) - QuickSort.cs
  113 "Raidable Bases" (2.7.3) by nivex (55.53s) - RaidableBases.cs
  114 "Recycle" (3.1.2) by 5Dev24 (31.88s) - Recycle.cs
  115 "Recycle Manager" (2.0.3) by WhiteThunder (0.28s) - RecycleManager.cs
  116 "Remover Tool" (4.3.40) by Reneb/Fuji/Arainrr/Tryhard (0.13s) - RemoverTool.cs
  117 "Respawn Protection" (2.0.2) by Ryz0r (1.07s) - RespawnProtection.cs
  118 "Restore Corpse" (1.1.0) by kaucsenta (1.85s) - RestoreCorpse.cs
  119 "Rustcord" (3.3.1) by Kirollos & OuTSMoKE (1.00s) - Rustcord.cs
  120 "Server Armour" (2.39.24) by Pho3niX90 (0.36s) - ServerArmour.cs
  121 "Server Armour Elo" (1.0.3) by Pho3niX90 (0.03s) - ServerArmourElo.cs
  122 "Shop" (1.2.26) by Mevent (7.70s) - Shop.cs
  123 "Sign Artist" (1.4.1) by Whispers88 (0.01s) - SignArtist.cs
  124 "Simple Kill Feed" (2.1.3) by Krungh Crow (0.78s) - SimpleKillFeed.cs
  125 "Skill Tree" (1.3.9) by imthenewguy (124.37s) - SkillTree.cs
  126 "SkinBox" (2.1.25) by k1lly0u (1.74s) - SkinBox.cs
  127 "SkipNightUI" (0.1.2) by k1lly0u (5.53s) - SkipNightUI.cs
  128 "Spawn Mini" (2.12.1) by SpooksAU (3.65s) - SpawnMini.cs
  129 "Stations" (1.0.2) by bmgjet (0.00s) - Stations.cs
  130 "Supply Signal Limit" (0.0.2) by bsdinis (4.52s) - SupplySignalLimit.cs
  131 "Tebex Donate" (1.7.0) by Tebex (0.01s) - TebexDonate.cs
  132 "Terrain Violation Fix" (1.0.3) by Tryhard (0.02s) - TerrainViolationFix.cs
  133 "Trade" (1.2.44) by Calytic (0.18s) - Trade.cs
  134 "Troll Cheaters" (0.2.0) by x0x58x (1.00s) - TrollCheaters.cs
  135 "TruePVE" (2.0.9) by nivex (75.81s) - TruePVE.cs
  136 "TugMe" (1.0.6) by bmgjet (66.25s) - TugMe.cs
  137 "UFilter" (5.1.1) by Wulf/lukespragg (0.10s) - UFilter.cs
  138 "UberTool" (1.4.30) by FuJiCuRa (0.39s) - UberTool.cs
  139 "Unburnable Meat" (1.0.1) by S642667 (0.00s) - UnburnableMeat.cs
  140 "UpdatesChecker" (1.1.0) by Steenamaroo (0.00s) - UpdatesChecker.cs
  141 "Vanish" (1.8.0) by Whispers88 (0.11s) - Vanish.cs
  142 "Vehicle Deployed Locks" (1.9.1) by WhiteThunder (3.54s) - VehicleDeployedLocks.cs
  143 "Vending In Stock" (1.1.0) by AVOcoder / rostov114 (0.00s) - VendingInStock.cs
  144 "Vending Manager" (0.2.12) by Whispers88 (182.28s) - VendingManager.cs
  145 "VirtualQuarries" (2.3.10) by ThePitereq (2.37s) - VirtualQuarries.cs
  146 "WPKits" (1.1.4) by David (0.07s) - WPKits.cs
  147 "WPSocialLinks" (1.1.4) by David (0.02s) - WPSocialLinks.cs
  148 "WPVipRanks" (1.1.4) by David (0.04s) - WPVipRanks.cs
  149 "WPWipeCycle" (1.1.4) by David (0.02s) - WPWipeCycle.cs
  150 "WaterBases" (1.0.14) by Nikedemos (5.61s) - WaterBases.cs
  151 "Water Works" (1.0.6) by nivex (0.44s) - WaterWorks.cs
  152 "WelcomePanel" (3.0.7) by David (27.64s) - WelcomePanel.cs
  153 "Welcomer" (2.1.0) by Dana (0.77s) - Welcomer.cs
  154 "XWipeCalendar" (1.0.6) by Monster (0.09s) - XWipeCalendar.cs
  155 "Zone Manager Auto Zones" (1.3.8) by FastBurst (0.35s) - ZoneManagerAutoZones.cs
  156 "NpcHordeRustEdit" (1.0.4) by KpucTaJl (0.16s) - NpcHordeRustEdit.cs
  157 "Vehicle Decay Protection" (2.4.1) by WhiteThunder (0.27s) - VehicleDecayProtection.cs
  158 "Zone Manager" (3.1.3) by k1lly0u (0.24s) - ZoneManager.cs
  159 ArmoredTrain - Unloaded
  160 SimpleSymmetry - Unloaded


I checked raidable bases and didnt see anything about corpse handling, However the skill tree may...... theres a revive perk in there somewhere.

Kaucsenta

Posted

Was not able to reproduce it, and also just the Raidablebases the only suspect, as it collide in the past. Still present after the wipe?

Kaucsenta

Posted

Changed Status from Pending to No Response

Changed Fixed In to 1.1.0

Nomad3211

Posted

I apologize for the delay! 

The issue is still here: 

When a player tries to recover their corpse from a PvP raidable base ( I have Prevent actions from restore upon death set to true in PvP zones) 
the failed to call hook thing will pop up in the console.  

It doesnt appear to give the player a message, it just throws an error

 

1.4m

Downloads

Total number of downloads.

7k

Customers

Total customers served.

104.9k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.