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

try this...

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

  • 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

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