Customized or mitigated battleback scroller plugin update request affecting MV 1.5.2 (SumRndDde)

● ARCHIVED · READ-ONLY
Started by ZeroBreak 14 posts View original ↗
  1. Another issue I have regarding endgame material. Originally when I started I was using one of the earliest MV builds to get things going and later upgraded the project to 1.5.2 and apparently it creates a bug condition with my original VFX design. Specifically, the engine upgrade seems to break the fly-by effect plugin I was using (the one by SumRndDde if you need the reference) and cans out instead with the dreaded case of not being able to read "property 'x' of undefined". Worse, this is probably a fault of "vanilla MV" to my best knowledge from disabling other plugins while attempting to narrow it down, and because it only started happening after I upgraded the core scripts.

    Now obviously I have no idea what part of 1.5.2 breaks the plugin but if someone can investigate and customize accordingly it would be appreciated as I have since updated the endgame phase with a transformation element that also changes the background mid-fight (off Himeworks in this case) and would be amiss not to take full advantage of what I'm considering. And seeing it dates back to 2017 I'd assume someone would have to cross check (up to line 201 according to the error report) and seeing I'm using the notetag method I'm not sure if that's where the problem is (however I'm probably gonna change it to occur when the endgame boss exposes the worst side of his inner self using the script call/plugin command so I'll test that and if it happens there I'll update. For now it also breaks similar visuals inspired by Earthbound that I used elsewhere in my project and which for my purposes are totally optional at this point.

    EDIT: Confirmed. Even the plugin commands have been affected.
  2. Please add screenshots of your full Plugin Manager as well as the error report from the console (press F8 during playtest to open the console).

    Your post is a bit verbose and difficult to parse through, can you describe step-by-step what actions you take to produce the error (using bullet points)?
  3. Exactly as I said. Simply using the notetags or commands crashes the game when the plugin is triggered. Worked fine off an earlier codebase and didn't start complainin' until after I upgraded the core. As a side note, the title video plugin I defined replaces another plugin that does the same thing, but which also went bonkers after the upgrade (though I'm admittedly unsure of whether it's related or not).

    Anyway, here's my crash dump and plugin definitions:

    Ooyuwh9.png
    chBTYHs.png
    XWuKARz.png

    EDIT: For the record, the problematic plugin responsible for the effect is the one with the active property set to OFF, not including menuoptionsscreen which is actually redundant and should be treated as unused as it has since been pulled from my project.
  4. BreakerZero said:
    Simply using the notetags or commands crashes the game when the plugin is triggered.
    Which notetags and commands, exactly? This is what I mean by step-by-step description of how to trigger the error.

    Additionally, if you believe this to be caused by upgrading the version of MV, can you confirm that you have updated every file properly? Open each of the "rpg_core.js", "rpg_objects.js", "rpg_windows.js", "rpg_managers.js", "rpg_scenes.js", "rpg_sprites.js" in a text editor and confirm the version number listed at the top of the file is what you expect.
  5. According to the documentation for the plugin, I'm doing this exactly as I need to whether it's with the appended notetags (e.g. FinalChallenge<back1-speed: 2, 0><back2-speed: 4, 0>) or with plugin commands (SetBattleBack1ScrollSpeed 2 0 and SetBattleBack2ScrollSpeed 4 0, respectively). Additionally, all of the mentioned core scripts are 1.5.2 so this was a total, 100% system upgrade.
  6. BreakerZero said:
    (e.g. FinalChallenge<back1-speed: 2], 0><back2-speed: 4, 0> for the notetag method)
    You have a square bracket "]" in the x position of the back1-speed notetag, but I actually don't think that's the cause since the parseInt function should be able to deal with that.

    I just tested the SRD_BattleBackScroll plugin on a project in MV 1.6.1 at it works fine. I'm not going to downgrade to MV 1.5.2 to test it, but the Javascript code of those versions is nearly identical. Comparing the code between 1.6.1 and 1.5.2 has about 30 differences, none of which has to do with sprites. What I'm saying is that if it works on 1.6.1, it will work on 1.5.2.

    The next step would be for you to go through some of the classic troubleshooting steps, paraphrased from here.

    1.) Does the error occur on a brand-new project with MV 1.5.2?
    --> If yes, then check the download of the SRD plugin, because I doubt this would be the case, as explained above

    2.) Does the error occur on your current project with all plugins turned 'OFF' except for SRD_BattleBackScroll?
    --> If no, turn 'ON' each other plugin one-by-one until you identify the conflicting plugin
  7. Aloe Guvner said:
    You have a square bracket "]" in the x position of the back1-speed notetag, but I actually don't think that's the cause since the parseInt function should be able to deal with that.

    Probably a typo. I was writing an example at the time which is also the way I have set my intentions.

    Seeing that I already moved from Ace to MV I can attempt the same trick to clone what I already have and see what happens.

    EDIT: And apparently that wasn't enough. I'll check plugins next (although I'd hate to pull features or visuals, much less change presentation as the combo I used worked fine before the upgrade.

    EDIT 2: Even with all of my battle-related plugins turned off I'm still having problems. Specifically my presentation hinges on Yanfly Battle UI among others. Again, this combination worked before.

    EDIT 3: And it had to be the ****ing Yanfly Core. *cues facepalm* Now I gotta redo some of the interface definitions, but at least I know what happened.

    EDIT 4: And with the standard font size changed directly from rpg_windows.js I'm officially back in business. Not sure what's up with Yanfly Core, MV 1.5 and the problem I had but at least everything's running properly now and the other Yanfly stuff I'm using didn't actually need it there to begin with. (And honestly, I'm that cautious when it comes to logical connections.) Only guess I have is a versioning dispute in the plugin/engine link relative to what happened but as it's no longer an issue from my perspective I'm going to defer to how I have it at this point.

    EDIT 5: Before I forget, thanks so much for the help! I'm ending this discussion now with a caution to check what you think you need vs. what you actually do, especially when **** like this occurs as a result. Sometimes you might just surprise yourself in reevaluating even the most logical connections you ever had in your project configuration files, no matter how logically connected they are.
  8. I'm actually not surprised it's the Yanfly Core Engine, that thing changes a bunch of the base functionality which has external repercussions for other plugin authors. But since you've narrowed down the cause to two plugins not playing well with each other, that's progress at least, and a compatibility patch could be developed.
    When I have some free time, I'll take a look at those two and see if I find anything obvious that could be fixed.
  9. Aloe Guvner said:
    I'm actually not surprised it's the Yanfly Core Engine, that thing changes a bunch of the base functionality which has external repercussions for other plugin authors. But since you've narrowed down the cause to two plugins not playing well with each other, that's progress at least, and a compatibility patch could be developed.
    When I have some free time, I'll take a look at those two and see if I find anything obvious that could be fixed.

    Again, I moved the text size definition hack to its default definition within the core itself to accommodate this change. While I cross check versioning from project to plugin history, what I have now is more than enough for tonight's work shift.
  10. [move]Javascript/Plugin Support[/move]
  11. Which is where the conversation was going as usual.

    Moving on with the subject, I have since loaded the latest Yanfly Core but of course it's not yet switched on as it's anyone's guess where the root of the initial problem would be. If someone can research this and get back I'd still be interested in seeing what you can do in this respect. Otherwise there may be other things I would have to manually backport into the default scripts (a cash maximum for instance, which is one of the primary things in my project to be affected by the Yanfly situation).
  12. In the core MV code, the battleback is a TilingSprite, which has the ability to tile (aka scroll). The YEP Core Engine changes the battleback to be a simple Sprite instead, which does not have the ability to scroll.

    Here's a quote from the YEP Core Engine, in the version history section:

    * Version 1.23:
    * - For RPG Maker MV version 1.3.2 and above, the 'Scale Battlebacks' plugin
    * parameter will now recreate the battleback sprites in a different format.
    * This is because battleback scaling with Tiling Sprites is just too volatile.
    * Battleback sprites are now just regular sprites instead of tiling sprites.
    * This may or may not cause plugin incompatibilities with other plugins that
    * alter battlebacks.
    * - For RPG Maker MV version 1.3.4, Game_Actor.meetsUsableItemConditions is
    * now updated to return a check back to the original Game_BattlerBase version
    * to maintain compatibility with other plugins.
  13. Oh my g**... THAT'S IT!!! Scaling is a bit toward the imperfection side for me anyway so I was gonna be doing that part manually. Basically I don't give two **** lumps regardless but at least it didn't affect my other change to battleback processing while putting this together. (Well, aside from the wrong behaviour at map level, but that ended up being a simple case of having it set for the wrong configuration.)

    Beyond that I can safely say this has been tracked down to the core of the problem and updated accordingly so this is resolved far enough that I know where the limits are and how to set things up so that it's not so much of a problem. Thanks again!
  14. This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.