Recycle

Recycle crafted items to base resources

Total Downloads: 3,965 - First Release: Aug 11, 2015 - Last Update: Apr 1, 2018

5/5, 12 likes
  1. I am getting this error:
    Code:
    [Error] Failed to initialize plugin 'Recycle v2.0.2' (InvalidCastException: Value is not a convertible object: System.Collections.Generic.List`1[System.Object] to System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])(08:40:05) | [Oxide] 05:39 [Debug] at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0at Oxide.Plugins.Recycle.GetConfig[List`1] (System.String name, System.String name2, System.Collections.Generic.List`1 defaultValue) [0x00000] in <filename unknown>:0at Oxide.Plugins.Recycle.Loaded () [0x00000] in <filename unknown>:0at Oxide.Plugins.Recycle.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    Seems to be the same issue with Bank :D
     
    Last edited by a moderator: Oct 14, 2016
  2. Code:
    {
      "Settings": {
        "box": "assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab",
        "cooldownMinutes": 5,
        "NPCIDs": [981251941],
        "NPCOnly": false,
        "refundRatio": 0.5
      },
      "VERSION": "2.0.2"
    }
    Getting an error when loadng the plugin though and /rec is an unknown command
    Code:
    r] Failed to initialize plugin 'Recycle v2.0.2' (InvalidCastException: Value is not a convertible object: System.Collections.Generic.List`1[System.Object] to System.Collections.Generic.List`1[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
    (22:59:34) | [Oxide] 14:59 [Debug]   at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
      at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Recycle.GetConfig[List`1] (System.String name, System.String name2, System.Collections.Generic.List`1 defaultValue) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Recycle.Loaded () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Recycle.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
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    Also, did this replace moegic as I have both this and Recycle installed.
     
    Last edited by a moderator: Oct 14, 2016
  3. Calytic

    Calytic Community Admin Community Mod

    Code:
    {
      "Settings": {
        "box": "assets/prefabs/deployable/woodenbox/woodbox_deployed.prefab",
        "cooldownMinutes": 5,
        "NPCIDs": ["981251941"],
        "NPCOnly": false,
        "refundRatio": 0.5
      },
      "VERSION": "2.0.2"
    }
     
  4. Calytic

    Calytic Community Admin Community Mod

    Calytic updated Recycle with a new update entry:

    2.0.21

     
  5. @Calytic Something a lil weird, the NPC is working for me, but no one else, even though the permission is in the default group, have even checked the perms 2 players i got to test and recycle.use is in his perms. Users just get the 'you lack permission' message, i've done a plugin reload, still no difference, tried it with a fresh player that just logged in in case it was a relog issue but same issue.
     
  6. Have reverted back to old Moegicbox on page 6 as this newer version doesn't work for normal players, I think there's an additional permission that needs to be added to default other than recycle.use as currently only admins can use the npc or box
     
  7. I'm sorry you can skip the same problem , but I wrote "you lack permission to do that" . All Permissions granted , I'm admin.At first everything worked,but at some point started to write this inscription, and ordinary players working ((
    update . Figured out myself .Not working in my area of the House Admin ))) Should get out of the zone , everything works. Thank you
     
    Last edited by a moderator: Oct 24, 2016
  8. Hello. I Installed the Plugin and startet the Server new. Everytime i write / rec ingame there Comes the massage: You lag permission to do that. Any Player also could not open per /rec. What do i have to do
     
  9. grant group default recycle.use
     
  10. Sorry, can´t find it in plugins or config
     
  11. Wulf

    Wulf Community Admin

    That's a console command.
     
  12. i Tiped it in and nothing happens
     
  13. Wulf

    Wulf Community Admin

    Did you use it in your F1 console? If so, prefix it with oxide. so that it is oxide.grant default recycle.use instead. Otherwise, it will always give a response when used, either as an invalid command (Oxide not installed) or similar.
     
  14. OK. Oxide was allready installed, over the F1 Key i have no Chance to do anything, i use rusty. Now what have i to enter that all users on Server can use /rec ? oxide.grant Group all recycle.use ?
     
  15. Wulf

    Wulf Community Admin

    oxide.grant group default recycle.use
     
  16. Sorry for my stupid. Now it´s working, many many many thanks
     
  17. It still wont work for me. It used to work fine but I'm guessing after the wipe, it doesn't work anymore. I've tried the command in Rusty and in game console. In Rusty I removed the oxide prefix of course.
     
    Last edited by a moderator: Jan 9, 2017
  18. Fail to compile after 2-2-2017 Rust update
     
  19. Wulf

    Wulf Community Admin

    Details please, as I mentioned to you in your other posts. Lack of details does not help.
     
  20. [02/02/2017 14:06:04] Error while compiling Recycle.cs(200,65): error CS1061: Type `ConsoleSystem.Command' does not contain a definition for `name' and no extension method `name' of type `ConsoleSystem.Command' could be found. Are you missing an assembly reference?