- Joined
- Mar 24, 2013
- Messages
- 68
- Reaction score
- 9
- First Language
- English
- Primarily Uses
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!!!

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

Last edited by a moderator:
