02-24-2013, 03:25 AM
Check where specific mob regen:
Credits to Question.
SELECT * FROM t_npc_regen where a_npc_idx = 93;
Delete Mob from NPC Regen
DELETE FROM `t_npc_regen` WHERE `a_npc_idx` = 94 ;
Replace Mob from NPC Regen
UPDATE t_npc_regen SET a_npc_idx = "2090" WHERE a_npc_idx = "65";
Delete SP/GOLD/ITEM From skills(thats for server side ofc..)
UPDATE t_skillLevel SET a_learnSP = 0;
UPDATE t_skillLevel SET a_learnItemIndex1 = -1;
UPDATE t_skillLevel SET a_learnItemCount1 = 0;
UP Guild to level 50 or w.e you want
UPDATE t_guild SET a_level = 50;
UPDATE t_extend_guild SET a_guild_point = 2147483647;
UPDATE t_extend_guild SET a_guild_maxmember = 100;
Put that all mob give 200k sp^^
UPDATE t_npc SET a_skill_point = "2111111111";
The mobs important querry, this is when you add new item run that querry cuz if not when you try to use the item will say you are the wrong level.
UPDATE t_item SET a_level2 = 999;
Update t_item (this querry is good for drop etc..)
UPDATE t_npc SET a_item_0 = -1 WHERE a_item_0 = 140;
UPDATE t_npc SET a_item_1 = -1 WHERE a_item_1 = 140;
UPDATE t_npc SET a_item_2 = -1 WHERE a_item_2 = 140;
UPDATE t_npc SET a_item_3 = -1 WHERE a_item_3 = 140;
UPDATE t_npc SET a_item_4 = -1 WHERE a_item_4 = 140;
UPDATE t_npc SET a_item_5 = -1 WHERE a_item_5 = 140;
UPDATE t_npc SET a_item_6 = -1 WHERE a_item_6 = 140;
UPDATE t_npc SET a_item_7 = -1 WHERE a_item_7 = 140;
UPDATE t_npc SET a_item_8 = -1 WHERE a_item_8 = 140;
UPDATE t_npc SET a_item_9 = -1 WHERE a_item_9 = 140;
UPDATE t_npc SET a_item_10 = -1 WHERE a_item_10 = 140;
UPDATE t_npc SET a_item_11 = -1 WHERE a_item_11 = 140;
UPDATE t_npc SET a_item_12 = -1 WHERE a_item_12 = 140;
UPDATE t_npc SET a_item_13 = -1 WHERE a_item_13 = 140;
UPDATE t_npc SET a_item_14 = -1 WHERE a_item_14 = 140;
UPDATE t_npc SET a_item_15 = -1 WHERE a_item_15 = 140;
UPDATE t_npc SET a_item_16 = -1 WHERE a_item_16 = 140;
UPDATE t_npc SET a_item_17 = -1 WHERE a_item_17 = 140;
UPDATE t_npc SET a_item_18 = -1 WHERE a_item_18 = 140;
UPDATE t_npc SET a_item_19 = -1 WHERE a_item_19 = 140;
in case you have some dupe bug this querry will help you to clear the gold or just to put an specific gold amount to all players.(Credit to HateMe)
UPDATE t_inven00 SET a_count0 = 0 + "100" WHERE a_item_idx0 = 19;
UPDATE t_inven00 SET a_count1 = 0 + "100" WHERE a_item_idx1 = 19;
UPDATE t_inven00 SET a_count2 = 0 + "100" WHERE a_item_idx2 = 19;
UPDATE t_inven00 SET a_count3 = 0 + "100" WHERE a_item_idx3 = 19;
UPDATE t_inven00 SET a_count4 = 0 + "100" WHERE a_item_idx4 = 19;
UPDATE t_inven01 SET a_count0 = 0 + "100" WHERE a_item_idx0 = 19;
UPDATE t_inven01 SET a_count1 = 0 + "100" WHERE a_item_idx1 = 19;
UPDATE t_inven01 SET a_count2 = 0 + "100" WHERE a_item_idx2 = 19;
UPDATE t_inven01 SET a_count3 = 0 + "100" WHERE a_item_idx3 = 19;
UPDATE t_inven01 SET a_count4 = 0 + "100" WHERE a_item_idx4 = 19;
UPDATE t_inven02 SET a_count0 = 0 + "100" WHERE a_item_idx0 = 19;
UPDATE t_inven02 SET a_count1 = 0 + "100" WHERE a_item_idx1 = 19;
UPDATE t_inven02 SET a_count2 = 0 + "100" WHERE a_item_idx2 = 19;
UPDATE t_inven02 SET a_count3 = 0 + "100" WHERE a_item_idx3 = 19;
UPDATE t_inven02 SET a_count4 = 0 + "100" WHERE a_item_idx4 = 19;
UPDATE t_inven03 SET a_count0 = 0 + "100" WHERE a_item_idx0 = 19;
UPDATE t_inven03 SET a_count1 = 0 + "100" WHERE a_item_idx1 = 19;
UPDATE t_inven03 SET a_count2 = 0 + "100" WHERE a_item_idx2 = 19;
UPDATE t_inven03 SET a_count3 = 0 + "100" WHERE a_item_idx3 = 19;
UPDATE t_inven03 SET a_count4 = 0 + "100" WHERE a_item_idx4 = 19;
UPDATE t_inven04 SET a_count0 = 0 + "100" WHERE a_item_idx0 = 19;
UPDATE t_inven04 SET a_count1 = 0 + "100" WHERE a_item_idx1 = 19;
UPDATE t_inven04 SET a_count2 = 0 + "100" WHERE a_item_idx2 = 19;
UPDATE t_inven04 SET a_count3 = 0 + "100" WHERE a_item_idx3 = 19;
UPDATE t_inven04 SET a_count4 = 0 + "100" WHERE a_item_idx4 = 19;
UPDATE t_inven05 SET a_count0 = 0 + "100" WHERE a_item_idx0 = 19;
UPDATE t_inven05 SET a_count1 = 0 + "100" WHERE a_item_idx1 = 19;
UPDATE t_inven05 SET a_count2 = 0 + "100" WHERE a_item_idx2 = 19;
UPDATE t_inven05 SET a_count3 = 0 + "100" WHERE a_item_idx3 = 19;
UPDATE t_inven05 SET a_count4 = 0 + "100" WHERE a_item_idx4 = 19;
UPDATE t_inven06 SET a_count0 = 0 + "100" WHERE a_item_idx0 = 19;
UPDATE t_inven06 SET a_count1 = 0 + "100" WHERE a_item_idx1 = 19;
UPDATE t_inven06 SET a_count2 = 0 + "100" WHERE a_item_idx2 = 19;
UPDATE t_inven06 SET a_count3 = 0 + "100" WHERE a_item_idx3 = 19;
UPDATE t_inven06 SET a_count4 = 0 + "100" WHERE a_item_idx4 = 19;
UPDATE t_inven07 SET a_count0 = 0 + "100" WHERE a_item_idx0 = 19;
UPDATE t_inven07 SET a_count1 = 0 + "100" WHERE a_item_idx1 = 19;
UPDATE t_inven07 SET a_count2 = 0 + "100" WHERE a_item_idx2 = 19;
UPDATE t_inven07 SET a_count3 = 0 + "100" WHERE a_item_idx3 = 19;
UPDATE t_inven07 SET a_count4 = 0 + "100" WHERE a_item_idx4 = 19;
UPDATE t_inven08 SET a_count0 = 0 + "100" WHERE a_item_idx0 = 19;
UPDATE t_inven08 SET a_count1 = 0 + "100" WHERE a_item_idx1 = 19;
UPDATE t_inven08 SET a_count2 = 0 + "100" WHERE a_item_idx2 = 19;
UPDATE t_inven08 SET a_count3 = 0 + "100" WHERE a_item_idx3 = 19;
UPDATE t_inven08 SET a_count4 = 0 + "100" WHERE a_item_idx4 = 19;
UPDATE t_inven09 SET a_count0 = 0 + "100" WHERE a_item_idx0 = 19;
UPDATE t_inven09 SET a_count1 = 0 + "100" WHERE a_item_idx1 = 19;
UPDATE t_inven09 SET a_count2 = 0 + "100" WHERE a_item_idx2 = 19;
UPDATE t_inven09 SET a_count3 = 0 + "100" WHERE a_item_idx3 = 19;
UPDATE t_inven09 SET a_count4 = 0 + "100" WHERE a_item_idx4 = 19;
Credits to all people that has help with these querry, i know is easy to make it but some newbie dont know nothing about, i hope that help you guys^^



