Assistance with Item Synthesis Please

Azaiael

Villager
Member
Joined
Oct 10, 2016
Messages
16
Reaction score
7
First Language
English
Primarily Uses
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
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
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.
 
Last edited by a moderator:

Azaiael

Villager
Member
Joined
Oct 10, 2016
Messages
16
Reaction score
7
First Language
English
Primarily Uses
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
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
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?
 

Azaiael

Villager
Member
Joined
Oct 10, 2016
Messages
16
Reaction score
7
First Language
English
Primarily Uses
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
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
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.
 

Azaiael

Villager
Member
Joined
Oct 10, 2016
Messages
16
Reaction score
7
First Language
English
Primarily Uses
I edited my post, stating that I did NOT change anything and provided a screenshot of my line 445


Here is another

Snip.JPG
 
Last edited by a moderator:

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,111
Reaction score
13,714
First Language
English
Primarily Uses
RMMV
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?
 
Last edited by a moderator:

Azaiael

Villager
Member
Joined
Oct 10, 2016
Messages
16
Reaction score
7
First Language
English
Primarily Uses
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.
 
Last edited by a moderator:

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,547
Members
137,835
Latest member
yetisteven
Top