I'm trying to run my project, and I keep getting this error message. If I turn the plugin off, everything runs normally, but if I have it on. Then all of a sudden there is an issue. Can anyone explain what I'm doing wrong.
MZ VisuStella Extra Enemy Drops causing Error
Javascript/Plugin SupportWhen is this error happening? As soon as you boot up the game, or when an enemy is defeated? I think I've encountered this before, and it was usually if an enemy notetag was set to the wrong type. For example if you accidentally listed a weapon as an item. Ex. <Item Drop: Sword> instead of <Weapon Drop: Sword>, or if there is a typo in the item's name or index number.
If it is happening when an enemy is defeated, try checking that specific enemy's tags for mistakes like this.
If it is happening when an enemy is defeated, try checking that specific enemy's tags for mistakes like this.
The error happens when I boot up the game. I can't even get to the title screen. I even went and checked to make sure all the items, weapons, and armors were spelled correctly and the correct notetag but nothing changed.
Huh. Can you possibly post a screenshot of an example of your notetags? That error is usually caused when it tries to read a database ID that isn't there, so something is telling it to do that. It looks like it's trying to pull an item, so try to find if there are any discrepancies with your notetags and your item list.
If that doesn't work, next thing I'd try is to take out all of your notetags used by the plugin (and maybe paste them somewhere else as a backup so you don't have to type them all out again) and see if the game will boot, then add them back one by one, checking to see if one in particular is the problem.
If that doesn't work, next thing I'd try is to take out all of your notetags used by the plugin (and maybe paste them somewhere else as a backup so you don't have to type them all out again) and see if the game will boot, then add them back one by one, checking to see if one in particular is the problem.
Here's one of my notetags: <Item Drop Gloop: 40%>
But even when I delete all notetags pertaining to the extra enemy drops plugin, the game still won't boot.
But even when I delete all notetags pertaining to the extra enemy drops plugin, the game still won't boot.
"of null" means that the engine was given a reference to a data object that does not exist.
So basically the plugins tried to find something in the database that does not exist - either by ID or by name.
first you need to find out where the reference comes from, and then check where it points to.
and that "points to" is either a number or a name that does not exist in the database - in case of the name likely a typo of the name.
So basically the plugins tried to find something in the database that does not exist - either by ID or by name.
first you need to find out where the reference comes from, and then check where it points to.
and that "points to" is either a number or a name that does not exist in the database - in case of the name likely a typo of the name.
There was an enemy that didn't have a name, so I didn't check the blank space. That enemy had a drop item that no longer existed in the database. Thank you for your help. It was a big oversight on my part.
Original thread: https://forums.rpgmakerweb.com/threads/visustella-extra-enemy-drops-causing-error.176891/