Jump to content

Npc Spawn 2.7.9

   (2 reviews)
Message added by KpucTaJl,

This plugin does not have its own functionality. This plugin is only used as an API for other plugins

1 Screenshot

Recommended Comments



KpucTaJl

Posted

4 hours ago, YaMang-w- said:

 

For example
There are group a NPC, group b NPC, and group c NPC.

a and b are allies a and c are enemies
b and c are allies.

can i make it like this?

Hi, if I understand you correctly, you are creating a plugin with some Npc factions using the capabilities of the NpcSpawn plugin
Yes, you can do this using the CanTargetOtherNpc parameter, so you will allow all NPCs to attack each other
Then you will need to use the object OnCustomNpcTarget(ScientistNPC npc, BasePlayer target) hook, which you can use to divide which npcs can attack which

  • Love 1
FoXy

Posted

 

Error while compiling: NpcSpawn.cs(1605,74): error CS1503: Argument `#1' cannot convert `method group' expression to type `ulong'

FoXy

Posted

 

Error while compiling: NpcSpawn.cs(1605,74): error CS1503: Argument `#1' cannot convert `method group' expression to type `ulong'

KpucTaJl

Posted

12 minutes ago, FoXy said:

 

Error while compiling: NpcSpawn.cs(1605,74): error CS1503: Argument `#1' cannot convert `method group' expression to type `ulong'

image.png.df5684e14c53a4bcefeb44d911c5f1ff.png

  • Like 1
Hoss the Farmer

Posted

same error as everyone else ive deleted the file multiple times now

Jbird

Posted

19 minutes ago, Hoss the Farmer said:

same error as everyone else ive deleted the file multiple times now

Only one person was reporting an error.

If you have the most recent version have you also already updated your server, as the updates that are coming out are all for the Facepunch update.

  • Like 1
Hoss the Farmer

Posted

yes everything is up to date ill start a ticket and show you everything thats broke and npc spawn is on that list

 

Stark

Posted

No there's an error, and not the only person. Just go to the discord Hoss and grab the drop box link, that version works fine

 

Hoss the Farmer

Posted

well that should be made known here for people who dont follow discords

Hoss the Farmer

Posted

12 minutes ago, Stark said:

No there's an error, and not the only person. Just go to the discord Hoss and grab the drop box link, that version works fine

 

would love to know where in discord the link is

 

Stark

Posted

kpuc chat

 

Jbird

Posted

16 minutes ago, Hoss the Farmer said:

well that should be made known here for people who dont follow discords

It should not be necessary otherwise if it was important we would share that information.

The issue people are having is a browser related issue. Most people are having no issue getting the current version. I have confirmed several times with anything that people are saying they are getting a previous version, and I am getting the current version each time.

The link is several places in the Discord as well but I will share it as I have a feeling this will be a continued issue and people might not fix the browser issue or try another browser.

https://drive.google.com/drive/folders/1-18L-mG7yiGxR-PQYvd11VvXC2RQ4ZCu

Hoss the Farmer

Posted

17 minutes ago, Jbird said:

It should not be necessary otherwise if it was important we would share that information.

The issue people are having is a browser related issue. Most people are having no issue getting the current version. I have confirmed several times with anything that people are saying they are getting a previous version, and I am getting the current version each time.

The link is several places in the Discord as well but I will share it as I have a feeling this will be a continued issue and people might not fix the browser issue or try another browser.

https://drive.google.com/drive/folders/1-18L-mG7yiGxR-PQYvd11VvXC2RQ4ZCu

never had any browser issues before the patch sooooooo?

DySFunction

Posted

im using "Brave" as a browser, didnt have issues before.  but the link provided did work, so thank you.

Jbird

Posted

12 minutes ago, DySFunction said:

im using "Brave" as a browser, didnt have issues before.  but the link provided did work, so thank you.

Happy to help. That is where the download used to always be previously anyway.

It definitely seems to be some kind of region and or browser issue because of how intermittent it is. As long as everyone is getting things straightened out though that's what I like to hear!

  • Like 1
Alpha28

Posted

getting

Error while compiling: NpcSpawn.cs(1605,71): error CS1503: Argument `#1' cannot convert `NetworkableId' expression to type `uint

Jbird

Posted

1 hour ago, Alpha28 said:

Error while compiling: NpcSpawn.cs(1605,71): error CS1503: Argument `#1' cannot convert `NetworkableId' expression to type `uint

You are not using the most current version.

See above there is a link to the google drive that we used to use if you are having problems downloading the current version.

  • Like 2
YaMang -w-

Posted (edited)

1. Can I copy and use the class?

ex) class to JObject 

2. Also, when an NPC dies, it randomly goes into another item after resetting the inventory.

How to designate an item, do I have to make it myself?

3. Can't change the value when the NPC is already spawned?

Edited by YaMang-w-
Radande

Posted

[Error] Error while compiling: NpcSpawn.cs(1405,30): error CS1540: Cannot access protected member `BasePlayer.viewAngles' via a qualifier of type `Oxide.Plugins.NpcSpawn.CustomScientistNpc'. The qualifier must be of type `Oxide.Plugins.NpcSpawn.CustomScientistBrain.SledgeState' or derived from it

Unfortunately I don't know what he means by that. I have the current version

Jbird

Posted

2 hours ago, Radande said:

[Error] Error while compiling: NpcSpawn.cs(1405,30): error CS1540: Cannot access protected member `BasePlayer.viewAngles' via a qualifier of type `Oxide.Plugins.NpcSpawn.CustomScientistNpc'. The qualifier must be of type `Oxide.Plugins.NpcSpawn.CustomScientistBrain.SledgeState' or derived from it

Unfortunately I don't know what he means by that. I have the current version

This seems to be referring to either DefendableHomes or DefendableBases as well as NpcSpawn.

Manually check versions of both or all 3 plugins that you have. Many people with chromium based browsers are having problems with older versions being cached and downloaded instead of the current version. If this is the case clear your browser cache or try another browser.

Radande

Posted (edited)

Sorry for my english , Since the server update for Oxide v2.0.5853, I've only had this problem. Before it ran without any problems

DefendableHomes or DefendableBase ,do not work for me or are not installed
NPCSpawn is the latest version

Edited by Radande
Jbird

Posted

56 minutes ago, Radande said:

Sorry for my english , Since the server update for Oxide v2.0.5853, I've only had this problem. Before it ran without any problems

DefendableHomes or DefendableBase ,do not work for me or are not installed
NPCSpawn is the latest version

No worries. All plugins were updated for the May 4th Facepunch update.

See my note about the browser to see if it helps, and manually check the versions to confirm they are current and correct.

GooberGrape

Posted

why do I get this spam?

assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-965.2, 14.7, -1474.5) on area: HumanNPC
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-920.5, 8.7, -1593.4) on area: HumanNPC
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-811.5, 5.8, -1598.4) on area: HumanNPC
assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab failed to sample navmesh at position (-933.9, 14.7, -1474.4) on area: HumanNPC

Jbird

Posted

10 hours ago, Robert Stevens said:

why do I get this spam?

I would teleport to those areas and investigate a bit to begin to narrow down which NPCs they are and why they are having problems spawning there.

That should allow you to explain which NPCs they are. What map is this happening on?

Marcell Pickard

Posted

This dependency is stopping all NPC's from moving on the server. Have troubleshooted the issue NPCspawn is 100% the issue.

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 17
  • Love 10

User Feedback

1.4m

Downloads

Total number of downloads.

6.8k

Customers

Total customers served.

101.5k

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.