Massive error involving copy paste and the RB mod itselfSolved

so before this update on 10/7 i had the mod working perfectly. then we saved all our configs and data files like normal did the update and now the RB mod will not properly load with the following error list that i cant make any sense of




(17:17:22) | [Raidable Bases] Loaded RaidBases profile

(17:17:22) | Failed to call hook 'OnServerInitialized' on plugin 'RaidableBases v2.1.6' (JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[Oxide.Plugins.RaidableBases+TreasureItem]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.

To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.

Path '['Entities Not Allowed To Be Picked Up']', line 2, position 41.)

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) [0x00374] 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) [0x000d9] 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.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <2ae3f091decd4989b3c4d466e6eb5985>:0

at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0

at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in <9882f28dc2204b4dba514a9ad18f5042>:0

at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in <9882f28dc2204b4dba514a9ad18f5042>:0

at Oxide.Plugins.RaidableBases.GetTable (System.String file) [0x00010] in <4c2b8c1890ff4c80897133853e5d3e21>:0

at Oxide.Plugins.RaidableBases.LoadBaseTables () [0x0006d] in <4c2b8c1890ff4c80897133853e5d3e21>:0

at Oxide.Plugins.RaidableBases.LoadProfiles () [0x00251] in <4c2b8c1890ff4c80897133853e5d3e21>:0

at Oxide.Plugins.RaidableBases.Initialize () [0x00024] in <4c2b8c1890ff4c80897133853e5d3e21>:0

at Oxide.Plugins.RaidableBases.OnServerInitialized (System.Boolean isStartup) [0x00059] in <4c2b8c1890ff4c80897133853e5d3e21>:0

at Oxide.Plugins.RaidableBases.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0248e] in <4c2b8c1890ff4c80897133853e5d3e21>: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

(17:17:22) | Loaded plugin Raidable Bases v2.1.6 by nivex

(17:17:36) | Invalid Position: chicken.corpse[107750] (279.5, -502.0, 679.3) (destroying)

(17:17:53) | [Raidable Bases] Grid initialization completed in 30 seconds and 857 milliseconds on a 4000 size map. 3493 locations are on the grid.

(17:17:53) | Failed to call hook 'TryPasteFromVector3' on plugin 'CopyPaste v4.1.29' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.CopyPaste.Paste (System.Collections.Generic.ICollection`1[T] entities, System.Collections.Generic.Dictionary`2[TKey,TValue] protocol, System.Boolean ownership, UnityEngine.Vector3 startPos, Oxide.Core.Libraries.Covalence.IPlayer player, System.Boolean stability, System.Single rotationCorrection, System.Single heightAdj, System.Boolean auth, System.Action callback, System.String filename) [0x00042] in <280e37b83fc0448fa8ab8b1ad5ba2dc5>:0

at Oxide.Plugins.CopyPaste.TryPaste (UnityEngine.Vector3 startPos, System.String filename, Oxide.Core.Libraries.Covalence.IPlayer player, System.Single rotationCorrection, System.String[] args, System.Boolean autoHeight, System.Action callback) [0x005c5] in <280e37b83fc0448fa8ab8b1ad5ba2dc5>:0

at Oxide.Plugins.CopyPaste.TryPasteFromVector3 (UnityEngine.Vector3 pos, System.Single rotationCorrection, System.String filename, System.String[] args, System.Action callback) [0x00000] in <280e37b83fc0448fa8ab8b1ad5ba2dc5>:0

at Oxide.Plugins.CopyPaste.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0045d] in <280e37b83fc0448fa8ab8b1ad5ba2dc5>: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

(17:17:53) | Failed to call hook 'TryPasteFromVector3' on plugin 'CopyPaste v4.1.29' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.CopyPaste.Paste (System.Collections.Generic.ICollection`1[T] entities, System.Collections.Generic.Dictionary`2[TKey,TValue] protocol, System.Boolean ownership, UnityEngine.Vector3 startPos, Oxide.Core.Libraries.Covalence.IPlayer player, System.Boolean stability, System.Single rotationCorrection, System.Single heightAdj, System.Boolean auth, System.Action callback, System.String filename) [0x00042] in <280e37b83fc0448fa8ab8b1ad5ba2dc5>:0

at Oxide.Plugins.CopyPaste.TryPaste (UnityEngine.Vector3 startPos, System.String filename, Oxide.Core.Libraries.Covalence.IPlayer player, System.Single rotationCorrection, System.String[] args, System.Boolean autoHeight, System.Action callback) [0x005c5] in <280e37b83fc0448fa8ab8b1ad5ba2dc5>:0

at Oxide.Plugins.CopyPaste.TryPasteFromVector3 (UnityEngine.Vector3 pos, System.Single rotationCorrection, System.String filename, System.String[] args, System.Action callback) [0x00000] in <280e37b83fc0448fa8ab8b1ad5ba2dc5>:0

at Oxide.Plugins.CopyPaste.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0045d] in <280e37b83fc0448fa8ab8b1ad5ba2dc5>: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

updating copy/paste wasn't enough. this plugin is incompatible with the new update as it is

