Venka's Crafting Script Issues

thaddaeus41

Warper
Member
Joined
Aug 19, 2016
Messages
3
Reaction score
1
First Language
english
Primarily Uses
I am trying to use Venka's crafting script but I can't seem to get it to work. Does anyone know exactly what I need to change in the database in order to get it working?
I have all the scripts and add ons plugged in but I don't know where to go from there. Some recipes I make will work fine when i call the specific craft scene but others will give a: 


script 'crafting script v3.8 line 544:nomethoderror occurred 


undefined method name for nil:nilclass


I've searched everywhere but can't figure out exactly what to alter in order to make it work for a new project.


Sorry about that. I thought someone might have some quick insight. The instructions claim it's tied into the demo database but doesn't mention how to change it for a new project. (At least nothing that I've seen.)


Source:




The only changes I made after I plugged in the scripts from the demo were to erase all the crafts and recipes and insert my own.


Image1: this is how i set up the calls in a common event for an item.


Images 2&3: this recipe represents the second choice in my event and is called with craft(1). This one works perfectly.


Images 4&5:These represent the third choice and are called with craft(2). As soon as I add that second recipe everything stops working and I get the above mentioned error.


I should also mention that when both recipes are combined under one craft it works fine as well.

Untitled.jpg

Untitled2.jpg

Untitled3.jpg

Untitled4.jpg

Untitled5.jpg
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,434
Reaction score
7,713
First Language
German
Primarily Uses
RMMV
please link to the website where you got the script - we can't help you otherwise.


That said, it sounds as if you made a mistake configuring some recipes, and we'll need screenshots showing your configuration to find out why they don't work.


I've moved this thread to Script Support. Please be sure to post your threads in the correct forum next time. Thank you.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
Your recipes use items from the database which are NOT set up by default.


These are items 17, 18, 19, 29, 30 and 31.


If your database got no such items set up (the current maximum limit is set to something lower - the default is 16 items), you will get that error.


Increase your database maximums, and it should fix your issue.


Also, do read the description on how to set up craft types and craft recipes. It might seem complicated at first, but once you get one right, the rest is mostly simply copy/paste job.
 

thaddaeus41

Warper
Member
Joined
Aug 19, 2016
Messages
3
Reaction score
1
First Language
english
Primarily Uses
Your recipes use items from the database which are NOT set up by default.


These are items 17, 18, 19, 29, 30 and 31.


If your database got no such items set up (the current maximum limit is set to something lower - the default is 16 items), you will get that error.


Increase your database maximums, and it should fix your issue.


Also, do read the description on how to set up craft types and craft recipes. It might seem complicated at first, but once you get one right, the rest is mostly simply copy/paste job.





 
Thanks for the reply Sixth. Unfortunately, all the items in the recipes above are set up in my items database and my max limit is currently 60.


I've gone over the instructions for setting up craft types and recipes but I just can't pin down what is causing the error.
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
The error you get happens because it can't find an item from the database, and because there is no item, it can't have a name. 


This is the error you get (but it's on line 546 in an unedited script, at least in the demo).


Also, note that after you add any recipe/craft type, you must start a new game (so can't load a saved game), or else the game will crash.


Well, this is quite common with scripts, so you should always test them with a new game instead of loading a saved game.
 

thaddaeus41

Warper
Member
Joined
Aug 19, 2016
Messages
3
Reaction score
1
First Language
english
Primarily Uses
The error you get happens because it can't find an item from the database, and because there is no item, it can't have a name. 


This is the error you get (but it's on line 546 in an unedited script, at least in the demo).


Also, note that after you add any recipe/craft type, you must start a new game (so can't load a saved game), or else the game will crash.


Well, this is quite common with scripts, so you should always test them with a new game instead of loading a saved game.





 
I started a new project and plugged in the scripts before i started working on my game and creating new craft types and recipes. Or do you mean that I have to input all the recipes I want first before doing anything and I can't create them as I continue working?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,528
Reaction score
14,261
First Language
English
Primarily Uses
RMVXA
I imagine you have to input all the recipes before you start the game. Most crafting scripts save the recipe list at game start, and that cannot be changed on the fly without breaking save games.


Best way to handle this is put in the few recipes you know right now that you want, write the others down, and then when you decide to restart a playthrough (and trust me, you'll do that many times), add the next few recipes then.
 
Joined
Aug 6, 2016
Messages
95
Reaction score
5
First Language
English
Primarily Uses
I also have some issues with Venka's crafting script... It seems to ignore Levels..


If the required level is higher than our current level, the level color does change but the item can still be crafted... Which means the level system is completely useless..
 

Sixth

Veteran
Veteran
Joined
Jul 4, 2014
Messages
2,162
Reaction score
823
First Language
Hungarian
Primarily Uses
RMVXA
Not really, it means you will need to read the description of that addon thoroughly (forgot how it's called, maybe "Difficulty Addon", or something similar).


It is not a strict level requirement, it just modifies the success chance of items crafted based on the difference between the required and current level.


If you want a direct level requirement setup which won't let the player craft any item which requires a higher level than the current one, you will need to change the sample settings to match that in the addon, or better yet, remove that addon, because the only purpose of that addon is to enable the crafting of higher leveled items with a penalty.
 
Joined
Aug 6, 2016
Messages
95
Reaction score
5
First Language
English
Primarily Uses
Yeah.. I just had to comment out the difficulty addon script. Thanks
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.
Hello! I would like to know if there are any pluggings or any way to customize how battles look?
I was thinking that when you start the battle for it to appear the eyes of your characters and opponents sorta like Ace Attorney.
Sadly I don't know how that would be possible so I would be needing help! If you can help me in any way I would really apreciate it!
The biggest debate we need to complete on which is better, Waffles or Pancakes?
rux
How is it going? :D
Day 9 of giveaways! 8 prizes today :D

Forum statistics

Threads
106,049
Messages
1,018,546
Members
137,835
Latest member
yetisteven
Top