I don't know what this cube is, well, maybe because I haven't played in a while. But looking through this "SourceDEV", in CashShopOperation.java file, I've found this:
Code:
} else if (action == 33) {
slea.skip(1);
final int toCharge = slea.readInt();
final CashItemInfo item = CashItemFactory.getInstance().getItem(slea.readInt());
List<Integer> ccc = null;
if (item != null) {
ccc = CashItemFactory.getInstance().getPackageItems(item.getId());
}
Basically, this is the handler for package purchasing, I suppose. Each package has it's own ID, of course (or, serial number, what ever it's called). So, after this, there are these lines:
Code:
for (int iz : GameConstants.cashBlock) {
if (itemz.getItemId() == iz) {
continue;
This, loops through the items in the package, finds out if they're blocked in the GameConstants file and skips them if they are. So basically, what you have to do is - add all the items ID in the cash shop to the blocked items in that file, and you're done.