• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

AIDS Unit Indexer spamming Debug errors

Status
Not open for further replies.
Level 14
Joined
Jul 26, 2008
Messages
1,009
Hi, I've recently started using AIDS in a map that I had AutoIndex in.

After the necessary switch, I started getting spammed with these debug errors a little ways into the game:

"Trying to get the id (inlines) of null unit" and "Trying to get the unit of unassigned index" are the debug errors.

The debugs are constant, and I'm not sure what exactly they mean or how to fix them. Insight appreciated.
 
"Trying to get the id (inlines) of null unit"

Is popped here:
JASS:
function GetUnitId takes unit u returns integer
      debug if u==null then
      debug   call BJDebugMsg("|cFFFF0000Error using AIDS:|r Trying to get the id (inlines) of null unit.")

So apparently in the instance that you are calling that, you are inputting a null unit.

The next error:
"Trying to get the unit of unassigned index"

Is popped here:
JASS:
function GetIndexUnit takes integer index returns unit
    // code
    debug elseif IndexUnit[index]==null then
        debug   call BJDebugMsg("|cFFFF0000Error using AIDS:|r Trying to get the unit of unassigned index.")

Now this is from the unit assigned in the global return null. (or that it has not been assigned yet)

This most likely means that the unit was not indexed yet. A few things to do to try to resolve this problem:

- Refrain from indexing business until after map init. (try doing it after time elapsed - 0)
- Make sure your filter for AIDS is working properly

Alternatively, try using a different indexer. I personally use Nestharus', as it is relatively easy to translate systems into. (it has similar functionality) You just need to replace the textmacros to register on start. It is a bit tedious but some people have reported problems with AIDS and Jesus4lyf hasn't had the time to update to make the fixes.
 
Status
Not open for further replies.
Top