lootdrop mass update
I would like to add lootdrop id 165862 to Every single loottable in the database.
I am having issues with the sql update for this as I would have to add rows for every loottableID in the loottable_entries table. |
Try this:
Code:
INSERT INTO `loottable_entries` (`loottable_id`, `lootdrop_id`, `multiplier`, `droplimit`, `mindrop`, `probability`) ... c6 = `probability` You'll need to adjust the c3 through c6 values in the third line to whatever you want the 'default' to be. EDIT: If you have already made any entries with that item id, the script will probably fail on duplicate key entry. If that's the case, you can run: Code:
DELETE FROM `loottable_entries` WHERE `lootdrop_id` = '165862' |
Getting a response with
Code:
ERROR 1062 (23000) at line 1 in file: 'Z:\EQProject\A1 - MAss DB Update Strings\ |
I didn't get my edit in fast enough :P
|
lol :) thanks. yep had to remove existing entries
|
Lol! Always 2 seconds too late!
Np :) |
All times are GMT -4. The time now is 11:12 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.