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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...