RPG Maker MV

RPG Maker MV

CosmicKitsune 2018 年 7 月 9 日 上午 1:51
RPG Maker MV TypeError cannot read property '_bu_rgb" of null! How do I fix this?
So I have been working on enemies for my game and decided to use the YEP_X_AnimatedSVEnemies plugin from Yanfly.

Now I was testing out the battle to see what they look like and if it has worked. It did but when it came to the enemies turn this popped up:

RPG Maker MV TypeError cannot read property '_bu_rgb" of null

Now I don't know how to fix this at all. if you know anything about this could you please help?

Thanks!
< >
目前顯示第 1-15 則留言,共 21
XIIIthHarbinger 2018 年 7 月 9 日 上午 7:42 
Details, more details.

What do you mean by "the enemies turn"? Is it all enemies? Just a specific enemy? Does the error code drop when their turn starts or when they try to use their skills? Have you put any commands in for skills being used by enemies in the notetags? If so what are they? Are you using anything else in concert with Animated SV Enemies? Do you have the prerequisite base plugins that Animated SV Enemies is an extension of?

For the error to be that specific you've probably set something up wrong in either the plugin or notetags, but we can't tell you what that might be, if we can't see what you've set up.
Caethyril 2018 年 7 月 9 日 上午 9:35 
Also, since I don't see anything like that in Yanfly's plugin, could you list or screenshot all the plugins you're using in this project?
kittylitterproduction 2018 年 7 月 9 日 上午 9:48 
引用自 Caethyril
Also, since I don't see anything like that in Yanfly's plugin, could you list or screenshot all the plugins you're using in this project?
Console log too.
CosmicKitsune 2018 年 7 月 9 日 下午 11:23 
引用自 XIIIthHarbinger
Details, more details.

What do you mean by "the enemies turn"? Is it all enemies? Just a specific enemy? Does the error code drop when their turn starts or when they try to use their skills? Have you put any commands in for skills being used by enemies in the notetags? If so what are they? Are you using anything else in concert with Animated SV Enemies? Do you have the prerequisite base plugins that Animated SV Enemies is an extension of?

For the error to be that specific you've probably set something up wrong in either the plugin or notetags, but we can't tell you what that might be, if we can't see what you've set up.

Well it's when I use a 'Sideview Battler' as an enemy.

And I haven't done any skills yet so it is just the basic attack.

Yes I have, here it is:
This battler image is replaced by an animated SV enemy.

<Sideview Battler: MalePoliceBattler>
<Sideview Width: 100%>
<Sideview Height: 100%>
<Sideview Frame Speed: 15>
<Sideview Attack Motion: missile>
<Sideview Idle Motion: walk>
<Sideview Show Shadow>
<Sideview Weapon: 24>

I think I do.

CosmicKitsune 2018 年 7 月 9 日 下午 11:24 
引用自 Caethyril
Also, since I don't see anything like that in Yanfly's plugin, could you list or screenshot all the plugins you're using in this project?

Yes i can but I don't know how to insert images into a discussion comment
CosmicKitsune 2018 年 7 月 9 日 下午 11:24 
引用自 Caethyril
Also, since I don't see anything like that in Yanfly's plugin, could you list or screenshot all the plugins you're using in this project?
Console log too.

I don't know how to open up the console log, but i will search up online on how to
CosmicKitsune 2018 年 7 月 9 日 下午 11:25 
Same with inerting images into discussions
CosmicKitsune 2018 年 7 月 9 日 下午 11:37 
引用自 Caethyril
Also, since I don't see anything like that in Yanfly's plugin, could you list or screenshot all the plugins you're using in this project?
Console log too.

Is this what you are referingto?

