Плагин Power Plant Event 2.1.6

WOLF SPIRIT

ᛉᚠ????? ??????ᛉᚠ
16 (100%)
5 Мар 2019
4,997
7
828
379
Power Plant Event - Auto Mini Event At Power Plant

mainp.png

The event begins with a chat warning: soon CH47 will get new crates with items for scientists to the Power Plant location.
When the time is up, the NPCs guarding this location will appear in the Power Plant zone. Then a water barrel will appear on the top of the central building. A CH47 will fly to this location to get new crates with items.
When the CH47 arrives in the Event zone, it will...
 
[CODE lang="json" title="при o.reload"]PowerPlantEvent was compiled successfully in 840ms
Unloaded plugin PowerPlantEvent v2.0.1 by WebGhost
Failed to call hook 'OnServerInitialized' on plugin 'PowerPlantEvent v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PowerPlantEvent.CheckAllLootTables () [0x0000b] in <2fd1bf6542054c328b7bba446ff2d995>:0
at Oxide.Plugins.PowerPlantEvent.OnServerInitialized () [0x00006] in <2fd1bf6542054c328b7bba446ff2d995>:0
at Oxide.Plugins.PowerPlantEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0058a] in <2fd1bf6542054c328b7bba446ff2d995>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
Loaded plugin PowerPlantEvent v2.0.1 by WebGhost[/CODE]
 
[CODE lang="json" title="при o.reload"]PowerPlantEvent was compiled successfully in 840ms
Unloaded plugin PowerPlantEvent v2.0.1 by WebGhost
Failed to call hook 'OnServerInitialized' on plugin 'PowerPlantEvent v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.PowerPlantEvent.CheckAllLootTables () [0x0000b] in <2fd1bf6542054c328b7bba446ff2d995>:0
at Oxide.Plugins.PowerPlantEvent.OnServerInitialized () [0x00006] in <2fd1bf6542054c328b7bba446ff2d995>:0
at Oxide.Plugins.PowerPlantEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0058a] in <2fd1bf6542054c328b7bba446ff2d995>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
Loaded plugin PowerPlantEvent v2.0.1 by WebGhost[/CODE]

Did you place the new NPCSpawn file in First then place the new plugin .cs file in?
 
Да, я обновлял их все и сделал reload all.

JSON:
Calling 'OnServerInitialized' on 'RaidableBases v2.4.2' took 270ms
Loaded plugin Raidable Bases v2.4.2 by nivex
Unloaded plugin PowerPlantEvent v2.0.1 by WebGhost
Failed to call hook 'OnServerInitialized' on plugin 'PowerPlantEvent v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PowerPlantEvent.CheckAllLootTables () [0x0000b] in <2fd1bf6542054c328b7bba446ff2d995>:0
  at Oxide.Plugins.PowerPlantEvent.OnServerInitialized () [0x00006] in <2fd1bf6542054c328b7bba446ff2d995>:0
  at Oxide.Plugins.PowerPlantEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0058a] in <2fd1bf6542054c328b7bba446ff2d995>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
Loaded plugin PowerPlantEvent v2.0.1 by WebGhost


Yes i updates all event plugins and did a o.reload all.
 
  • Мне нравится
Реакции: WebGhost
Да, я обновлял их все и сделал reload all.

JSON:
Calling 'OnServerInitialized' on 'RaidableBases v2.4.2' took 270ms
Loaded plugin Raidable Bases v2.4.2 by nivex
Unloaded plugin PowerPlantEvent v2.0.1 by WebGhost
Failed to call hook 'OnServerInitialized' on plugin 'PowerPlantEvent v2.0.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PowerPlantEvent.CheckAllLootTables () [0x0000b] in <2fd1bf6542054c328b7bba446ff2d995>:0
  at Oxide.Plugins.PowerPlantEvent.OnServerInitialized () [0x00006] in <2fd1bf6542054c328b7bba446ff2d995>:0
  at Oxide.Plugins.PowerPlantEvent.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0058a] in <2fd1bf6542054c328b7bba446ff2d995>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
Loaded plugin PowerPlantEvent v2.0.1 by WebGhost


Yes i updates all event plugins and did a o.reload all.
one moment i will test on my test server
 
I am not able to duplicate these errors you are seeing.

only thing i can think of is perhaps you missed the update before this one which required you to delete the config files for the plugin then load.

Try deleting your oxide/config file for this plugin then reload the plugin separately with command:
JSON:
o.reload PowerPlantEvent

I look forward to your reply.
 
I restarted the server, it solved the issue. Maybe something on running server caused the conflict.
I also tested it on empty server.

Starts and compiles fine.

Thank you for your swift reply!
 
  • Люблю это
Реакции: WebGhost
WOLF SPIRIT обновил(а) ресурс Power Plant Event RU/EN новой записью:

Обновления & Исправления

Исправлено - Исправлена ошибка в уведомлениях, когда был пустой префикс и убирались все пробелы в сообщении
Исправлено - Исправлена ошибка, когда вы не используете плагины экономики, но отправляется сообщение о том, что вы получили несколько баллов экономики
Добавлено - Добавлено красивый GUI количества времени до окончания ивента
Добавлено - В конфигурации оружия у НПС появился новый параметр - тип патронов
Обновлено - Обновился NpcSpawn, необходимо обновить плагин
Добавлено - Добавлен...

Узнать больше об этом обновлении...
 
После обновы
Error while compiling: PowerPlantEvent.cs(1456,23): error CS1061: Type `TrainEngine' does not contain a definition for `decayDuration' and no extension method `decayDuration' of type `TrainEngine' could be found. Are you missing an assembly reference?
 
После обновы
Error while compiling: PowerPlantEvent.cs(1456,23): error CS1061: Type `TrainEngine' does not contain a definition for `decayDuration' and no extension method `decayDuration' of type `TrainEngine' could be found. Are you missing an assembly reference?
Я исправлю это в ближайшее время.
 
Активность
Пока никто не печатает сообщение