FLED-IDS Error: What causes it?
-
Sometimes when I’m editing infocards in FLED-IDS I get an error stating “Run time error ‘5’: Invalid procedure call or argument” followed by the program closing. It effectively renders certain IDS entries useless because the error appears the minute I click the Get Ids_info/name button. It’s happened so many times now that I remade my custom infocard DLLs from scratch and I back up the DLL files containing them every time before editing because I fear that this error will pop up suddenly and make several IDS_info/IDS_name entries completely useless.
Has anyone else experienced this, and what causes it to happen? I’d like to avoid and prevent it from happening.
-
It’s caused by a blank string. Since the “Save IDS” button saves to whatever number is currently in the field (not necessarily the last IDS you pulled up), simply save over the troublesome IDS with a non-empty string, like a single space or whatnot.
-
foxUnit01 wrote:
It’s caused by a blank string. Since the “Save IDS” button saves to whatever number is currently in the field (not necessarily the last IDS you pulled up), simply save over the troublesome IDS with a non-empty string, like a single space or whatnot.Thanks, it worked! Saving a random bunch of letters into the IDS field fixed it.
-
You might also take an interest in doing ids_names and ids_infos with FLMM’s XML-generates scripts. You can use that for almost everything, except faction names and names of asteroid fields and nebula’s (if there are random mission vignettes in them)
This saves you the pain of keeping track of what number corresponds to what string.