How do i make a wipe?

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
davide874
Posts: 112
Joined: Sat Apr 19, 2008 10:45 am

How do i make a wipe?

Post by davide874 »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

hi everyone,

i wanted to ask how to make a professional wipe without incurring in errors. I know that i need to delete all tables like character,accounts etc but i'd like to be sure to delete all the needed one.

Can someone give me a list of all the tables i need to delete? (Freya l2j ofc)

Thanks so much!
K4N4BS
Posts: 94
Joined: Mon Jul 06, 2009 3:45 pm

Re: How do i make a wipe?

Post by K4N4BS »

Delete all tables, files, etc...
And install everything again.
davide874
Posts: 112
Joined: Sat Apr 19, 2008 10:45 am

Re: How do i make a wipe?

Post by davide874 »

K4N4BS wrote:Delete all tables, files, etc...
And install everything again.
nono...i wanna wipe onyl characters. I have all my custom things in the server that i don't wanna lose...
I only need the list of tables to empty so that the server is "clean" etcept my custom drop, spawn, mobs etc
User avatar
ZaKaX
Posts: 357
Joined: Thu Nov 22, 2007 6:28 am
Location: Somewhere in Asia.

Re: How do i make a wipe?

Post by ZaKaX »

Do some re-search, you could for example do a fresh installation of the L2J Database on a second and temporary database, then check which tables on the old database has more entries than on the fresh one. You'll also have to reset several tables content to default values. (castles owners and such, for example...)

It's not that hard, you can do it! If you don't manage then get back to us, but I believe you will.
¿ Que dice los cojones de la nina ?
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: How do i make a wipe?

Post by Probe »

theoritically, if you wipe characters table gameserver will delete all other data
User avatar
SolidSnake
Posts: 865
Joined: Wed Jan 20, 2010 6:54 pm
Location: Italy

Re: How do i make a wipe?

Post by SolidSnake »

First make a backup of database, then delete and reinstall these tables:
  • account_data
  • accounts
  • airships
  • auction_bid
  • auction_lots
  • auction_watch
  • augmentations
  • characters
  • clan_data
  • couples
  • cursed_weapons
  • heroes
  • heroes_diary
  • items
  • kamaloka
  • messages
  • mods_wedding
  • olympiad_data
  • olympiad_fights
  • olympiad_nobles
  • olympiad_nobles_eom
  • petitions
  • pets
  • record
  • seven_signs
  • seven_signs_status
  • siege_clans
  • territory_registrations
Other characters/castle tables should be cleaned automatically..
Image
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: How do i make a wipe?

Post by Probe »

Not true,
wiping characters + clans tables pretty much makes idfactory wipe all other tables

however l2j is missing wipe of fort\territory related tables, and mail cleanup
davide874
Posts: 112
Joined: Sat Apr 19, 2008 10:45 am

Re: How do i make a wipe?

Post by davide874 »

SolidSnake wrote:First make a backup of database, then delete and reinstall these tables:
  • account_data
  • accounts
  • airships
  • auction_bid
  • auction_lots
  • auction_watch
  • augmentations
  • characters
  • clan_data
  • couples
  • cursed_weapons
  • heroes
  • heroes_diary
  • items
  • kamaloka
  • messages
  • mods_wedding
  • olympiad_data
  • olympiad_fights
  • olympiad_nobles
  • olympiad_nobles_eom
  • petitions
  • pets
  • record
  • seven_signs
  • seven_signs_status
  • siege_clans
  • territory_registrations
Other characters/castle tables should be cleaned automatically..
Thank you. Isaw, unfortunately, that most of the table doesn't have a policy "ON DELETE" and lot of tables misses proper foreign key...

I'll try my best :)
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: How do i make a wipe?

Post by Probe »

l2j doesn't use foreign keys at all xD
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: How do i make a wipe?

Post by _DS_ »

Actually, l2j does not need foreign keys :)
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
Probe
Posts: 915
Joined: Thu Sep 03, 2009 6:36 pm
Location: Israel
Contact:

Re: How do i make a wipe?

Post by Probe »

_DS_ wrote:Actually, l2j does not need foreign keys :)
if it used them idfactory clean up wouldn't be necessary :)
Post Reply