hel, as I see ur not using the final exp formula that I sent you.. For a brown keltir it shows 1292 as the final exp.
Now it's..
PHP Code:
$npcexp=str_replace("exp=","",$el[28])*(str_replace("acquire_exp_rate=","",$el[5])^2);
And it should be..
PHP Code:
$npcexp=str_replace("acquire_exp_rate=","",$el[5])*((str_replace("level=","",$el[4]))*(str_replace("level=","",$el[4])));
I think you are confused with the "exp" value in npcdata, it has nothing to do with the final exp value.