Jump to content

40 Screenshots

Recommended Comments



Jbird

Posted

5 hours ago, Wile E. said:

I just noticed these errors while searching for something else. I am unsure if it is negatively impacting the NPC's.

Do you have chinook crates and supply drops enabled?

More often than not these errors have been around for awhile but we've never had to fix most occurrences of the errors popping up because generally the plugin is still functioning fine. It seems to mostly be that other plugins that are using those same hooks end up causing the errors but the plugin generally still functions just fine.

That's what it's referring to though is supply drops and chinook crate drops.

Wile E.

Posted

Thanks for this. I need to go through everything to double-check but stick a fork in me I am all done for today. I will have a look-see tomorrow morning. Cheers

Jbird

Posted

24 minutes ago, Wile E. said:

Thanks for this. I need to go through everything to double-check but stick a fork in me I am all done for today. I will have a look-see tomorrow morning. Cheers

I feel that. Let me know if you run into any questions or issues.

Komorebi

Posted

Can you increase the use of console commands to enable spawning points?

Jbird

Posted

4 hours ago, Komorebi said:

Can you increase the use of console commands to enable spawning points?

Please expand on the idea you're suggesting. I'm not sure that I follow what you're asking just yet.

Komorebi

Posted

6 hours ago, Jbird said:

Please expand on the idea you're suggesting. I'm not sure that I follow what you're asking just yet.

For example, I configured an NPC for Airfield Monument. These NPCs only appear when I enable Airfield NPC with the console command.

Jbird

Posted

2 minutes ago, Komorebi said:

For example, I configured an NPC for Airfield Monument. These NPCs only appear when I enable Airfield NPC with the console command.

What command are you using to enable them? You can enable and disable them in their config files within the data folder.

Then adding new NPCs you can use console commands and just reload the plugin to have those changes take effect.

Komorebi

Posted

10 minutes ago, Jbird said:

What command are you using to enable them? You can enable and disable them in their config files within the data folder.

I hope you can add such a command. The reason for having such an idea is to collaborate with your event plugin. For example, in the Arctic Base Event plugin, when an event refreshes, the NPC in the Better Npc plugin also refreshes at that location.

Jbird

Posted

24 minutes ago, Komorebi said:

I hope you can add such a command. The reason for having such an idea is to collaborate with your event plugin. For example, in the Arctic Base Event plugin, when an event refreshes, the NPC in the Better Npc plugin also refreshes at that location.

I don't know what command you're using, or what you are asking to be added.

You can disable removing NPCs at that location so they do not load in after an event. But I don't follow what you are doing or what you are wanting to do.

Sorry if I'm missing something here I'm not trying to be a smartass or anything I just don't follow what you're trying to do even to add something to our notes or to explain how it can potentially already be done.

Komorebi

Posted

9 hours ago, Jbird said:

don't know what command you're using, or what you are asking to be added.

There may be errors between the translation software and my expression. I hope the event plugin and Better Npc plugin will refresh simultaneously.

Komorebi

Posted

By default, Better Npc is inactive. When the event is refreshed, Better Npc can appear simultaneously. The above is what I want.

hid333

Posted

For both FP monument NPCs and custom monument NPCs, 
changing the config file's
"Remove other NPCs? [true/false]": false
to true causes an error. 
The downloaded defaults also caused an error,
so I set them all to false, 
but what is the cause and solution? 
Setting it to false resolves the error.

Jbird

Posted

On 8/16/2024 at 7:23 AM, Komorebi said:

By default, Better Npc is inactive. When the event is refreshed, Better Npc can appear simultaneously. The above is what I want.

Just to answer this again, my last answer is the best answer assuming I am understanding correctly.

The issue being that when an event ends the BetterNpc NPCs all appear.

My recommendation is not to use the function in the event configurations to remove BetterNpc NPCs from the event area.

The one thing that this poses however is there will be those NPCs and the event NPCs both to deal with now, but it does avoid the NPCs appearing at the end of the event because they were never removed.

This was in our suggestions and roadmap previously though so I will look for that note and add a reference point to it for you as I think he was already considering if nothing else just a delay, so that they are not spawned immediately after the event since some players wait around for the event to end and to keep the Event Owner status if they have PveMode.

Jbird

Posted

2 hours ago, hid333 said:

For both FP monument NPCs and custom monument NPCs, 
changing the config file's
"Remove other NPCs? [true/false]": false
to true causes an error. 
The downloaded defaults also caused an error,
so I set them all to false, 
but what is the cause and solution? 
Setting it to false resolves the error.

Have not heard any issues or other reports of this being an issue. Can you share the error you were receiving?

You can jump into the Mad Mapper Discord and create a ticket if you'd like to troubleshoot that a bit to find out why it's causing any issues for you, as we aren't getting any other reports about it at all lately.

MetalHead

Posted

Just bought this plugin and getting an error on load.

Failed to compile: Operator '==' cannot be applied to operands of type 'NetworkableId' and 'uint' | Line: 881, Pos: 140

I already have an up to date version of NPC Spawn on the server.

Jbird

Posted

5 hours ago, MetalHead said:

Just bought this plugin and getting an error on load.

