Page 1 of 1

[Share] Inactive Remove

Posted: Fri May 13, 2011 2:14 am
by mangdar
Hi

I made a very simple php script for delete Ban Character / Inactive charactor / Over Enc Item.
May be someone need it.
You can also make cronjob automatic run my script and do it by your hand. :lol:

Re: [Share] Inactive Remove

Posted: Fri May 13, 2011 4:50 am
by labman
Good program! Thanks for You!

Re: [Share] Inactive Remove

Posted: Fri May 13, 2011 4:11 pm
by goncafa
But you need not only delete character from table characters, you also need to delete all data of character like quest, items, etc....

Re: [Share] Inactive Remove

Posted: Fri May 13, 2011 4:15 pm
by lion
IdFactory

Re: [Share] Inactive Remove

Posted: Fri May 13, 2011 4:17 pm
by Zoey76
lion wrote:IdFactory
In addition to lion's comment IdFactory does a clean up upon server load, removing orphan items, subclasses, clan, etc, when the charId doesn't exist.

Re: [Share] Inactive Remove

Posted: Fri May 13, 2011 4:23 pm
by goncafa
Zoey76 wrote:
lion wrote:IdFactory
In addition to lion's comment IdFactory does a clean up upon server load, removing orphan items, subclasses, clan, etc, when the charId doesn't exist.
:O

Great!, then this script is 100% functionally :)

Thanks!

Re: [Share] Inactive Remove

Posted: Mon May 09, 2016 11:14 am
by shippou
Only one problem, its only deleting the char, but its not clean up the db.
I mean Char items clan data, seven signs, dyes etc.

Re: [Share] Inactive Remove

Posted: Tue May 10, 2016 9:11 am
by HorridoJoho
shippou wrote:Only one problem, its only deleting the char, but its not clean up the db.
I mean Char items clan data, seven signs, dyes etc.
You should read Zoey76 post again. On server startup data from non existing characters are deleted.