Okay, so I'm making what I was hoping to be a quick boss fight game involving 4 heroes beating up an evil guy called the Godmodder. I hadn't installed/activated any plugins, and I had been making good progress until I tried making a metronome-like move using a Common Event and if/else conditional branches.
Then, during playtesting, it began to crash when I used the move. Here's a couple of copypastes of the console during a couple of times when this occurred:
rpg_managers.js:1949 TypeError: Cannot read property 'scope' of null
at Game_Action.checkItemScope (rpg_objects.js:1302)
at Game_Action.isForOpponent (rpg_objects.js:1306)
at Game_Action.makeTargets (rpg_objects.js:1447)
at Function.BattleManager.startAction (rpg_managers.js:2509)
at Function.BattleManager.processForcedAction (rpg_managers.js:2600)
at Function.BattleManager.updateEvent (rpg_managers.js:2271)
at Function.BattleManager.update (rpg_managers.js:2244)
at Scene_Battle.updateBattleProcess (rpg_scenes.js:2265)
at Scene_Battle.update (rpg_scenes.js:2257)
at Function.SceneManager.updateScene (rpg_managers.js:2024)
SceneManager.catchException @ rpg_managers.js:1949
PixiJS 4.5.4 - ✰ WebGL ✰ http://www.pixijs.com/ ♥♥♥
rpg_managers.js:1949 TypeError: Cannot read property 'scope' of null
at Game_Action.checkItemScope (rpg_objects.js:1302)
at Game_Action.isForOpponent (rpg_objects.js:1306)
at Game_Action.makeTargets (rpg_objects.js:1447)
at Function.BattleManager.startAction (rpg_managers.js:2509)
at Function.BattleManager.processForcedAction (rpg_managers.js:2600)
at Function.BattleManager.updateEvent (rpg_managers.js:2271)
at Function.BattleManager.update (rpg_managers.js:2244)
at Scene_Battle.updateBattleProcess (rpg_scenes.js:2265)
at Scene_Battle.update (rpg_scenes.js:2257)
at Function.SceneManager.updateScene (rpg_managers.js:2024)
SceneManager.catchException @ rpg_managers.js:1949
Hoping it was merely a glitch/minor corruption with how the Project Folders were initialized/created, I opened up a new project and just copy/pasted everything from the Database screens onto the new project. It still crashed.
How the skill itself goes is that it calls upon a common Event that just sets a variable to a random number between 1 and 15. Then it compares the numbers until it hits the conditional meant to deploy said move.
Only 2 moves aren't your standard attacks/buff/debuffs/buff or debuff nullifiers and both of them call upon common events to crate items that you can use mid-battle. All of the moves used in the metronome-like attack use TP exclusively. To be honest, I was testing this and everything seemed to work smoothly until I re-introduced the items that were meant to be created, but those items/the skills that create those items by themselves don't cause any problems.
Any help at all would be greatly appreciated. Thank you in advanced.
Then, during playtesting, it began to crash when I used the move. Here's a couple of copypastes of the console during a couple of times when this occurred:
rpg_managers.js:1949 TypeError: Cannot read property 'scope' of null
at Game_Action.checkItemScope (rpg_objects.js:1302)
at Game_Action.isForOpponent (rpg_objects.js:1306)
at Game_Action.makeTargets (rpg_objects.js:1447)
at Function.BattleManager.startAction (rpg_managers.js:2509)
at Function.BattleManager.processForcedAction (rpg_managers.js:2600)
at Function.BattleManager.updateEvent (rpg_managers.js:2271)
at Function.BattleManager.update (rpg_managers.js:2244)
at Scene_Battle.updateBattleProcess (rpg_scenes.js:2265)
at Scene_Battle.update (rpg_scenes.js:2257)
at Function.SceneManager.updateScene (rpg_managers.js:2024)
SceneManager.catchException @ rpg_managers.js:1949
PixiJS 4.5.4 - ✰ WebGL ✰ http://www.pixijs.com/ ♥♥♥
rpg_managers.js:1949 TypeError: Cannot read property 'scope' of null
at Game_Action.checkItemScope (rpg_objects.js:1302)
at Game_Action.isForOpponent (rpg_objects.js:1306)
at Game_Action.makeTargets (rpg_objects.js:1447)
at Function.BattleManager.startAction (rpg_managers.js:2509)
at Function.BattleManager.processForcedAction (rpg_managers.js:2600)
at Function.BattleManager.updateEvent (rpg_managers.js:2271)
at Function.BattleManager.update (rpg_managers.js:2244)
at Scene_Battle.updateBattleProcess (rpg_scenes.js:2265)
at Scene_Battle.update (rpg_scenes.js:2257)
at Function.SceneManager.updateScene (rpg_managers.js:2024)
SceneManager.catchException @ rpg_managers.js:1949
Hoping it was merely a glitch/minor corruption with how the Project Folders were initialized/created, I opened up a new project and just copy/pasted everything from the Database screens onto the new project. It still crashed.
How the skill itself goes is that it calls upon a common Event that just sets a variable to a random number between 1 and 15. Then it compares the numbers until it hits the conditional meant to deploy said move.
Only 2 moves aren't your standard attacks/buff/debuffs/buff or debuff nullifiers and both of them call upon common events to crate items that you can use mid-battle. All of the moves used in the metronome-like attack use TP exclusively. To be honest, I was testing this and everything seemed to work smoothly until I re-introduced the items that were meant to be created, but those items/the skills that create those items by themselves don't cause any problems.
Any help at all would be greatly appreciated. Thank you in advanced.