Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 02.01.2006, 04:31   #1
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default [HELP] delete old account

As to automatically remove old account with its char and item?
superkent is offline  
Old 02.01.2006, 05:46   #2
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

sql query =)
kepler001 is offline  
Old 02.01.2006, 05:56   #3
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default

give me plizzz this sql
superkent is offline  
Old 02.01.2006, 07:15   #4
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

lol and ur on a dev team?
Kenster is offline  
Old 02.01.2006, 07:43   #5
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

OWNED !!!! ^^
SoaPy is offline  
Old 02.01.2006, 10:44   #6
Domzelan
Архивный участник
 
Join Date: Apr 2005
Posts: 599
Default

He just ask - if you can - help if you can't - stay your mouth closed, every people study and was a time - you know nothing...
Domzelan is offline  
Old 02.01.2006, 11:22   #7
Phantom2005
Архивный участник
 
Join Date: Aug 2005
Posts: 394
Default

By changing char_name to account_name you will be able to get char_id from account....
change superkent to the Character's name.
Quote:
Originally Posted by STEP1
use lin2world
(select char_id from user_data where char_name='superkent')
change user_item to user_skill, user_activeskill, warehouse, etc.
and execute it.
Quote:
Originally Posted by STEP2
use lin2world
delete from user_item where char_id='CHARID-You-got-from-first-step'
Phantom2005 is offline  
Old 02.01.2006, 14:06   #8
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default

на англ. я это не смогу сказать.
есть ли у кого-то готовый скл. Мне нужно удалить старые-неиспользуемые аккаунты, вместе с их чарами , итемами, скилами, и т.д. по одному акку я буду месяц удалять.
superkent is offline  
Old 02.01.2006, 16:08   #9
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

I think you should thank Phantom for his action !!!
TheOrder is offline  
Old 02.01.2006, 19:13   #10
hr
Архивный участник
 
Join Date: Jun 2005
Posts: 285
Default

Code:
delete from user_item where char_id in (select char_id from user_deleted)
use your fantasy to delete data from other tables.

for old players
Code:
delete from user_item where char_id in (select char_id from user_data where login < [put some datetime value here])
etc etc etc.....
ps: read BOL and MSDN
hr is offline  
Old 03.01.2006, 00:27   #11
superkent
Архивный участник
 
Join Date: Jun 2005
Posts: 242
Default

<rus>всем спасибо. Я думал у кого-то есть готовое решение. Понял, что прийдеться самому писать. </rus>
superkent is offline  
 


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:36.