Wulf updated LootConfig with a new update entry:
1.0.23

LootConfig
Allows you to adjust the server's loot list
Total Downloads: 14,960 - First Release: Mar 27, 2015 - Last Update: May 20, 2018
- 5/5, 21 likes
-
Wulf Community Admin
-
So i have an issue with LootConfig kicking people when they kill a MurdererNPC.
I've unloaded all plugins and tested them individually. This is the only one that seems to be causing this error
RPC Error in OnProjectileAttack.
Any support for this issue? or is it an Oxide issue?
I get this error in console.
NullReferenceException: Object reference not set to an instance of an object -
Mhhey!
I´ve got the same problem.
But besides your setup, I´ve unloaded all plugins on my setup and the error still occurs. So this is my error log:
Code:xx.xx.xx.xx:xxxxx/xxx/xxx kicked: RPC Error in PlayerAttack NullReferenceException: Object reference not set to an instance of an object at NPCMurderer.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 BaseMelee.DoAttackShared (.HitInfo info) [0x00000] in <filename unknown>:0 at BaseMelee.PlayerAttack (RPCMessage msg) [0x00000] in <filename unknown>:0 at BaseMelee.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) BaseMelee: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() (Filename: Line: -1)
If further information is needed, let me know. -
Same here. When I kill the AI (Blaster
) wearing a halloween costume, I get kicked with that error message.
-
LootConfig is causing this
definitely this happens on NPCMurderer.CreateCorpse()Last edited by a moderator: Oct 27, 2017 -
So lets wait for an update I guess. -
We just disabled the NPC's until there is a fix.
halloween.murdererpopulation 0
The second errors are from LootConfigs Commands. (loot.dump & loot.stats)
Gyazo - 01b9c3abc82e3ac04939fb2a8b849c8a.png
Below is the code found in Assembly-CSharp.dll
Code:using System; using System.Collections.Generic; using UnityEngine;public class NPCMurderer : NPCPlayerApex { public LootContainer.LootSpawnSlot[] LootSpawnSlots; public NPCMurderer() { } public override string Categorize() { return "murderer"; } public override void CreateCorpse() { using (TimeWarning timeWarning = TimeWarning.New("Create corpse", 0.1f)) { NPCPlayerCorpse nPCPlayerCorpse = base.DropCorpse("assets/prefabs/npc/murderer/murderer_corpse.prefab") as NPCPlayerCorpse; if (nPCPlayerCorpse) { nPCPlayerCorpse.SetLootableIn(2f); nPCPlayerCorpse.SetFlag(BaseEntity.Flags.Reserved5, base.HasPlayerFlag(BasePlayer.PlayerFlags.DisplaySash), false); nPCPlayerCorpse.SetFlag(BaseEntity.Flags.Reserved2, true, false); int num = 0; while (num < this.inventory.containerWear.itemList.Count) { Item item = this.inventory.containerWear.itemList[num]; if (item == null || !(item.info.shortname == "gloweyes")) { num++; } else { this.inventory.containerWear.Remove(item); break; } } nPCPlayerCorpse.TakeFrom(new ItemContainer[] { this.inventory.containerMain, this.inventory.containerWear, this.inventory.containerBelt }); nPCPlayerCorpse.playerName = base.displayName; nPCPlayerCorpse.playerSteamID = this.userID; nPCPlayerCorpse.Spawn(); nPCPlayerCorpse.TakeChildren(this); ItemContainer[] itemContainerArray = nPCPlayerCorpse.containers; for (int i = 0; i < (int)itemContainerArray.Length; i++) { itemContainerArray[i].Clear(); } if ((int)this.LootSpawnSlots.Length > 0) { LootContainer.LootSpawnSlot[] lootSpawnSlots = this.LootSpawnSlots; for (int j = 0; j < (int)lootSpawnSlots.Length; j++) { LootContainer.LootSpawnSlot lootSpawnSlot = lootSpawnSlots[j]; for (int k = 0; k < lootSpawnSlot.numberToSpawn; k++) { if (Random.Range(0f, 1f) <= lootSpawnSlot.probability) { lootSpawnSlot.definition.SpawnIntoContainer(nPCPlayerCorpse.containers[0]); } } } } } } } public override float MaxHealth() { return 100f; } public override bool ShouldDropActiveItem() { return false; } public override float StartHealth() { return Random.Range(100f, 100f); } public override float StartMaxHealth() { return 100f; } }
-
-
-
This plugin kick from the game! Checked out all all the plugins, and it is because of this plugin kick from the game by killing new NPC... please Check and Fix the plugin... Below is the error which is issued by the console after killing the Npc...
1.
[DeathNotices] [TAG] Jon Snow убил (M249, Lower Spine, 15.16м.)
NullReferenceException: Object reference not set to an instance of an object
NPCMurderer.CreateCorpse () BasePlayer.OnKilled (.HitInfo info) NPCPlayerApex.OnKilled (.HitInfo info) BaseCombatEntity.Die (.HitInfo info) BasePlayer.Die (.HitInfo info) BaseCombatEntity.Hurt (.HitInfo info) BasePlayer.Hurt (.HitInfo info) NPCPlayerApex.Hurt (.HitInfo info) BaseCombatEntity.OnAttacked (.HitInfo info) BasePlayer.OnAttacked (.HitInfo info) BasePlayer.OnProjectileAttack (RPCMessage msg) BasePlayer.OnRpcMessage (.BasePlayer player, UInt32 rpc, Network.Message msg) 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()
95.132.120.121:25275/76561198208674299/Jon Snow joined [windows/76561198208674299]
2.
[DeathNotices] [TAG] Jon Snow убил (M249, Neck, 1.94м.)
SubCategoryIntoContainer: This should never happen!
SubCategoryIntoContainer: This should never happen!
SubCategoryIntoContainer: This should never happen!
[9519469/76561190003607513] was killed by [TAG] Jon Snow[2019181/76561198208674299]
Invalid Position: generic_world[10408349] scrap (world) (-829.2, -5006.0, -494.6) (destroying)
[DeathNotices] [TAG] Jon Snow убил (M249, Right Shoulder, 55.31м.)
SubCategoryIntoContainer: This should never happen!
SubCategoryIntoContainer: This should never happen!
SubCategoryIntoContainer: This should never happen!
[9519793/76561190002865102] was killed by [TAG] Jon Snow[2019181/76561198208674299]
[DOUBLEPOST=1509549358][/DOUBLEPOST]https://pp.userapi.com/c834101/v834101822/dca7/TRpPTIfj59w.jpg -
We haven't been able to fix it and people are still getting kick. We're telling people its a Rust issue until its fixed. -
[DOUBLEPOST=1509549872][/DOUBLEPOST]
command disables the intellect from an NPC and they're just standing in placeLast edited by a moderator: Nov 1, 2017 -
Halloween.enabled false
Halloween.murdererpopulation 0 -
Anyone else getting this with the new basic crate?
Keeps spamming the console.
https://i.imgur.com/nnNELHn.png
Removed all plugins and tried spawn crate_basic and it spawns.
Load LootConfig and try to spawn crate_basic it causes that error.
The below image only happens once LootConfig is loaded.
Gyazo - ab24daf2dde250447f2f626147fd4aac.png
And there is also this screenshot:
Gyazo - 9f7716d297de2fcf3b5dee6ef2487dc1.pngLast edited by a moderator: Nov 3, 2017 -
was just wondering when lootConfig will be updated or fixed or what other plugin can be used to replace until fixed?
-
Nogrod updated LootConfig with a new update entry:
1.0.24
-
@Nogrod Because of Facepunch's latest 'update' Lootconfig conflicts with the new airdrop (always 2x armor, guns, ammo.) Supply drops give a failed prefab log, and both supply and regular airdrops are glitched in the air, stationary with the parachute not deploying. Since FP appears uncapable of fixing their error's, perhaps you could patch it in the meantime? Much appreciated <3 (also maybe you could look into adding blueprints&scrap in the config?)
-
Did that not fix this?
Gyazo - 21c3576f26335dc4d140815d1ae04871.png -
Getting the same error as Mr_Jeff with only LootConfig loaded @Nogrod