Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела

Notices

 
 
Thread Tools Search this Thread Display Modes
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  
Old 20.05.2005, 03:23   #2
Kane Hart
Архивный участник
 
Join Date: May 2005
Posts: 154
Default

confused a tad so this makes so when server loads items that will be cleared is adena and arrows?
Kane Hart is offline  
Old 20.05.2005, 05:55   #3
djvogans
Архивный участник
 
Join Date: Apr 2005
Posts: 306
Default

u can run this stored procedure with server online .. and clear only adena and arrows from the ground...just a guess
djvogans is offline  
Old 20.05.2005, 07:57   #4
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

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.
BiGBoY is offline  
Old 21.05.2005, 05:53   #5
archy
Архивный участник
 
Join Date: Mar 2005
Posts: 280
Default

Quote:
Originally Posted by BiGBoY
This crappy application rewrites all the items back to database.
This crappy application is actually one of the reasons its so much better than L2J - keep that in mind
archy is offline  
Old 21.05.2005, 06:01   #6
Kane Hart
Архивный участник
 
Join Date: May 2005
Posts: 154
Default

Quote:
Originally Posted by archy
Quote:
Originally Posted by BiGBoY
This crappy application rewrites all the items back to database.
This crappy application is actually one of the reasons its so much better than L2J - keep that in mind
well said :twisted:
Kane Hart is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 18:47.