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!

Gr4Ss' plugin megathread

Discussion in 'Plugins' started by Gr4Ss, Jul 20, 2014.

  1. Re: Gr4Ss' plugins

    [member=1476]Gr4Ss[/member]

    Of couse I can make items and recipe by myself, this is not a big deal especially with your nice tutorial. BUT look for example:

    [​IMG]

    As you can see, crafting table and ingredient both existing and placed in your plugin/items, but this problem is happening for some reason, and with many other items too. How can I fix this ?
     
  2. Re: Gr4Ss' plugins

    Think I know why it's happening. Wasn't a problem before I added in those errors as it didn't check stuff like that on register, only on CanCraft and getting the tooltip. Now it fucks up because it does those checks before some items are loaded.

    I'll fix it tomorrow by performing the check for valid items after CW has loaded, likely with some other optimization as well to avoid having to do some unneeded FindByID's to get item names.
     
  3. Re: Gr4Ss' plugins

    Thx, sweet cupcake ^ ^
     
  4. Re: Gr4Ss' plugins

    Because I got bored, updated the crafting plugin already. Can just redownload from the same link because dropbox.

    [member=3438]Renholder[/member]
     
  5. Re: Gr4Ss' plugins

    [member=1476]Gr4Ss[/member]

    Hmm seems like its still a little bit broken

    Code:
    [ERROR] gamemodes/cwhl2rp/plugins/crafting/plugin/libraries/sh_recipe.lua:305: attempt to index field 'ingredientNames' (a nil value)
      1. GetMarkupToolTip - gamemodes/cwhl2rp/plugins/crafting/plugin/libraries/sh_recipe.lua:305
       2. unknown - gamemodes/cwhl2rp/plugins/crafting/plugin/derma/cl_crafting.lua:151
    
    
    [ERROR] gamemodes/cwhl2rp/plugins/crafting/plugin/libraries/sh_recipe.lua:296: attempt to index field 'toolNames' (a nil value)
      1. GetMarkupToolTip - gamemodes/cwhl2rp/plugins/crafting/plugin/libraries/sh_recipe.lua:296
       2. unknown - gamemodes/cwhl2rp/plugins/crafting/plugin/derma/cl_crafting.lua:151
    
    
    Also you cant see which items you need to craft this or that item.
     
  6. Re: Gr4Ss' plugins

    Then I broke something, give me a second (I didn't test my last update as much as I should have, which is why I usually don't do late night coding).
     
  7. Re: Gr4Ss' plugins

    Should be fixed now. Forgot to initialize recipes client-side, so the item names weren't being added (it adds them on initialize now, instead of searching for them every time) to the recipes client-side which broke tooltips.
     
  8. Re: Gr4Ss' plugins

    [member=1476]Gr4Ss[/member]

    Yap, its working now, huge thx for fast respond ^ ^
     
  9. Re: Gr4Ss' plugins

    Thanks for finding the bugs ^^
     
  10. Adler

    Adler cwSexySaveData:SaveSomePieceOfShit() Clockwork Customer

    Re: Gr4Ss' plugins

    Holy shit, these are awesome!
     
  11. Chilled

    Chilled meme cancer

    Re: Gr4Ss' plugins

    weed item would be great
     
  12. Re: Gr4Ss' plugins

    Copy the anti-depressant item, change the name to weed, change the model. Done.
     
  13. Re: Gr4Ss' plugins

    Updated the radio plugin. Mostly internal but code's a lot nicer now, it has its own library.

    I did change how channels were saved, they each have their own file now. Examples included, of course.
     
  14. Re: Gr4Ss' plugins

    Lovin these plugins! :D
     
  15. Re: Gr4Ss' plugins

    Also cleaned out the thread. Will add screenshots where applicable soon'ish.
     
  16. [member=1476]Gr4Ss[/member]

    Hey hey hey

    So, I fixed some items (add some and deleted some which was complete out of content) so right know there is no missing items in crafting plugin.

    Here you go http://rghost.net/57280236

    Have a look if you want. I took 2 of RJ's free plugins Junk and UU items to make work a little bit easier.
     
  17. I'll have a look at it tomorrow (and add it to the OP).
     
  18. Armor thing is fucking glorious. Could you perhaps see what you can do with custom weapons?
     
  19. I could do that sometime, yeah (the custom armor code is actually based off some fixed-up custom weapon code).
     
  20. Added Chatbox Text Wrapping plugin that updates the Clockwork.chatBox:WrappedText function. Screenshots and download link are in the OP.
     

Previous Readers (Total: 0)