can probably guarantee im messing up with something or im missing a vital plugin but im trying to use the power up mode plugin as for the game im making its going to be one of the core abilities of my main character, i have the auto passive plugin and what not and set up everything as seen in the videos but the state automatically activates even outside of combat and when the tp condition isnt met, and the animation hits even before so im not sure if what im doing is right or not
having some issues with some of yanfly mv plugins
RPG Maker MV Support@Nikku For starter's, your plugins aren't in order- all of Yanfly's plugins work better when properly ordered, plus Action Sequence Packs 1 and 3 are missing (Pack 2 requires Pack 1 to work). Your proper order should be (with missing necessary plugins included): Core Engine, Message Core, Battle Engine Core, SV Animated Enemies, Action Sequence Pack 1, Action Sequence Pack 2, Action Sequence Pack 3, Buffs and States Core, Auto Passive States, Visual State FX, Passive Cases.
okay thanks! didnt know about the order (well i knew some plugins were above certain ones just not all) okay so thats out of the way im still having the same issue as i did before
Something about that "condition = false" part of your JS just doesn't sit right with me. Are you wanting the state active below 100 TP? Because that maybe why- unless you check the box under the System tab, a actor always has 0 TP outside of battle. If you want it to be 100 or higher, you use <=, not >=, but since MV caps
EDIT: give
a try- I apologize if this doesn't work, as I am still learning JS myself.
EDIT: give
Code:
if (user.InBattle()) && condition = user.tp >= 100
setted the condition to true and yet i get the same results, not sure what im doing wrong im practically mimicing everything done in the video to see what im doing wrong and i cant tell what it is, i want the state only to kick in when the character hits 100tp in battle, heres what the full note says, just got rid of some of the stuff again to mimic the video in case i was messing up something..., maybe my plugins are outdated or something...?@Nikku I see what is happening now- the ">=" part is making it trigger under 100 TP. To trigger AT 100 TP or higher (which defaults back to 100 TP, as 100 is the cap on TP), change the >= to <=. If that doesn't it, try either == or === ( I forgot which is "equal to" in JS).
just tested that and im still getting the same results as before, still being activated before intended
Then I am lost here, sorry.
i really feel like i might be missing an essential plugin that might be the cause of this working... cause its like no matter how much i edit the code nothing happens so the code might not even be active
EDIT: i must be mising a plugin ive messed with the code so much now that if it was active i should have gotten an error from it so that lets me know its not
EDIT: i must be mising a plugin ive messed with the code so much now that if it was active i should have gotten an error from it so that lets me know its not
The above posters were on the right track, but perhaps try this?
question. did u put these plugins in after or before creating the current project?
adding new plugins to an already existing project can cause other plugins to derp out.
every time u get new plugins u need to put then in the newdata folder, create new project, copy data folder from current project to the new 1, and redo plugins in the new project.
theres a chance ur code is right but the plugin isnt running correctly since it wasnt in the project folder at the time of creation
the only thing u lose is save files from playtest.
if u copy "data" folder everything u've done in the database will still be there.
and have to redo any changes u made to plugin parameters if u did change any.
adding new plugins to an already existing project can cause other plugins to derp out.
every time u get new plugins u need to put then in the newdata folder, create new project, copy data folder from current project to the new 1, and redo plugins in the new project.
theres a chance ur code is right but the plugin isnt running correctly since it wasnt in the project folder at the time of creation
the only thing u lose is save files from playtest.
if u copy "data" folder everything u've done in the database will still be there.
and have to redo any changes u made to plugin parameters if u did change any.
tried that and im still getting the same results as i was before all this began, like i said i really feel like i must be missing a plugin
@Tiamat-86 just tried what you suggested and im getting the exact same results
Hmmm...whaaaaaat about this?
@Fernyfer775 nope, still not working and its like no matter how many times i touch that code it doesnt work at the same time i never get an error no matter what i do, so either i need to see if my plugins are outdated and thats why its not working or im simply missing a plugin
OP - I've tried the note tags you've mentioned here and they work for me.
The version numbers on some of those yanfly plugins look a little low, too. I'm not sure what the appropriate version numbers are right now, but you should check that out. (make sure you make a backup of your project before you do any updates).
The version numbers on some of those yanfly plugins look a little low, too. I'm not sure what the appropriate version numbers are right now, but you should check that out. (make sure you make a backup of your project before you do any updates).
That is idiotic.
I don't know what your original problem was (perhaps a failed project update, which can be done more easier than this?) and how it might have been solved, but as thousands of users will be able to confirm you can add plugins directly to the existing project, there is absolutely no need to recopy the rest of the new data.
@Nikku
I think you'll need some systematic bughunting to find the cause of this problem. This will take time, but no way around it if the tips so far didn't do anything.
1) add some nonsense to the checkbox to cause an error if the code is eval'd, something like wvzrfvewr
first, do this before the if command - if that doesn't cause an error, then the notetag isn't checked at all and the problem is somewhere in the plugin manager
second, in the branch for true of the if-command to check if that branch is executed, and third (but not at the same time) in the branch for wrong/else.
Test this both inside and outside combat.
If only one of the branches throw the error, then it might be that the condition is not correctly worked through.
The problem here is that in some cases functions that were not intended to be used somewhere or that are defined in the wrong context give not a calculated but an automatic result, completely missing the intended purpose.
2) open your projects rpg_core.js file with a text editor (no launching it) and check the version number at the end of the title line. If there is no number, it's 1.0.0.
The problem here is that several of yanfly's plugins can only work with specific versions of the corefiles, because some updates added new options or changed the engine behaviour to solve bugs and so on.
And a lot of people fail to update their projects correctly because they misinterpret the instructions given in the update topics.
And so far I haven't seen someone asking for the version in your project, so that needs to be checked as well.
Agreed with Andar, I would even go as far as to say you should never touch the NewData folder.
@Nikku
1.)
Can you please post a new screenshot of your plugin manager now that you've reordered the plugins? So we can double-check for you.
2.)
Please post a screenshot of the console when the state wrongly activates (press F8 during a playtest). If there is an error, we'll see it there.
3.)
Looking at your plugin list, specifically the AutoPassiveStates plugin, it doesn't say the version number and it has a misspelling in the description - how did that happen and where did you download it from?
That makes me suspect that the plugin is not correct and you should re-download it from the Yanfly website.
4.)
As mentioned by Palin, most of the plugins are very old (for example, your BattleEngineCore is 8 versions behind the current, BuffsStatesCore is 5 versions behind the current, etc.).
@Nikku
1.)
Can you please post a new screenshot of your plugin manager now that you've reordered the plugins? So we can double-check for you.
2.)
Please post a screenshot of the console when the state wrongly activates (press F8 during a playtest). If there is an error, we'll see it there.
3.)
Looking at your plugin list, specifically the AutoPassiveStates plugin, it doesn't say the version number and it has a misspelling in the description - how did that happen and where did you download it from?
That makes me suspect that the plugin is not correct and you should re-download it from the Yanfly website.
4.)
As mentioned by Palin, most of the plugins are very old (for example, your BattleEngineCore is 8 versions behind the current, BuffsStatesCore is 5 versions behind the current, etc.).
@Aloe Guvner sorry for how long it took to reply had work, so il post the pic for the console and the manager also ive gotten all my yanfly plugins from yanflys website (not all of them some were provided when i bought the program) so while i wait im going to dig around and see which of the plugins need to be updated


@Nikku you still haven't said which Version your projects core is like I asked a few posts above.
Original thread: https://forums.rpgmakerweb.com/threads/having-some-issues-with-some-of-yanfly-mv-plugins.96405/