Jump to content
  • 0

need sql script.


Laidev

Question

i need sql script to change droplist of raidbosses, I mean i want to change all raidbosses weapons/armors etc drop chance :) because config rates configuration don't help, raids droping alot of parts and mostly no weapons/armors ;/

 

p.s i can send if u need 200-300adena for help :D

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

We need more info about what this sql should update etc.

 

you have to use something like:

 

UPDATE 'column_name' WHERE something = something etc...

Link to comment
Share on other sites

  • 0

i need script which would drop from npc all raidbosses ID.Script would execute in droplist with raidboss id and would change items drop chance of thies raidbosses :)

 

im talking about increasing chance of droping items of all raidbosses :)

Link to comment
Share on other sites

  • 0

[EDIT]

try those...

UPDATE droplist SET chance = x WHERE mobId IN (SELECT mobId FROM npc WHERE type = 'L2RaidBoss') and itemId IN (SELECT itemId FROM weapon WHERE item_id);

UPDATE droplist SET chance = x WHERE mobId IN (SELECT mobId FROM npc WHERE type = 'L2RaidBoss') and itemId IN (SELECT itemId FROM armor WHERE item_id);

Link to comment
Share on other sites

  • 0

when excecute ;/

 

 

[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 itemId FROM armor WHERE itemid)' at line 1

[Err] UPDATE droplist SET chance = 700000 WHERE itemId AND mobId IN (SELECT mobId FROM npc WHERE type = 'L2RaidBoss', SELECT itemId FROM armor WHERE itemid);

[Msg] Finished - Unsuccessfully

Link to comment
Share on other sites

  • 0

UPDATE droplist SET chance = x WHERE itemId = x AND mobId IN (SELECT mobId FROM npc WHERE type = 'L2RaidBoss');

use this..

Just add itemId of the wep u wanna increase his chance, it's very hard

Link to comment
Share on other sites

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...