Jump to content

botrespawn is crashing my server sadly

Pending 1.5.4

slimybeanstalk
slimybeanstalk

Posted

i remove it, and the server does not crash. It keeps making npc's that are not on the navmesh. I've used it for over a year with no issue until a recent update. It also says something about not being able to find a humanNPC prefab?

  • Administrator
Steenamaroo

Posted

Hi,
Can you paste the full error message please?

I know Facepunch are working on a navmesh transition so, no doubt, there will be bumps along that road,
but if there's anything I can do to catch and flag problem npcs that would be ideal.

  • Love 1
slimybeanstalk

Posted

well i found a couple over time. Here they are:

1.)

23:26 [Error] Failed to run a 0.20 timer in 'BotReSpawn v1.5.4' (NullReferenceException: Object reference not set to an instance of an object)
  at ItemContainer.Remove (Item item) [0x00069] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at Item.SetParent (ItemContainer target) [0x00012] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at Item.RemoveFromContainer () [0x00009] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at Item.MoveToContainer (ItemContainer newcontainer, System.Int32 iTargetPos, System.Boolean allowStack, System.Boolean ignoreStackLimit, BasePlayer sourcePlayer, System.Boolean allowSwap) [0x005f9] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at Oxide.Plugins.Loottable+LootManager.GiveItemToContainer (Oxide.Plugins.Loottable+LootItem lootItem, ItemContainer container, System.Int32 overrideAmount, System.Boolean respectStackSize, System.Boolean dropIfContainerFull) [0x00080] in <50e97dbcc59f4d5faf21325c4c217b83>:0 
  at Oxide.Plugins.Loottable+LootManager.ApplyCustomLoot (ItemContainer container, Oxide.Plugins.Loottable+LootConfig config, System.Boolean clear, BasePlayer forPlayer, System.Boolean forWagon, BaseEntity+GiveItemReason giveReason, System.Collections.Generic.List`1[T] itemList) [0x00067] in <50e97dbcc59f4d5faf21325c4c217b83>:0 
  at Oxide.Plugins.Loottable+LootManager.MakeLoot (ItemContainer container, Oxide.Plugins.Loottable+LootConfig config, System.Boolean clear, LootContainer lootContainer, BasePlayer forPlayer, System.Boolean forWagon) [0x0001b] in <50e97dbcc59f4d5faf21325c4c217b83>:0 
  at Oxide.Plugins.Loottable+LootManager.PopulateCorpse (ScarecrowNPC npc, LootableCorpse corpse, Oxide.Plugins.Loottable+LootConfig config) [0x0002b] in <50e97dbcc59f4d5faf21325c4c217b83>:0 
  at Oxide.Plugins.Loottable.OnCorpseApplyLoot (ScarecrowNPC npc, NPCPlayerCorpse corpse) [0x00022] in <50e97dbcc59f4d5faf21325c4c217b83>:0 
  at Oxide.Plugins.Loottable+ScarecrowNPC_ApplyLoot.Prefix (NPCPlayerCorpse corpse, ScarecrowNPC __instance) [0x00009] in <50e97dbcc59f4d5faf21325c4c217b83>:0 
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.ScarecrowNPC.ApplyLoot_Patch1(ScarecrowNPC,NPCPlayerCorpse)
  at NPCPlayer.CreateCorpse (BasePlayer+PlayerFlags flagsOnDeath, UnityEngine.Vector3 posOnDeath, UnityEngine.Quaternion rotOnDeath, System.Collections.Generic.List`1[T] triggersOnDeath, System.Boolean forceServerSide) [0x00162] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at BasePlayer.OnDied (HitInfo info) [0x002f1] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at BaseCombatEntity.Die (HitInfo info) [0x00148] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at BasePlayer.Die (HitInfo info) [0x000ce] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at BaseCombatEntity.Hurt (HitInfo info) [0x00417] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at BasePlayer.Hurt (HitInfo info) [0x00481] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at ScarecrowNPC.Hurt (HitInfo info) [0x0014b] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at BaseCombatEntity.OnAttacked (HitInfo info) [0x00067] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at BasePlayer.OnAttacked (HitInfo info) [0x000e5] in <636474cb123a4ab1b2ddcd77e3b81637>:0 
  at Oxide.Plugins.BotReSpawn+BotData+<>c__DisplayClass95_0.<MeleeAttack>b__1 () [0x0020e] in <50e97dbcc59f4d5faf21325c4c217b83>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <15f61ddda771464d8246ebdce8ff4811>:0 


2.)

heres one from the server console logs

[Skill Tree] Saving player data for 2 players.

[Skill Tree] Finished saving player data.

Saved 120,265 ents, cache(0.34), write(0.06), disk(0.03).

Saving complete

ScareCrow[410] was killed by Cannibal[133526] at (-1495.46, 1.97, -1736.27)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Look rotation viewing vector is zero

Look rotation viewing vector is zero

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[1436] was killed by Cannibal[22129] at (-1994.89, 4.73, 97.08)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

[Tape Library] TRYING TO ENQUEUE https://www.dropbox.com/scl/fi/ku2s5w4jcrho11gb0h1ao/25_15UTALD.ogg?rlkey=rhte5gpgh3dqgdrown7g6a908&st=cjr527ij&dl=1...

ScareCrow[1334] was killed by Cannibal[51119] at (-133.26, 28.45, 974.55)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[1128] was killed by Cannibal[10496] at (1491.91, 14.31, -1701.59)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

[Tape Library] TRYING TO ENQUEUE https://www.dropbox.com/scl/fi/od200squnkayqw1illpr8/3_H0VkNLr.ogg?rlkey=tq4dqiqp5grof6zijvji9uol8&st=gja9w8fv&dl=1...

