1. Reneb submitted a new resource:

    Copy Paste - copy save paste any houses

    Read more about this resource...
     
  2. Code:
    [4/24/2015 12:12:06 AM] [Oxide] 12:12 AM [Error] Error while compiling CopyPaste.cs(612,30): error CS1061: Type `Signage' does not contain a definition for `text' and no extension method `text' of type `Signage' could be found. Are you missing an assembly reference?
    after last update Rust + Oxide core v2.0.799:)
    Best Regards
     
  3. Wulf

    Wulf Community Admin

    This thread is for Rust Legacy, please see the thread for the Rust Experimental version which includes a fixed version.
     
  4. ops !Sry
     
  5. Wulf

    Wulf Community Admin

    For those using the latest Oxide snapshot, use the below version with the unnecessary imports removed.
     

    Attached Files:

  6. Can we use the copied files from oxide 1.18?
     
  7. no idea, you can always try.
     
  8. /placeback is not working tried on several I copied in new oxide and says files empty or wrong file ....
     
  9. Did you copy files from oxide 1.18 which you tried to "placeback"? If so it's a completely different setup on the 1.18 file, so you need to re-build and save it.

    1.18:
    Code:
    {"structure":[{"name":"MetalFoundation(Clone)","rotation":["-0","210.95951843262","0"],"position":["4762.0717773438","333.43862915039","-5498.408203125"]},
    
    oxide 2:
    Code:
    {
          "pos": {
            "x": -4.97284031,
            "y": 4.0,
            "z": -2.55175018
          },
          "prefabname": ";struct_metal_wall",
          "rot": {
            "x": 0.0,
            "y": -4.722845,
            "z": 0.0
          }
        },
    
     
  10. indeed they are not the same
     
  11. [Oxide] 4:35 AM [Error] Failed to call hook 'cmdChatCopy' on plugin 'CopyPaste v
    1.0.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 4:35 AM [Debug] at System.Collections.Generic.Dictionary`2[System.Stri
    ng,System.String].get_Item (System.String key) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CopyPaste.GetDeployableClean (.StructureComponent initialBloc
    k, Single playerRot, .DeployableObject currentBlock, System.Collections.Generic.
    Dictionary`2& data) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CopyPaste.CopyBuilding (Vector3 playerPos, Single playerRot,
    .StructureComponent initialBlock, System.Collections.Generic.List`1& rawStructur
    e, System.Collections.Generic.List`1& rawDeployables) [0x00000] in <filename unk
    nown>:0
    at Oxide.Plugins.CopyPaste.cmdChatCopy (.NetUser player, System.String command
    , System.String[] args) [0x00000] in <filename unknown>:0
    at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (ob
    ject,object[],System.Exception&)
    at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invoke
    Attr, System.Reflection.Binder binder, System.Object[] parameters, System.Global
    ization.CultureInfo culture) [0x00000] in <filename unknown>:0
    [Oxide] 4:35 AM [Warning] CallHook 'cmdChatCopy' on plugin 'CopyPaste v1.0.0' to
    ok: 602ms

    I'm getting this error after i try to copy paste.
    Using the CS wolf pasted
     
  12. Who have file arena dust2 ?
     
  13. Hello,

    When i try to copy some building i get this error:

    [Oxide] 3:33 PM [Error] Failed to call hook 'cmdChatCopy' on plugin 'CopyPaste v1.0.0' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 3:33 PM [Debug] at System.Collections.Generic.Dictionary`2[System.String,System.String].get_Item (System.String key) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CopyPaste.GetDeployableClean (.StructureComponent initialBlock, Single playerRot, .DeployableObject currentBlock, System.Collections.Generic.Dictionary`2& data) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CopyPaste.CopyBuilding (Vector3 playerPos, Single playerRot, .StructureComponent initialBlock, System.Collections.Generic.List`1& rawStructure, System.Collections.Generic.List`1& rawDeployables) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CopyPaste.cmdChatCopy (.NetUser 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

    Can someone help me?
     
  14. restart the server.
    _____

    I added a permission to this plugin because there is none, so admins are able to use this plugin also without rcon acces if someone needs that like i

    the new permission is cancopy
    grant user username cancopy
    grant group mod cancopy
     

    Attached Files:

  15. i try to copy big building but that do not work

    (22:40:37) | Calling 'cmdChatCopy' on 'CopyPaste v1.0.0' took 2034ms

    (22:40:58) | Failed to call hook 'cmdChatCopy' on plugin 'CopyPaste v1.0.0' (KeyNotFoundException: The given key was not present in the dictionary.)

    (22:40:58) | Calling 'cmdChatCopy' on 'CopyPaste v1.0.0' took 1989ms

    anyone know this error ?