we need more info than that message can show before we can even guess what happened.
please follow the link to the "how to use a script" tutorial in my signature to the bughunting section.
download the backtracer script,install it and give us a screenshot of the console output of the backtracer when triggerring that error again.
make sure to start a new game after installing the backtracer
that is why I told you to follow the link to the tutorial I wrote - it contains the link to the backtracer script.
and the console opens with the option in the Ace editor menu
where did you add the backtracer?
have you followed the instructions like I said, because that is not a regular script for the materials section, and the only way such an error could happen is if the backtracer was placed above the script that made the other command available...
You have done a Control Variables command to get the number of items in inventory, and it is looking at the leader, but it appears you haven't assigned a leader yet, which implies you might have an empty party when this command is run.
The bug is happening from a Control Variables command. You must have it somewhere - the script doesn't do it.
from what you told us, you once changed a few things in the settings for the starting party (might be weeks ago) and that introduced the bug you now have - but that bug never appeared before because this is the first time you actually started a new game after making that change.
the error has nothing to do with the script, it's the new game that caused it to appear. But you have to start a new game for the script to work, and that means you now have to go back to the other things you did in the past weeks to find out where you made the mistake that now prevents the new game from functioning correctly.
however, it has to be an event on the starting map or on the common events, it can't be anywhere else.
I've got some news. The bug still exist but it only happens in battle test (and this doesn't matter) and when I only have one party member. I tested and it seems to be this. Here's the console error message.
Basically it's missing data of the last item used.
I can think of several possibilities, but unfortunately I don't have ace installed anymore to check them.
the first question would be if that method is a default function, or if you're missing another script from tsukihime because I know that tsukihime wrote several scripts for Ace that introduced similar memory functions.
If it only happens in battle test, it is probably okay. If you add a battle to a map and do a proper test play, does it still happen? If not, it's because you're doing a battle TEST, and it's known that some plugins don't work on battle test and event test, because the database is loaded differently.