Jump to content

Recommended Posts

Posted

1.

 

How to use SQL script

There are several ways to ...

Method 1: Open Navicat, pressed F6 (open bracket), I paste it on texting and pressed enter.

Option 2: creating a new txt document and paste the writings are stored as name_sql_script_pvz.sql .. then go to Navicat press right click and choose "Execute SQL File" and choose your name_sql_script_pvz.sql and pressure.

2.

 

remowe weight

 

UPDATE `etcitem` SET `weight`=0 WHERE (SELECT item_id);

UPDATE `armor` SET `weight`=0 WHERE (SELECT item_id);

UPDATE `weapon` SET `weight`=0 WHERE (SELECT item_id);

 

3.

 

Item sell price 0 adena.

 

UPDATE `armor` SET price=0 where price > 1;

UPDATE `etcitem` SET price=0 where price > 1;

UPDATE `weapon` SET price=0 where price > 1;

 

4.

 

all new member appear place

 

UPDATE char_templates SET x=yourXcoordinates;

UPDATE char_templates SET y=jyourYcoordinates;

UPDATE char_templates SET z=yourZcoordinates;

5.

 

Restore mp 10x fast (never ends mp)

 

UPDATE lvlupgain SET defaultmpmod = defaultmpmod * 10.0;

 

6.

 

Grade Penalty delete.

 

DELETE FROM skill_trees WHERE skill_id = 239;

 

7.

 

Raidboss always appear with 70%

 

UPDATE raidboss_spawnlist SET currentHp = currentHp * 0.7;

 

8.

Auto server restart 24h

INSERT INTO `global_tasks` VALUES ("5", "restart", "TYPE_SHEDULED", "2147483647", "86400000", "86400000", "360");

 

9.

 

Enchant skills do not exp/sp

 

UPDATE enchant_skill_trees SET sp=0;

UPDATE enchant_skill_trees SET exp=0;

 

10.

 

dye simbol add price reduce to 5 adena.

 

UPDATE henna SET price=5;

 

11.

 

Aden drop 100%

 

UPDATE `droplist` SET `chance`=\'1000000\' WHERE `itemId`=\'57\';

 

12.

 

Item sell price 0 adena.

 

UPDATE `armor` SET price=0 where price > 1;

UPDATE `etcitem` SET price=0 where price > 1;

UPDATE `weapon` SET price=0 where price > 1;

 

13.

 

All RaidBoss hp same 5k hp

 

UPDATE `npc` SET `hp`=\'5000000\' WHERE (SELECT id) AND npc.type=\'L2Raidboss\';

 

14.

 

Delete all mobs smaller not 40lw

 

DELETE spawnlist, npc FROM spawnlist, npc WHERE spawnlist.npc_templateid=npc.idTemplate AND npc.level<40 AND npc.type=\'L2Monster\';

 

15.

 

Delete all materies this db.

DELETE FROM droplist WHERE itemid IN (SELECT item_id FROM etcitem WHERE item_type= \'material\' OR item_type= \'recipe\' );

 

16.

 

Delete acc/char old not month

 

DELETE FROM characters WHERE lastAccess < 155520000;

DELETE FROM accounts WHERE lastactive < 155520000;

 

17.

 

If you accidentally delete raidboss jewel  this raidboss drop add vell.

 

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\');

 

18.

 

Add new char additional adena.

 

INSERT INTO char_creation_items VALUES (0,57,adenu_skaicius,\'false\');

 

19.

 

Delete all speebook this db.

 

DELETE FROM droplist WHERE itemid IN (SELECT item_id FROM etcitem WHERE item_type= \'spellbook\' );

 

20.

 

mob spawn change  select time here the 10s.

 

UPDATE `spawnlist` SET respawn_delay=10;

 

Guest
This topic is now closed to further replies.


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock