revert cocos2dx 3.0 bug, modify lua consts to fix the bug