Jump to content

MultipleGrenadeLauncher

Pending 2.7.8

Malkizid
Malkizid

Posted

I appear to have made a mistake, probably just an oversight on my part.
I was not aware that this ammo type did not work before.

The  buck shot for the multiple grenade launcher.
I have a convo NPC equipped with it.

Can somebody confirm if this is currently unsupported?
Thanks so much for your time and consideration.

Kind regards,
Manky

 

(16:31:22) | Couldn't find prefab "assets/prefabs/ammo/40mmgrenade/ammo.grenadelauncher.buckshot.prefab"

(16:31:22) | System.NullReferenceException: Object reference not set to an instance of an object

at Oxide.Plugins.NpcSpawn+CustomScientistNpc.FireGrenadeLauncher () [0x000ba] in <a7c78756e2b54f4197ae57d30221eb56>:0

at Oxide.Plugins.NpcSpawn+CustomScientistBrain+CombatState.StateThink (System.Single delta, BaseAIBrain brain, BaseEntity entity) [0x00142] in <a7c78756e2b54f4197ae57d30221eb56>:0

at Oxide.Plugins.NpcSpawn+CustomScientistBrain.Think (System.Single delta) [0x000d5] in <a7c78756e2b54f4197ae57d30221eb56>:0

at BaseAIBrain.DoThink () [0x0000d] in <3aec307eee464538bf0b5313d5ab1ad7>:0

at HumanNPC.ServerThink (System.Single delta) [0x0001a] in <3aec307eee464538bf0b5313d5ab1ad7>:0

at NPCPlayer.ServerThink_Internal () [0x0000d] in <3aec307eee464538bf0b5313d5ab1ad7>:0

at HumanNPC.TryThink () [0x00000] in <3aec307eee464538bf0b5313d5ab1ad7>:0

at AIThinkManager.DoProcessing (ListHashSet`1[T] process, System.Single budgetSeconds, System.Int32& last) [0x00014] in <3aec307eee464538bf0b5313d5ab1ad7>:0

(16:31:23) | Couldn't find prefab "assets/prefabs/ammo/40mmgrenade/ammo.grenadelauncher.buckshot.prefab"

 

Jbird

Posted

6 hours ago, Malkizid said:

I appear to have made a mistake, probably just an oversight on my part.
I was not aware that this ammo type did not work before.

The  buck shot for the multiple grenade launcher.
I have a convo NPC equipped with it.

Can somebody confirm if this is currently unsupported?
Thanks so much for your time and consideration.

Kind regards,
Manky

Looks like you gave the path instead of just the prefab short name.

ammo.grenadelauncher.buckshot

This is all you need to put inside the ammo field in the configuration file.

  • Like 1
Malkizid

Posted (edited)

That's precisely what I did.
It must be an issue with the Convoy plugin then.
The screenshot is from a Convoy NPC config.

I reported here as the console error was from NpcSpawn.
Perhaps I should open a ticket with Adem?

bug convoy+npcspawn.jpg

Edited by Malkizid
Jbird

Posted

14 hours ago, Malkizid said:

That's precisely what I did.
It must be an issue with the Convoy plugin then.
The screenshot is from a Convoy NPC config.

I reported here as the console error was from NpcSpawn.
Perhaps I should open a ticket with Adem?

bug convoy+npcspawn.jpg

Interesting, and makes sense why you would report it here.

Create a ticket for Convoy on the site, or if you'd like, join the Mad Mapper Discord and create a ticket there. You can tag me in it too, tag Adem at first to look into whether it's an issue with Convoy that we can sort out and we will go from there wherever you choose to post it.

  • Like 1
Malkizid

Posted

9 hours ago, Jbird said:

Interesting, and makes sense why you would report it here.

Create a ticket for Convoy on the site, or if you'd like, join the Mad Mapper Discord and create a ticket there. You can tag me in it too, tag Adem at first to look into whether it's an issue with Convoy that we can sort out and we will go from there wherever you choose to post it.

Hi Jbird, thanks for the update and reply.
Yes I'm in the MadMappers Discord,  I'll create a ticket and tag Adem there and tag you when I can.
 

Jbird

Posted

3 hours ago, Malkizid said:

Hi Jbird, thanks for the update and reply.
Yes I'm in the MadMappers Discord,  I'll create a ticket and tag Adem there and tag you when I can.

Any time. :classic_smile: Sounds like a plan!

Malkizid

Posted (edited)

Hi Jbird, in my ticket in the MadMappers Discord Adem said "ammo.grenadelauncher.buckshot" isnt supported at the moment.
So it was a bit of a dead end.  
I suppose you can close this ticket too.

Kind regards,
Manky

Edited by Malkizid
Jbird

Posted

1 hour ago, Malkizid said:

Hi Jbird, in my ticket in the MadMappers Discord Adem said "ammo.grenadelauncher.buckshot" isnt supported at the moment.
So it was a bit of a dead end.  
I suppose you can close this ticket too.

Kind regards,
Manky

I have probably been told that at some point but it's been so long that I had forgotten. Apologies.

When I talk to KpucTaJl next I'll ask about it, or I might just put it in our notes otherwise just to double check.

Or honestly if the ticket isn't closed in Discord yet we could just keep it open long enough to see if that's something that would be added or if there is a reason it wasn't added.

Thank you for the follow up!

  • Like 1
Malkizid

Posted

Hi there,

Thanks again for the update. 

Absolutely no problem. I can imagine, only being an admin for 100 plugins, I tend to forget such things xD

Unfortunately the Ticket was flagged to be closed. Maybe I coud open another one and annoy Adem about it.  😅

 

Jbird

Posted

13 hours ago, Malkizid said:

Hi there,

Thanks again for the update. 

Absolutely no problem. I can imagine, only being an admin for 100 plugins, I tend to forget such things xD

Unfortunately the Ticket was flagged to be closed. Maybe I coud open another one and annoy Adem about it.  😅

Create one and tag me and KpucTaJl in it. If anything would be adjusted it would be NpcSpawn as it is the core for all of the NPCs and where this would get added. When he is back home and free he will answer and I'll leave the ticket open until then.

  • Like 1
Malkizid

Posted

So for reasons beyond my understanding the prefab shortname of the projectile must be used here and not the item shortname  as is the usual and what I  am used to doing in most of these plugins.
Wanted to update this here too in case it helps anybody else on Codefling.


image.png.61fa174428101601862222869c4c409b.png


Best regards,
Manky

Jbird

Posted

16 hours ago, Malkizid said:

So for reasons beyond my understanding the prefab shortname of the projectile must be used here and not the item shortname  as is the usual and what I  am used to doing in most of these plugins.
Wanted to update this here too in case it helps anybody else on Codefling.

Best regards,
Manky

And just to add clarity since it is a good idea to share the fix for others, this is a one off situation where you would otherwise just use the normal short.name. Thank you for creating a ticket and glad we could sort this out quickly. Sorry I didn't remember it because I am sure I've been told at some point before!

So for example.

12466 - assets/prefabs/ammo/40mmgrenade/40mm_buckshot.item.prefab
12467 - assets/prefabs/ammo/40mmgrenade/40mm_grenade_he.item.prefab
12468 - assets/prefabs/ammo/40mmgrenade/40mm_grenade_he.prefab
12469 - assets/prefabs/ammo/40mmgrenade/40mm_grenade_smoke.item.prefab
12470 - assets/prefabs/ammo/40mmgrenade/40mm_grenade_smoke.prefab

You would use short_name from the prefab.

40mm_buckshot
40mm_grenade_he
40mm_grenade_smoke
  • Like 1
1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.4k

Files Sold

Total number of files sold.

2m

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.