05-02-2013, 01:52 AM
Hmm, really, the extra parameter is not needed, because when missing, it should default to "baTypes or baMetas". The error you were getting was because it should've been "cBlockArea.baTypes or cBlockArea.baMetas", my mistake, sorry.
Anyway, the original error is caused by the BlockArea not containing the proper datatypes. After loading or reading the area, try to see what datatypes it is holding (cBlockArea:GetDataTypes()), it should be equal to 3, which means blocktypes and blockmetas. If not, there's an error either in your loading or reading code, or in MCServer's handling of those. Try to pinpoint where the datatypes value gets lost.
Anyway, the original error is caused by the BlockArea not containing the proper datatypes. After loading or reading the area, try to see what datatypes it is holding (cBlockArea:GetDataTypes()), it should be equal to 3, which means blocktypes and blockmetas. If not, there's an error either in your loading or reading code, or in MCServer's handling of those. Try to pinpoint where the datatypes value gets lost.