Combining HIME_ExpTables and YEP_VictoryAftermath

OK guys, I'm throwing this one out to the community, don't let me down!


Explanation: When I use YEP_VictoryAftermath in conjunction with the HIME_ExpTables plugin by HimeWorks, I get a crash when the victory window opens up, after the SE plays and the faces are displayed.


Error Report: TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter 3 is non-finite.
    at TypeError (native)
    at Bitmap.gradientFillRect (file:///D:/Documents/RMMV/Demo/js/rpg_core.js:791:24)
    at Bitmap.gradientFillRect (file:///D:/Documents/RMMV/Demo/js/plugins/YEP_CoreEngine.js:616:41)
    at Window_VictoryExp.Window_Base.drawGauge (file:///D:/Documents/RMMV/Demo/js/plugins/YEP_CoreEngine.js:1428:17)
    at Window_VictoryExp.drawExpGauge (file:///D:/Documents/RMMV/Demo/js/plugins/YEP_VictoryAftermath.js:635:10)
    at Window_VictoryExp.drawActorGauge (file:///D:/Documents/RMMV/Demo/js/plugins/YEP_VictoryAftermath.js:595:10)
    at Window_VictoryExp.drawItemGauge (file:///D:/Documents/RMMV/Demo/js/plugins/YEP_VictoryAftermath.js:573:10)
    at Window_VictoryExp.drawAllGauges (file:///D:/Documents/RMMV/Demo/js/plugins/YEP_VictoryAftermath.js:554:41)
    at Window_VictoryExp.updateTicks (file:///D:/Documents/RMMV/Demo/js/plugins/YEP_VictoryAftermath.js:547:10)
    at Window_VictoryExp.update (file:///D:/Documents/RMMV/Demo/js/plugins/YEP_VictoryAftermath.js:536:36)rpg_managers.js:1722 SceneManager.catchExceptionrpg_managers.js:1683 SceneManager.update


Exact Steps on How to Replicate Error: Enable both YEP_VictoryAftermath and HIME_ExpTables then complete a battle.


Sample Project Replicating the Error: https://dl.dropboxusercontent.com/u/26521500/Demo.7z


I love the Victory Aftermath screen for the look, it is perfect for the game I'm working on.  I am also using ExpTables by HimeWorks because I can't stand the default way of setting up an EXP curve, and while I don't suck at math (I hope not, I'm starting my Calculus class in the fall 🙂  ) I can't really figure out the formulas for EXP in YEP_X_ClassBaseParam.  BUT!  When both HIME_ExpTables and YEP_VictoryAftermath are used together, I get the above errors.  It seems to happen after the engine draws the Victory Aftermath window and loads the faces.  I have attached a screenie, and the sample project is provided above.  I have the latest versions of both YEP and ExpTables.  The sample project includes all active plugins I have in my main project in the order they are loading.  If either plugin is active by itself, they both work perfectly.  Not being an experienced coder myself, I can only guess that something HIME_ExpTables does to the XP variables is not liked by VictoryAftermath.  There's the problem, let the collaboration begin!!!


ErrorScreenshot.png
I don't really know.


What I would try would be, replacing yep aftermath for mog aftermath and just see if it works.
I'll try that.  You wouldn't happen to have a link to the Mog Aftermath plugin handy, would you?  The only one I can find is on Atelierrgs and I'm afraid I dont read Portugese!  Thanks!!
Here it is 🙂


https://atelierrgss.wordpress.com/rmv-battle-result/
 


Other than Yanfly you need to put the images in the img folder.


I think the download comes with a demo anyway.


And good thing: this lets you place your own images aswell.
OK, now I feel like a moron.  It was YEP_CoreEngine causing it all along.  CoreEngine has a Max Level parameter.  If it does not match what is listed in ExpTables, viola, error.  After testing by setting ExpTables to 50 max level and 300 max level, everything is working beautifully.  Thanks for the help!!

Original thread: https://forums.rpgmakerweb.com/threads/combining-hime_exptables-and-yep_victoryaftermath.64327/