![]() |
|
|
#1 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
well thx to NBKua
![]() found this i sink u nead it procedure in lin2world server lin_DeleteNotOwnedItem DELETE user_item WHERE char_id = 0 OR item_type = 0 chenge to sams like INSERT INTO user_item_lost (create sams table to copy to) SELECT * FROM user_item where char_id = 0 or item_type=0 and then delete DELETE user_item WHERE char_id = 0 OR item_type = 0 can delet only adena and arrows DELETE user_item WHERE char_id = 0 and item_type = 57 (this delete only adena on the ground) sorry for bad ebglish. if it helps (i dont test it) pliase mail to [email protected] this procedure i'm think can start only if in l2cashe.ini ItemClearOnStart=1 if item in warehouss its have a warehouse 1 if in clanwarehouse it's have a warehouse 2 but it always have a char_id <>0 ---------- [edit] this thing just reminded me of something... we should somewhat mod warehouse as well.. to support global freight ![]() some one do get back to me on this
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 154
|
confused a tad so this makes so when server loads items that will be cleared is adena and arrows?
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Apr 2005
Posts: 306
|
u can run this stored procedure with server online .. and clear only adena and arrows from the ground...just a guess
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: May 2005
Posts: 216
|
You can delete all unowned items from database manualy if u want but it wont affect the online server becouse of CacheD server. This crappy application rewrites all the items back to database.
I believe the only thing to successfuly delete actualy unowned ingame items is to force CacheD to excecute (EXEC lin_DeleteNotOwnedItem) command. |
|
|
|
|
#5 | |
|
Архивный участник
Join Date: Mar 2005
Posts: 280
|
Quote:
|
|
|
|
|
|
#6 | ||
|
Архивный участник
Join Date: May 2005
Posts: 154
|
Quote:
|
||
|
|
|
|