Copy Paste

Copy and paste your buildings to save them or move them

Total Downloads: 21,535 - First Release: Apr 3, 2015 - Last Update: Jun 14, 2018

5/5, 83 likes
  1. Will do Monday or Tuesday
     
  2. does anyone know how i can paste a building in that i created in fortify
    I have the base saved as a txt file but im stumped as to how i do it.
     
  3. Anyone got a cool PVP arena .json file they wanna give me?
     
  4. There is an option when you save, click the "copy-paste" button and it makes it into a json file
     
  5. That would be great, looking forward to it!

    Just a follow up, it looks like inventories get saved into the json for lockers during a copy, but the inventories don't get pasted back in, probably because it needs a special case handler. But I'm probably just telling you what you already know.
     
  6. thanks
     
    Last edited by a moderator: Oct 22, 2017
  7. miRror updated Copy Paste with a new update entry:

    3.4.2

     
  8. miRror updated Copy Paste with a new update entry:

    3.4.3


    [DOUBLEPOST=1508772088][/DOUBLEPOST]
    Setting default height will affect on autoheight, so unfortunately I can't add this option
     
  9. miRror updated Copy Paste with a new update entry:

    3.4.5

     
  10. So been using this no problem for a while but since resetting everything up recently.. it copies and it says "pasted successfully" but there is nothing there no pasted anything to be seen tried many times in different ways still nothing
     
  11. My message seem to disappear not sure if it posted or lagged out..

    Happy to donate if can get this resolved soon.

    Used copy before and works fine but since last update I did it says "paste successful" but there is nothing to be seen anywhere?
     
  12. After update.....

    18:35 [Error] Error while compiling: CopyPaste.cs(573,50): error CS1503: Argument `#1' cannot convert `System.IO.MemoryStream' expression to type `byte[]'
     
  13. Wulf

    Wulf Community Admin

    You're using an outdated version of this plugin from probably a month or more ago.
     
  14. Remove your old config and recreate new
     
  15. Does stability always come into play? I have an zone with nostability set to true and as soon as I paste the top crumbles
     
  16. I get this when I try to copy my arena and get kicked from server. No copy was made:

    Failed to call hook 'cmdChatCopy' on plugin 'CopyPaste v3.4.5' (JsonSerializatio
    nException: Self referencing loop detected for property 'normalized' with type '
    UnityEngine.Vector3'. Path 'entities[0].position.normalized'.)
    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CheckForCircular
    Reference (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Js
    on.Serialization.JsonProperty property, Newtonsoft.Json.Serialization.JsonContra
    ct contract, Newtonsoft.Json.Serialization.JsonContainerContract containerContra
    ct, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <
    filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CalculatePropert
    yValues (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json
    .Serialization.JsonContainerContract contract, Newtonsoft.Json.Serialization.Jso
    nProperty member, Newtonsoft.Json.Serialization.JsonProperty property, Newtonsof
    t.Json.Serialization.JsonContract& memberContract, System.Object& memberValue) [
    0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject
    (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Seriali
    zation.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty m
    ember, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, N
    ewtonsoft.Json.Serialization.JsonProperty containerProperty) [0x00000] in <filen
    ame unknown>:0
    Calling 'cmdChatCopy' on 'CopyPaste v3.4.5' took 280782ms [GARBAGE COLLECT]
    Calling 'cmdChatCopy' on 'CopyPaste v3.4.5' took average 0ms [GARBAGE COLLECT]
     
  17. Hi,

    evening, someone would have the file "dust2.json" that works with the latest version of the oxide please?
     
  18. After update I'm getting this, building was copied today before wipe:

    Code:
    Failed to call hook 'cmdChatPasteBack' on plugin 'CopyPaste v3.4.5' (KeyNotFoundException: The given key was not present in the dictionary.)
      at System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.Paste (System.Collections.Generic.List`1 entities, Vector3 startPos, .BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.TryPaste (Vector3 startPos, System.String filename, .BasePlayer player, Single RotationCorrection, System.String[] args, Boolean autoHeight) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.TryPasteBack (System.String filename, .BasePlayer player, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.cmdPasteBack (.BasePlayer player, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.cmdChatPasteBack (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  19. Code:
     Failed to call hook 'cmdChatPaste' on plugin 'CopyPaste v3.4.5' (KeyNotFoundException: The given key was not present in the dictionary.)
    (19:15:50) | at System.Collections.Generic.Dictionary`2[System.String,System.Object].get_Item (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.Paste (System.Collections.Generic.List`1 entities, Vector3 startPos, .BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.TryPaste (Vector3 startPos, System.String filename, .BasePlayer player, Single RotationCorrection, System.String[] args, Boolean autoHeight) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.TryPasteFromSteamID (UInt64 userID, System.String filename, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.cmdChatPaste (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0



    Same here, one of my admins made a huge awesome Structure, we wanted to put in again today. it pasted only a small part of it