Combining HIME_ExpTables and YEP_VictoryAftermath

omega9380

Veteran
Veteran
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!!!


ErrorScreenshot.png
 
Last edited by a moderator:

Henryetha

Veteran
Veteran
Joined
Jan 14, 2016
Messages
388
Reaction score
206
First Language
german
Primarily Uses
I don't really know.


What I would try would be, replacing yep aftermath for mog aftermath and just see if it works.
 

omega9380

Veteran
Veteran
Joined
Mar 24, 2013
Messages
68
Reaction score
9
First Language
English
Primarily Uses
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!!
 
Last edited by a moderator:

omega9380

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

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,865
Messages
1,017,059
Members
137,574
Latest member
nikisknight
Top