View Single Post
Old 20.05.2005, 03:12   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default [Notes]breakdown on ItemClearOnStart=1

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
Digital is offline