И так начнем с того, что такое SQL запросы и для чего они нужны? SQL запросы, это такие плюшки которые значительно облегчают жизнь "Администратору", они нужны для того, чтобы изменить какие либо параметры. К примеру убрать лишний дроп или добавить скилы клану и т.д. Как же все таки делается этот запрос? Есть несколько способов сделать SQL запрос(возможно и больше, но мне известно только 2) 1. Открываем блокнот. Пишем туда SQL запрос, сохраняем с расширением .sql Далее открываем Navicat(я использую например его, лично по мне удобнее его нет ничего кроме самой консоли mysql), открываем нашу базу, жмем по ней правой кнопкой мыши и выбираем Execute Batch File... Жмем СТАРТ и дело в шляпе 2. Этот спопсоб самый простой Жмем по нашей базе провой кнопкой мыши как показанно выше и жмем уже Console... прямо туда вводим наш SQL запрос и жмем Enter А тут мы собственно и познакомимся с этими запросами Думаю не имеет смысла писать откуда я взял эти запросы, т.к. источники утеряны, а собирал я их со всего интернета, где видел что-то интересное там и дергал. Спойлер: Запросы на изменение статов персонажей Скрытый текст Увеличить всем персонажам магическую и физическую защиту на 10% UPDATE char_templates SET P_DEF = P_DEF * 1.1; UPDATE char_templates SET M_DEF = M_DEF * 1.1; Увеличить скорость бега всех персонажей на 20% UPDATE char_templates SET MOVE_SPD = MOVE_SPD * 1.2; Увеличить CP всех персонажей на 22% на 20 уровне. На 44% на 40 уровне. На 66% на 76 уровне UPDATE lvlupgain SET defaultcpbase = Defaultcpbase * 1.66 WHERE class_lvl = '76'; UPDATE lvlupgain SET defaultcpbase = Defaultcpbase * 1.44 WHERE class_lvl = '40'; UPDATE lvlupgain SET defaultcpbase = Defaultcpbase * 1.22 WHERE class_lvl = '20'; Увеличить время восстановление маны в 10 раз UPDATE lvlupgain SET defaultmpmod = defaultmpmod * 10.0; Увеличить статы (Str,Int,Dex,Wit,Men,Con) всех персонажей в 2 раза UPDATE `char_templates` SET `STR`='80' WHERE (SELECT ClassId) AND (str = '40'); UPDATE `char_templates` SET `STR`='44' WHERE (SELECT ClassId) AND (str = '22'); UPDATE `char_templates` SET `STR`='72' WHERE (SELECT ClassId) AND (str = '36'); UPDATE `char_templates` SET `STR`='42' WHERE (SELECT ClassId) AND (str = '21'); UPDATE `char_templates` SET `STR`='46' WHERE (SELECT ClassId) AND (str = '23'); UPDATE `char_templates` SET `STR`='54' WHERE (SELECT ClassId) AND (str = '27'); UPDATE `char_templates` SET `STR`='78' WHERE (SELECT ClassId) AND (str = '39'); UPDATE `char_templates` SET `con`='86' WHERE (SELECT ClassId) AND (con = '43'); UPDATE `char_templates` SET `con`='54' WHERE (SELECT ClassId) AND (con = '27'); UPDATE `char_templates` SET `con`='72' WHERE (SELECT ClassId) AND (con = '36'); UPDATE `char_templates` SET `con`='50' WHERE (SELECT ClassId) AND (con = '25'); UPDATE `char_templates` SET `con`='64' WHERE (SELECT ClassId) AND (con = '32'); UPDATE `char_templates` SET `con`='48' WHERE (SELECT ClassId) AND (con = '24'); UPDATE `char_templates` SET `con`='94' WHERE (SELECT ClassId) AND (con = '47'); UPDATE `char_templates` SET `con`='62' WHERE (SELECT ClassId) AND (con = '31'); UPDATE `char_templates` SET `con`='90' WHERE (SELECT ClassId) AND (con = '45'); UPDATE `char_templates` SET `con`='86' WHERE (SELECT ClassId) AND (con = '43'); UPDATE `char_templates` SET `_int`='42' WHERE (SELECT ClassId) AND (_int = '21'); UPDATE `char_templates` SET `_int`='82' WHERE (SELECT ClassId) AND (_int = '41'); UPDATE `char_templates` SET `_int`='46' WHERE (SELECT ClassId) AND (_int = '23'); UPDATE `char_templates` SET `_int`='74' WHERE (SELECT ClassId) AND (_int = '37'); UPDATE `char_templates` SET `_int`='50' WHERE (SELECT ClassId) AND (_int = '25'); UPDATE `char_templates` SET `_int`='88' WHERE (SELECT ClassId) AND (_int = '44'); UPDATE `char_templates` SET `_int`='36' WHERE (SELECT ClassId) AND (_int = '18'); UPDATE `char_templates` SET `_int`='62' WHERE (SELECT ClassId) AND (_int = '31'); UPDATE `char_templates` SET `_int`='40' WHERE (SELECT ClassId) AND (_int = '20'); UPDATE `char_templates` SET `men`='52' WHERE (SELECT ClassId) AND (men = '26'); UPDATE `char_templates` SET `men`='80' WHERE (SELECT ClassId) AND (men = '40'); UPDATE `char_templates` SET `men`='74' WHERE (SELECT ClassId) AND (men = '37'); UPDATE `char_templates` SET `men`='54' WHERE (SELECT ClassId) AND (men = '27'); UPDATE `char_templates` SET `men`='84' WHERE (SELECT ClassId) AND (men = '42'); UPDATE `char_templates` SET `men`='78' WHERE (SELECT ClassId) AND (men = '39'); UPDATE `char_templates` SET `men`='50' WHERE (SELECT ClassId) AND (men = '25'); UPDATE `char_templates` SET `STR`='80' WHERE (ClassId = '0') AND (str = '40'); UPDATE `char_templates` SET `con`='86' WHERE (ClassId = '0') AND (con = '43'); UPDATE `char_templates` SET `_int`='42' WHERE (ClassId = '0') AND (_int = '21'); UPDATE `char_templates` SET `dex`='60' WHERE (ClassId = '0') AND (dex = '30'); UPDATE `char_templates` SET `wit`='22' WHERE (ClassId = '0') AND (wit = '11'); UPDATE `char_templates` SET `wit`='22' WHERE (SELECT ClassId) AND (wit = '11'); UPDATE `char_templates` SET `wit`='40' WHERE (SELECT ClassId) AND (wit = '20'); UPDATE `char_templates` SET `wit`='28' WHERE (SELECT ClassId) AND (wit = '14'); UPDATE `char_templates` SET `wit`='46' WHERE (SELECT ClassId) AND (wit = '23'); UPDATE `char_templates` SET `wit`='24' WHERE (SELECT ClassId) AND (wit = '12'); UPDATE `char_templates` SET `wit`='38' WHERE (SELECT ClassId) AND (wit = '19'); UPDATE `char_templates` SET `wit`='30' WHERE (SELECT ClassId) AND (wit = '15'); UPDATE `char_templates` SET `wit`='20' WHERE (SELECT ClassId) AND (wit = '10'); UPDATE `char_templates` SET `dex`='60' WHERE (SELECT ClassId) AND (dex = '30'); UPDATE `char_templates` SET `dex`='42' WHERE (SELECT ClassId) AND (dex = '21'); UPDATE `char_templates` SET `dex`='70' WHERE (SELECT ClassId) AND (dex = '35'); UPDATE `char_templates` SET `dex`='48' WHERE (SELECT ClassId) AND (dex = '24'); Спойлер: Запросы на удаление лишнего дропа Удаление всех ресурсов DELETE FROM droplist WHERE itemId='1864'; DELETE FROM droplist WHERE itemId='1865'; DELETE FROM droplist WHERE itemId='1866'; DELETE FROM droplist WHERE itemId='1868'; DELETE FROM droplist WHERE itemId='1869'; DELETE FROM droplist WHERE itemId='1870'; DELETE FROM droplist WHERE itemId='1871'; DELETE FROM droplist WHERE itemId='1872'; DELETE FROM droplist WHERE itemId='1873'; DELETE FROM droplist WHERE itemId='1874'; DELETE FROM droplist WHERE itemId='1875'; DELETE FROM droplist WHERE itemId='1876'; DELETE FROM droplist WHERE itemId='1877'; DELETE FROM droplist WHERE itemId='1878'; DELETE FROM droplist WHERE itemId='1879'; DELETE FROM droplist WHERE itemId='1880'; DELETE FROM droplist WHERE itemId='1881'; DELETE FROM droplist WHERE itemId='1882'; DELETE FROM droplist WHERE itemId='1884'; DELETE FROM droplist WHERE itemId='1885'; DELETE FROM droplist WHERE itemId='1895'; DELETE FROM droplist WHERE itemId='5549'; DELETE FROM droplist WHERE itemId='1886'; DELETE FROM droplist WHERE itemId='1887'; DELETE FROM droplist WHERE itemId='1888'; DELETE FROM droplist WHERE itemId='1890'; DELETE FROM droplist WHERE itemId='1891'; DELETE FROM droplist WHERE itemId='1892'; DELETE FROM droplist WHERE itemId='1893'; DELETE FROM droplist WHERE itemId='1889'; DELETE FROM droplist WHERE itemId='1894'; DELETE FROM droplist WHERE itemId='4039'; DELETE FROM droplist WHERE itemId='4040'; DELETE FROM droplist WHERE itemId='4041'; DELETE FROM droplist WHERE itemId='4042'; DELETE FROM droplist WHERE itemId='4043'; DELETE FROM droplist WHERE itemId='4044'; DELETE FROM droplist WHERE itemId='4046'; DELETE FROM droplist WHERE itemId='4047'; DELETE FROM droplist WHERE itemId='4045'; DELETE FROM droplist WHERE itemId='5550'; DELETE FROM droplist WHERE itemId='4048'; Удаление стрел DELETE FROM droplist WHERE itemId='17'; DELETE FROM droplist WHERE itemId='1341'; DELETE FROM droplist WHERE itemId='1342'; DELETE FROM droplist WHERE itemId='1343'; DELETE FROM droplist WHERE itemId='1344'; DELETE FROM droplist WHERE itemId='1345'; DELETE FROM droplist WHERE itemId='4048'; Зельев DELETE FROM droplist WHERE itemId='1539'; DELETE FROM droplist WHERE itemId='5591'; DELETE FROM droplist WHERE itemId='5592'; Костей (Cursed Bone) DELETE FROM droplist WHERE itemId='2508'; Свитки телепортации (SOE) DELETE FROM droplist WHERE itemId='736'; DELETE FROM droplist WHERE itemId='1829'; DELETE FROM droplist WHERE itemId='1830'; DELETE FROM droplist WHERE itemId='737'; DELETE FROM droplist WHERE itemId='1538'; Книжек и аммулетов DELETE FROM `droplist` WHERE `itemId`=1047; DELETE FROM `droplist` WHERE `itemId`=1048; DELETE FROM `droplist` WHERE `itemId`=1049; DELETE FROM `droplist` WHERE `itemId`=1050; DELETE FROM `droplist` WHERE `itemId`=1047; DELETE FROM `droplist` WHERE `itemId`=1050; DELETE FROM `droplist` WHERE `itemId`=1051; DELETE FROM `droplist` WHERE `itemId`=1052; DELETE FROM `droplist` WHERE `itemId`=1053; DELETE FROM `droplist` WHERE `itemId`=1054; DELETE FROM `droplist` WHERE `itemId`=1055; DELETE FROM `droplist` WHERE `itemId`=1056; DELETE FROM `droplist` WHERE `itemId`=1057; DELETE FROM `droplist` WHERE `itemId`=1058; DELETE FROM `droplist` WHERE `itemId`=1059; DELETE FROM `droplist` WHERE `itemId`=1095; DELETE FROM `droplist` WHERE `itemId`=1096; DELETE FROM `droplist` WHERE `itemId`=1097; DELETE FROM `droplist` WHERE `itemId`=1098; DELETE FROM `droplist` WHERE `itemId`=1099; DELETE FROM `droplist` WHERE `itemId`=1150; DELETE FROM `droplist` WHERE `itemId`=1151; DELETE FROM `droplist` WHERE `itemId`=1152; DELETE FROM `droplist` WHERE `itemId`=1377; DELETE FROM `droplist` WHERE `itemId`=1378; DELETE FROM `droplist` WHERE `itemId`=1379; DELETE FROM `droplist` WHERE `itemId`=1380; DELETE FROM `droplist` WHERE `itemId`=1380; DELETE FROM `droplist` WHERE `itemId`=1382; DELETE FROM `droplist` WHERE `itemId`=1383; DELETE FROM `droplist` WHERE `itemId`=1384; DELETE FROM `droplist` WHERE `itemId`=1385; DELETE FROM `droplist` WHERE `itemId`=1386; DELETE FROM `droplist` WHERE `itemId`=1387; DELETE FROM `droplist` WHERE `itemId`=1388; DELETE FROM `droplist` WHERE `itemId`=1389; DELETE FROM `droplist` WHERE `itemId`=1390; DELETE FROM `droplist` WHERE `itemId`=1391; DELETE FROM `droplist` WHERE `itemId`=1392; DELETE FROM `droplist` WHERE `itemId`=1393; DELETE FROM `droplist` WHERE `itemId`=1394; DELETE FROM `droplist` WHERE `itemId`=1395; DELETE FROM `droplist` WHERE `itemId`=1396; DELETE FROM `droplist` WHERE `itemId`=1397; DELETE FROM `droplist` WHERE `itemId`=1398; DELETE FROM `droplist` WHERE `itemId`=1399; DELETE FROM `droplist` WHERE `itemId`=1400; DELETE FROM `droplist` WHERE `itemId`=1401; DELETE FROM `droplist` WHERE `itemId`=1402; DELETE FROM `droplist` WHERE `itemId`=1403; DELETE FROM `droplist` WHERE `itemId`=1404; DELETE FROM `droplist` WHERE `itemId`=1405; DELETE FROM `droplist` WHERE `itemId`=1406; DELETE FROM `droplist` WHERE `itemId`=1407; DELETE FROM `droplist` WHERE `itemId`=1408; DELETE FROM `droplist` WHERE `itemId`=1409; DELETE FROM `droplist` WHERE `itemId`=1410; DELETE FROM `droplist` WHERE `itemId`=1411; DELETE FROM `droplist` WHERE `itemId`=1412; DELETE FROM `droplist` WHERE `itemId`=1413; DELETE FROM `droplist` WHERE `itemId`=1414; DELETE FROM `droplist` WHERE `itemId`=1415; DELETE FROM `droplist` WHERE `itemId`=1416; DELETE FROM `droplist` WHERE `itemId`=1417; DELETE FROM `droplist` WHERE `itemId`=1418; DELETE FROM `droplist` WHERE `itemId`=1512; DELETE FROM `droplist` WHERE `itemId`=1513; DELETE FROM `droplist` WHERE `itemId`=1514; DELETE FROM `droplist` WHERE `itemId`=1516; DELETE FROM `droplist` WHERE `itemId`=1515; DELETE FROM `droplist` WHERE `itemId`=1517; DELETE FROM `droplist` WHERE `itemId`=1518; DELETE FROM `droplist` WHERE `itemId`=1519; DELETE FROM `droplist` WHERE `itemId`=1520; DELETE FROM `droplist` WHERE `itemId`=1521; DELETE FROM `droplist` WHERE `itemId`=1522; DELETE FROM `droplist` WHERE `itemId`=1523; DELETE FROM `droplist` WHERE `itemId`=1524; DELETE FROM `droplist` WHERE `itemId`=1525; DELETE FROM `droplist` WHERE `itemId`=1526; DELETE FROM `droplist` WHERE `itemId`=1527; DELETE FROM `droplist` WHERE `itemId`=1528; DELETE FROM `droplist` WHERE `itemId`=1528; DELETE FROM `droplist` WHERE `itemId`=1530; DELETE FROM `droplist` WHERE `itemId`=1531; DELETE FROM `droplist` WHERE `itemId`=1532; DELETE FROM `droplist` WHERE `itemId`=1533; DELETE FROM `droplist` WHERE `itemId`=1534; DELETE FROM `droplist` WHERE `itemId`=1535; DELETE FROM `droplist` WHERE `itemId`=1536; DELETE FROM `droplist` WHERE `itemId`=1537; DELETE FROM `droplist` WHERE `itemId`=1667; DELETE FROM `droplist` WHERE `itemId`=1668; DELETE FROM `droplist` WHERE `itemId`=1669; DELETE FROM `droplist` WHERE `itemId`=1670; DELETE FROM `droplist` WHERE `itemId`=1671; DELETE FROM `droplist` WHERE `itemId`=1856; DELETE FROM `droplist` WHERE `itemId`=3038; DELETE FROM `droplist` WHERE `itemId`=3039; DELETE FROM `droplist` WHERE `itemId`=3040; DELETE FROM `droplist` WHERE `itemId`=3041; DELETE FROM `droplist` WHERE `itemId`=3042; DELETE FROM `droplist` WHERE `itemId`=3043; DELETE FROM `droplist` WHERE `itemId`=3044; DELETE FROM `droplist` WHERE `itemId`=3045; DELETE FROM `droplist` WHERE `itemId`=3046; DELETE FROM `droplist` WHERE `itemId`=3047; DELETE FROM `droplist` WHERE `itemId`=3048; DELETE FROM `droplist` WHERE `itemId`=3049; DELETE FROM `droplist` WHERE `itemId`=3050; DELETE FROM `droplist` WHERE `itemId`=3051; DELETE FROM `droplist` WHERE `itemId`=3052; DELETE FROM `droplist` WHERE `itemId`=3053; DELETE FROM `droplist` WHERE `itemId`=3054; DELETE FROM `droplist` WHERE `itemId`=3055; DELETE FROM `droplist` WHERE `itemId`=3056; DELETE FROM `droplist` WHERE `itemId`=3057; DELETE FROM `droplist` WHERE `itemId`=3058; DELETE FROM `droplist` WHERE `itemId`=3059; DELETE FROM `droplist` WHERE `itemId`=3060; DELETE FROM `droplist` WHERE `itemId`=3061; DELETE FROM `droplist` WHERE `itemId`=3062; DELETE FROM `droplist` WHERE `itemId`=3063; DELETE FROM `droplist` WHERE `itemId`=3064; DELETE FROM `droplist` WHERE `itemId`=3065; DELETE FROM `droplist` WHERE `itemId`=3066; DELETE FROM `droplist` WHERE `itemId`=3067; DELETE FROM `droplist` WHERE `itemId`=3068; DELETE FROM `droplist` WHERE `itemId`=3069; DELETE FROM `droplist` WHERE `itemId`=3070; DELETE FROM `droplist` WHERE `itemId`=3071; DELETE FROM `droplist` WHERE `itemId`=3072; DELETE FROM `droplist` WHERE `itemId`=3073; DELETE FROM `droplist` WHERE `itemId`=3074; DELETE FROM `droplist` WHERE `itemId`=3075; DELETE FROM `droplist` WHERE `itemId`=3076; DELETE FROM `droplist` WHERE `itemId`=3077; DELETE FROM `droplist` WHERE `itemId`=3078; DELETE FROM `droplist` WHERE `itemId`=3079; DELETE FROM `droplist` WHERE `itemId`=3080; DELETE FROM `droplist` WHERE `itemId`=3081; DELETE FROM `droplist` WHERE `itemId`=3082; DELETE FROM `droplist` WHERE `itemId`=3083; DELETE FROM `droplist` WHERE `itemId`=3084; DELETE FROM `droplist` WHERE `itemId`=3085; DELETE FROM `droplist` WHERE `itemId`=3086; DELETE FROM `droplist` WHERE `itemId`=3087; DELETE FROM `droplist` WHERE `itemId`=3088; DELETE FROM `droplist` WHERE `itemId`=3089; DELETE FROM `droplist` WHERE `itemId`=3090; DELETE FROM `droplist` WHERE `itemId`=3091; DELETE FROM `droplist` WHERE `itemId`=3092; DELETE FROM `droplist` WHERE `itemId`=3093; DELETE FROM `droplist` WHERE `itemId`=3094; DELETE FROM `droplist` WHERE `itemId`=3095; DELETE FROM `droplist` WHERE `itemId`=3096; DELETE FROM `droplist` WHERE `itemId`=3097; DELETE FROM `droplist` WHERE `itemId`=3098; DELETE FROM `droplist` WHERE `itemId`=3099; DELETE FROM `droplist` WHERE `itemId`=3100; DELETE FROM `droplist` WHERE `itemId`=3101; DELETE FROM `droplist` WHERE `itemId`=3102; DELETE FROM `droplist` WHERE `itemId`=3103; DELETE FROM `droplist` WHERE `itemId`=3104; DELETE FROM `droplist` WHERE `itemId`=3105; DELETE FROM `droplist` WHERE `itemId`=3106; DELETE FROM `droplist` WHERE `itemId`=3107; DELETE FROM `droplist` WHERE `itemId`=3108; DELETE FROM `droplist` WHERE `itemId`=3109; DELETE FROM `droplist` WHERE `itemId`=3110; DELETE FROM `droplist` WHERE `itemId`=3111; DELETE FROM `droplist` WHERE `itemId`=3112; DELETE FROM `droplist` WHERE `itemId`=3113; DELETE FROM `droplist` WHERE `itemId`=3114; DELETE FROM `droplist` WHERE `itemId`=3115; DELETE FROM `droplist` WHERE `itemId`=3116; DELETE FROM `droplist` WHERE `itemId`=3117; DELETE FROM `droplist` WHERE `itemId`=3118; DELETE FROM `droplist` WHERE `itemId`=3429; DELETE FROM `droplist` WHERE `itemId`=3430; DELETE FROM `droplist` WHERE `itemId`=3431; DELETE FROM `droplist` WHERE `itemId`=3432; DELETE FROM `droplist` WHERE `itemId`=3941; DELETE FROM `droplist` WHERE `itemId`=3942; DELETE FROM `droplist` WHERE `itemId`=3944; DELETE FROM `droplist` WHERE `itemId`=4200; DELETE FROM `droplist` WHERE `itemId`=4201; DELETE FROM `droplist` WHERE `itemId`=4202; DELETE FROM `droplist` WHERE `itemId`=4203; DELETE FROM `droplist` WHERE `itemId`=4206; DELETE FROM `droplist` WHERE `itemId`=4207; DELETE FROM `droplist` WHERE `itemId`=4208; DELETE FROM `droplist` WHERE `itemId`=4906; DELETE FROM `droplist` WHERE `itemId`=4907; DELETE FROM `droplist` WHERE `itemId`=4908; DELETE FROM `droplist` WHERE `itemId`=4909; DELETE FROM `droplist` WHERE `itemId`=4910; DELETE FROM `droplist` WHERE `itemId`=4911; DELETE FROM `droplist` WHERE `itemId`=4912; DELETE FROM `droplist` WHERE `itemId`=4913; DELETE FROM `droplist` WHERE `itemId`=4914; DELETE FROM `droplist` WHERE `itemId`=4916; DELETE FROM `droplist` WHERE `itemId`=4917; DELETE FROM `droplist` WHERE `itemId`=4918; DELETE FROM `droplist` WHERE `itemId`=4919; DELETE FROM `droplist` WHERE `itemId`=4920; DELETE FROM `droplist` WHERE `itemId`=4922; DELETE FROM `droplist` WHERE `itemId`=4923; DELETE FROM `droplist` WHERE `itemId`=4924; DELETE FROM `droplist` WHERE `itemId`=4928; DELETE FROM `droplist` WHERE `itemId`=4929; DELETE FROM `droplist` WHERE `itemId`=4930; DELETE FROM `droplist` WHERE `itemId`=4931; DELETE FROM `droplist` WHERE `itemId`=4932; DELETE FROM `droplist` WHERE `itemId`=4933; DELETE FROM `droplist` WHERE `itemId`=4934; DELETE FROM `droplist` WHERE `itemId`=4935; DELETE FROM `droplist` WHERE `itemId`=5013; DELETE FROM `droplist` WHERE `itemId`=5014; DELETE FROM `droplist` WHERE `itemId`=5015; DELETE FROM `droplist` WHERE `itemId`=5809; DELETE FROM `droplist` WHERE `itemId`=5810; DELETE FROM `droplist` WHERE `itemId`=5811; DELETE FROM `droplist` WHERE `itemId`=5812; DELETE FROM `droplist` WHERE `itemId`=5813; DELETE FROM `droplist` WHERE `itemId`=5814; DELETE FROM `droplist` WHERE `itemId`=5815; DELETE FROM `droplist` WHERE `itemId`=5816; DELETE FROM `droplist` WHERE `itemId`=6350; DELETE FROM `droplist` WHERE `itemId`=6351; DELETE FROM `droplist` WHERE `itemId`=6352; DELETE FROM `droplist` WHERE `itemId`=6395; DELETE FROM `droplist` WHERE `itemId`=6396; DELETE FROM `droplist` WHERE `itemId`=6397; DELETE FROM `droplist` WHERE `itemId`=6398; DELETE FROM `droplist` WHERE `itemId`=7638; DELETE FROM `droplist` WHERE `itemId`=7639; DELETE FROM `droplist` WHERE `itemId`=7640; DELETE FROM `droplist` WHERE `itemId`=7641; DELETE FROM `droplist` WHERE `itemId`=7642; DELETE FROM `droplist` WHERE `itemId`=7643; DELETE FROM `droplist` WHERE `itemId`=7644; DELETE FROM `droplist` WHERE `itemId`=7645; DELETE FROM `droplist` WHERE `itemId`=7646; DELETE FROM `droplist` WHERE `itemId`=7647; DELETE FROM `droplist` WHERE `itemId`=7648; DELETE FROM `droplist` WHERE `itemId`=7649; DELETE FROM `droplist` WHERE `itemId`=7650; DELETE FROM `droplist` WHERE `itemId`=7651; DELETE FROM `droplist` WHERE `itemId`=7652; DELETE FROM `droplist` WHERE `itemId`=7653; DELETE FROM `droplist` WHERE `itemId`=7654; DELETE FROM `droplist` WHERE `itemId`=7655; DELETE FROM `droplist` WHERE `itemId`=7656; DELETE FROM `droplist` WHERE `itemId`=7657; DELETE FROM `droplist` WHERE `itemId`=7658; DELETE FROM `droplist` WHERE `itemId`=7659; DELETE FROM `droplist` WHERE `itemId`=7660; DELETE FROM `droplist` WHERE `itemId`=7661; DELETE FROM `droplist` WHERE `itemId`=7652; DELETE FROM `droplist` WHERE `itemId`=7663; DELETE FROM `droplist` WHERE `itemId`=7664; DELETE FROM `droplist` WHERE `itemId`=7665; DELETE FROM `droplist` WHERE `itemId`=7666; DELETE FROM `droplist` WHERE `itemId`=7667; DELETE FROM `droplist` WHERE `itemId`=7668; DELETE FROM `droplist` WHERE `itemId`=7669; DELETE FROM `droplist` WHERE `itemId`=7670; DELETE FROM `droplist` WHERE `itemId`=7671; DELETE FROM `droplist` WHERE `itemId`=7672; DELETE FROM `droplist` WHERE `itemId`=7673; DELETE FROM `droplist` WHERE `itemId`=7674; DELETE FROM `droplist` WHERE `itemId`=7675; DELETE FROM `droplist` WHERE `itemId`=7676; DELETE FROM `droplist` WHERE `itemId`=7835; DELETE FROM `droplist` WHERE `itemId`=8380; DELETE FROM `droplist` WHERE `itemId`=8381; DELETE FROM `droplist` WHERE `itemId`=8382; DELETE FROM `droplist` WHERE `itemId`=8383; DELETE FROM `droplist` WHERE `itemId`=8384; DELETE FROM `droplist` WHERE `itemId`=8385; DELETE FROM `droplist` WHERE `itemId`=8386; DELETE FROM `droplist` WHERE `itemId`=8387; DELETE FROM `droplist` WHERE `itemId`=8388; DELETE FROM `droplist` WHERE `itemId`=8389; DELETE FROM `droplist` WHERE `itemId`=8390; DELETE FROM `droplist` WHERE `itemId`=8391; DELETE FROM `droplist` WHERE `itemId`=8392; DELETE FROM `droplist` WHERE `itemId`=8393; DELETE FROM `droplist` WHERE `itemId`=8394; DELETE FROM `droplist` WHERE `itemId`=8395; DELETE FROM `droplist` WHERE `itemId`=8396; DELETE FROM `droplist` WHERE `itemId`=8397; DELETE FROM `droplist` WHERE `itemId`=8398; DELETE FROM `droplist` WHERE `itemId`=8399; DELETE FROM `droplist` WHERE `itemId`=8400; DELETE FROM `droplist` WHERE `itemId`=8401; DELETE FROM `droplist` WHERE `itemId`=8402; DELETE FROM `droplist` WHERE `itemId`=8616; DELETE FROM `droplist` WHERE `itemId`=8617; DELETE FROM `droplist` WHERE `itemId`=8877; DELETE FROM `droplist` WHERE `itemId`=8878; DELETE FROM `droplist` WHERE `itemId`=8879; DELETE FROM `droplist` WHERE `itemId`=8880; DELETE FROM `droplist` WHERE `itemId`=8881; DELETE FROM `droplist` WHERE `itemId`=8882; DELETE FROM `droplist` WHERE `itemId`=8883; DELETE FROM `droplist` WHERE `itemId`=8884; DELETE FROM `droplist` WHERE `itemId`=8885; DELETE FROM `droplist` WHERE `itemId`=8886; DELETE FROM `droplist` WHERE `itemId`=8888; DELETE FROM `droplist` WHERE `itemId`=8889; DELETE FROM `droplist` WHERE `itemId`=8890; DELETE FROM `droplist` WHERE `itemId`=8891; DELETE FROM `droplist` WHERE `itemId`=8945; DELETE FROM `droplist` WHERE `itemId`=8946; Удалить все рецепты и материалы из дропа DELETE FROM droplist WHERE itemid IN (SELECT item_id FROM etcitem WHERE item_type= 'material' OR item_type= 'recipe' ); Удалить все книги изучения скиллов из дропа DELETE FROM droplist WHERE itemid IN (SELECT item_id FROM etcitem WHERE item_type= 'spellbook' ); Удаление всего кроме адены, колов и РБ бижи DELETE FROM droplist WHERE itemId NOT IN (57,4037,8191,6662,6661,6660,6659,6658,6657,6656); Удаление дропа всего, кроме дропа с РБ, эпиков, брони и оружия, адены, лайф стоунов, камней печати и енчант скроллов DELETE FROM droplist WHERE mobid NOT IN (SELECT id FROM npc WHERE TYPE = 'L2GrandBoss') AND mobid NOT IN (SELECT id FROM npc WHERE TYPE = 'L2RaidBoss') AND itemid NOT IN (SELECT item_id FROM weapon) AND itemid NOT IN (SELECT item_id FROM armor) AND itemid NOT IN (SELECT item_id FROM etcitem WHERE name LIKE 'adena') AND itemid NOT IN (SELECT item_id FROM etcitem WHERE name LIKE '%life stone%') AND itemid NOT IN (SELECT item_id FROM etcitem WHERE name LIKE '%seal stone%') AND itemid NOT IN (SELECT item_id FROM etcitem WHERE name LIKE '%enchant%' AND item_type = 'scroll') Удаление всех вещей с ID 57 (Adena) и 4037 (CoL) DELETE FROM droplist WHERE itemId NOT IN (57,4037); Спойлер: Запросы на связанные со скиллами Добавить скилл "Возвращение" (Return) всем персонажам INSERT INTO skill_trees VALUES (0, 1050, 2, "Return", 0, 1); INSERT INTO skill_trees VALUES (10, 1050, 2, "Return", 0, 1); INSERT INTO skill_trees VALUES (18, 1050, 2, "Return", 0, 1); INSERT INTO skill_trees VALUES (25, 1050, 2, "Return", 0, 1); INSERT INTO skill_trees VALUES (31, 1050, 2, "Return", 0, 1); INSERT INTO skill_trees VALUES (38, 1050, 2, "Return", 0, 1); INSERT INTO skill_trees VALUES (44, 1050, 2, "Return", 0, 1); INSERT INTO skill_trees VALUES (49, 1050, 2, "Return", 0, 1); INSERT INTO skill_trees VALUES (53, 1050, 2, "Return", 0, 1); INSERT INTO skill_trees VALUES (123, 1050, 2, "Return", 0, 1); INSERT INTO skill_trees VALUES (124, 1050, 2, "Return", 0, 1); Добавить все клановые скиллы определенному клану INSERT INTO `clan_skills` VALUES ('ид_клана','370','3','Clan Vitality'), ('ид_клана','371','3','Clan Spirituality'), ('ид_клана','372','3','Clan Essence'), ('ид_клана','373','3','Clan Lifeblood'), ('ид_клана','374','3','Clan Morale'), ('ид_клана','375','3','Clan Clarity'), ('ид_клана','376','3','Clan Might'), ('ид_клана','377','3','Clan Aegis'), ('ид_клана','378','3','Clan Empowerment'), ('ид_клана','379','3','Clan Magic Protection'), ('ид_клана','380','3','Clan Guidance'), ('ид_клана','381','3','Clan Agility'), ('ид_клана','382','3','Clan Withstand-Attack'), ('ид_клана','383','3','Clan Shield Boost'), ('ид_клана','384','3','Clan Cyclonic Resistance'), ('ид_клана','385','3','Clan Magmatic Resistance'), ('ид_клана','386','3','Clan Fortitude'), ('ид_клана','387','3','Clan Freedom'), ('ид_клана','388','3','Clan Vigilance'), ('ид_клана','389','3','Clan March'), ('ид_клана','390','3','Clan Luck'), ('ид_клана','391','1','Clan Imperium'); Для заточки скиллов не требуется Опыть и SP UPDATE enchant_skill_trees SET sp=0; UPDATE enchant_skill_trees SET exp=0; Удалить скил пенальти (Great Penalty) DELETE FROM skill_trees WHERE skill_id = 239; Спойлер: Изменение Рейд Боссов и Эпик Боссов Сделать респ всех Рейд Боссов от 1 до 2 часов UPDATE `raidboss_spawnlist` SET `respawn_min_delay` = '3600'; UPDATE `raidboss_spawnlist` SET `respawn_max_delay` = '7200'; Повысить всем Рейд Боссам хп до 5кк UPDATE `npc` SET `hp`='5000000' WHERE (SELECT id) AND npc.type='L2Raidboss'; Добавить всем Эпик Боссам дроп эпик бижи (на случай если вы её случайно удалили) INSERT INTO droplist VALUES ('29001', '6660', '1', '1', '12', '300000'); INSERT INTO droplist VALUES ('29006', '6662', '1', '1', '8', '300000'); INSERT INTO droplist VALUES ('29014', '6661', '1', '1', '9', '300000'); INSERT INTO droplist VALUES ('29022', '6659', '1', '1', '13', '1000000'); INSERT INTO droplist VALUES ('29020', '6658', '1', '1', '2', '1000000'); INSERT INTO droplist VALUES ('29019', '6656', '1', '1', '31', '1000000'); INSERT INTO droplist VALUES ('29028', '6657', '1', '1', '34', '1000000'); Спойлер: Запросы на стартовый шмот персонажа Появление персонажа в топовом No-Grade шмоте REPLACE INTO char_templates VALUES (0, 'Human Fighter', 0, 40, 43, 30, 21, 11, 25, 4, 72, 3, 47, 330, 213, 33, 44, 33, 115, 81900, -71338, 258271, -3104, 0, '1.1', '1.188', 9, 23, '1.1', '1.188', 8, '23.5', 34, 26, 68, 4222, 5588); REPLACE INTO char_templates VALUES (18, 'Elf Fighter', 1, 36, 36, 35, 23, 14, 26, 4, 72, 3, 47, 345, 249, 36, 46, 36, 125, 73000, 45978, 41196, -3440, 0, '1.15', '1.242', '7.5', 24, '1.15', '1.242', '7.5', 23, 34, 26, 68, 4222, 5588); REPLACE INTO char_templates VALUES (31, 'DE Fighter', 2, 41, 32, 34, 25, 12, 26, 4, 72, 3, 47, 342, 226, 35, 45, 35, 122, 69000, 28377, 10916, -4224, 0, '1.14', '1.2312', '7.5', 24, '1.14', '1.2312', 7, '23.5', 34, 26, 68, 4222, 5588); REPLACE INTO char_templates VALUES (44,'Orc Fighter', 3, 40, 47, 26, 18, 12, 27, 4, 72, 2, 48, 318, 226, 31, 42, 31, 117, 87000, -58192, -113408, -650, 0, '1.06', '1.144800', 11.0, 28.0 ,1.06, '1.144800', 7.0, 27.0, 34, 26, 257, 0, 5588); REPLACE INTO char_templates VALUES (53, 'Dwarf Fighter', 4, 39, 45, 29, 20, 10, 27, 4, 72, 3, 48, 327, 203, 33, 43, 33, 115, 83000, 108512, -174026, -400, 1, '1.09', '1.487196', 9, 18, '1.09', '1.487196', 5, 19, 34, 26, 87, 4222, 5588); REPLACE INTO char_templates VALUES (10, 'Human Mage', 0, 22, 27, 21, 41, 20, 39, 2, 48, 7, 54, 303, 333, 28, 40, 28, 120, 62500, -90890, 248027, -3570, 0, '1.01', '0.87264', '7.5', '22.8', '1.01', '0.87264', '6.5', '22.5', 1105, 1102, 177, 0, 5588); REPLACE INTO char_templates VALUES (25, 'Elf Mage', 1, 21, 25, 24, 37, 23, 40, 2, 48, 6, 54, 312, 386, 30, 41, 30, 122, 62400, 46182, 41198, -3440, 0, '1.04', '0.89856', '7.5', 24, '1.04', '0.89856', '7.5', 23, 1105, 1102, 177, 0, 5588); REPLACE INTO char_templates VALUES (38, 'DE Mage', 2, 23, 24, 23, 44, 19, 37, 2, 48, 7, 53, 309, 316, 29, 41, 29, 122, 61000, 28295, 11063, -4224, 0, '1.14', '1.2312', '7.5', 24, '1.03', '0.88992', 7, '23.5', 1105, 1102, 177, 0, 5588); REPLACE INTO char_templates VALUES (49, 'Orc Mage', 3, 27, 31, 24, 31, 15, 42, 2, 48, 4, 56, 312, 265, 30, 41, 30, 121, 68000, -56682, -113730, -690, 0, '1.04', '0.89856', 7, '27.5', '1.04', '0.89856', 8, '25.5', 1105, 1102, 257, 0, 5588); Появление персонажа в топовом D Grade шмоте REPLACE INTO char_templates VALUES (0, "Human Fighter", 0, 40, 43, 30, 21, 11, 25, 4, 72, 3, 47, 330, 213, 33, 44, 33, 115, 81900, -71338, 258271, -3104, 0, "1.1", "1.188", 9, 23, "1.1", "1.188", 8, "23.5", 395, 2424, 2448, 417,225); REPLACE INTO char_templates VALUES (18, "Elf Fighter", 1, 36, 36, 35, 23, 14, 26, 4, 72, 3, 47, 345, 249, 36, 46, 36, 125, 73000, 45978, 41196, -3440, 0, "1.15", "1.242", "7.5", 24, "1.15", "1.242", "7.5", 23, 395, 2424, 2448, 417,225); REPLACE INTO char_templates VALUES (31, "DE Fighter", 2, 41, 32, 34, 25, 12, 26, 4, 72, 3, 47, 342, 226, 35, 45, 35, 122, 69000, 28377, 10916, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.14", "1.2312", 7, "23.5", 395, 2424, 2448, 417,225); REPLACE INTO char_templates VALUES (44,'Orc Fighter', 3, 40, 47, 26, 18, 12, 27, 4, 72, 2, 48, 318, 226, 31, 42, 31, 117, 87000, -58192, -113408, -650, 0, "1.06", "1.144800", 11.0, 28.0,1.06, "1.144800", 7.0, 27.0, 395, 2424, 2448, 417, 2499); REPLACE INTO char_templates VALUES (53, "Dwarf Fighter", 4, 39, 45, 29, 20, 10, 27, 4, 72, 3, 48, 327, 203, 33, 43, 33, 115, 83000, 1082426, -174026, -400, 1, "1.09", "1.487196", 9, 18, "1.09", "1.487196", 5, 19, 395, 2424, 2448, 417, 2499); REPLACE INTO char_templates VALUES (10, "Human Mage", 0, 22, 27, 21, 41, 20, 39, 2, 48, 7, 54, 303, 333, 28, 40, 28, 120, 62500, -90890, 248027, -3570, 0, "1.01", "0.87264", "7.5", "22.8", "1.01", "0.87264", "6.5", "22.5", 437, 470, 2450, 2426, 188); REPLACE INTO char_templates VALUES (25, "Elf Mage", 1, 21, 25, 24, 37, 23, 40, 2, 48, 6, 54, 312, 386, 30, 41, 30, 122, 62400, 46182, 41198, -3440, 0, "1.04", "0.89856", "7.5", 24, "1.04", "0.89856", "7.5", 23, 437, 470, 2450, 2426, 188); REPLACE INTO char_templates VALUES (38, "DE Mage", 2, 23, 24, 23, 44, 19, 37, 2, 48, 7, 53, 309, 316, 29, 41, 29, 122, 61000, 28295, 11063, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.03", "0.88992", 7, "23.5", 437, 470, 2450, 2426, 188); REPLACE INTO char_templates VALUES (49, "Orc Mage", 3, 27, 31, 24, 31, 15, 42, 2, 48, 4, 56, 312, 265, 30, 41, 30, 121, 68000, -56682, -113730, -690, 0, "1.04", "0.89856", 7, "27.5", "1.04", "0.89856", 8, "25.5", 437, 470, 2450, 2426, 188); Появление персонажа в топовом C Grade шмоте REPLACE INTO char_templates VALUES (0, "Human Fighter", 0, 40, 43, 30, 21, 11, 25, 4, 72, 3, 47, 330, 213, 33, 44, 33, 115, 81900, -71338, 258271, -3104, 0, "1.1", "1.188", 9, 23, "1.1", "1.188", 8, "23.5", 401, 2437, 2461, 499,6358); REPLACE INTO char_templates VALUES (18, "Elf Fighter", 1, 36, 36, 35, 23, 14, 26, 4, 72, 3, 47, 345, 249, 36, 46, 36, 125, 73000, 45978, 41196, -3440, 0, "1.15", "1.242", "7.5", 24, "1.15", "1.242", "7.5", 23, 401, 2437, 2461, 499,6358); REPLACE INTO char_templates VALUES (31, "DE Fighter", 2, 41, 32, 34, 25, 12, 26, 4, 72, 3, 47, 342, 226, 35, 45, 35, 122, 69000, 28377, 10916, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.14", "1.2312", 7, "23.5", 401, 2437, 2461, 499,6358); REPLACE INTO char_templates VALUES (44,'Orc Fighter', 3, 40, 47, 26, 18, 12, 27, 4, 72, 2, 48, 318, 226, 31, 42, 31, 117, 87000, -58192, -113408, -650, 0, "1.06", "1.144800", 11.0, 28.0,1.06, "1.144800", 7.0, 27.0, 401, 2437, 2461, 499, 4710); REPLACE INTO char_templates VALUES (53, "Dwarf Fighter", 4, 39, 45, 29, 20, 10, 27, 4, 72, 3, 48, 327, 203, 33, 43, 33, 115, 83000, 108471, -174026, -400, 1, "1.09", "1.487196", 9, 18, "1.09", "1.487196", 5, 19, 401, 2437, 2461, 499, 4710); REPLACE INTO char_templates VALUES (10, "Human Mage", 0, 22, 27, 21, 41, 20, 39, 2, 48, 7, 54, 303, 333, 28, 40, 28, 120, 62500, -90890, 248027, -3570, 0, "1.01", "0.87264", "7.5", "22.8", "1.01", "0.87264", "6.5", "22.5", 2430, 2454, 439, 471, 6313); REPLACE INTO char_templates VALUES (25, "Elf Mage", 1, 21, 25, 24, 37, 23, 40, 2, 48, 6, 54, 312, 386, 30, 41, 30, 122, 62400, 46182, 41198, -3440, 0, "1.04", "0.89856", "7.5", 24, "1.04", "0.89856", "7.5", 23, 2430, 2454, 439, 471, 6313); REPLACE INTO char_templates VALUES (38, "DE Mage", 2, 23, 24, 23, 44, 19, 37, 2, 48, 7, 53, 309, 316, 29, 41, 29, 122, 61000, 28295, 11063, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.03", "0.88992", 7, "23.5", 2430, 2454, 439, 471, 6313); REPLACE INTO char_templates VALUES (49, "Orc Mage", 3, 27, 31, 24, 31, 15, 42, 2, 48, 4, 56, 312, 265, 30, 41, 30, 121, 68000, -56682, -113730, -690, 0, "1.04", "0.89856", 7, "27.5", "1.04", "0.89856", 8, "25.5", 2430, 2454, 439, 471, 6313); Появление персонажа в топовом B Grade шмоте REPLACE INTO char_templates VALUES (0, "Human Fighter", 0, 40, 43, 30, 21, 11, 25, 4, 72, 3, 47, 330, 213, 33, 44, 33, 115, 81900, -71338, 258271, -3104, 0, "1.1", "1.188", 9, 23, "1.1", "1.188", 8, "23.5", 2392, 5739, 5723, 2417,6359); REPLACE INTO char_templates VALUES (18, "Elf Fighter", 1, 36, 36, 35, 23, 14, 26, 4, 72, 3, 47, 345, 249, 36, 46, 36, 125, 73000, 45978, 41196, -3440, 0, "1.15", "1.242", "7.5", 24, "1.15", "1.242", "7.5", 23, 2392, 5739, 5723, 2417,6359); REPLACE INTO char_templates VALUES (31, "DE Fighter", 2, 41, 32, 34, 25, 12, 26, 4, 72, 3, 47, 342, 226, 35, 45, 35, 122, 69000, 28377, 10916, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.14", "1.2312", 7, "23.5", 2392, 5739, 5723, 2417,6359); REPLACE INTO char_templates VALUES (44,'Orc Fighter', 3, 40, 47, 26, 18, 12, 27, 4, 72, 2, 48, 318, 226, 31, 42, 31, 117, 87000, -58192, -113408, -650, 0, "1.06", "1.144800", 11.0, 28.0,1.06, "1.144800", 7.0, 27.0, 2392, 5739, 5723, 2417, 4719); REPLACE INTO char_templates VALUES (53, "Dwarf Fighter", 4, 39, 45, 29, 20, 10, 27, 4, 72, 3, 48, 327, 203, 33, 43, 33, 115, 83000, 1082415, -174026, -400, 1, "1.09", "1.487196", 9, 18, "1.09", "1.487196", 5, 19, 2392, 5739, 5723, 2417, 4719); REPLACE INTO char_templates VALUES (10, "Human Mage", 0, 22, 27, 21, 41, 20, 39, 2, 48, 7, 54, 303, 333, 28, 40, 28, 120, 62500, -90890, 248027, -3570, 0, "1.01", "0.87264", "7.5", "22.8", "1.01", "0.87264", "6.5", "22.5", 5732, 5716, 2406, 2415, 7722); REPLACE INTO char_templates VALUES (25, "Elf Mage", 1, 21, 25, 24, 37, 23, 40, 2, 48, 6, 54, 312, 386, 30, 41, 30, 122, 62400, 46182, 41198, -3440, 0, "1.04", "0.89856", "7.5", 24, "1.04", "0.89856", "7.5", 23, 5732, 5716, 2406, 2415, 7722); REPLACE INTO char_templates VALUES (38, "DE Mage", 2, 23, 24, 23, 44, 19, 37, 2, 48, 7, 53, 309, 316, 29, 41, 29, 122, 61000, 28295, 11063, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.03", "0.88992", 7, "23.5", 5732, 5716, 2406, 2415, 7722); REPLACE INTO char_templates VALUES (49, "Orc Mage", 3, 27, 31, 24, 31, 15, 42, 2, 48, 4, 56, 312, 265, 30, 41, 30, 121, 68000, -56682, -113730, -690, 0, "1.04", "0.89856", 7, "27.5", "1.04", "0.89856", 8, "25.5", 5732, 5716, 2406, 2415, 7722); Появление персонажа в топовом A Grade шмоте REPLACE INTO char_templates VALUES (0, "Human Fighter", 0, 40, 43, 30, 21, 11, 25, 4, 72, 3, 47, 330, 213, 33, 44, 33, 115, 81900, -71338, 258271, -3104, 0, "1.1", "1.188", 9, 23, "1.1", "1.188", 8, "23.5", 2395, 5787, 5775, 2419,8682); REPLACE INTO char_templates VALUES (18, "Elf Fighter", 1, 36, 36, 35, 23, 14, 26, 4, 72, 3, 47, 345, 249, 36, 46, 36, 125, 73000, 45978, 41196, -3440, 0, "1.15", "1.242", "7.5", 24, "1.15", "1.242", "7.5", 23, 2395, 5787, 5775, 2419,8682); REPLACE INTO char_templates VALUES (31, "DE Fighter", 2, 41, 32, 34, 25, 12, 26, 4, 72, 3, 47, 342, 226, 35, 45, 35, 122, 69000, 28377, 10916, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.14", "1.2312", 7, "23.5", 2395, 5787, 5775, 2419,8682); REPLACE INTO char_templates VALUES (44,'Orc Fighter', 3, 40, 47, 26, 18, 12, 27, 4, 72, 2, 48, 318, 226, 31, 42, 31, 117, 87000, -58192, -113408, -650, 0, "1.06", "1.144800", 11.0, 28.0,1.06, "1.144800", 7.0, 27.0, 2395, 5787, 5775, 2419, 8788); REPLACE INTO char_templates VALUES (53, "Dwarf Fighter", 4, 39, 45, 29, 20, 10, 27, 4, 72, 3, 48, 327, 203, 33, 43, 33, 115, 83000, 108512, -174026, -400, 1, "1.09", "1.487196", 9, 18, "1.09", "1.487196", 5, 19, 2395, 5787, 5775, 2419, 8788); REPLACE INTO char_templates VALUES (10, "Human Mage", 0, 22, 27, 21, 41, 20, 39, 2, 48, 7, 54, 303, 333, 28, 40, 28, 120, 62500, -90890, 248027, -3570, 0, "1.01", "0.87264", "7.5", "22.8", "1.01", "0.87264", "6.5", "22.5", 5779, 5767, 2407, 512, 5643); REPLACE INTO char_templates VALUES (25, "Elf Mage", 1, 21, 25, 24, 37, 23, 40, 2, 48, 6, 54, 312, 386, 30, 41, 30, 122, 62400, 46182, 41198, -3440, 0, "1.04", "0.89856", "7.5", 24, "1.04", "0.89856", "7.5", 23, 5779, 5767, 2407, 512, 5643); REPLACE INTO char_templates VALUES (38, "DE Mage", 2, 23, 24, 23, 44, 19, 37, 2, 48, 7, 53, 309, 316, 29, 41, 29, 122, 61000, 28295, 11063, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.03", "0.88992", 7, "23.5", 5779, 5767, 2407, 512, 5643); REPLACE INTO char_templates VALUES (49, "Orc Mage", 3, 27, 31, 24, 31, 15, 42, 2, 48, 4, 56, 312, 265, 30, 41, 30, 121, 68000, -56682, -113730, -690, 0, "1.04", "0.89856", 7, "27.5", "1.04", "0.89856", 8, "25.5", 5779, 5767, 2407, 512, 5643); Появление персонажа в топовом B Grade шмоте REPLACE INTO char_templates VALUES (0, "Human Fighter", 0, 40, 43, 30, 21, 11, 25, 4, 72, 3, 47, 330, 213, 33, 44, 33, 115, 81900, -71338, 258271, -3104, 0, "1.1", "1.188", 9, 23, "1.1", "1.188", 8, "23.5", 6379, 6381, 6380, 6382,6592); REPLACE INTO char_templates VALUES (18, "Elf Fighter", 1, 36, 36, 35, 23, 14, 26, 4, 72, 3, 47, 345, 249, 36, 46, 36, 125, 73000, 45978, 41196, -3440, 0, "1.15", "1.242", "7.5", 24, "1.15", "1.242", "7.5", 23, 6379, 6381, 6380, 6382,6592); REPLACE INTO char_templates VALUES (31, "DE Fighter", 2, 41, 32, 34, 25, 12, 26, 4, 72, 3, 47, 342, 226, 35, 45, 35, 122, 69000, 28377, 10916, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.14", "1.2312", 7, "23.5", 6379, 6381, 6380, 6382,6592); REPLACE INTO char_templates VALUES (44,'Orc Fighter', 3, 40, 47, 26, 18, 12, 27, 4, 72, 2, 48, 318, 226, 31, 42, 31, 117, 87000, -58192, -113408, -650, 0, "1.06", "1.144800", 11.0, 28.0,1.06, "1.144800", 7.0, 27.0, 6379, 6381, 6380, 6382, 6583); REPLACE INTO char_templates VALUES (53, "Dwarf Fighter", 4, 39, 45, 29, 20, 10, 27, 4, 72, 3, 48, 327, 203, 33, 43, 33, 115, 83000, 1086386, -174026, -400, 1, "1.09", "1.487196", 9, 18, "1.09", "1.487196", 5, 19, 6379, 6381, 6380, 6382, 6583); REPLACE INTO char_templates VALUES (10, "Human Mage", 0, 22, 27, 21, 41, 20, 39, 2, 48, 7, 54, 303, 333, 28, 40, 28, 120, 62500, -90890, 248027, -3570, 0, "1.01", "0.87264", "7.5", "22.8", "1.01", "0.87264", "6.5", "22.5", 6385, 6384, 6383, 6386, 6608); REPLACE INTO char_templates VALUES (25, "Elf Mage", 1, 21, 25, 24, 37, 23, 40, 2, 48, 6, 54, 312, 386, 30, 41, 30, 122, 62400, 46182, 41198, -3440, 0, "1.04", "0.89856", "7.5", 24, "1.04", "0.89856", "7.5", 23, 6385, 6384, 6383, 6386, 6608); REPLACE INTO char_templates VALUES (38, "DE Mage", 2, 23, 24, 23, 44, 19, 37, 2, 48, 7, 53, 309, 316, 29, 41, 29, 122, 61000, 28295, 11063, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.03", "0.88992", 7, "23.5", 6385, 6384, 6383, 6386, 6608); REPLACE INTO char_templates VALUES (49, "Orc Mage", 3, 27, 31, 24, 31, 15, 42, 2, 48, 4, 56, 312, 265, 30, 41, 30, 121, 68000, -56682, -113730, -690, 0, "1.04", "0.89856", 7, "27.5", "1.04", "0.89856", 8, "25.5", 6385, 6384, 6383, 6386, 6608); Выдача новым персонажам вещей по классу Магам: Arcana Mace и DC Robe Set Войнам: Angel Slayer и Drac Light Set REPLACE INTO char_templates VALUES (0, "Human Fighter", 0, 40, 43, 30, 21, 11, 25, 4, 72, 3, 47, 330, 213, 33, 44, 33, 115, 81900, -71338, 258271, -3104, 0, "1.1", "1.188", 9, 23, "1.1", "1.188", 8, "23.5", 6379, 6381, 6380, 6382,6592); REPLACE INTO char_templates VALUES (18, "Elf Fighter", 1, 36, 36, 35, 23, 14, 26, 4, 72, 3, 47, 345, 249, 36, 46, 36, 125, 73000, 45978, 41196, -3440, 0, "1.15", "1.242", "7.5", 24, "1.15", "1.242", "7.5", 23, 6379, 6381, 6380, 6382,6592); REPLACE INTO char_templates VALUES (31, "DE Fighter", 2, 41, 32, 34, 25, 12, 26, 4, 72, 3, 47, 342, 226, 35, 45, 35, 122, 69000, 28377, 10916, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.14", "1.2312", 7, "23.5", 6379, 6381, 6380, 6382,6592); REPLACE INTO char_templates VALUES (44,'Orc Fighter', 3, 40, 47, 26, 18, 12, 27, 4, 72, 2, 48, 318, 226, 31, 42, 31, 117, 87000, -58192, -113408, -650, 0, "1.06", "1.144800", 11.0, 28.0,1.06, "1.144800", 7.0, 27.0, 6379, 6381, 6380, 6382, 6583); REPLACE INTO char_templates VALUES (53, "Dwarf Fighter", 4, 39, 45, 29, 20, 10, 27, 4, 72, 3, 48, 327, 203, 33, 43, 33, 115, 83000, 108512, -174026, -400, 1, "1.09", "1.487196", 9, 18, "1.09", "1.487196", 5, 19, 6379, 6381, 6380, 6382, 6583); REPLACE INTO char_templates VALUES (10, "Human Mage", 0, 22, 27, 21, 41, 20, 39, 2, 48, 7, 54, 303, 333, 28, 40, 28, 120, 62500, -90890, 248027, -3570, 0, "1.01", "0.87264", "7.5", "22.8", "1.01", "0.87264", "6.5", "22.5", 5779, 5767, 2407, 512, 6608); REPLACE INTO char_templates VALUES (25, "Elf Mage", 1, 21, 25, 24, 37, 23, 40, 2, 48, 6, 54, 312, 386, 30, 41, 30, 122, 62400, 46182, 41198, -3440, 0, "1.04", "0.89856", "7.5", 24, "1.04", "0.89856", "7.5", 23, 5779, 5767, 2407, 512, 6608); REPLACE INTO char_templates VALUES (38, "DE Mage", 2, 23, 24, 23, 44, 19, 37, 2, 48, 7, 53, 309, 316, 29, 41, 29, 122, 61000, 28295, 11063, -4224, 0, "1.14", "1.2312", "7.5", 24, "1.03", "0.88992", 7, "23.5", 5779, 5767, 2407, 512, 6608); REPLACE INTO char_templates VALUES (49, "Orc Mage", 3, 27, 31, 24, 31, 15, 42, 2, 48, 4, 56, 312, 265, 30, 41, 30, 121, 68000, -56682, -113730, -690, 0, "1.04", "0.89856", 7, "27.5", "1.04", "0.89856", 8, "25.5", 5779, 5767, 2407, 512, 6608); Спойлер: Запросы связанные с аденой Скрытый текст Сделать дроп адены 100% UPDATE `droplist` SET `chance`='1000000' WHERE `itemId`='57'; Сделать что бы с мобов падало от 1к до 10кк адены фиксировано (рейты на адену нужно сделать х1) UPDATE `droplist` SET `droplist`.`min`=1000000 WHERE `droplist`.`itemId`=57; UPDATE `droplist` SET `droplist`.`max`=10000000 WHERE `droplist`.`itemId`=57; Обесценить все вещи при продаже (При продаже любая вещь будит стоит 0 аден) UPDATE `armor` SET price=0 where price > 1; UPDATE `etcitem` SET price=0 where price > 1; UPDATE `weapon` SET price=0 where price > 1; Сделать телепорт бесплатным UPDATE teleport SET price=0; Изменить стоимость нанесение краски на 5 аден UPDATE henna SET price=5; Спойлер: Еще несколько разных запросов Сделать автоматический рестарт сервера на 5 утра, где 400 время а 600 время до рестарта(в секундах) INSERT INTO global_tasks (task,type,last_activation,param1,param2,param3) VALUES ('restart','TYPE_GLOBAL_TASK','0','1','0400','600'); Стартовая зона - Глудин: REPLACE INTO char_templates VALUES (0, "Human Fighter", 0, 40, 43, 30, 21, 11, 25, 4, 72, 3, 47, 330, 213, 33, 44, 33, 115, 81900, -83063, 150791, -3133, 0, "1.1", "1.188", 9, 23, "1.1", "1.188", 8, "23.5", 34, 26, 68, 4222, 5588); REPLACE INTO char_templates VALUES (18, "Elf Fighter", 1, 36, 36, 35, 23, 14, 26, 4, 72, 3, 47, 345, 249, 36, 46, 36, 125, 73000, -83063, 150791, -3133, 0, "1.15", "1.242", "7.5", 24, "1.15", "1.242", "7.5", 23, 34, 26, 68, 4222, 5588); REPLACE INTO char_templates VALUES (31, "DE Fighter", 2, 41, 32, 34, 25, 12, 26, 4, 72, 3, 47, 342, 226, 35, 45, 35, 122, 69000, -83063, 150791, -3133, 0, "1.14", "1.2312", "7.5", 24, "1.14", "1.2312", 7, "23.5", 34, 26, 68, 4222, 5588); REPLACE INTO char_templates VALUES (44,'Orc Fighter', 3, 40, 47, 26, 18, 12, 27, 4, 72, 2, 48, 318, 226, 31, 42, 31, 117, 87000, -83063, 150791, -3133, 0, "1.06", "1.144800", 11.0, 28.0,1.06, "1.144800", 7.0, 27.0, 34, 26, 257, 0, 5588); REPLACE INTO char_templates VALUES (53, "Dwarf Fighter", 4, 39, 45, 29, 20, 10, 27, 4, 72, 3, 48, 327, 203, 33, 43, 33, 115, 83000, -83063, 150791, -3133, 1, "1.09", "1.487196", 9, 18, "1.09", "1.487196", 5, 19, 34, 26, 87, 4222, 5588); REPLACE INTO char_templates VALUES (10, "Human Mage", 0, 22, 27, 21, 41, 20, 39, 2, 48, 7, 54, 303, 333, 28, 40, 28, 120, 62500, -83063, 150791, -3133, 0, "1.01", "0.87264", "7.5", "22.8", "1.01", "0.87264", "6.5", "22.5", 1105, 1102, 177, 0, 5588); REPLACE INTO char_templates VALUES (25, "Elf Mage", 1, 21, 25, 24, 37, 23, 40, 2, 48, 6, 54, 312, 386, 30, 41, 30, 122, 62400, -83063, 150791, -3133, 0, "1.04", "0.89856", "7.5", 24, "1.04", "0.89856", "7.5", 23, 1105, 1102, 177, 0, 5588); REPLACE INTO char_templates VALUES (38, "DE Mage", 2, 23, 24, 23, 44, 19, 37, 2, 48, 7, 53, 309, 316, 29, 41, 29, 122, 61000, -83063, 150791, -3133, 0, "1.14", "1.2312", "7.5", 24, "1.03", "0.88992", 7, "23.5", 1105, 1102, 177, 0, 5588); REPLACE INTO char_templates VALUES (49, "Orc Mage", 3, 27, 31, 24, 31, 15, 42, 2, 48, 4, 56, 312, 265, 30, 41, 30, 121, 68000, -83063, 150791, -3133, 0, "1.04", "0.89856", 7, "27.5", "1.04", "0.89856", 8, "25.5", 1105, 1102, 257, 0, 5588); Изменяем ник персонажу UPDATE characters SET char_name='новое_имя' WHERE char_name='старое_имя' Спойлер: запрос на добавление шмота новым персонажам в lucera Человек воин INSERT INTO `char_creation_items` VALUES ('0', '43', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('0', '23', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('0', '2386', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('0', '3', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('0', '12', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('0', '1835', '1', 'true'); человек маг INSERT INTO `char_creation_items` VALUES ('10', '44', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('10', '1101', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('10', '1104', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('10', '99', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('10', '20', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('10', '3947', '1', 'true'); ельф воин INSERT INTO `char_creation_items` VALUES ('18', '43', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('18', '23', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('18', '2386', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('18', '3', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('18', '12', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('18', '1835', '1', 'true'); ельф маг INSERT INTO `char_creation_items` VALUES ('25', '44', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('25', '1101', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('25', '1104', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('25', '99', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('25', '20', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('25', '3947', '1', 'true'); Темный ельф Воин INSERT INTO `char_creation_items` VALUES ('31', '43', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('31', '23', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('31', '2386', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('31', '3', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('31', '12', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('31', '1835', '1', 'true'); Темный ельф Маг INSERT INTO `char_creation_items` VALUES ('38', '44', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('38', '1101', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('38', '1104', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('38', '99', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('38', '20', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('38', '3947', '1', 'true'); Орк Воин INSERT INTO `char_creation_items` VALUES ('44', '43', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('44', '23', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('44', '2386', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('44', '3', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('44', '5', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('44', '1835', '1', 'true'); Орк Маг INSERT INTO `char_creation_items` VALUES ('49', '44', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('49', '1101', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('49', '1104', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('49', '99', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('49', '20', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('49', '3947', '1', 'true'); Гном INSERT INTO `char_creation_items` VALUES ('53', '43', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('53', '23', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('53', '2386', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('53', '3', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('53', '5', '1', 'true'); INSERT INTO `char_creation_items` VALUES ('53', '1835', '1', 'true'); Спойлер: запрос на вайп сервера (проверяйте совместимость с Вашей БД.) TRUNCATE TABLE account_data; TRUNCATE TABLE account; TRUNCATE TABLE auction_bid; TRUNCATE TABLE augmentations; TRUNCATE TABLE character_buff_profiles; TRUNCATE TABLE character_friends; TRUNCATE TABLE character_hennas; TRUNCATE TABLE character_macroses; TRUNCATE TABLE character_quests; TRUNCATE TABLE character_shortcuts; TRUNCATE TABLE character_skills; TRUNCATE TABLE character_skills_save; TRUNCATE TABLE character_subclasses; TRUNCATE TABLE characters; TRUNCATE TABLE clan_data; TRUNCATE TABLE clan_privs; TRUNCATE TABLE clan_skills; TRUNCATE TABLE clan_wars; TRUNCATE TABLE clan_subpledges; TRUNCATE TABLE clanhall_functions; TRUNCATE TABLE items; TRUNCATE TABLE olympiad_nobles; TRUNCATE TABLE pets; TRUNCATE TABLE privatepanel_activeacc; TRUNCATE TABLE siege_clans; TRUNCATE TABLE grandboss_intervallist; На сегодня все, позже еще поковыряюсь в интернете и дополню список
Иногда, sql не загружается без ошибок, а взяв саму структуру, через sql запрос все норм=) Полезная статейка!!
Ну мне в данный момент проще вообще в консоли мускуля работать. Без доп клиентов. Но статью писал как раньше работал)
Часть запросов полезные, но ещё бы запросы на удаление определенных итемов у всех(определенного) персонажей было бы не плохо)
Пример дали не спорю, но думаю я не один такой кто не знает подобных запросов, и если дополнить список запросов думаю от этого не кому плохо не станет.
Я не пойму одно, ты посты набиваешь тупо или решил как бы помягче сказать доепаться ?. Я вот понимаю если бы ты помог или ещё, что но от тебя не помощи не каких то толковых мыслей, и вообще если судить по твоей логике, то зачем тогда создавалась эта тема с запросами? и т.д если всем все можно выучить. Я рад конечно что ты такой специалист и все запросы знаешь, но мне от твоих знаний толку нет, кроме как пустого трепа и не более. Терпеть не могу таких личностей как ты, делом помочь не могут а мозги умными словечками пытаются засрать.
Извиняюсь, больше подобного не повторится. Просто тема создана по SQL запросам и я предложил определенный запрос дополнить, в итоге пошли разговоры от человека не по теме и немного напрягать это стало.
Удаление итемов DELETE FROM `items` WHERE (`item_id`='9992' AND `count`>'20'); удаление у всех, если количество больше указанного и ид совпадет если у одного перса тогда AND owner_id либо брать ник из таблицы characters