Im receiving the same issue with the paid version of this plugin as well

FYI, I had put in a support ticket for this same issue and learned that the issue is with the copy paste mod. The developer is aware of the issue but can't work on it until tomorrow.

The error with Raidable Bases is a configuration mistake; the CopyPaste error is separate.

Go0ePa8S2poB3OZ.jpg Wulf

The error with Raidable Bases is a configuration mistake; the CopyPaste error is separate.

Oh i was i under the impression from others that  Raidable bases issue was related the webhook issue with Copy Paste

BobRoss123

Oh i was i under the impression from others that  Raidable bases issue was related the webhook issue with Copy Paste

Raidable Bases does use Copy Paste, but the JSON error posted at the top is a configuration error, not from a hook call.

 

Go0ePa8S2poB3OZ.jpg Wulf

Raidable Bases does use Copy Paste, but the JSON error posted at the top is a configuration error, not from a hook call.

Sweet, thanks for the clarification. Ill just wait to see once the updates have been posted by both devs

there will be no update for Raidable Bases to address this issue as the issue is solely with CopyPaste.

your json error at the top is due to a bad edit to your base loot file(s).

oxide/data/RaidableBases/Base_Loot/RaidBases.json most likely.

nivex

there will be no update for Raidable Bases to address this issue as the issue is solely with CopyPaste.

your json error at the top is due to a bad edit to your base loot file(s).

oxide/data/RaidableBases/Base_Loot/RaidBases.json most likely.

Would you mind confirming this is the same Nivex?

[Raidable Bases] Grid initialization completed in 19 seconds and 776 milliseconds on a 3700 size map. 2202 locations are on the grid.
Failed to call hook 'TryPasteFromVector3' on plugin 'CopyPaste v4.1.29' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.CopyPaste.Paste (System.Collections.Generic.ICollection`1[T] entities, System.Collections.Generic.Dictionary`2[TKey,TValue] protocol, System.Boolean ownership, UnityEngine.Vector3 startPos, Oxide.Core.Libraries.Covalence.IPlayer player, System.Boolean stability, System.Single rotationCorrection, System.Single heightAdj, System.Boolean auth, System.Action callback, System.String filename) [0x00042] in :0
at Oxide.Plugins.CopyPaste.TryPaste (UnityEngine.Vector3 startPos, System.String filename, Oxide.Core.Libraries.Covalence.IPlayer player, System.Single rotationCorrection, System.String[] args, System.Boolean autoHeight, System.Action callback) [0x005c5] in :0
at Oxide.Plugins.CopyPaste.TryPasteFromVector3 (UnityEngine.Vector3 pos, System.Single rotationCorrection, System.String filename, System.String[] args, System.Action callback) [0x00000] in :0
at Oxide.Plugins.CopyPaste.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0045d] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in :0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0


ya you need to update copypaste

im confused because if i go to that  entry in my config its the same as its always been for line 2 pos 41 under entities not allowed to be picked up i didnt change anything here from the original

