YR Plugins

Discussion in 'JS Plugin Releases (RMMV)' started by Waterguy, Oct 2, 2016.

  1. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Update to YR_NewParameters
    Fixing a lack of compatibility with Yanfly's base, extra and special parameters plugins (before, the custom parameters couldn't be used properly on their formulas, now they can).
    Also adding compatibility with his Skill Equip plugin. Now you can increase/decrease your custom parameters by equipping skills too.
     
    #61
  2. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Emergency update to YR_NewParameters.
    I did something wrong last update, already fixed it.
     
    #62
  3. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Added a new Personal Plugin, Item Craft

    Item Craft

    An Item Craft plugin, made as a combination of Yanfly's and MrTrivel's. Its main differences are the disciplines from MrTrivel, more than one recipe for the same item, and being able to use Yanfly's independent items into the ingredients, something even Yanfly himself didn't add to his yet.
     
    #63
    Roguedeus likes this.
  4. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    524
    Likes Received:
    106
    First Language:
    English
    Primarily Uses:
    N/A
    Wow! This is very impressive. I actually altered MrTrivel's Crafting Plugin Myself, but you've included all my changes and a lot more.

    I do have one small question.

    After looking through and playing with the plugin for a few minutes, I am stuck on how Discipline Categories work. They seem to simply make the recipe invisible (or not load?) as setting Discipline 1 Category: 1, for one item and Discipline 1 Category: 2 for another, makes the Category 2 recipe vanish. Category 1 recipes appear just fine. Am I missing something obvious? Like a second page? (I do have 2 Category ID's set up for Discipline 1)

    Edit:
    It appears the plugin help file has a typo...
    Discipline x Category: y
    should be:
    Discipline: x Category: y

    However, I am still a bit perplexed as to what purpose Categories have. The recipes I have set up, seem to appear like normal in the Discipline List regardless what Category they have.

    Also, you have options for result details, but I see no such details. Only the result name and expected quantity.
    18_0828_YR_ItemCraft_Issue_1.JPG
     
    Last edited: Aug 29, 2018
    #64
  5. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    @Roguedeus sorry for taking so long to answer, just woke up.

    Oh, I should have been more clear in the help file...
    It is not the category number, it is the category name. Because I wanted to make you able to put the same item in the same category in different disciplines, thus how just "Category: x" works.

    I just checked and no, there is no typo there, or rather no lack of :... But again, I didn't explain the Categories properly, so it is no surprise neither is working :p

    Categories are supposed to be... folders in the recipes list.
    categories.png
    (The lack of level and experience information is because the level is at max... but it was supposed to still say "Level: Max"... a bug I just noticed)

    What is the result details option? I'm a bit confused myself here, as I looked and the only one I found was the one to mask all items.
    [Edit] Oh, unless you are talking about the extraInfo and equipInfo...
    That is for when selecting an Independent Item. A new window will appear to show them
     
    Last edited: Aug 29, 2018
    #65
    Roguedeus likes this.
  6. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    524
    Likes Received:
    106
    First Language:
    English
    Primarily Uses:
    N/A
    Thanks for the quick reply, and clearing that up!

    Just for clarity, the typo I was referring to is in the help file, not the code. :)

    I tend to be very literal (and lazy) and just cut/past options out of a plugin help section rather than type it.
    Or I'd probably have noticed before reporting it.

    18_0829_YR_ItemCraft_Issue_2.JPG

    The combination tag I was trying to use, above, still won't work... "Discipline x Category: x"

    Trying it with a Colon, just ignores it. Trying it without a colon (as shown) leaves the menu blank.
    Code:
    //This does not work...
    <Recipe>
    Discipline 2 Category: Cloth
    Ingredient Item 1: 5
    Result Discipline 1 Exp: 1
    Learned From Start
    </Recipe>
    
    18_0829_YR_ItemCraft_Issue_2b.JPG
    Code:
    //This works..
    <Recipe>
    Discipline: 2
    Category: Cloth
    Ingredient Item 1: 5
    Result Discipline 1 Exp: 1
    Learned From Start
    </Recipe>
    
    18_0829_YR_ItemCraft_Issue_2c.JPG

    I'll be sure to point out anything else I notice. I am really enjoying your work!

    Thanks again!
     
    #66
  7. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    @Roguedeus
    Just tested and I'm not having your problem... But I found a different problem.
    Also, the reason for yours.
    Your problem is that, on the first recipe, you forgot to put the "Discipline: 2". The "Discipline 2 Category: Cloth" does not substitute for it, just limits it to be that category only on that discipline.
    Or isn't supposed to. I put them in the wrong order, so it was being considered the same as just "Category: Cloth"
    Also your "Discipline: 2 Category: Cloth" was being read as "Discipline: 2"

    Anyway, thanks to this I found two errors I missed beforehand. And found out I had to make my help file clearer.

    The problems I found have been fixed and updated.
     
    #67
    Roguedeus likes this.
  8. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    524
    Likes Received:
    106
    First Language:
    English
    Primarily Uses:
    N/A
    That does clear up all my current concerns.
    Thank you very much for your haste and attention!
     
    #68
  9. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    It was no problem. I'm glad to know you are enjoying it
     
    #69
  10. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    524
    Likes Received:
    106
    First Language:
    English
    Primarily Uses:
    N/A
    Would you be willing to entertain a few requests?

    Nothing that would require you much effort, compared to what you've already invested.
    If you've already considered them, or don't see the utility, I will totally understand.
     
    #70
  11. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Ask away, I'll see what I can do.
     
    #71
  12. cirdian

    cirdian Villager Member

    Messages:
    8
    Likes Received:
    3
    First Language:
    Brazil
    The SumRndmDde's Summon Core DragonBones Extension link is actually pointing to the BattlerChange.
     
    #72
  13. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    524
    Likes Received:
    106
    First Language:
    English
    Primarily Uses:
    N/A
    I really appreciate it.

    I'll preface this by mentioning that I understand there is an Eval option which allows pretty much anything I mention here to be possible. But the clunky nature of that option limits it's utility. Especially if needed regularly.

    First, I would request there be some way to apply variability to the results.
    (My examples are only for explanation. Any solution that offers similar results would be great.)

    Example as a possible recipe:
    Code:
    <Recipe>
    Discipline: 1
    Ingredient Item 1: 5
    Result Discipline 1 Exp: 1
    
    Result Success: 0.75
    Result Count: 0 to 2
    Result Item 10: 2 to 3
    
    Learned From Start
    </Recipe>
    
    //Result Success: 0.75  would give the entire result a 75% chance of success. (Failure would result in nothing)
    //Result Count: 0 to 2  would make the primary item fail to craft 1/3 of the time and craft double 1/3 of the time.
    //Result Item 10: 2 to 3  would also make the next result item make 2 or 3.
    
    The Result in Menu would look similar to:
    18_0829_YR_ItemCraft_suggest_1.JPG


    Another example as a possible recipe:
    Code:
    <Recipe>
    Discipline: 1
    Ingredient Item 1: 5
    Result Discipline 1 Exp: 1
    
    Random Result 1 Item 0: weight 1
    Random Result 1 Item 10: 1 to 3 weight 1
    Random Result 1 Draws: 2
    
    Random Result 2 Success: 0.75
    Random Result 2 Item 11: 1 weight 1
    Random Result 2 Item 12: 1 weight 2
    Random Result 2 Draws: 1
    
    Learned From Start
    </Recipe>
    
    //Random Result #, will allow only one of that result block items to be included. 
    //  The fact that there are two different result blocks, means they will each draw from their own blocks separately.
    //Weight is the chance (of total weight) any of the items is the drawn result.
    //Draws is the number of times the result is 'drawn' from the weighted items. (sampled)
    
    The Result in Menu would look similar to:
    18_0829_YR_ItemCraft_suggest_1b.JPG

    Second, I would request that the Result Success chances be formulas, that can easily use the recipes Discipline Level as a variable.

    Of everything I am suggesting, the least necessary is the multiple results, in the second example.
    Essentially, a success formula, a means of applying a result item count range, and a means of a random draw from multiple weighted results, would be plenty of variability.

    Having multiple result blocks would just allow for mixing and matching normal and random draw results in a single recipe...
    Or just add more icing on the cake. :)
     
    #73
  14. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Hmm... I make no promises right now, but I'll think about it after I finish this university assignment I took.

    The main problem is that this would make quantity worthless, or at least make using it be a huge gamble, so I'd rather put it in a separate version that only produces the results one group at a time
     
    #74
  15. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    524
    Likes Received:
    106
    First Language:
    English
    Primarily Uses:
    N/A
    Sure thing.
    Just to be sure there aren't any misunderstandings. I wouldn't change the current options. Just add new ones to offer some variability to the possible outcomes of a recipe. It would serve primarily as a form of 'gambling' when your current discipline level is lower than it needs to be for a 100% success rate. Or as a means of attempting to craft that super item, while not wasting the attempt completely because you'll get a lesser version on failure... etc...
     
    #75
  16. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    @cirdian ops sorry, I somehow missed your post.
    Thanks for the warning, it has been fixed.
     
    #76
    cirdian likes this.
  17. cirdian

    cirdian Villager Member

    Messages:
    8
    Likes Received:
    3
    First Language:
    Brazil
    I hate being the guy who has to say it, but the error persists and the SumRndmDde's Summon Core DragonBones Extension link is still pointing to the BattlerChange.
     
    #77
  18. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    @cirdian weird... I had checked... maybe I pressed the wrong button.

    By the way, since you're using Summon Core, I added a small plugin with some fixes for it. Things like leveling up not teaching skills and skills taking stats from the database instead of the summon when the summon is the one attacking.
     
    #78
    cirdian likes this.
  19. fallenlorelei

    fallenlorelei Veteran Veteran

    Messages:
    295
    Likes Received:
    333
    First Language:
    English
    I love that you combined these two plugins!

    I am having trouble getting it to work though.

    I have an item for "Pie" (ID 39) and an item for "Recipe: Pie" (ID 57). The recipe's note is:
    <Recipe>
    Discipline: 2
    Category: Food
    Result Item 39
    Ingredient Item 48 : 3
    Ingredient Item 7 : 2
    Ingredient Item 22
    </Recipe>
    YRCraftingHelp3.JPG

    The event to open the crafting window is:
    YRCraftingHelp1.JPG

    And the error I receive:
    YRCraftingHelp2.JPG

    Would you be able to perhaps upload a barebones demo of the working plugin? I know the issue is on my end and how I've set it up, which I think stems from using Yanfly's first, then MrT's, before moving to yours, and its possible the different "how to"s are getting confused in my head.

    Thanks for your help!
     
    #79
  20. Waterguy

    Waterguy Veteran Veteran

    Messages:
    1,183
    Likes Received:
    254
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    @fallenlorelei there is a chance it was on my end... I tested everything I could remember at the time, but no one ever tests anything 100% right? Even the best make mistakes they don't notice, and I'm not one yet.
    In this case, I think I messed up a bit when learning all recipes for an item at once...
    I think I fixed it. Could you check it for me?
    Here you go, hope it works now.

    About making a demo, I need to find a version of those projects with as few resources used as possible, so people don't wait the download for a while just for it...
     
    #80

Share This Page