Jump to content
  • 0

Query: Adding an item to every RB


Question

Posted

Hi, i would like to add an item in drop from every raid bosses, i tried that query which i'm sure is stupid and completly wrong...

 

 

INSERT INTO droplist VALUES (id, '57', '1', '1', '0', '2000')

SELECT id FROM npc WHERE type = 'L2RaidBoss'

 

and i have the error:

 

 INSERT INTO droplist VALUES (mobId, '57', '1', '2', '0', '2000')

SELECT id FROM npc WHERE type = 'L2RaidBoss'

 

[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT id FROM npc WHERE type = 'L2RaidBoss'' at line 2[/i]

 

can someone help me with that query? Thanks alot.(the item is 1 adena used for example purpose)

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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