![]() |
[small share]Script for clear database
This stored procedure will clear unused characters with their items, skills and quests.
Code:
CREATE PROCEDURE [DBO].[lin_DeleteOldChars] |
I would never do something like that... heh.
|
ВАЙП-ВАЙП-ВАЙП!!! :)))))
|
If you have 1000+ online you may need do this clear every several months...
|
Quote:
|
THere are quite a few ;)
And this script can come in handy.. with a change here and there.. ;) Thanks Nucer! |
Quote:
http://l2online.ru/ http://la2.ru/ http://lineageii.ru/ http://lineage2.su/ http://la2.raid.ru/ http://splendor.ru/ http://warsmith.ru/ http://line2.ru/ http://elmore.ru/ http://l2server.ru/ http://la2world.ru/ http://www.lineage2.kiev.ua/ http://www.lineage2.wnet.ua/ http://lineage.trifle.net/ This is not full list of russian servers :D |
|
Quote:
|
not really.... i just wonder why those sites didn't make it to top200
|
Top200 isn't everything.. but don't make me talk, otherwise someone wouldn't like it. ^^
;) |
Anybody can apply these SQL at PHP-body (with input account_id or char_id form)? Be amazing!
|
Quote:
|
there is ALREADY proc for delete such things in SERVER
lin_deleteghostdata or something i guess you never looked ? huh ? |
lin_CleanUpGhostData
exec in lin_DeleteNotOwnedItem ;) but nucer delete "expired" users, as i see chars that not used N days from now. i'm right? |
also must delete from
Code:
DELETE FROM user_friend WHERE char_id=@char_id |
Quote:
|
| All times are GMT. The time now is 16:19. |