Quote:
Originally Posted by aiman596
its not showing any action at all.the item id is in the cq itemtype but not in cq task(the id should be the same with the cq itemtype right?)
|
Hi there, this is an example of my Super Magic Crystal:
/* cq_action*/
INSERT INTO `cq_action` VALUES ('10245260', '10245261', '10245264', '0508', '0', '1 0 50');
INSERT INTO `cq_action` VALUES ('10245261', '10245262', '0000', '0502', '748390', '0');
INSERT INTO `cq_action` VALUES ('10245262', '10245263', '0000', '0501', '500002', '1 1 2 0 0 0 0 0 10000 0 0 0 0');
INSERT INTO `cq_action` VALUES ('10245263', '0000', '0000', '0126', '0', 'Congratulations! You got 1 Magic Crystal.');
INSERT INTO `cq_action` VALUES ('10245264', '0000', '0000', '0126', '0', 'Pleasve leave 1 empy space in your bag');
/* cq_task */
INSERT INTO `cq_task` VALUES ('10245260'', '10245260'', '0000', '', '', '0', '0', '999', '-100000', '100000', '0999', '0000', '0', '-1', '0');
"10245260" is the first action id. therefore, its on the id action column in cq_itemtype. This identify when you press on that item, this action will be executed. In addition, it have a dedicated task for it, therefore, its also in cq_task.
When clicking on that item, you will receive a crystal that has 10,000 Power (number in green). This is pretty high, therefore its a super crystal. In most source codes, the crystal itself (ID in green red) usually works, I don't believe the problem will be on the crystal itself. What is the ID of your item?