Copy Paste

Copy and paste your buildings to save them or move them

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

5/5, 83 likes
  1. I wont have time until sunday, thx for the advise
     
  2. Could you make the ability to save all the buildings on the server, so that you can paste them back on the updated server after wipe?
     
  3. each build is saved in the Data folder
    [DOUBLEPOST=1446852670,1446808816][/DOUBLEPOST]
    Most Servers chose a new seed on wipes.
     
  4. Rcon error spam of all building parts - example:

    [BUNDLE] Not found: assets/bundled/prefabs/signs/sign.small.wood.prefab
    Couldn't find prefab "assets/bundled/prefabs/signs/sign.small.wood.prefab"
    [BUNDLE] Not found: assets/bundled/prefabs/build/floor.prefab
    Couldn't find prefab "assets/bundled/prefabs/build/floor.prefab"

    Had to remove plugin.

    Thanks!
    -SUE, RustieShack
     
  5. Does this copy code locks for anyone else? I cant seem to get it to copy doors with locks
     
  6. Same Here :(
     
  7. same here wtf, now all my copies are no good over :/
    [DOUBLEPOST=1447098570][/DOUBLEPOST]here is the old path
    if (!prefabname.Contains(".prefab")) prefabname = "assets/bundled/prefabs/"+prefabname+".prefab";
    so what do I update it to so it will work??
     
  8. tried to add the conversion method from my custom copypaste plugin, but it is already totally different from the original one...for those with pre-update copies you can try my changed one, no guarantees...please backup your copies before using this plugin :p
     

    Attached Files:

  9. thanks man.
    [DOUBLEPOST=1447162756][/DOUBLEPOST][DEBUG] Killing block assets/prefabs/building core/pillar/pillar.prefab[61805] - stability timeout 0
    [DEBUG] 0: assets/prefabs/building core/pillar/pillar.prefab = Pending((0.0, 0.0, 0.0))
    [DEBUG] Killing block assets/prefabs/building core/pillar/pillar.prefab[61818] - stability timeout 0
    [DEBUG] 0: assets/prefabs/building core/pillar/pillar.prefab = Pending((0.0, 0.0, 0.0))
    [DEBUG] Killing block assets/prefabs/building core/pillar/pillar.prefab[62056] - stability timeout 0
    [DEBUG] 0: assets/prefabs/building core/pillar/pillar.prefab = Pending((0.0, 0.0, 0.0))
    [DEBUG] Killing block assets/prefabs/building core/pillar/pillar.prefab[62103] - stability timeout 0
    [DEBUG] 0: assets/prefabs/building core/pillar/pillar.prefab = Pending((0.0, 0.0, 0.0))
    [DOUBLEPOST=1447163162][/DOUBLEPOST]stability needs turned off temporarily?
    [DOUBLEPOST=1447163333][/DOUBLEPOST]it also does some strange placing or replacing of parts, like instead of pillars walls and walls facing the incorrect rotations..
    [DOUBLEPOST=1447163423][/DOUBLEPOST]FileSystem.LoadPrefab - should start with assets/ - build/door.hinged
    [BUNDLE] Not found: build/door.hinged
     
  10. Any way to use this plugin from another plugin? I want to create some base models for noobs so they can get a starter base without turning their brains on. I'd make a plugin to manage cost/placement and then just call paste on a X/Y/Z location with paste name and plop it there?
     
  11. it just build the /paste 'd buildings like random.....

    not in correct place :(
     
  12. it pastes the same way that you did copy

    so if you copied it side ways it will paste side ways.
     
  13. It's because your trying to paste an old file with a new method. just gotta suck it up and rebuild

    it sucks, i know... i had to do the same
     
  14. OMNI-Hollow,

    You have the coolest Avatar!!! For those of you that can't see the animation, Click on it!
     
  15. i dont ment correct direction.... aaaand i spoke about nogrod's file......
    it pasted all buildings randomly..... and not direction... i speak about foundation- 5 walls on it , a window glitching in it . and furnaces on the roof. i definitly not copyd that this way
     
  16. Hey Brinks - all you need to do is open your copy/paste file in the data directory and go through manually using a "replace all" function. Change all the path names for every entity used in your file. Once you do that, it will load the correct entities. Only thing that didn't load for me was signs that I had to reupload images to - but that's not a big deal. It's not really too bad - I did it for my server and it took maybe 10-15 minutes for all the buildings. If you need help lemme know. :)
     
  17. Hey brentpowell5,

    Where and how do I use the "replace all" function? In notepad? or notepad++? Also where might I be able to find the list of the new entity paths?

    Thanks!
     
  18. I wasn't sure if there was somewhere to post these, but I wanted to share some of the buildings on our server. Also hoping that others will share their creations!
     

    Attached Files:

  19. Hi Reneb, plugin working, i copy and paste my arena.. for PVP play.. but.. please update this plugin for new assets and part for building.. (door, code lock, auto turret) thanks for your work.. :)

    and.. please...

    Code:
    [11/18/2015 1:47:43 AM] [Oxide] 1:47 AM [Debug]   at Oxide.Plugins.CopyPaste.TryPasteLock (.BaseCombatEntity lockableEntity, IDictionary`2 structure) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.PasteDeployables (System.Collections.Generic.List`1 deployablesData, Vector3 targetPoint, Single targetRot, Single heightAdjustment, .BasePlayer player) [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
    Last edited by a moderator: Nov 18, 2015
  20. Hi there, there is an error when reloading this mod due to "OnServerInitialized"

    Code:
    [Oxide] 10:23 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'CopyPaste v2.2.14' (ArgumentException: An element with the same key already exists in the dictionary.)
    [Oxide] 10:23 PM [Debug]   at System.Collections.Generic.Dictionary`2[System.String,System.String].Add (System.String key, System.String value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CopyPaste.OnServerInitialized () [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 (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0