Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,130
First Language
English
Primarily Uses
RMMV
1. The debug console is popping up because there is an error in the formula, this isn't a normal part of RPG Maker. This is something that Yanfly added for extra error handling.

2. The error says "CUSTOM STATE 59 CODE ERROR". Can you please show a screenshot of state #59? Especially need to see the notetag where the error formula is defined.

3. The JS error is "undefined is not a function". This means that something in that code is trying to execute (a function) for something that is not actually defined.

These are the four options where the error could be coming from, because these are the four things that are trying to be called as functions.
  • this.isHpEffect
  • this.getItemElements
  • element.contains
  • target.addBuff

If you don't know JS, where did you get this code from?
 

Aloe Guvner

Walrus
Veteran
Joined
Sep 28, 2017
Messages
1,628
Reaction score
1,130
First Language
English
Primarily Uses
RMMV
Nice find.

@Iliassine My guess is that "this.getItemElements" is the culprit and you don't have the Element Core installed. The video shows 4 required plugins, do you have all of them installed?
  • YEP Core Engine
  • YEP Auto Passive States
  • YEP Buffs and States Core
  • YEP Element Core
 

Archeia

Level 99 Demi-fiend
Staff member
Developer
Joined
Mar 1, 2012
Messages
15,308
Reaction score
15,775
First Language
Filipino
Primarily Uses
RMMZ
Do you want to remove the debug console?
It's usually in YEP Core Engine where you can toggle on/off debug console
 

Iliassine

Rider.
Veteran
Joined
Dec 14, 2016
Messages
90
Reaction score
3
First Language
French
Primarily Uses
N/A
I passed through all the states with the word pad and every note stuff I could use, but I didn't find any of the overheat tag. I'll try to remove everything then retyping the tags that were there.
 

Poryg

Dark Lord of the Castle of Javascreeps
Veteran
Joined
Mar 23, 2017
Messages
4,125
Reaction score
10,657
First Language
Czech
Primarily Uses
RMMV
That will not help, if a code is faulty, it will be just as faulty if you don't change anything about it. Perhaps you could try answering what @Aloe Guvner suggested before doing anything crazy.
 

Iliassine

Rider.
Veteran
Joined
Dec 14, 2016
Messages
90
Reaction score
3
First Language
French
Primarily Uses
N/A
That will not help, if a code is faulty, it will be just as faulty if you don't change anything about it. Perhaps you could try answering what @Aloe Guvner suggested before doing anything crazy.
It seems that the Element core has something to do because (even if i don't remember when it happend) I found it set on off in the plugin manager. I tried to turn it on and "syntax error".
 

Iliassine

Rider.
Veteran
Joined
Dec 14, 2016
Messages
90
Reaction score
3
First Language
French
Primarily Uses
N/A
Found it and removed it. Still an unexpected number. I'll dig it for now. :LZSskeptic:

Nevermind, I just deleted the tag and the plugin, so I guess i'll have to deal with it when I'll have to do a multi-element skill. But I'd like to thank you all sincerely for the time you took for me, and I'm truly sorry of the problems I've been causing.
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

TFW you discover how the script batching works in VNMaker... after you've had the program for almost 3 years.
hAx6iQ3.gif

Writes that the characters have to climb a mountain.

Realized that I have to draw six sets of models where characters are climbing.

At least I know how to draw something. :)
I'm currently scratching my head on how to design plains. What do I even put in plains? Some trees (but not too many or it turns into a forest)? Grass? A few bushes? That's a bit dull.
I'm looking for tutorials but Google didn't seem to find much (or maybe I have the wrong keywords). I don't know how to map plains and I don't know how to learn.
I should probably be dragged kicking and screaming away from Daz3D... I was playing with 8.1 models and came up with this. Thoughts?
and_remember_tomorrow_miranda_8_1.jpg

Forum statistics

Threads
111,403
Messages
1,060,851
Members
144,750
Latest member
corvid
Top