Jump to content

Npc Spawn 3.2.8

   (17 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

  • 315.9k
  • 54.3k
  • 2.24 MB
  • Update details
    v3.2.8
    Released
    Download size2.24 MB
    Total versions58
    Time between versions 1 day
    Typical update pace About every 20 days
    Freshness Updated today

This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



z0z1ch

Posted

1 hour ago, aimacak said:

Добрый. Ну давайте по порядку:
Раньше НПЦ были затупками относительно их референса, т.е. стандартных НПЦ, о которых вы так же упомянули, и я проверил в очередной раз этих двух НПЦ, стандартного НПЦ у мусорок с Береттой, и кастомного с NpcSpawn, тоже с Береттой, стреляют они одинаково. Т.е. тут больше играет роль момент привычки, что на фоне старых текущие выглядят "не так, как мы привыкли".
На сколько я знаю, данную настройку добавить нельзя по определённым причинам.
Настройки, на которые вы сослались отвечают за типа навигационной сетки и работают они только в купе друг с другом, они устанавливаются каждому НПЦ при спавне, т.е. никаким образом присвоить их к монументу не получится, иначе это уже давно было бы сделано. Два одинаковых файла с разными суффиксами как раз потому, что в этой локации разные пресеты имеют разный тип навигационной сетки, чтобы и те и другие могли передвигаться на своих точках спавна.

Не понял, почему нельзя настройку сетки оставить в файле монумента, беттернпс ведь передает данные о ботах и их позиции на монументе в нпсспавн, почему он не может передавать данные сетки? Как я уже упомянул, это избавит от массы одинаковых файлов настроек нпс, подумайте об этом...

✯Mr.Kingpin✯

Posted

Hello I just updated NPCSpawn and betterNPC and I get this errror from NPCSPawn:

 

Failed to call internal hook 'OnNpcSpawnInitialized' on plugin 'BetterNpc v2.1.8' [1788615129] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.BetterNpc.TryRegisterPresetsUsage(SpawnPoint spawnPoint, string name) in C:/Users/Administrator/Desktop/NewbuildPVE/carbon/plugins/BetterNpc.cs:line 3047
   at void Oxide.Plugins.BetterNpc.OnNpcSpawnInitialized() in C:/Users/Administrator/Desktop/NewbuildPVE/carbon/plugins/BetterNpc.cs:line 3073
   at object Oxide.Plugins.BetterNpc.InternalCallHook(uint hook, object[] args) in BetterNpc.cs/Internal:line 539

And this from BetterNPC:

 

NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.BetterNpc+<LoadEventSpawnPoints>d__115.MoveNext () (at C:/Users/Administrator/Desktop/NewbuildPVE/carbon/plugins/BetterNpc.cs:1575)
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <29a77516cc78463d81e5b2528077962e>:0)

 

aimacak

Posted

3 hours ago, z0z1ch said:

Не понял, почему нельзя настройку сетки оставить в файле монумента, беттернпс ведь передает данные о ботах и их позиции на монументе в нпсспавн, почему он не может передавать данные сетки? Как я уже упомянул, это избавит от массы одинаковых файлов настроек нпс, подумайте об этом...

Я же объяснил, что тип сетки это непосредственно параметр каждого НПЦ, и иногда в разных частях одной локации эта сетка нужна разная, и всю историю существования типа сетки в BetetrNpc она присваивалась именно пресету НПЦ, которые ранее были внутри файлов BetterNpc, а сейчас эти пресеты, как и тип сетки, переехали в отдельные файлы пресетов в NpcSpawn. К тому же не понимаю, о какой "массе" одинаковых файлов вы говорите, скорее речь идёт о нескольких лишних файлах.
Скоро выйдет обновление, в котором вы сможете одной командой изменить имя пресета в data/NpcSpawn/Preset/ и она же поменяет этот пресет на новый во всех файлах BetterNpc, где использовался пресет, имя которого вы меняете, что позволит быстро и удобно назначить удобные для вас имена пресетам, например Аэропорт, Аэропорт_красная_комната, или как-нибудь еще.

  • Like 1
aimacak

Posted

3 hours ago, ✯Mr.Kingpin✯ said:

Hello I just updated NPCSpawn and betterNPC and I get this errror from NPCSPawn:

 

Failed to call internal hook 'OnNpcSpawnInitialized' on plugin 'BetterNpc v2.1.8' [1788615129] (Object reference not set to an instance of an object)
   at void Oxide.Plugins.BetterNpc.TryRegisterPresetsUsage(SpawnPoint spawnPoint, string name) in C:/Users/Administrator/Desktop/NewbuildPVE/carbon/plugins/BetterNpc.cs:line 3047
   at void Oxide.Plugins.BetterNpc.OnNpcSpawnInitialized() in C:/Users/Administrator/Desktop/NewbuildPVE/carbon/plugins/BetterNpc.cs:line 3073
   at object Oxide.Plugins.BetterNpc.InternalCallHook(uint hook, object[] args) in BetterNpc.cs/Internal:line 539

And this from BetterNPC:

 

NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.BetterNpc+<LoadEventSpawnPoints>d__115.MoveNext () (at C:/Users/Administrator/Desktop/NewbuildPVE/carbon/plugins/BetterNpc.cs:1575)
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <29a77516cc78463d81e5b2528077962e>:0)

 

Hello, tell us in more detail how exactly did you update and from which versions to which? The first error that you attributed to NpcSpawn, judging by the logs, refers to BetterNpc.
Can you send any file from data/BetterNpc/Monument/ and the NpcSpawn preset file specified in this file from data/NpcSpawn/Preset/?

✯Mr.Kingpin✯

Posted

47 minutes ago, aimacak said:

Hello, tell us in more detail how exactly did you update and from which versions to which? The first error that you attributed to NpcSpawn, judging by the logs, refers to BetterNpc.
Can you send any file from data/BetterNpc/Monument/ and the NpcSpawn preset file specified in this file from data/NpcSpawn/Preset/?

Hello, I spoke with KpucTaJl regarding him reverting the update so I thought he said he already did so I updated the plugin Now I loaded the default config and it seems that lots has changed so I got to redo the data files.

✯Mr.Kingpin✯

Posted

14 minutes ago, ✯Mr.Kingpin✯ said:

Hello, I spoke with KpucTaJl regarding him reverting the update so I thought he said he already did so I updated the plugin Now I loaded the default config and it seems that lots has changed so I got to redo the data files.

I see that the other data which was in the data files from the monuments are now in npcspawn presets folder

 

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 22
  • Haha 1
  • Love 12

User Feedback

2.3m

Downloads

Total number of downloads.

10.5k

Customers

Total customers served.

151.7k

Files Sold

Total number of files sold.

3.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.