Plugin Crashes Battles

Ethan King

Warper
Member
Joined
Jun 1, 2017
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMMV
I get this error.

Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter 2 is non-finite.

TypeError: Failed to execute 'createLinearGradient' on 'CanvasRenderingContext2D': float parameter 2 is non-finite.
at TypeError (native)
at Bitmap.gradientFillRect (file:///C:/Users/topha/Documents/Games/Project2/js/rpg_core.js:998:24)
at Window_BattleStatus.Window_Base.drawGauge (file:///C:/Users/topha/Documents/Games/Project2/js/rpg_windows.js:469:19)
at Window_BattleStatus.Window_Base.drawActorHp (file:///C:/Users/topha/Documents/Games/Project2/js/rpg_windows.js:555:10)
at Window_BattleStatus.drawGaugeArea (file:///C:/Users/topha/Documents/Games/Project2/js/plugins/YEP_BattleStatusWindow.js:507:10)
at Window_BattleStatus.drawItem (file:///C:/Users/topha/Documents/Games/Project2/js/plugins/YEP_BattleStatusWindow.js:478:10)
at Window_BattleStatus.Window_Selectable.drawAllItems (file:///C:/Users/topha/Documents/Games/Project2/js/rpg_windows.js:1250:18)
at Window_BattleStatus.drawAllItems (file:///C:/Users/topha/Documents/Games/Project2/js/plugins/YEP_BattleStatusWindow.js:433:46)
at Window_BattleStatus.refresh (file:///C:/Users/topha/Documents/Games/Project2/js/rpg_windows.js:5485:10)
at Window_BattleStatus.initialize (file:///C:/Users/topha/Documents/Games/Project2/js/rpg_windows.js:5463:10)rpg_managers.js:1756 SceneManager.catchException

Whenever I place all the plugins into another game, but without YEP_BattleStatusWindow, the game works fine.

upload_2017-6-1_15-10-50.png

upload_2017-6-1_15-11-55.png

I do have the Core Engine installed.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Try turning off the Mog Weather Plug-in. Traditionally, Moghunger and yanfly's plug-ins do not work together.
 

Ethan King

Warper
Member
Joined
Jun 1, 2017
Messages
2
Reaction score
0
First Language
English
Primarily Uses
RMMV
Try turning off the Mog Weather Plug-in. Traditionally, Moghunger and yanfly's plug-ins do not work together.
I turned off the weather, but the error is still there. When I turn off The Battle Status Windows, and have weather on, the error is gone.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA
Ok, the other thing to try (and keep the Weather Plug-In off while testing this and al non-Yanfly plug-ins)...make sure the plug ins are in the order they are supposed to be per Yanfly's site, and make sure they are all up to date.

Also, are you starting a new game when you test this? Plug-ins don't work the best when they are used on old saves (and many do not work well for battle test either).
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,231
Members
137,607
Latest member
Maddo
Top