![]() |
Delete banned chars/accounts
I would like some help creating an sql script that will delete all banned accounts as well as chars and skills items warehouses of those chars. I would like to reduce the lin2world database size to be more easy-handled by the server. thank you in advance
|
I would appreciate some help cause I have a huge problem
|
by PHP
[php:1:4ce628b40b] $sql="select account from lin2db.dbo.user_account where pay_stat = 0"; $result = mssql_query($sql); for ($i=0;$i<mssql_num_rows($sql);$i++) { $sql="select char_id from lin2db.dbo.user_data where account_name='".mssql_result($result,$i,0)."'"; $result2=mssql_query($sql); $charid[count($charid)]=mssql_result($result2,0,0); } ... ...[/php:1:4ce628b40b] try finish.. |
thanks a lot! ill try to finish cause //ping results are 5-digit each :S
|
| All times are GMT. The time now is 21:44. |