MV Issues with plugins in TypeError

Hello! i recently started developing a game in rpg maker mv and this is also my first time using this site! hopefully im doing everything right!

but anywho id really appreciate if someone could help me out on figuring out how to solve this TypeError. i think its related to plugins? specifically, they only appear if i exnounter a battle when playtesting the game.

Game has encountered a bug. Please report it.
TypeError: Cannot read property 'x' of undefined
at Spriteset_Battle.update (SRD_BattleBackScroll.js:201:21) at Spriteset_Battle.Spriteset_Base.initialize (rpg_sprites.js:2131:10)
at Spriteset Battle.initialize (rpg sprites.js:2432:41)
at new Spriteset_Battle (rpg_sprites.js:2425:21)
at Scene Battle.createSpriteset (rpg_scenes.js:2359:23)
at Scene Battle.createSpriteset (SRD_HUDMaker.js:1718:33)
at Scene Battle.createDisplayObjects (rpg_scenes.js:2349:10)
at Scene Battle.create (rpg_scenes.js:2240:10)
at Function.SceneManager.changeScene ( rpg_managers.js:2005:25) at Function.SceneManager.updateMain (rpg managers.js:1982:18)
Press F5 to restart the game.

once again sorry, i just have been trying to fix this to no avail!! im not really smart with tech and code!

Snímka obrazovky (18).png
100% an issue with a plugin, specifically the SRD BattleBackScroll plugin. Try turning that off and running a battle and see if you get any errors.

As far as what about the plugin is causing the issue I couldn't say, never used that one myself. Perhaps someone with more specific experience can help with that 🙂.
100% an issue with a plugin, specifically the SRD BattleBackScroll plugin. Try turning that off and running a battle and see if you get any errors.

As far as what about the plugin is causing the issue I couldn't say, never used that one myself. Perhaps someone with more specific experience can help with that 🙂.
THANK YOU!! the battlescroll plugin is def the root of the problem, thank you!
i had tried turning it off and on it but it still goes back to that screen...
however if i turn it off it does work flawlessly. im not sure if its the plugins work, ever since this thing has happened rpgmakermv itself started to get buggy and weird. but thats not the focus! anyways thank you!! hooefully someone can help me find out what to do with the battlescroll plugin to make it work again
its NOT the plugins fault, its your configuration issue where you made
a typo.

read the helpfile carefully as it does run correctly, if it does throw that error,
it might be conflict, so you can try shifting around in the plugin database.

but make sure your configuration is correct.
its NOT the plugins fault, its your configuration issue where you made
a typo.

read the helpfile carefully as it does run correctly, if it does throw that error,
it might be conflict, so you can try shifting around in the plugin database.

but make sure your configuration is correct.
AH I APOLOGIZE i had no clue ,, im new to the stuff so i still do have a lot to learn,,
i had tried to shift it around the folder but that didnt work, tried to set it up again but no change
could you maybe describe the issue a little bit more??
because im not sure what configuration speficifcally is, because if its the help file configuration theres no things to be configured i think?
i must have made some sort of mistake because the plugin worked before i rearranged and deleted some of the plugins i think
again sorry if this is really stupid its just quite difficult to get a hang of!! have a good day
"Of undefined" is the key to the error message, and it means that the engine was given a reference to a data object that does not exist.

This means that there are several possible causes:

1) you typed something in one of the property fields of the plugin that is wrong - that is what people mean by configuration: you have to tell each and every plugin what it has to do in your game and where to find its data.

2) the default value of a plugin that wasn't configured does not exist in your game - like the plugin is told to use actor 10 but you have only five actors in your game. After all the plugin programmer configured the defaults for his own game, not for yours.

3) adding a plugin makes older savefiles incompatible. If you add a plugin and then continue a savefile, then a type error of undefined is extremely common.

4) you have two plugins that do not work together correctly, again usually because you configured them wrong.


EDIT: and point 3 also counts for removing or reordering plugins, always start new playtest games for testing
"Of undefined" is the key to the error message, and it means that the engine was given a reference to a data object that does not exist.

This means that there are several possible causes:

1) you typed something in one of the property fields of the plugin that is wrong - that is what people mean by configuration: you have to tell each and every plugin what it has to do in your game and where to find its data.

2) the default value of a plugin that wasn't configured does not exist in your game - like the plugin is told to use actor 10 but you have only five actors in your game. After all the plugin programmer configured the defaults for his own game, not for yours.

3) adding a plugin makes older savefiles incompatible. If you add a plugin and then continue a savefile, then a type error of undefined is extremely common.

4) you have two plugins that do not work together correctly, again usually because you configured them wrong.


EDIT: and point 3 also counts for removing or reordering plugins, always start new playtest games for testing
its definetly not a save file issue because it doesnt work if i battle test it in general , and even in a new save slot.
also if im not mistaken the parametres is the configuration window right? because if so i have nothing to configure here
the hudmaker works flawlessly too, except for the battlescroll plugin. ill include pictures of the plugin manager too incase thats the problem
again sorry if this is really annoying or if im not getting something, this is very new to me!!
1700341605277.png

1700341436834.png
if i battle test it
Battletest is even worse and extremely unreliable when using plugins, you have to start a playtest and then start a new game inside the playtest.
because if so i have nothing to configure here
wrong - even in the partial help I can see in your screenshot it says that you need troop notetags for configuration, and doing them wrong can easily result in such configuration errors.

if im not getting something,
That is why we are here to help, and you have another problem clearly visible in your screenshots:
Your plugins, especially your yanfly plugins, are in the wrong order.

Please go to yanfly's website and reorder the yanfly plugins you have into exactly the order of his main list - your battlecore must never be above the core engine or the message core for example
I also advice to place YEP plugin above all other plugins, for the order of
YEP plugin, I updated a plugin in my spoiler, that checks the YEP_Library
plugin in your plugin database, but you should read the helpfile how it works.
the YEP plugins website is to manually check those plugin as wrong order
gives strange behavior like Andar said, but if you dont configure the plugin
or read the helpfile, A LOT of errors can come up and blame the plugin for
"NOT WORKING", which is mostly "PEOPLE USING THAT PLUGIN" for not
reading the helpfile or how to configure it.

so if you miss notetag which are required, that of course the plugin doesn't work,
as configure is something a lot of people forgot or how to read.

if there are confusion to a plugin and it's errors, we do our best to help you out
and make sure it works the way it should be working, if its really a bug or glitch
inside the plugin or a conflict which can be replicated, we are happy to find an
alternative plugin or a patch to let them work nicely.
Thank you!! seems i have resolved the issue, i redid the game code and things and it seems to be working flawlessly now,, i think i messed up some missing files and data i cannot find. Once again thank you!!!!!

Original thread: https://forums.rpgmakerweb.com/threads/issues-with-plugins-in-typeerror.163045/