[Tape Library] TRYING TO ENQUEUE https://www.dropbox.com/scl/fi/dw8bhlmfdz96zxgi155ff/40_xRrYB5Q.ogg?rlkey=rn63hpop7ccdkrh0dg4qjea5z&st=tsn2mq64&dl=1...

ScareCrow[1503] was killed by Cannibal[13704] at (-292.70, 14.25, -1268.51)

ScareCrow[1561] died (Slash)

ScareCrow[1138] died (Slash)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[1471] was killed by Cannibal[16727] at (1639.30, 6.26, 1201.18)

[Tape Library] TRYING TO ENQUEUE https://www.dropbox.com/scl/fi/0ty1fccq7ki22ab2rsn18/37_DWzukyb.ogg?rlkey=wmczrs8vf5fa0sa3v58v9y1j2&st=l90xhqfx&dl=1...

ScareCrow[229] was killed by Cannibal[10694] at (-1880.39, 6.59, -1764.15)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[1375] was killed by Cannibal[133350] at (638.43, 13.08, -1706.55)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[1433] was killed by Cannibal[16999] at (1940.76, 17.89, -618.60)

ScareCrow[1114] was killed by Cannibal[85911] at (1940.93, 17.76, -692.87)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

halloween.scarecrowpopulation: "115"

[Skill Tree] Saving player data for 1 players.

[Skill Tree] Finished saving player data.

Saved 120,246 ents, cache(0.34), write(0.07), disk(0.05).

Saving complete

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

[Tape Library] TRYING TO ENQUEUE https://www.dropbox.com/scl/fi/k7ojdlgsoznij6sjor3ge/54.ogg?rlkey=onnlu1k6rrim9giidt94kwzrp&st=utff91re&dl=1...

ScareCrow[1371] died (Arrow)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[411] was killed by Cannibal[42811] at (-1496.00, 3.62, -1642.82)

[Tape Library] TRYING TO ENQUEUE https://www.dropbox.com/scl/fi/ku2s5w4jcrho11gb0h1ao/25_15UTALD.ogg?rlkey=rhte5gpgh3dqgdrown7g6a908&st=cjr527ij&dl=1...

ScareCrow[1251] was killed by Cannibal[15912] at (-2009.21, 0.08, -1346.11)

ScareCrow[1671] died (Slash)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[1577] was killed by Cannibal[11565] at (1454.73, 13.97, -1705.09)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[1653] was killed by Cannibal[77608] at (1870.06, 17.80, -656.53)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

[Tape Library] TRYING TO ENQUEUE https://www.dropbox.com/scl/fi/vtkc64i2f7ssbtwwfu1v2/35_8v7wgHq.ogg?rlkey=dovoj4fxyxyv1gn15d7c294e0&st=lydo7r1n&dl=1...

ScareCrow[1201] died (Arrow)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Held entity for item 'grenade.beancan' has prefab 'assets/prefabs/weapons/halloween/butcher knife/butcherknife.entity.prefab' (12274867) but expected 'assets/prefabs/weapons/beancan grenade/grenade.beancan.entity.prefab'!!

[Tape Library] TRYING TO ENQUEUE https://www.dropbox.com/scl/fi/d8uvyndkv3lknh2tns7pu/38_XcZIn8q.ogg?rlkey=eq280bqh08e5p1545gvw3dyfa&st=43bk8fwk&dl=1...

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[1684] died (Slash)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[1583] was killed by Cannibal[129354] at (-1756.52, 6.54, -1846.43)

ScareCrow[1796] was killed by Cannibal[18022] at (-81.44, 27.45, 952.35)

ScareCrow[1757] was killed by Cannibal[18022] at (-126.85, 28.16, 940.36)

Couldn't find prefab "assets/rust.ai/agents/npcplayer/humannpc/scarecrow/scarecrow.prefab"

ScareCrow[1696] was killed by Cannibal[129354] at (-1729.41, 6.44, -1846.87)

ScareCrow[1562] was killed by Cannibal[11413] at (1478.02, 16.17, -1657.05)

ScareCrow[1765] was killed by Cannibal[262982] at (724.21, 5.97, -1919.83)

Look rotation viewing vector is zero

Look rotation viewing vector is zero

Look rotation viewing vector is zero

ScareCrow[147] was killed by Cannibal[17851] at (-137.84, 28.47, 968.04)


 

  • Administrator
Steenamaroo

Posted (edited)

Oooh ok. Yeah, none of that is BotReSpawn.

The persistent "couldn't find prefab" probably relates to you setting "halloween.scarecrowpopulation: "115"",
although I do see ScareCrows being killed so Idk, maybe it's something else..
Either way, BotReSpawn doesn't spawn Scarecrows.

 

The specific error at the start - It's a BotReSpawn timer that's flagging it up, and I can suppress that (I will),
but the actual problem is coming from your Loottable plugin.
It's shitting the bed trying to process a BotReSpawn corpse, it looks like.

its methods reference "ScarecrowNPC" which doesn't make a lot of sense because BotReSpawn are not ScarecrowNPC, even if you dress them that way.

Nothing that I can see here suggests any navmesh issue but, in your shoes, I'd unload the loottable plugin, for now,
and then figure out what convar, or plugin, is causing the "Couldn't find prefab" spam.

Edited by Steenamaroo
  • Like 1

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.6m
Total downloads
Customers
11.4k
Customers served
Files Sold
162.5k
Total sales
Payments
3.5m
Processed total
×
×
  • 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.