Failed to compile: Operator '==' cannot be applied to operands of type 'NetworkableId' and 'uint' | Line: 881, Pos: 140

I already have an up to date version of NPC Spawn on the server.

What version of NpcSpawn and BetterNpc both are you using?

You can join the Mad Mapper Discord and create a ticket if you would like.

Otherwise please reload the plugin and copy and paste here more of the full response in console.

MetalHead

Posted

2 hours ago, Jbird said:

What version of NpcSpawn and BetterNpc both are you using?

You can join the Mad Mapper Discord and create a ticket if you would like.

Otherwise please reload the plugin and copy and paste here more of the full response in console.

I'm using the latest versions of both plugins. NpcSpawn loads perfect but BetterNpc fails to load with the above error.

Sweet Tooth

Posted

I'm having a Issue where when I have Better NPC loaded on my server the normal scientists at oil rig and giant excavator become stupid and don't attack players

Jbird

Posted

On 9/9/2024 at 1:30 AM, MetalHead said:

I'm using the latest versions of both plugins. NpcSpawn loads perfect but BetterNpc fails to load with the above error.

Reload the plugin and share all of the console response when it is loading. I don't see that the error is coming from this plugin and I doubt it as long as you have BetterNpc updated. Those errors should have been cleared from all plugins months ago, and are not going to come up as long as both NpcSpawn and BetterNpc are current.

Jbird

Posted

2 hours ago, Sweet Tooth said:

I'm having a Issue where when I have Better NPC loaded on my server the normal scientists at oil rig and giant excavator become stupid and don't attack players

Reload the plugin and check console messages for a hint that there could be an issue somewhere. Sometimes the plugin will be able to partially load, but at a certain point any files after that will behave abnormally like you described due to something missing or with a configuration error of some sort. That is most commonly the reason this might happen but regardless loading messages will let us know if everything is at least loading correctly and we can continue from there.

zeusz4074

Posted

 

In PVE mod, what should I set so that the NPC that appears in this script doesn't just cause bleeding with its attack or die, or that it shoots me while I'm just standing still and doing nothing? Please help me. SimplePVE is also installed, but the NPC damage does not want to work normally... We also have the Zone, NPC Spawn...

Jbird

Posted

1 hour ago, zeusz4074 said:

In PVE mod, what should I set so that the NPC that appears in this script doesn't just cause bleeding with its attack or die, or that it shoots me while I'm just standing still and doing nothing? Please help me. SimplePVE is also installed, but the NPC damage does not want to work normally... We also have the Zone, NPC Spawn...

Just to confirm, are you saying that the NPCs are only doing bleeding damage, and not any other damage when attacking? PveMode would not keep them from damaging you, if you mean the plugin PveMode. This just locks looting of the NPCs to the person that does the most damage.

We would need to start with the configuration for the NPC group or groups where this is happening first, and go from there. If you are in the Mad Mapper Discord or want to join, you can create a ticket there and share more details so we can troubleshoot this. It is not a result of PveMode but may be another configuration setting between BetterNpc and SimplePVE.

Zohan

Posted

Hello. I have an interesting suggestion. The author of the plugin has introduced an option to edit loot boxes in his Loottable plugin. You would just have to create Loot Api . It would be just perfect, because you should not edit the boxes in the config file, but the admin could do it in the game itself

. Thank you. I will wait for an answer.

Jbird

Posted

2 hours ago, Zohan said:

Hello. I have an interesting suggestion. The author of the plugin has introduced an option to edit loot boxes in his Loottable plugin. You would just have to create Loot Api . It would be just perfect, because you should not edit the boxes in the config file, but the admin could do it in the game itself

. Thank you. I will wait for an answer.

There are some loot plugins at least one that I know of that allows you to edit loot tables in the game instead of in the config. You will still sometimes need to set the config a certain way but it can otherwise pull the loot table from the plugin you choose.

MetalHead

Posted

Getting this in the logs after updating..

05/10 07:14:53 | Failed to call hook 'OnHelicopterDropCrate' on plugin 'BetterNpc v1.3.1' (KeyNotFoundException: The given key 'CH47' was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <f98723dd4586469db5213ec59da723ca>:0
at Oxide.Plugins.BetterNpc.OnHelicopterDropCrate (CH47HelicopterAIController ai) [0x00000] in <bac4eb5e53d646029c7873e901dbd88c>:0
at Oxide.Plugins.BetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x007f6] in <bac4eb5e53d646029c7873e901dbd88c>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0
05/10 07:15:26 | Failed to call hook 'OnSupplyDropDropped' on plugin 'BetterNpc v1.3.1' (KeyNotFoundException: The given key 'AirDrop' was not present in the dictionary.)
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <f98723dd4586469db5213ec59da723ca>:0
at Oxide.Plugins.BetterNpc.OnSupplyDropDropped (SupplyDrop supplyDrop, CargoPlane cargoPlane) [0x0002f] in <bac4eb5e53d646029c7873e901dbd88c>:0
at Oxide.Plugins.BetterNpc.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00304] in <bac4eb5e53d646029c7873e901dbd88c>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 9
  • Love 6

User Feedback

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.8k

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.