Merchant Debug

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Dauragorn
New User
Posts: 16
Joined: Fri Mar 24, 2006 7:18 pm

Merchant Debug

Post 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
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post 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.
Post Reply