Crafting Script v3.8 - Updated 2/26/2015

I am speechless =)

I will start implementing this ASAP!

Thanks once more Venka, you are awesome!

Edit.: Caught a bug on the demo, the fishing method is subtracting the level.

Like, after you fish on the level 15 or level 50 fish hole, you go back some many levels.

But other than this, it's pretty good! 
Venka not know if you'll like it. But it is a suggestion.

This idea came up based on the system of craft some MMORPG's (especially World of Warcraft).

Each profession could have "tabs" of the types of items to be built.
Example. Blacksmith.
The blacksmith would have a flap that build Weapon, another would build armor, shield other ...

In this picture: ( http://gamehall.uol.com.br/selectgame/wp-content/uploads/2011/06/world-of-warcraft-cozinhando.jpg%C2 ) We have an example of "Cooking".
Cooking has one Tab (​​because of the level of the profession or number of recipes in World of Warcraft), "Food and Drinks".

"Food and Drinks" has several recipes.


In this picture: ( http://www.examiner.com/images/blog/replicate/EXID5942/images/Alchemy.jpg%C2 ) have the "Alchemy", she has two (or more, because it is not visible) "sub-classes".

I do not know if it is possible to do this in RPG Maker, do not really know. But this is a suggestion.
I'm not really doing requests on this system at this time cause I have plans to rewrite the script to make it easier to modify later and to make it a bit more efficient. But once I get around to doing that, I'll probably take requests again 🙂 but till then I'm doing bug fixes if any more pop up
all right =)
I'm getting Script 'Crafting Script v3.4' line 536: NoMethodError occured.  Undefined method 'name' for nil:NilClass.

Any way to solve this? What am I doing wrong?
When you copied the scripts over to your project, did you copy the items as well? The database in the demo has been adjusted so I think you don't have the items the demo has so it's giving errors
Venka, what were the changes from version 3.2 to the current version?
they were all just minor changes. Version 3.3 fixed an issue where the Menu Add on was updating too often and was causing some lag. Version 3.4 I added a script call and fixed an issue where if you used the following script call

$craft[id].change_level(amount) If you used that script call, you wouldn't auto learn recipes if one was learned when the levels changed. It's now working correctly and I added a script call that lets you change the craft level to a set level instead of add/subtracting levels.

The last minor change was just doing with the background images. The script has always looked in the Graphics/Picture folder for the background images. I just added a layer to it so it'd look in the Graphics/Titles1 folder for the image. If it didn't find the image in the Titles1 folder, then it'd look in the Picture folder for the image.

So nothing major and no need to update at all unless you were using the menu access add on.
Thank you so much! Venka Problem Solved!
Well, I have finished my new version of the result window, and cleaned up the code a bit (still messy, mind you 😛 ), so I might as well post it.

Spoiler
#==============================================================================# Randomization Addon by Venka & Sixth (v.1.1c) ----------------# - Go nuts with random crafted items! | Updated: # REQUIRES Venka's Multiple Crafting Script! | 19/08/2014# REQUIRES Vlue's Weapon/Armor Randomization! ----------------#==============================================================================#------------------------------------------------------------------------------# Change Log:#------------------------------------------------------------------------------# 19/08/2014 - Updated the addon to account for the changes in the main script.# - The issue with the Actor Stat Changes Add On is fixed as well.# 15/08/2014 - Added $imported tag. Mostly for debugging purposes.# 13/08/2014 - Added some script calls to check the number of the total# recipes learned by craft types. Might help with some eventing.# 10/08/2014 - Restructured the code of the box version of the result window.# 09/08/2014 - Added color settings for the borders of the boxes.# Added stack size limit options.# Added shorter script calls to toggle randomization on and off.# Added non-boxed version of the result window.# 08/08/2014 - Initial release.#------------------------------------------------------------------------------Here is the code:
attachicon.gif
randomization addon full v11c.txt
Spoiler
This became harder than I initially thought, because of the lot of possibilities and variables.

The code grow in size as well, so instead of putting it up in a spoiler, I will just upload it.

Waiting for bug reports (there can be only visual bugs/anomalies, I guess, but still)... 😀

Updated the addon (v.1.1c)! More options available!

Here are some screenshots also:

attachicon.gif
boxver1.PNG

attachicon.gif
boxver2.PNG

attachicon.gif
nonboxver1.PNG

attachicon.gif
nonboxver2.PNG
Known Compatibility Issues:

No known compatibility issue for now.

I think I've found a bug. I'm using Yanfly‘s Skill Cost Manager and Skill Restrictions, and normally when a skill is unable to use(leak of mp/tp, CD not ready...), the name of the skill would be deactivated in color grey. Although it seems have nothing to do with your script, after using yours, the unusable skill does not deactivate visually, not in grey but in bright white color, as if it can still be used. Any ideas to fix that?
I can't check it now, no power here now. Writing from my mobile.


But I am using those scripts too and haven't noticed any bug.


Where did you put the randomization addon, after or before those scripts? On my list, the addon comes after the skill scripts. No idea if it matters or not.


Anyway, power will come back after 2 hours from now, so I will check it then.


Alright, I checked it, and I can't reproduce that anomaly.


I tested it with:


- gold restriction


- hp restriction


- limited use restriction


- warm-up restriction


- cool-down restriction


- switch restriction


All of these worked fine for me.


If you still have the problem, patch up a demo for me, and I will try to help.
so sorry luiscesjr, I didn't see your edit til today.

I fixed the issue. Look for the def at level 330 of the main script. It looks like this:

Spoiler
#---------------------------------------------------------------------------- # ○ new method: change_level #---------------------------------------------------------------------------- def change_level(change) if change > 0 change.times {|i| level_up} else change = change * -1 change.times {|i| level_down} end end
and change it to this:

#---------------------------------------------------------------------------- # ○ new method: change_level #---------------------------------------------------------------------------- def change_level(change) change_exp(exp_for_level(@level + change)) endI'll update the demo as well but if you don't want to download it all over again, just make the change from above and you're fine 😉
The updated script solved all of the problems I had!  🙂

Would it be too much if I asked you to include a standalone crafting shop?

It's kind of awkward to have a guy with a "Buy" option even though he has nothing to sell.  :stare:
I have a script floating around that does all the crafting at shops and it looks like a shop but really isn't (aka no buy/selling option) but I can't find it right now. I must have deleted it at some point. I'll try working on making it again or setting it so you can turn the buy/selling off in the existing add on. I'll try to get it done in the next couple of days
Venka I have problem to download the script can you please just send me the script via pm? 

it will be really kind if you can do this 

because like I said I want to work on a sprite edition of your system ;3!
I can't check it now, no power here now. Writing from my mobile.

But I am using those scripts too and haven't noticed any bug.

Where did you put the randomization addon, after or before those scripts? On my list, the addon comes after the skill scripts. No idea if it matters or not.

Anyway, power will come back after 2 hours from now, so I will check it then.

Alright, I checked it, and I can't reproduce that anomaly.

I tested it with:

- gold restriction

- hp restriction

- limited use restriction

- warm-up restriction

- cool-down restriction

- switch restriction

All of these worked fine for me.

If you still have the problem, patch up a demo for me, and I will try to help.

Here's my demo

https://mega.co.nz/#!zNhVBaYS!ApnBDPTX3f35cUHhqpu3EFgc47JMQnv0nD5kMS9jOb8

In the battle, a skill named 2 hit has a cooldown of 1 turn. After it is used, the skill name won't be grey( however the icon will ) until I remove your script. Thanx for helping!
Hello community,

first I want to say, how awesome your script is. I totally love it. Thanks for that.

Now the other part. I have a litte question/problem.

In the recipe and crafting menu the description of the item wouldn't fit in the text box. In other textboxes it's fits.

A picture is attached.

Could someone help me with this problem or did I overread something?

Best regards

Crafting.png
Most probably, you use a different font type in the recipe menu than in your normal help window.

The normal help window is also wider, so yeah, it is very possible that the text will be cut down if you don't adjust the font type and size properly in the script setup.

@Venka

Thanks for the fishy icon usage! Now I just need to make the sprites for my fishing mini-game. 😀
@Satharas: Sixth is right on the font, but you can also use a word wrapper script that will adjust the lines for you. One of the best word wrappers out there is KilloZapit's you can find here.

Just read about the settings and play with them. It's nice for text message boxes as well 🙂

I'm also working on some minor adjustments to the script for the new dll that's in testing that allows for a much bigger screen sizes. A link to it can be found in my signature for those that are interested 🙂
Oh I was so dumb. Thank you for that tip. 😀

You are awesome. 😉

Original thread: https://forums.rpgmakerweb.com/threads/crafting-script-v3-8-updated-2-26-2015.17560/