Page 1 of 1

Merchant Debug

Posted: Sun May 06, 2007 7:59 am
by Dauragorn
my merchant are registering this at debug.log:
Script Error in 'scripts/ai/merchant.ecl' PC=4653:
Call to function GetConfigStringArray:
Parameter 0: Expected datatype ApplicObj, got datatype Error
What i need to do to stop this problem?

thanks

Posted: Sun May 06, 2007 8:40 am
by CWO
if you have merchant.lst in the same path, open it up and look for 4653: (the PC numbers are listed on the left of course)

If you don't have merchant.lst, set GenerateListing 1 in ecompile.cfg and recompile or recompile the script with the -l argument.

The file will give you an idea of the code thats executing around it. (The lines that don't have PC numbers are actual source code from your .src/.inc files) Go into your scripts and find that code. The error is you have GetConfigStringArray() somewhere in there and whatever you're passing as the first parameter is coming up as an error.