Jump to content
  • 0

need sql script.


Question

Posted

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

9 answers to this question

Recommended Posts

  • 0
Posted

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

 

you have to use something like:

 

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

  • 0
Posted

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 :)

  • 0
Posted

[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);

  • 0
Posted

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

  • 0
Posted

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

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