Assistance with Item Synthesis Please

Hello again Forum World. A few days ago I had an issue that I thought had been fixed but was not. So now after a few days of useless attempts at PMing folks on here, I was advised to post again instead of sending PMs as an attempt to get aid. My problem is in the screenshots below. Any help is appreciated. Here is a link to where I got the Plugin http://yanfly.moe/2016/01/15/yep-58-item-synthesis/ Error.JPGCapture.JPGWeapon.JPGRecipe Book.JPGConsole.JPG

Console.JPG
At what point do you get this error, and what are you trying to craft?


I believe it's your Crafting: Iron that has the problem, as the <Item Recipe: 21> is what it's falling over on.


I just created a similar item and it worked fine.  Are you sure you haven't made any changes to the plugin and might have introduced an error?  


Line 445 should read:


var array = JSON.parse('[' + RegExp.$1.match(/\d+/g) + ']');






Edit: I bet you've taken out the $ and it's just RegExp.1.match instead of RegExp.$1.match - if I remove the $ and try to run, I get the same error.


I suggest you re-download the plugin just in case you've made any other changes that could break things.
I get the error as I begin a playtest. Even the MadewithMV screen does not appear. And no I am not sure if my changes caused an error but here is what they look like.1.JPG2.JPG3.JPG4.JPG5.JPG
Not the plugin parameters - the plugin source itself.  Did you make changes to the .js file?  I edited my post to say I can create the same error if I change line 445 in the plugin/script and remove the $.  What other changes did you make to the script/plugin?
As I know little to nothing about scripting and the like I have made no changes to the file. I even deleted and re-downloaded it to be certain and I still get the error.


EDIT: The Crafting: Iron is a recipe book, I intend for it to hold the recipes for Iron Weapons, Iron Armors, and the Iron Ingot item that is also used for synthing. Can this be an issue somewhere? Also, my line 445 looks as follows;


Snip.JPG
Well, that's where the error is.  I downloaded the version from the link you gave and it worked.  I took out that one character on that one line, and I got the same error that you got.  Put the $ back where it belonged, and it worked again.
I edited my post, stating that I did NOT change anything and provided a screenshot of my line 445


Here is another

Snip.JPG
Can you add the following on a new line before that one?


console.log(obj.note);


and then play to get the error and then take a screenshot of the console?  That will verify if it's that item that's causing the problem.


You're absolutely certain the script you're looking at / updating is the one that's in the folder for your project?  It's not in a different project or folder somewhere?
I do not know how to add that line or what to add it to. And yes, I am certain that the script is the right one. I only have on project on this laptop. My other pet projects are on a different one.


Edit: Okay, this time for certain I got it working. Once more it was an issue with my notetags. I had moved the Items, Weapons, and Armor around in the lists and forgot to tag them appropriately. Just play tested and it is working fine. To those few who helped with this I greatly appreciate it, and you guys(gals?) rock major league.

Original thread: https://forums.rpgmakerweb.com/threads/assistance-with-item-synthesis-please.71344/