The line line in your main script where I had:
if(!nMaxStack) Get2DAString("baseitems","Stacking",GetBaseItemType(oItem));
Oops. I never placed the value whee it needed to go. change it to.
if(!nMaxStack) nMaxStack = StringToInt(Get2DAString("baseitems","Stacking",GetBaseItemType(oItem)));
Sorry about that. Im going to edit the other post also.