![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jul 2007
Posts: 38
|
Hey
On my server for beta i provided players with l2day scrolls in the shops. Now as i plan to go live and i am not going to wipe. Whats the best way to remove all l2day scrolls from people inventory's,warehouse or any other places they have stored it. Thanks in advance
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Oct 2006
Posts: 47
|
shutdown cached, then run in mssql:
Code:
use lin2world; delete from user_item where item_type in (4218,3958,3959,3931,3927,3928,3929,3926,3930,3933,3932,3935,3934); |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2006
Posts: 241
|
Ubber easy way via sql:
DELETE FROM user_item WHERE (item_type>'3926' AND item_type<'3935') OR item_type='4218' Hahah adriahu was first xD |
|
|
|
|
#4 | |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
Quote:
Something like this would be better, adriahu is a good choice too but this is more easy and more logical, using [ ' ] will take the values as string and not as integers... so... thats wrong... Code:
DELETE FROM user_item WHERE item_type BETWEEN 3926 AND 3935 OR item_type = 4218 |
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2006
Posts: 241
|
FidoW i never had problems with that, but agree
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Jul 2007
Posts: 38
|
thanks a lot guys
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|