1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

[Clockwork] Free Crafting

Discussion in 'Plugins' started by duck, Jun 28, 2014.

  1. Already dealt with thanks to my VERY QUICK German friend named Vonel.
     
  2. Tommy

    Tommy used to be relevant Moderator Clockwork Customer

    +vonel


    [​IMG]
     
  3. Michigan

    Michigan Official C16 Tour Guide.

    I am having a little issue with the recipes. I made a plugin called craftingrecipes and placed it in the Clockwork Plugin's folder. I then added a recipe to the sh_plugin.lua file and then restarted the server, I do not see the recipe in the Crafting menu still. Should the plugin be in the cwhl2rp Plugin's folder? I am confused as to what I did wrong.
     
  4. duck

    duck Phant0m Legend

    Thanks.

    Feel free to modify or contribute. I feel as if this plugin could really go places if it had more things like crafting tables, progress bars, experience, etc. I can do all of that myself, but it's just a matter of time. Maybe you and I could work together; if you are interested in contributing.

    Could you post your recipe or PM it to me?
     
  5. I believe the plugin you made should go in the schema's folder.

    Or do this

    garrysmod/gamemodes/cw(schema)/schema/ then create a folder here called recipes.
     
  6. duck

    duck Phant0m Legend

    Yeah, try that, too. Also try creating a folder in your schema folder called recipes, and then place your recipe file there.
     
  7. Yeah, of course, that'd be great. Feel free to add me on Steam if you want to work together, name's the same as here.
     
  8. Tommy

    Tommy used to be relevant Moderator Clockwork Customer

    i could just post my crafting plugin lol
     
  9. Michigan

    Michigan Official C16 Tour Guide.

    I will try both of those ways as well, and duck, I pmed you right now the information of what I did so please check that out.
     
  10. Tommy

    Tommy used to be relevant Moderator Clockwork Customer

    does the basic functionalities of the plugin work doe



    [​IMG]
     
  11. Code:
    [Clockwork] The 'ScoreboardShow' hook failed to run.
    gamemodes/clockwork/plugins/recipes/plugin/derma/cl_recipes.lua:96: attempt to call a nil value
    
    Error for you. Removing plugin til fixed.
     
  12. Tommy

    Tommy used to be relevant Moderator Clockwork Customer

    rest in peace to the crafting plugin



    [​IMG]
     
  13. duck

    duck Phant0m Legend

    You're doing something wrong. Post the recipe you're trying to use. The requirements for the recipe are not right. You're probably using the item's name instead of the item's uniqueID.
     
  14. Well considering the items I'm using have no uniqueID.
     
  15. Tommy

    Tommy used to be relevant Moderator Clockwork Customer

    iirc, the uniqueID is the name of the item

    i.e.

    sh_melon.lua uniqueid is melon



    [​IMG]
     
  16. duck

    duck Phant0m Legend

    All items have a uniqueID. If you don't specify one, Clockwork creates one based on the name of the item.

    Cool Super Item -> cool_super_item
     
  17. duck

    duck Phant0m Legend

    RJ's plugin using static item descriptions, lacks coloring, and is poorly optimized compared to mine. It looks extremely unappealing and cluttered. Check the differences for yourself.

    http://i.imgur.com/8D6D0Iq.png
    http://i.imgur.com/mGmp8QH.png

    For what RJ's plugin does in almost 40 lines, mines does in 8. Someone who doesn't know Lua that well will look at RJ's plugin and be confused as shit with all of the spacing and random technical jargon like the newline character (\n).

    "Requirements: \nx1 Refined Electronics \nx1 Refined Metal \nx1 Scrap Metal \nx1 Energy Cell";

    My plugin handles all of the background work, leaving the user with a simple script that is minimalistic. It is condensed into a block of code that is clear and precise, unlike RJ's. The code to create a recipe conveys its exact purpose and result. In RJ's plugin, it is nowhere near noob friendly. Not bashing on you, [member=1220]RJ[/member], just throwin facts out there :-X
     
  18. Badhamknibbs

    Badhamknibbs /me snaps neck Clockwork Customer

    This crafting plugin is better in every conceivable way, from free to ease of use. RJs doesn't even work for me, and when I set up a ticket I recieved no response. This works perfectly fine and easy to set up.

    RJ needs to get his stuff in order.
     

Previous Readers (Total: 0)