MV Trouble with YEP Enhanced TP

I'm having trouble with using notetags for YEP Enhanced TP plugin. I want to use the following notetag in a skill: <Learn Unlock TP Mode: 2> It is a skill notetag that is designed to unlock the TP Mode when the character learns the associated skill. I have put it in the note box of the skill, the plugin is under Yep CoreEngine, and the character has learned the necessary skill, but the TP Mode does not appear in the TP menu.
please post a screenshot with all your plugins and their order to allow checking for compatibility issues, and a screenshot of said skill to check for errors there
Ok, I wasn't sure what would be helpful, so i didn't post any originally.

Here's the plugin list. The only extra one not shown is Community Basic at the very top, the default plugin that comes with MV.
Plugin List 12-06-23.png


Here is the skill list. It doesn't have any effect as it is just a placeholder while I test things out. I was wondering if that might be the problem, but I can't see why it would be.

Fury Skill Test.png
your yanfly plugins are in the wrong order, and that is known to cause a lot of random effects and problems.

every single plugin has to be in the same order as the main list on yanfly.moe, top to bottom, because too many of them interact with each other.

Reordering will also make your savefiles incompatible, so you'll need to start new playtest games after that.
Thanks, I didn't know about that list. Unfortunately, I've reordered the plugins and it still isn't working.

Here's the current plugin list:

Plugin List 12-06-23 B.png
1 - if you turn off all other plugins, save, start a new game, does it work?

2 - Are you verifying in-game that the skill is being learned? You can see it in an actor's skill menu?

Again, make sure that when you make changes to notetags like this you're starting a new game, not loading a save.
1 - if you turn off all other plugins, save, start a new game, does it work?

2 - Are you verifying in-game that the skill is being learned? You can see it in an actor's skill menu?

Again, make sure that when you make changes to notetags like this you're starting a new game, not loading a save.
1 - No, it didn't. I did keep Yep Core Engine running, but I think I can't run any Yanfly plugin without it?

2 - Yes, and it's not there when I start the game, so it is being learned from an event I've set up, not just in the character's list from the start. The event simply adds EXP to the character to level them up (they learn the skill at level 2).

3 - I always start a new game when testing.

A few other things:

- Plugin commands for the plugin are working. I could get it to work through an event, I just really want to do it via skills.

- Notetags for X_SubClass are working, just not EnhancedTP
1 - No, it didn't. I did keep Yep Core Engine running, but I think I can't run any Yanfly plugin without it?
It doesn't say that in the plugin description. Plugins don't have requirements unless they say so.

I was able to confirm there's a bug in the plugin.

Open it in a text editor, go to line 3723, and change it to read:
Code:
      var tpMode = skill.learnUnlockedTpModes[i];
Welp, that didn't work
Error 1.png


Unfortunately, I'm not familiar with JavaScript or coding at all, so I don't really know what's going on here.
Are you sure you put it in the correct place? It worked fine for me in my test.

And there's nothing in that line that calls a function, so I don't see how it could cause a loop (which is what the maximum call stack refers to).
Moved to: Plugin Support
Are you sure you put it in the correct place? It worked fine for me in my test.

And there's nothing in that line that calls a function, so I don't see how it could cause a loop (which is what the maximum call stack refers to).
It's line 3723. Really not sure what I've done wrong here...

Error 1.png
which version of the plugin are each of you referring to?

If a specific change like described has different results, then one of the most likely causes is that you refertenced two different versions of the plugins where the line numbers are different.
which version of the plugin are each of you referring to?

If a specific change like described has different results, then one of the most likely causes is that you refertenced two different versions of the plugins where the line numbers are different.
Version 1.09
I don't know what to tell you - that modification is correct, and it works perfectly in my project.

Please make sure you have right-clicked the plugin in your manager and reloaded; saved your project; starting a new game, not loading a save.

Try with all other plugins disabled to verify the TP plugin works by itself.

Describe exactly when the error occurs, if it still does.
and what version is the project core?
please go to the js folder, open rpg_core,js with a text editor and tell us the number in the title line (no number means 1.0)
and what version is the project core?
please go to the js folder, open rpg_core,js with a text editor and tell us the number in the title line (no number means 1.0)
Version 1.6.2
Is that outdated? If so, how do I update?
no, that is the newest - which means I currently have no idea what else could be the reason.
Okay, I guess I'm changing how I handle the TP Modes upgrades in game then. If you guys can't work it out, there's no way I'll be able to.
Thanks ANdar and ATT_Turan for your help. I appreciate it even if a solution wasn't found,
...you're welcome, I guess? I didn't see any responses about the basic troubleshooting steps I suggested in post 15.

But if it's not worth the effort and easier to go a different way, I understand. Good luck!

Original thread: https://forums.rpgmakerweb.com/threads/trouble-with-yep-enhanced-tp.158261/