05-09-2013, 10:06 PM
Try putting this code into cItems declaration (in source/Item.h, line ~100):
// tolua_begin
/// Need a Lua-accessible constructor
cItems(void) {}
cItem & Get (int a_Idx) {return at(a_Idx); }
Run AllToLua and try again.

