Original Source
- Original title: MV NCE-GFItem: 'cannot read property "scope" of null'
- Original author: Pringles11
- Original date: May 15, 2023
- Source thread: https://forums.rpgmakerweb.com/threads/nce-gfitem-cannot-read-property-scope-of-null.157542/
- Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support
Summary
I'm working on a little project involving spirit possession, and I found the PERFECT set of plugins: the Guardian Forces plugins for the Neo Crystal Engine by CrystalNoel42. All in all, it's an absolutely perfect fit for what I need it to do, and no other plugin/combination of plugins even comes close. ...Except for three little problems that I suspect are caused by the same error. I'd message CrystalNoel, but they seem to have disappeared.
Archived First Post
All in all, it's an absolutely perfect fit for what I need it to do, and no other plugin/combination of plugins even comes close.
...Except for three little problems that I suspect are caused by the same error.
I'd message CrystalNoel, but they seem to have disappeared.
Here's the situation.
- The basic "Guardian Forces" plugin creates a separate character menu for characters designated as "Guardian Forces." This plugin seems to work fine.
- The "GF-Junction" plugin allows Guardian Forces to be "junctioned" to regular party members (equipped, basically, but with all sorts of bonuses like new abilities or stat boosts). This plugin seems to work fine.
- The "GF-Summon" plugin allows different ways to summon these Guardian forces in battle. This plugin seems to work fine.
- The "GF-Item" plugin allows you to create items and skills to use on Guardian Forces. Without this plugin, you cannot use skills and items on Guardian Forces. No healing items, stat-boosts, no nothin'. THIS is where the problems come in.
Problem 1
When a non-GF item or skill is selected, the game freezes. It does not crash, it simply freezes. Can't go forward, can't go back.
I suspect this problem is related to the next one.
Problem 2
Using the notetag <guardian force item> properly opens up a new window showing the Guardian Forces. However, when a Guardian Force is selected, instead of using the item, it instantly crashes the game.
"Cannot read property 'scope' of null"
As I understand it, this means the plugin is looking for a value or skill that does not exist. It seems to be in the plugin itself, since I have no common events going. Here's the details from the crash.
rpg_managers.js:1949 TypeError: Cannot read property 'scope' of null
at Game_Action.checkItemScope (rpg_objects.js:1302)
at Game_Action.isForFriend (rpg_objects.js:1310)
at Scene_ItemBase.itemTargetActors (NCE_X_GFItems.js:205)
at Scene_ItemBase.isItemEffectsValid (rpg_scenes.js:1192)
at Scene_ItemBase.canUse (rpg_scenes.js:1186)
at Scene_ItemBase.onGFOk (NCE_X_GFItems.js:185)
at Window_MenuGFHeal.Window_Selectable.callHandler (rpg_windows.js:902)
at Window_MenuGFHeal.Window_Selectable.callOkHandler (rpg_windows.js:1171)
at Window_MenuGFHeal.processOk (NCE_X_GFItems.js:129)
at Window_MenuGFHeal.Window_Selectable.processHandling (rpg_windows.js:1027)
I'm a novice at RPG Maker and javascript, and I've only gotten this far at diagnosing the problem by reading a lot of forum posts. I won't even pretend to know what any of this really means....
I'm not sure what the protocol is on posting the original javascript for a plugin is, but if you want to look at it, here's a link to where I downloaded them from.
www.mediafire.com/file/6s51v9o9o69o95w/NCE_GuardianForces.rar/file
Any help is greatly appreciated! Thanks in advance!
Downloads / Referenced Files
Log in, then follow the RPG Maker Developers Group to see these download links.
Log in to downloadCreator Claims / Removal
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.
Replies (0)
No replies yet.
Topic Summary
Loading summary...