Copy Paste

Copy and paste your buildings to save them or move them

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

5/5, 83 likes
  1. you can also do /paste NAME autoheight true
     
  2. Hm this is new:
    Code:
    [Error] Failed to call hook 'cmdChatCopy' on plugin 'CopyPaste v3.0.11' (NullReferenceException: Object reference not set to an instance of an object)
    No idea why, but it appears if i use the /copy command
    And before I had the same problems like juergen already said
    [DOUBLEPOST=1470424797][/DOUBLEPOST]

    ps: with any option behind it, like radius 3, it works Oo

    PPS: it was only at one building, so maybe just ignore this post
     
    Last edited by a moderator: Aug 5, 2016
  3. 1-2-3 means?
    1=deep?
    2=deeper?
    3=realy deep?
     
  4. 1= high
    2=higher
    3=higher
    999=really really high ;)
     
  5. (23:38:47) | [Oxide] 01:38 [Error] Error while compiling CopyPaste.cs(830,79): error CS1503: Argument `#1' cannot convert `byte[]' expression to type `System.IO.MemoryStream'
     
  6. you have an old version.
     
  7. I am having the same issue as Stefan Red it would seem "Object reference not set to an instance of an object" not sure what to do.
     
  8. Any chance adding the new building stuff from the airfield to the plugin? So that they copy with the buildings? I use them allot to build ruined/abandoned houses and they dont copy. See screenshot below.

    Here's the prefabs that would be nice to be able to copy with buildings:

    166 - covers/cover_a
    167 - covers/cover_b
    168 - covers/cover_c
    169 - covers/cover_d
    170 - covers/cover_e
    171 - door barricades/door_barricade_a
    172 - door barricades/door_barricade_b
    173 - door barricades/door_barricade_dbl_a
    174 - door barricades/door_barricade_dbl_b
    91 - static/door.hinged.garage_a
    92 - static/door.hinged.industrial_a_a
    93 - static/door.hinged.industrial_a_b
    94 - static/door.hinged.industrial_a_c
    95 - static/door.hinged.industrial_a_d
    96 - static/door.hinged.industrial_a_e
    97 - static/door.hinged.industrial_a_f
    98 - static/door.hinged.industrial_a_g
    99 - static/door.hinged.industrial_a_h
     

    Attached Files:

    • rust.jpg
      rust.jpg
      File size:
      965.8 KB
      Views:
      107
  9. How could i use this plugin to create a chat command to spawn a building on demand for people without the use of /kit? :/
     
  10. Was there any update as to when this plugin will allow for pasting of structures made in Fortify? It looks like it has been released on Steam.
     
  11. no need for an update from this plugin
     
  12. Ok thank you for your quick reply, i didn't know it wasn't necessary :) Just use the steam fortify and its pretty straight forward from there?
     
  13. Yep, at the moment you can only get building parts into your copy-paste save from Fortify. Place-ables will be an option soon. For anyone else who's interested, here's the store page: FORTIFY on Steam
     
  14. This software is AWESOME! Thank you kindly, sir! So much time, effort, and frustration will be saved lol
     
  15. Does this save the building to the server so I can do a full wipe and re-paste?
     
  16. What about all of the building pieces/prefabs that were mentioned by Mexican-Butler above in his post? Can we at least get some compatibility with those prefabs that were added with the game update a month or two ago?
     
  17. Rainbow goto oxide/data/copypaste all your building are saved there
     
  18. Hey - Just wiped my server and get this when i try to paste back in - copy seems to work - im copying foundations and boxes with loot in them on the foundations ? '
    [Error] Hook dispatch failure detected, falling back to reflection based dispatch. System.InvalidProgramException: Invalid IL code in Oxide.Plugins.CopyPaste:paste (System.Collections.Generic.List`1<System.Collections.Generic.Dictionary`2<string, object>>,UnityEngine.Vector3,BasePlayer,bool): IL_0000: ldstr "System access is restricted, you are not allowed to use System.IO.Stream"


    at Oxide.Plugins.CopyPaste.TryPaste (Vector3 startPos, System.String filename, .BasePlayer player, Single RotationCorrection, System.String[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CopyPaste.TryPasteFromPlayer (.BasePlayer player, 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 (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    [Oxide] 11:07 [Warning] The invalid raw assembly has been dumped to Plugins/CopyPaste.dump
    [Oxide] 11:07 [Error] Failed to call hook 'cmdChatPaste' on plugin 'CopyPaste v3.0.11' (InvalidProgramException: Invalid IL code in Oxide.Plugins.CopyPaste:paste (System.Collections.Generic.List`1<System.Collections.Generic.Dictionary`2<string, object>>,UnityEngine.Vector3,BasePlayer,bool): IL_0000: ldstr "System access is restricted, you are not allowed to use System.IO.Stream"

    )
    [Oxide] 11:07 [Debug] at Oxide.Plugins.CopyPaste.TryPaste (Vector3 startPos, System.String filename, .BasePlayer player, Single RotationCorrection, System.String[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CopyPaste.TryPasteFromPlayer (.BasePlayer player, 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 (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
  19. Anybody having issues will buildings only being partially pasted?
     
  20. [Oxide] 02:25 [Error] CopyPaste plugin failed to compile!
    [Oxide] 02:25 [Error] CopyPaste.cs(778,28): error CS1501: No overload for method `Spawn' takes `1' arguments