Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   [HELP] delete old account (https://postpacific.loc-online.com/showthread.php?t=2915)

superkent 02.01.2006 04:31

[HELP] delete old account
 
As to automatically remove old account with its char and item?

kepler001 02.01.2006 05:46

sql query =)

superkent 02.01.2006 05:56

give me plizzz this sql

Kenster 02.01.2006 07:15

lol and ur on a dev team?

SoaPy 02.01.2006 07:43

OWNED !!!! ^^

Domzelan 02.01.2006 10:44

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

Phantom2005 02.01.2006 11:22

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'


superkent 02.01.2006 14:06

на англ. я это не смогу сказать.
есть ли у кого-то готовый скл. Мне нужно удалить старые-неиспользуемые аккаунты, вместе с их чарами , итемами, скилами, и т.д. по одному акку я буду месяц удалять.

TheOrder 02.01.2006 16:08

I think you should thank Phantom for his action !!!

hr 02.01.2006 19:13

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

superkent 03.01.2006 00:27

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


All times are GMT. The time now is 15:41.