Skip to content

Usefull Sql Scripts !

Featured Replies

Nice. Saves a buncha time!  Tnx a bunch for these queries!

Nc share but i have a question...

How can i add this scripts in my server????

make new text document write the code inside after go to save as and save it like name.sql or whatever u want ...after drop the sql file in navicat and click the pop-up run batch file

make new text document write the code inside after go to save as and save it like name.sql or whatever u want ...after drop the sql file in navicat and click the pop-up run batch file

Or you just can press F6 (open console) at navicat, paste text to console and click enter...

Or you just can press F6 (open console) at navicat, paste text to console and click enter...

 

ty for your help bro :)

  • 2 weeks later...
  • Author

To enchant skill doesn't need exp/sp:

Good one for high rates servers or faction servers..

Code:

UPDATE enchant_skill_trees SET sp=0;

UPDATE enchant_skill_trees SET exp=0;

 

Don't work i have tested, write don't have items to enchant skill(but i have the books and sp/xp) ^^

This sql split min and max adena from 4 (from droplist. usefull for servers which want low adena drop, like in l2gold)

 

UPDATE droplist SET min = min / 4 WHERE itemId = '57';
UPDATE droplist SET max = max / 4 WHERE itemId = '57';

 

sorry, for terible english :D

very nice share dude ^_^

I tested and it all works good !!!

Keep up the good work :D

  • Author

very nice share dude ^_^

I tested and it all works good !!!

Keep up the good work :D

Thanks =)

  • 4 months later...

Custom Spawn in Giran Castle Town & items.(For Fighters Theca Leather Armor Set and Crystal Dagger.For Mystics Karmian Robe Set and Homunkulus's Sword)

UPDATE `char_templates` SET `x` = '83400',
`y` = '147943',
`z` = '-3404';
UPDATE `char_templates` SET `items1` = '420',
`items2` = '400',
`items3` = '2436',
`items4` = '6358',
`items5` = '2460' WHERE `char_templates`.`ClassId` =0 LIMIT 1 ;
UPDATE `char_templates` SET `items1` = '420',
`items2` = '400',
`items3` = '2436',
`items4` = '6358',
`items5` = '2460' WHERE `char_templates`.`ClassId` =18 LIMIT 1 ;
UPDATE `char_templates` SET `items1` = '420',
`items2` = '400',
`items3` = '2436',
`items4` = '6358',
`items5` = '2460' WHERE `char_templates`.`ClassId` =31 LIMIT 1 ;
UPDATE `char_templates` SET `items1` = '420',
`items2` = '400',
`items3` = '2436',
`items4` = '6358',
`items5` = '2460' WHERE `char_templates`.`ClassId` =44 LIMIT 1 ;
UPDATE `char_templates` SET `items1` = '420',
`items2` = '400',
`items3` = '2436',
`items4` = '6358',
`items5` = '2460' WHERE `char_templates`.`ClassId` =53 LIMIT 1 ;
UPDATE `char_templates` SET `items1` = '439',
`items2` = '471',
`items3` = '2430',
`items4` = '2454',
`items5` = '6313' WHERE `char_templates`.`ClassId` =10 LIMIT 1 ;
UPDATE `char_templates` SET `items1` = '439',
`items2` = '471',
`items3` = '2430',
`items4` = '2454',
`items5` = '6313' WHERE `char_templates`.`ClassId` =25 LIMIT 1 ;
UPDATE `char_templates` SET `items1` = '439',
`items2` = '471',
`items3` = '2430',
`items4` = '2454',
`items5` = '6313' WHERE `char_templates`.`ClassId` =38 LIMIT 1 ;
UPDATE `char_templates` SET `items1` = '439',
`items2` = '471',
`items3` = '2430',
`items4` = '2454',
`items5` = '6313' WHERE `char_templates`.`ClassId` =49 LIMIT 1 ;

Create an account or sign in to comment

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.