Jump to content

Umm Issue on new plugin

Closed 1.0.2

hmm not sure why my post didn't post but this is only a fraction of what this did the last post I think was to long so I only put alitle of this code

 

Failed to call hook 'OnServerInitialized' on plugin 'BossMonster v1.0.2' (StackOverflowException: The requested operation caused a stack overflow.)
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_object_new_specific(intptr)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00195] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0007c] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0009b] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00061] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00220] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0015c] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x0007a] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00012] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.Linq.JToken.ToObject (System.Type objectType) [0x002e7] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Newtonsoft.Json.Linq.JToken.ToObject[T] () [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0 
  at Oxide.Plugins.NpcSpawn.SpawnNpc (UnityEngine.Vector3 position, Newtonsoft.Json.Linq.JObject configJson) [0x0000c] in <76da90d5ba45400ca469c2f2bbde2aae>:0 
  at Oxide.Plugins.NpcSpawn.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00038] in <76da90d5ba45400ca469c2f2bbde2aae>: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 <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Core.Plugins.Plugin.Call (System.String hook, System.Object[] args) [0x00000] in <9882f28dc2204b4dba514a9ad18f5042>:0 
  at Oxide.Plugins.BossMonster.SpawnBoss (Oxide.Plugins.BossMonster+NpcConfig npcConfig) [0x002b7] in <57402cf0873e45779032bb61508e97f7>:0 
  at Oxide.Plugins.BossMonster.SpawnBoss (Oxide.Plugins.BossMonster+NpcConfig npcConfig) [0x002db] in <57402cf0873e45779032bb61508e97f7>:0 
  at Oxide.Plugins.BossMonster.SpawnBoss (Oxide.Plugins.BossMonster+NpcConfig npcConfig) [0x002db] in <57402cf0873e45779032bb61508e97f7>:0 
  at Oxide.Plugins.BossMonster.SpawnBoss (Oxide.Plugins.BossMonster+NpcConfig npcConfig) [0x002db] in <57402cf0873e45779032bb61508e97f7>:0 
  at Oxide.Plugins.BossMonster.SpawnBoss (Oxide.Plugins.BossMonster+NpcConfig npcConfig) [0x002db] in <57402cf0873e45779032bb61508e97f7>:0 
  at Oxide.Plugins.BossMonster.SpawnBoss (Oxide.Plugins.BossMonster+NpcConfig npcConfig) [0x002db] in <57402cf0873e45779032bb61508e97f7>:0 
  at Oxide.Plugins.BossMonster.SpawnBoss (Oxide.Plugins.BossMon

 

Edited by TwoShoes

Share this comment


Link to comment

the end of the code was 

Calling 'OnServerInitialized' on 'BossMonster v1.0.2' took 3642ms

(22:28:13) | Loaded plugin BossMonster v1.0.2 by KpucTaJl

(22:28:19) | Calling 'OnPlayerMetabolize' on 'BossMonster v1.0.2' took average 3646ms 
before I removed it

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.5k

Customers

Total customers served.

78.5k

Files Sold

Total number of files sold.

1.5m

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.