Jump to content

Unable to get plugin to work on 2 maps.

Closed 1.1.4

machesked
machesked

Posted (edited)

I am unable to get the plugin to work on the The Earth Apocalypse : Remastered custom map and on normal procedural map.  List below is  an error that I receive from the procedural map.

Failed executing chat command 'spawnmonumentmypos' in 'DynamicMonuments v1.1.4 by Adem' [callback] (Index was outside the bounds of the array.)
   at void Oxide.Plugins.DynamicMonuments.SpawnMonumentPlayerPosChatCommand(BasePlayer player, string command, string[] arg) in C:/rustserver-backup/carbon/plugins/DynamicMonuments.cs:line 524
   at object System.Reflection.RuntimeMethodInfo.Invoke(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture)

 

I am using Carbon for my mod program just as a side note!

 

Here is the error that I receive from my custom map on boot.

[DynamicMonuments] The spawn of monuments has begun!
NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.DynamicMonuments+MonumentAutoSpawner+<AutoSpawnCoroutine>d__4.MoveNext () (at C:/rustserver/carbon/plugins/DynamicMonuments.cs:829)
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <935634f5cc14479dbaa30641d55600a9>:0)
  at UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
  at Oxide.Plugins.MonumentAutoSpawner:StartAutoSpawn() (at C:/rustserver/carbon/plugins/DynamicMonuments.cs:781)
  at Oxide.Plugins.DynamicMonuments:OnServerInitialized() (at C:/rustserver/carbon/plugins/DynamicMonuments.cs:88)
  at Oxide.Plugins.DynamicMonuments:InternalCallHook(UInt32, Object[]) (at DynamicMonuments.cs/Internal:348)
  at Carbon.Hooks.HookCallerInternal:CallHook(BaseHookable, UInt32, BindingFlags, Object[]) (at /__w/Carbon/Carbon/Carbon.Core/Carbon/src/Hooks/HookCallerInternal.cs:143)
  at Carbon.HookCaller:CallHook(BaseHookable, UInt32, Object) (at /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Components/HookCaller.cs:304)
  at Oxide.Core.Plugins.Plugin:CallHook(String, Object) (at /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Oxide/Plugin.cs:516)
  at Carbon.Core.ModLoader:OnPluginProcessFinished() (at /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Modding/ModLoader.cs:699)
  at Carbon.Core.<>c:<.cctor>b__25_0(EventArgs) (at /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/Modding/ModLoader.cs:74)
  at Components.EventManager:Trigger(CarbonEvent, EventArgs) (at /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Bootstrap/src/Components/EventManager.cs:34)
  at Carbon.Core.CorePlugin:IOnServerInitialized(Boolean) (at /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/CorePlugin/Core.Hooks.cs:24)
  at Carbon.Core.CorePlugin:IOnServerInitialized() (at /__w/Carbon/Carbon/Carbon.Core/Carbon.Components/Carbon.Common/src/Carbon/CorePlugin/Core.Hooks.cs:29)
  at MonoMod.Utils.DynamicMethodDefinition:ServerMgr.OpenConnection_Patch1(ServerMgr, Boolean)
  at <StartServer>d__22:MoveNext()
  at UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
 DynamicMonuments v1.1.4 by Adem hook 'OnServerInitialized' took longer than 100ms [414ms] [GC]

Edited by machesked
Adem

Posted

Hello. Send your config

 

Adem

Posted

image.png.969a2b1f4340ded54a0e3f7f0fd16855.png
Set false here and reload plugin

machesked

Posted

27 minutes ago, Adem said:

image.png.969a2b1f4340ded54a0e3f7f0fd16855.png
Set false here and reload plugin

 c.reload dynamicmonuments
Unloaded plugin DynamicMonuments v1.1.4 by Adem
Loaded plugin DynamicMonuments v1.1.4 by Adem [798ms]
[DynamicMonuments] The spawn of monuments has begun!
[DynamicMonuments] oilPlatform is spawned at grid AC0
 DynamicMonuments v1.1.4 by Adem hook 'OnServerInitialized' took longer than 100ms [150ms]
[DynamicMonuments] oilPlatform is spawned at grid AC29

 

I changed the Ground Monuments Automatic Spawn to False.. Looks like it should be working now. Thanks!

 

Adem

Posted

Changed Status from Pending to Closed

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.6m
Total downloads
Customers
11.3k
Customers served
Files Sold
162.1k
Total sales
Payments
3.5m
Processed total
×
×
  • 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.