Jump to content

NPC's Have Vanished And Turrets Are Missing Weapons Since Update

Pending 3.0.6

MatthiasBM
MatthiasBM

Posted

Everything was working fine before update now turrets are missing guns and my NPC's Are Gone/ naked Also Not Sure If Related but Turrets are now kicking anyone who trys to put gun in them the only other thing i have that effect turrets is TurretsExtended Plugin which ive removed to check and still happening any suggestion for fix

 

image.png

  • Like 1
Kapco411

Posted

confirmed All NPC's are naked and no weapons. Only showing NRE in console using Debug

  • Like 1
Муреныч

Posted (edited)

I have the same thing

Edited by Муреныч
  • Like 1
nivex

Posted

hi, this shouldn't be related to rb

TurboWeapons caused this for other people

as did misconfigured LootEnhancer

  • Like 1
MatthiasBM

Posted

So TurboWeapons I Had In Ive Removed And Restarted, Still No Clothing On NPC's Or Weapons In Turrets

 

  • Like 1
  • Confused 1
IlIDestroyerIlI

Posted (edited)

I am having the same issue. i also do have Truboweapons. 

Edited by IlIDestroyerIlI
nivex

Posted

I can't say without the error. This shouldn't be caused by RB.

Update Kits by Mevent
Unload TurboWeapons.
Make sure LootEnhancer is configured.
Loot not dropping from boxes is not caused by RB

 

MatthiasBM

Posted

kits have been updated, ive unloaded turboweapons , lootEnhancer dont have still issue remains

nivex

Posted

 

@MatthiasBM

Your exact issue was fixed by removing Turbo Weapons and restarting the server. If that doesn't work, then you'll have to find the plugin causing your issue 😕

 

Kapco411

Posted (edited)

3 hours ago, MatthiasBM said:

So TurboWeapons I Had In Ive Removed And Restarted, Still No Clothing On NPC's Or Weapons In Turrets

 

I resolved the issue with the clothing. Either Make kits for them using the kits plugin or enable the Dangerous Treasures NPC's. I'm guessing I had Dangerous Treasures enabled before and it got disabled during this last update. I created kits named scientist_kit_1 and _2 and Murderer_kit_1 and _2 for simplicity but you can name them as you wish and change it in the Profiles. For the turrets it appears that they work sometimes and not others. I confimed this is because some of the copy paste files the turrets had guns in them and some do not and the plugin is not adding them in anymore. Figured I'd post what I found to help others for now. 

 

 

Edited by Kapco411
nivex

Posted (edited)

 

Npcs will still spawn with a weapon, even when no valid loadout or kit exists. The only thing that can prevent this is another plugin or an error.

Send me a base where the turrets don't work properly and I can look at it.  And the profile for the base.

Edited by nivex
Marte6

Posted

Hello, I’m the author of TurboWeapons. Sorry for the delay...  I’ll check now to see if it might be a problem with it, and I’ll reply here and update the plugin if it’s something on my end.

  • Love 1
nivex

Posted

Hi, thank you ❤️

 

Marte6

Posted (edited)

I found the issue: loading weapon values during OnServerInitialized was causing the problem—moving that initialization into a NextTick fixed it. Please restart the server after updating the plugin for the errors to stop.

 

**Turbo Weapons  - 2.3.2 - What's New**
Fix: after the latest Rust update, placing weapons in turrets (including via plugins like RaidableBases) could cause NREs—TurboWeapons now initializes weapon data post-startup with safer checks; update and restart the server to apply.

Edited by Marte6
  • Like 1
Муреныч

Posted

image.png.2a815f291b685bd76afc3b205c89dc56.png

I don't have the above plugins, and after updating the Raidbaz plugin, all NPCs are naked and the weapons have disappeared from the turrets.

nivex

Posted

5 minutes ago, Муреныч said:

I don't have the above plugins, and after updating the Raidbaz plugin, all NPCs are naked and the weapons have disappeared from the turrets.

Then look for other plugins as the cause.

It might require a restart if the issue is with pooling.

 

Муреныч

Posted

NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.RaidableBases+RaidableBase.AddItemAmountSkinned (System.Collections.Generic.List`1[T] source, System.Collections.Generic.List`1[T] shortnames) [0x0005e] in <17d7060819a1409e8e7097fbe3ffe55e>:0 
  at Oxide.Plugins.RaidableBases+RaidableBase.CreateLoadout (Oxide.Plugins.RaidableBases+HumanoidNPC npc, Oxide.Plugins.RaidableBases+HumanoidBrain brain) [0x000db] in <17d7060819a1409e8e7097fbe3ffe55e>:0 
  at Oxide.Plugins.RaidableBases+RaidableBase.GetLoadout (Oxide.Plugins.RaidableBases+HumanoidNPC npc, Oxide.Plugins.RaidableBases+HumanoidBrain brain) [0x00000] in <17d7060819a1409e8e7097fbe3ffe55e>:0 
  at Oxide.Plugins.RaidableBases+RaidableBase.GiveKit (Oxide.Plugins.RaidableBases+HumanoidNPC npc, Oxide.Plugins.RaidableBases+HumanoidBrain brain, System.Boolean isMurderer) [0x00107] in <17d7060819a1409e8e7097fbe3ffe55e>:0 
  at Oxide.Plugins.RaidableBases+RaidableBase+<>c__DisplayClass513_0.<SetupNpc>b__0 () [0x00000] in <17d7060819a1409e8e7097fbe3ffe55e>:0 
  at InvokeHandlerBase`1[T].DoTick () [0x00138] in <df5725da47aa45c59daf1806a369c95d>:0 
  at InvokeHandlerBase`1[T].LateUpdate () [0x0001f] in <df5725da47aa45c59daf1806a369c95d>:0 

nivex

Posted

13 minutes ago, Муреныч said:

NullReferenceException: Object reference not set to an instance of an object

Hi, you need to restart your server. There is no such error.

Муреныч

Posted

I've already restarted it twice, but it doesn't help.

nivex

Posted

1 minute ago, Муреныч said:

I've already restarted it twice, but it doesn't help.

The error is bogus. Everything is null checked already.

IlIDestroyerIlI

Posted

After updating Turboweapons and restarting the server everything is working fine. the NPC's have clothing on and the turrets have weapons in them. Thanx @nivexand @Marte6

  • Love 2
1.9m

Downloads

Total number of downloads.

8.9k

Customers

Total customers served.

131.2k

Files Sold

Total number of files sold.

2.7m

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.