{
  "Entities Not Allowed To Be Picked Up": [
    "generator.small",
    "generator.static",
    "autoturret_deployed"
  ],
  "Additional Bases For This Difficulty": {
    "RaidBase1": [​

After i saw NIvex reply I checked CopyPaste plugin, and there was  an update. Once I installed the CopyPaste update, the Raidable Bases began populating my server again.
Hopefully this works for you Shortpaw

already updated copy paste they said i have a config error as well but i cant figure it out at all im about to just give up. i had it working just fine before the update now its saying my config is bad yet i didnt change a thing

Merged post

can anyone tell me whats wrong with my config then since its saying its in the first part under entities not allowed to be picked up? any help would be appreciated thank you

{
  "Entities Not Allowed To Be Picked Up": [
    "generator.small",
    "generator.static",
    "autoturret_deployed"
  ],
  "Additional Bases For This Difficulty": {
    "RaidBase1": [
      {
        "Option": "stability",
        "Value": "true"
      },
      {
        "Option": "autoheight",
        "Value": "true"
      },
      {
        "Option": "height",
        "Value": "1.0"
      }
    ],
    "RaidBase2": [
      {
        "Option": "stability",
        "Value": "true"
      },
      {
        "Option": "autoheight",
        "Value": "true"
      },
      {
        "Option": "height",
        "Value": "1.0"
      }
    ],
    "RaidBase3": [
      {
        "Option": "stability",
        "Value": "true"
      },
      {
        "Option": "autoheight",
        "Value": "true"
      },
      {
        "Option": "height",
        "Value": "1.0"
      }
    ],
    "RaidBase4": [
      {
        "Option": "stability",
        "Value": "true"
      },
      {
        "Option": "autoheight",
        "Value": "true"
      },
      {
        "Option": "height",
        "Value": "1.0"
      }
    ],
    "RaidBase5": [
      {
        "Option": "stability",
        "Value": "true"
      },
      {
        "Option": "autoheight",
        "Value": "true"
      },
      {
        "Option": "height",
        "Value": "1.0"
      }
    ]
  },
  "Paste Options": [
    {
      "Option": "stability",
      "Value": "true"
    },
    {
      "Option": "autoheight",
      "Value": "false"
    },
    {
      "Option": "height",
      "Value": "1.0"
    }
  ],
  "Arena Walls": {
    "Enabled": true,
    "Extra Stacks": 1,
    "Use Stone Walls": false,
    "Use Iced Walls": true,
    "Use Least Amount Of Walls": true,
    "Use UFO Walls": false,
    "Radius": 25.0
  },
  "NPC Levels": {
    "Level 1 - Play With Fire": {
      "Amount (0 = disabled)": 0,
      "Chance To Play": 0.5
    },
    "Level 2 - Final Death": false
  },
  "NPCs": {
    "Murderer Items": [
      "metal.facemask",
      "metal.plate.torso",
      "pants",
      "tactical.gloves",
      "boots.frog",
      "tshirt",
      "machete"
    ],
    "Scientist Items": [
      "hazmatsuit_scientist",
      "rifle.ak"
    ],
    "Murderer Kits": [
      "murderer_kit_1",
      "murderer_kit_2"
    ],
    "Scientist Kits": [
      "scientist_kit_1",
      "scientist_kit_2"
    ],
    "Random Names": [],
    "Amount To Spawn": 8,
    "Aggression Range": 70.0,
    "Despawn Inventory On Death": true,
    "Enabled": true,
    "Health For Murderers (100 min, 5000 max)": 150.0,
    "Health For Scientists (100 min, 5000 max)": 150.0,
    "Minimum Amount To Spawn": 1,
    "Use Dangerous Treasures NPCs": false,
    "Spawn Murderers And Scientists": true,
    "Scientist Weapon Accuracy (0 - 100)": 25.0,
    "Spawn Murderers": true,
    "Spawn Random Amount": true,
    "Spawn Scientists Only": false,
    "Player Traps And Turrets Ignore Npcs": false
  },
  "Rewards": {
    "Economics Money": 0.0,
    "ServerRewards Points": 0
  },
  "Change Building Material Tier To": {
    "Wooden": false,
    "Stone": false,
    "Metal": false,
    "HQM": false
  },
  "Auto Turrets": {
    "Aim Cone": 5.0,
    "Minimum Damage Modifier": 1.0,
    "Maximum Damage Modifier": 1.0,
    "Start Health": 1000.0,
    "Sight Range": 30.0,
    "Double Sight Range When Shot": false,
    "Set Hostile (False = Do Not Set Any Mode)": true,
    "Requires Power Source": false,
    "Remove Equipped Weapon": false,
    "Random Weapons To Equip When Unequipped": [
      "rifle.ak"
    ]
  },
  "Profile Enabled": true,
  "Add Code Lock To Unlocked Or KeyLocked Doors": true,
  "Add Code Lock To Tool Cupboards": true,
  "Add Code Lock To Boxes": true,
  "Close Open Doors With No Door Controller Installed": true,
  "Allow Duplicate Items": false,
  "Allow Players To Pickup Deployables": true,
  "Allow Players To Deploy A Cupboard": false,
  "Allow PVP": true,
  "Allow Friendly Fire (Teams)": true,
  "Minimum Amount Of Items To Spawn (0 = Use Max Value)": 0,
  "Amount Of Items To Spawn": 90,
  "Flame Turret Health": 300.0,
  "Block Plugins Which Prevent Item Durability Loss": false,
  "Block Damage Outside Of The Dome To Players Inside": false,
  "Block Damage Outside Of The Dome To Bases Inside": false,
  "Block Damage Inside From Npcs To Players Outside": false,
  "Building Blocks Are Immune To Damage": false,
  "Boxes Are Invulnerable": false,
  "Spawn Silently (No Notifcation, No Dome, No Map Marker)": false,
  "Divide Loot Into All Containers": true,
  "Drop Container Loot X Seconds After It Is Looted": 30.0,
  "Drop Container Loot Applies Only To Boxes And Cupboards": true,
  "Create Dome Around Event Using Spheres (0 = disabled, recommended = 5)": 5,
  "Empty All Containers Before Spawning Loot": true,
  "Eject Corpses From Enemy Raids (Advanced Users Only)": true,
  "Eject Enemies From Locked PVE Raids": true,
  "Eject Enemies From Locked PVP Raids": false,
  "Explosion Damage Modifier (0-999)": 100.0,
  "Force All Boxes To Have Same Skin": false,
  "Ignore Containers That Spawn With Loot Already": false,
  "Loot Amount Multiplier": 2.0,
  "Maximum Respawn Npc X Seconds After Death": 0.0,
  "Minimum Respawn Npc X Seconds After Death": 0.0,
  "Protection Radius": 50.0,
  "Penalize Players On Death In PVE (ZLevels)": true,
  "Penalize Players On Death In PVP (ZLevels)": true,
  "Require Cupboard Access To Loot": false,
  "Require Cupboard Access To Place Ladders": false,
  "Skip Treasure Loot And Use Loot In Base Only": false,
  "Always Spawn Base Loot Table": false
}​
Locked automatically