[Share] Inactive Remove

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
mangdar
Posts: 68
Joined: Tue May 11, 2010 7:22 am

[Share] Inactive Remove

Post 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:
You do not have the required permissions to view the files attached to this post.
labman
Posts: 67
Joined: Sun Sep 13, 2009 2:09 pm
Location: Taiwan
Contact:

Re: [Share] Inactive Remove

Post by labman »

Good program! Thanks for You!
User avatar
goncafa
Posts: 385
Joined: Thu Aug 05, 2010 2:10 pm
Location: Santiago, Chile

Re: [Share] Inactive Remove

Post 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....
Best Regards

PS: im sorry my bad english.
Image
lion
L2j Veteran
L2j Veteran
Posts: 967
Joined: Sun Mar 11, 2007 7:49 pm
Location: Ukraine

Re: [Share] Inactive Remove

Post by lion »

IdFactory
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: [Share] Inactive Remove

Post 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.
Powered by Eclipse 4.30 ๐ŸŒŒ | Eclipse Temurin 21 โ˜• | MariaDB 11.2.2 ๐Ÿ—ƒ๏ธ | L2J Server 2.6.3.0 - High Five ๐Ÿš€

๐Ÿ”— Join our Discord! ๐ŸŽฎ๐Ÿ’ฌ
User avatar
goncafa
Posts: 385
Joined: Thu Aug 05, 2010 2:10 pm
Location: Santiago, Chile

Re: [Share] Inactive Remove

Post 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!
Best Regards

PS: im sorry my bad english.
Image
shippou
Posts: 74
Joined: Thu Jun 25, 2009 9:27 pm

Re: [Share] Inactive Remove

Post 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.
HorridoJoho
L2j Senior Developer
L2j Senior Developer
Posts: 795
Joined: Sun Aug 14, 2005 11:27 am

Re: [Share] Inactive Remove

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