TypeError: Cannot read property '_bu_rgb' of null
at Sprite_Weapon.loadBitmap (SRD_BitmapUpgrade.js:716)
at Sprite_Weapon.setup (rpg_sprites.js:1776)
at Sprite_Weapon.setup (YEP_BattleEngineCore.js:3033)
at Sprite_Enemy.setupWeaponAnimation (YEP_X_AnimatedSVEnemies.js:1699)
at Game_Enemy.Game_Battler.startWeaponAnimation (YEP_BattleEngineCore.js:3677)
at Game_Enemy.performAttack (YEP_X_AnimatedSVEnemies.js:1274)
at Game_Enemy.Game_Actor.performAction (rpg_objects.js:4011)
at Game_Enemy.performAction (YEP_X_AnimatedSVEnemies.js:1281)
at Window_BattleLog.performAction (rpg_windows.js:4912)
at Function.BattleManager.actionPerformAction (YEP_BattleEngineCore.js:2583)rpg_managers.js:1954 SceneManager.catchExceptionrpg_managers.js:1910 SceneManager.update
CosmicKitsune 2018 年 7 月 9 日 下午 11:42 
Alright I found the problem. In this notag <Sideview Weapon: 24> is the problem. I took it out and it seemed to work fine.

Does the problem have to do with anything about the weapon not existing in my game/files?

I'll watch Yanfly's tutorial on this plugin to see if I did anything wrong.

This battler image is replaced by an animated SV enemy.

<Sideview Battler: MalePoliceBattler>
<Sideview Width: 100%>
<Sideview Height: 100%>
<Sideview Frame Speed: 15>
<Sideview Attack Motion: missile>
<Sideview Idle Motion: walk>
<Sideview Show Shadow>
<Sideview Weapon: 24>
CosmicKitsune 2018 年 7 月 9 日 下午 11:42 
But if you have any help on what to do since I kinda want my SV Battler Enemies holding weapons.

Thanks!
CosmicKitsune 2018 年 7 月 9 日 下午 11:48 
Alright now I have two enemies so far with the SV Battler Look.
CosmicKitsune 2018 年 7 月 9 日 下午 11:52 
And their names are:
Male Police and Female Police.

I have added the weapons notetag (<Sideview Weapon: 24>) to Male Police and when i went into a practice battle the Male Police worked but then the TypeError cannot read property '_bu_rgb" of null popped up when it was the Female Police enemy had it's turn.

I realised that i didn't add the weapon notetag to her so i did and the same thing happened just only that the Female Police Enemy worked while the Male police enemy didn't work.

But when i delete the weapons notetag on both enemies they both work.
Caethyril 2018 年 7 月 10 日 上午 1:19 
引用自 TechnoRadiation
Is this what you are referingto?

TypeError: Cannot read property '_bu_rgb' of null
at Sprite_Weapon.loadBitmap (SRD_BitmapUpgrade.js:716)...
This is very useful, glad kitty thought to suggest the console log! ^_^
引用自 TechnoRadiation
I have added the weapons notetag (<Sideview Weapon: 24>) to Male Police and when i went into a practice battle the Male Police worked but then the TypeError cannot read property '_bu_rgb" of null popped up when it was the Female Police enemy had it's turn.

I realised that i didn't add the weapon notetag to her so i did and the same thing happened just only that the Female Police Enemy worked while the Male police enemy didn't work.

But when i delete the weapons notetag on both enemies they both work.
Based on this, SRD's Bitmap Upgrade plugin seems to be causing the problem: it's conflicting with Yanfly's Animated SV Enemies. I tested with only Battle Engine Core, Animated SV Enemies, and Bitmap Upgrade, and the error occurs reliably whenever an animated enemy attempts to swing their weapon.

Looks like your options are removing one of the plugins or requesting a compatibility patch over at https://forums.rpgmakerweb.com/index.php?forums/js-plugin-requests.136/ (wouldn't necessarily expect anyone to respond though, this sort of thing is tricky at the best of times).
< >
目前顯示第 1-15 則留言,共 21
每頁顯示: 1530 50

張貼日期: 2018 年 7 月 9 日 上午 1:51
回覆: 21